From d0060968b77c39bdf8abffb071c971c166b59edb Mon Sep 17 00:00:00 2001 From: Nicolas BERNSTEIN Date: Sat, 17 Sep 2011 16:48:29 +0200 Subject: First commit. --- lib/notes/edit.php | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 lib/notes/edit.php (limited to 'lib/notes/edit.php') diff --git a/lib/notes/edit.php b/lib/notes/edit.php new file mode 100644 index 0000000..17f1573 --- /dev/null +++ b/lib/notes/edit.php @@ -0,0 +1,50 @@ + "Title : ", "name" => "title", "value" => $note_title), + array("label" => "Public ? ", "name" => "public", "type" => "checkbox", "checked" => $note_public), + array("label" => "Text : ", "name" => "text", "type" => "textarea", "value" => $note_text), + array("label" => "Preview : ", "name" => "preview", "type" => "submit", "value" => "Preview"), + ); +$validate = "Edit note"; + +require("tpl/notes/edit.php"); -- cgit v1.2.3