diff options
Diffstat (limited to 'tpl/notes/view.php')
-rw-r--r-- | tpl/notes/view.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tpl/notes/view.php b/tpl/notes/view.php index c33e836..7615fe3 100644 --- a/tpl/notes/view.php +++ b/tpl/notes/view.php @@ -6,10 +6,10 @@ $t = array(); if ($note['parent_id'] != 0) { $t[] = 'parent : <a href="view-notes-'. $note['parent_id'] . '">' . $note['parent_title'] . '</a>'; } -if ($can_edit) $t[] = '<a href="edit-notes-' . $note['id'] . '">edit</a>'; -$t[] = '<a href="source-notes-' . $note['id'] . '">view source</a>'; -if ($can_move) $t[] = '<a href="move-notes-' . $note['id'] . '">move</a>'; -if ($can_delete) $t[] = '<a href="delete-notes-' . $note['id'] . '">delete</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>'; echo '<div class="small_right">' . implode(' | ', $t) . '</div>'; echo $note['html']; |