From 68b87ac15106d56328a1a73eb2bbe77f09ee3499 Mon Sep 17 00:00:00 2001 From: Tim Repke <repketim@informatik.hu-berlin.de> Date: Sat, 9 Aug 2014 16:59:02 +0200 Subject: [PATCH] added implementation for notes --- registration-system/admin/index.php | 5 ++++- registration-system/admin/pages.php | 4 ++++ registration-system/admin/pages_notes.php | 10 ++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 registration-system/admin/pages_notes.php diff --git a/registration-system/admin/index.php b/registration-system/admin/index.php index a7344bc..a0d9d22 100644 --- a/registration-system/admin/index.php +++ b/registration-system/admin/index.php @@ -23,7 +23,8 @@ if (isLoggedIn()) "Ãœbersicht" => "stuff", "Meldeliste" => "list", "Kosten" => "cost", - "Rundmail" => "mail" + "Rundmail" => "mail", + "Notitzen" => "notes" ); $page = isset($_GET['page']) ? $_GET['page'] : ""; @@ -45,6 +46,8 @@ END; //page_cost(); break; //case "mail": //page_mail(); break; + case "notes": + page_notes(); break; default: page_404($page); } diff --git a/registration-system/admin/pages.php b/registration-system/admin/pages.php index 7c24d36..dfd0ca0 100644 --- a/registration-system/admin/pages.php +++ b/registration-system/admin/pages.php @@ -51,4 +51,8 @@ function page_404($pag) } +function page_notes(){ + require_once "pages_notes.php"; +} + ?> \ No newline at end of file diff --git a/registration-system/admin/pages_notes.php b/registration-system/admin/pages_notes.php new file mode 100644 index 0000000..198d1d9 --- /dev/null +++ b/registration-system/admin/pages_notes.php @@ -0,0 +1,10 @@ +<?php +/** + * Created by PhpStorm. + * User: tim + * Date: 8/9/14 + * Time: 4:07 PM + */ +global $headers, $text; +$headers .=""; +$text .= "notes here"; \ No newline at end of file -- GitLab