summaryrefslogtreecommitdiff
path: root/tpl/notes/new.php
blob: 7ef6a5970b4cc063889a2dfeaee7cb3da64d3d3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

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

if (isset($parent)) {
	echo '<div class="small_right"><a href="?p=view-notes-' . $parent['id'] . '">back to ' .
		$parent['title'] . '</a></div>';
}

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

if (isset($parent)) {
	$note = $parent;
	$can_new = false;
	require("tpl/notes/inc_relativestree.php");
}

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