Missing menu class added
authorRoland Häder <roland@mxchange.org>
Sun, 30 Aug 2009 02:18:55 +0000 (02:18 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 30 Aug 2009 02:18:55 +0000 (02:18 +0000)
.gitattributes
application/admin/config.php
application/admin/main/menu/.htaccess [new file with mode: 0644]
application/admin/main/menu/class_Admin [new file with mode: 0644]
application/admin/main/menu/class_AdminHomeMenu.php [new file with mode: 0644]

index ac800f01ed6f860dfc020755d99456aa682ba2e8..f123e0cd3db6f23c6534dd9697b1f484ae5c915a 100644 (file)
@@ -24,6 +24,9 @@ application/admin/main/login/.htaccess -text
 application/admin/main/login/class_AdminUserLogin.php -text
 application/admin/main/login/helper/.htaccess -text
 application/admin/main/login/helper/class_AdminLoginHelper.php -text
+application/admin/main/menu/.htaccess -text
+application/admin/main/menu/class_Admin -text
+application/admin/main/menu/class_AdminHomeMenu.php -text
 application/admin/starter.php -text
 application/admin/templates/.htaccess -text
 application/admin/templates/de/.htaccess -text
index 5a5a34a4e2ba8394c9d9c9bc74870853d1539a28..78c0a746597bcb2a798fa71e7e27a93239254dd7 100644 (file)
@@ -251,7 +251,7 @@ $cfg->setConfigEntry('web_link_helper', 'WebLinkHelper');
 $cfg->setConfigEntry('web_cmd_home_resolver_class', 'WebCommandResolver');
 
 // CFG: HOME-MENU-CLASS
-$cfg->setConfigEntry('home_menu_class', 'ShipSimuHomeMenu');
+$cfg->setConfigEntry('home_menu_class', 'AdminHomeMenu');
 
 // [EOF]
 ?>
diff --git a/application/admin/main/menu/.htaccess b/application/admin/main/menu/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/admin/main/menu/class_Admin b/application/admin/main/menu/class_Admin
new file mode 100644 (file)
index 0000000..031563b
--- /dev/null
@@ -0,0 +1,50 @@
+<?php
+/**
+ * A ??? menu class for Admin-Area
+ *
+ * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @version            0.0.0
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Admin-Area Developer Team
+ * @license            GNU GPL 3.0 or any newer version
+ * @link               http://www.ship-simu.org
+ *
+ * This program 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.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+class Admin???Menu extends BaseMenu implements RenderableMenu {
+       /**
+        * Protected constructor
+        *
+        * @return      void
+        */
+       protected function __construct () {
+               // Call parent constructor
+               parent::__construct(__CLASS__);
+       }
+
+       /**
+        * Creates an instance of this class
+        *
+        * @return      $menuInstance   An instance of this class
+        */
+       public final static function createAdmin???Menu () {
+               // Get a new instance
+               $menuInstance = new Admin???Menu();
+
+               // Return the prepared instance
+               return $menuInstance;
+       }
+}
+
+// [EOF]
+?>
diff --git a/application/admin/main/menu/class_AdminHomeMenu.php b/application/admin/main/menu/class_AdminHomeMenu.php
new file mode 100644 (file)
index 0000000..55264a6
--- /dev/null
@@ -0,0 +1,50 @@
+<?php
+/**
+ * A Home menu class for Admin-Area
+ *
+ * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @version            0.0.0
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Admin-Area Developer Team
+ * @license            GNU GPL 3.0 or any newer version
+ * @link               http://www.ship-simu.org
+ *
+ * This program 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.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+class AdminHomeMenu extends BaseMenu implements RenderableMenu {
+       /**
+        * Protected constructor
+        *
+        * @return      void
+        */
+       protected function __construct () {
+               // Call parent constructor
+               parent::__construct(__CLASS__);
+       }
+
+       /**
+        * Creates an instance of this class
+        *
+        * @return      $menuInstance   An instance of this class
+        */
+       public final static function createAdminHomeMenu () {
+               // Get a new instance
+               $menuInstance = new AdminHomeMenu();
+
+               // Return the prepared instance
+               return $menuInstance;
+       }
+}
+
+// [EOF]
+?>