summaryrefslogblamecommitdiff
path: root/tpl/notes/move.php
blob: d94e745d53c45c3f4dd212b97b3f1e8115b3dda6 (plain) (tree)
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'] . '">move here</a>';
}

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

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