diff options
author | Alex Auvolat <alex@adnab.me> | 2018-04-29 12:08:02 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-04-29 12:08:02 +0200 |
commit | 03685416017163d38f4ef1239ca50df1e38a242a (patch) | |
tree | e6801bff28301e17ebb27812bc68c5cd6631d158 /tpl/notes/view.php | |
parent | c69c046ff936c1853fb5bf10a5203ec30609d248 (diff) | |
download | Bits-03685416017163d38f4ef1239ca50df1e38a242a.tar.gz Bits-03685416017163d38f4ef1239ca50df1e38a242a.zip |
Add some links with ?p=update
Diffstat (limited to 'tpl/notes/view.php')
-rw-r--r-- | tpl/notes/view.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tpl/notes/view.php b/tpl/notes/view.php index 559c39e..e5838b6 100644 --- a/tpl/notes/view.php +++ b/tpl/notes/view.php @@ -4,12 +4,12 @@ require("tpl/general/top.php"); $t = array(); if ($note['parent_id'] != 0) { - $t[] = 'parent : <a href="view-notes-'. $note['parent_id'] . '">' . $note['parent_title'] . '</a>'; + $t[] = 'parent : <a href="?p=view-notes-'. $note['parent_id'] . '">' . $note['parent_title'] . '</a>'; } -if ($can_edit) $t[] = '<a href="edit-notes-' . $note['id'] . '">modifier</a>'; -$t[] = '<a href="source-notes-' . $note['id'] . '">code source</a>'; -if ($can_move) $t[] = '<a href="move-notes-' . $note['id'] . '">déplacer</a>'; -if ($can_delete) $t[] = '<a href="delete-notes-' . $note['id'] . '">supprimer</a>'; +if ($can_edit) $t[] = '<a href="?p=edit-notes-' . $note['id'] . '">modifier</a>'; +$t[] = '<a href="?p=source-notes-' . $note['id'] . '">code source</a>'; +if ($can_move) $t[] = '<a href="?p=move-notes-' . $note['id'] . '">déplacer</a>'; +if ($can_delete) $t[] = '<a href="?p=delete-notes-' . $note['id'] . '">supprimer</a>'; echo '<div class="small_align_right">' . implode(' | ', $t) . '</div>'; echo $note['html']; |