summaryrefslogtreecommitdiff
path: root/tpl/notes/view.php
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/notes/view.php')
-rw-r--r--tpl/notes/view.php10
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'];