diff options
author | Nicolas BERNSTEIN <alexis211@gmail.com> | 2011-09-17 16:48:29 +0200 |
---|---|---|
committer | Nicolas BERNSTEIN <alexis211@gmail.com> | 2011-09-17 16:48:29 +0200 |
commit | d0060968b77c39bdf8abffb071c971c166b59edb (patch) | |
tree | 0be52e00a25bd298235a0cf916fb07496d3ab95f /tpl/notes/move.php | |
download | Bits-d0060968b77c39bdf8abffb071c971c166b59edb.tar.gz Bits-d0060968b77c39bdf8abffb071c971c166b59edb.zip |
First commit.
Diffstat (limited to 'tpl/notes/move.php')
-rw-r--r-- | tpl/notes/move.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tpl/notes/move.php b/tpl/notes/move.php new file mode 100644 index 0000000..d94e745 --- /dev/null +++ b/tpl/notes/move.php @@ -0,0 +1,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"); |