summaryrefslogtreecommitdiff
path: root/tpl/notes/move.php
blob: 985b89adde0215999687aa5005ef4f04eca063d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

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

function f($n) {
	global $note;
	return $n['title'] . ' - <a class="tool_link" href="move-notes-' . $note['id'] . '-' . $n['id'] . '">déplacer ici</a>';
}

require("tpl/general/inc_tree.php");
tree($notes_tree, @f);
echo '<a class="tool_link" href="move-notes-'.$note['id'].'-0">déplacer à la racine</a>';

$can_new = false;
require("tpl/notes/inc_relativestree.php");
require("tpl/general/bottom.php");