summaryrefslogblamecommitdiff
path: root/tpl/notes/edit.php
blob: 7e4d88f21e196f1e202e7d2a642e17347143a9a1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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");