summaryrefslogtreecommitdiff
path: root/tpl/notes/view.php
blob: 559c39edffb16d015e8457337e2dc9b37a5b02fc (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="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>';
echo '<div class="small_align_right">' . implode(' | ', $t) . '</div>';
echo $note['html'];

require("tpl/notes/inc_relativestree.php");

require("tpl/general/bottom.php");