From ccf2fe853c2cfe629d92833df0e7abe6be4a7df3 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 18 Aug 2011 23:39:13 +0200 Subject: Started work on backend... --- ratatoeskr/backend/main.php | 25 ++++++++++++++++++++++ ratatoeskr/main.php | 5 ++++- .../templates/systemtemplates/backend_login.html | 13 +++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 ratatoeskr/templates/systemtemplates/backend_login.html (limited to 'ratatoeskr') diff --git a/ratatoeskr/backend/main.php b/ratatoeskr/backend/main.php index e69de29..e0adbdc 100644 --- a/ratatoeskr/backend/main.php +++ b/ratatoeskr/backend/main.php @@ -0,0 +1,25 @@ + url_action_alias(array("login")), + "login" => url_action_simple(function($data) + { + + }), + +)); + +?> diff --git a/ratatoeskr/main.php b/ratatoeskr/main.php index 8d988da..a543da6 100644 --- a/ratatoeskr/main.php +++ b/ratatoeskr/main.php @@ -14,7 +14,7 @@ require_once(dirname(__FILE__) . "/sys/plugin_api.php"); require_once(dirname(__FILE__) . "/sys/models.php"); require_once(dirname(__FILE__) . "/sys/urlprocess.php"); require_once(dirname(__FILE__) . "/frontend.php"); -require_once(dirname(__FILE__) . "/backend.php"); +require_once(dirname(__FILE__) . "/backend/main.php"); function ratatoeskr() { @@ -39,6 +39,9 @@ function ratatoeskr() register_url_handler("_default", "frontend_url_handler"); register_url_handler("backend", $backend_subactions); register_url_handler("_notfound", "e404handler"); + + $urlpath = explode("/", $_GET["action"]); + $data = array("rel_path_to_root") } ?> diff --git a/ratatoeskr/templates/systemtemplates/backend_login.html b/ratatoeskr/templates/systemtemplates/backend_login.html new file mode 100644 index 0000000..24738d2 --- /dev/null +++ b/ratatoeskr/templates/systemtemplates/backend_login.html @@ -0,0 +1,13 @@ + + + + + + Login - Ratatöskr + + + + + + -- cgit v1.2.3-70-g09d2