blob: e5838b63edf4c6574e1ebb30f4c30f8312ac9b52 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
$title = $note["title"];
require("tpl/general/top.php");
$t = array();
if ($note['parent_id'] != 0) {
$t[] = 'parent : <a href="?p=view-notes-'. $note['parent_id'] . '">' . $note['parent_title'] . '</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'];
require("tpl/notes/inc_relativestree.php");
require("tpl/general/bottom.php");
|