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/edit.php | |
download | Bits-d0060968b77c39bdf8abffb071c971c166b59edb.tar.gz Bits-d0060968b77c39bdf8abffb071c971c166b59edb.zip |
First commit.
Diffstat (limited to 'tpl/notes/edit.php')
-rw-r--r-- | tpl/notes/edit.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tpl/notes/edit.php b/tpl/notes/edit.php new file mode 100644 index 0000000..7e4d88f --- /dev/null +++ b/tpl/notes/edit.php @@ -0,0 +1,17 @@ +<?php + +require("tpl/general/top.php"); + +echo '<div class="small_right"><a href="view-notes-' . $note['id'] . '">return to note</a></div>'; + +require("tpl/general/inc_form.php"); + +if (isset($preview)) { + echo '<hr /><h1>Preview</h1>'; + echo' <div class="error">Warning : this is only a preview. Click the "Edit note" button above to save changes.</div>'; + echo $preview; +} + +$can_new = false; +require("tpl/notes/inc_relativestree.php"); +require("tpl/general/bottom.php"); |