summaryrefslogtreecommitdiff
path: root/tpl/notes/edit.php
blob: 2cf7fbfebc02dc9954ea93e320d7eab9b5b1cf54 (plain) (blame)
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="?p=view-notes-' . $note['id'] . '">revenir à la note</a></div>';

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

if (isset($preview)) {
	echo '<hr /><h1>Aperçu</h1>';
	echo '<div class="error">Attention : ceci n\'est qu\'un aperçu ! Pensez à enregistrer vos changements lorsque vous serez satisfait.</div>';
	echo $preview;
}

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