From ca89b1b60fc198be1fa01a4b1499c9c75cdfdc85 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Fri, 21 Sep 2018 02:45:30 -0400 Subject: Remove old content --- examples/default.view.php | 51 ----------------------------- examples/obj.control.php | 49 ---------------------------- examples/root.control.php | 14 -------- examples/scrott.js | 22 ------------- examples/topp.view.php | 83 ----------------------------------------------- 5 files changed, 219 deletions(-) delete mode 100644 examples/default.view.php delete mode 100644 examples/obj.control.php delete mode 100644 examples/root.control.php delete mode 100644 examples/scrott.js delete mode 100644 examples/topp.view.php diff --git a/examples/default.view.php b/examples/default.view.php deleted file mode 100644 index 852a37e..0000000 --- a/examples/default.view.php +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - Scrott - Delete user account - - - - - -
-
-
Warning: Deleting your user account!
- -
-
- -

Are you sure?!

-

Please confirm you want to delete your Scrott account. Type your current password in the box below and click the confirm button

- -
- - -
- - -
-
-
-
- - - - diff --git a/examples/obj.control.php b/examples/obj.control.php deleted file mode 100644 index 2154d16..0000000 --- a/examples/obj.control.php +++ /dev/null @@ -1,49 +0,0 @@ -obj->canAccess($this->getCurrentUser())) - throw new Exception("You do not have permission to access this object"); - - switch ($mod->obj->type) - { - case "group": - $this->action_group($mod); - break; - } - } - - function action_group($mod) - { - include "view/obj/group.view.php"; - } -} - -?> diff --git a/examples/root.control.php b/examples/root.control.php deleted file mode 100644 index 614ab33..0000000 --- a/examples/root.control.php +++ /dev/null @@ -1,14 +0,0 @@ - case "deleteaccount": $ctrl = new Deleteacct(); break; - default: - /* Check if arg is an object guid */ - $obj = new DBObject(); - - if ($obj->isGUID($argv[0])) - { - $ctrl = new Obj(); - break; - } - - /* No page to show for requested path */ - throw new Exception("The requested path is not valid."); - break; diff --git a/examples/scrott.js b/examples/scrott.js deleted file mode 100644 index c376117..0000000 --- a/examples/scrott.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * SCROTT Copyright (C) 2016 Malf Furious - * - * Scrott is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published - * by the Free Software Foundation, either version 3 of the License, - * or (at your option) any later version. - * - * Scrott is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public - * License for more details. - */ - -/* - * Common Javascript logic for the Scrott application - */ - -function assertConfirm() -{ - return confirm("Are you sure?"); -} diff --git a/examples/topp.view.php b/examples/topp.view.php deleted file mode 100644 index d9e0df0..0000000 --- a/examples/topp.view.php +++ /dev/null @@ -1,83 +0,0 @@ - - - - -getCurrentUser()) { ?> - - - - - -- cgit v1.2.3