]> git.mxchange.org Git - shipsimu.git/commitdiff
Missing entry login_area_menu_class added
authorRoland Häder <roland@mxchange.org>
Fri, 31 Jul 2009 18:56:45 +0000 (18:56 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 31 Jul 2009 18:56:45 +0000 (18:56 +0000)
.gitattributes
application/ship-simu/config.php
application/ship-simu/main/menu/class_ShipSimuLoginAreaMenu.php [new file with mode: 0644]

index 10e827c45b720990c339826a8a695a02b1cd90aa..c434ba168054f52bc3d1fe5ca583cc65b85898be 100644 (file)
@@ -143,6 +143,7 @@ application/ship-simu/main/login/helper/class_ShipSimuLoginHelper.php -text
 application/ship-simu/main/menu/.htaccess -text
 application/ship-simu/main/menu/class_ShipSimu -text
 application/ship-simu/main/menu/class_ShipSimuHomeMenu.php -text
+application/ship-simu/main/menu/class_ShipSimuLoginAreaMenu.php -text
 application/ship-simu/main/menu/class_ShipSimuLoginMenu.php -text
 application/ship-simu/main/menu/class_ShipSimuRegisterMenu.php -text
 application/ship-simu/main/parts/.htaccess -text
index a4e94065aab7e1300b1422d909a38ed497f12667..9a6774fa93876131750d3f41ad3fdda1fb228949 100644 (file)
@@ -409,5 +409,8 @@ $cfg->setConfigEntry('login_menu_class', "ShipSimuLoginMenu");
 // CFG: REGISTER-MENU-CLASS
 $cfg->setConfigEntry('register_menu_class', "ShipSimuRegisterMenu");
 
+// CFG: LOGIN-AREA-MENU-CLASS
+$cfg->setConfigEntry('login_area_menu_class', "ShipSimuLoginAreaMenu");
+
 // [EOF]
 ?>
diff --git a/application/ship-simu/main/menu/class_ShipSimuLoginAreaMenu.php b/application/ship-simu/main/menu/class_ShipSimuLoginAreaMenu.php
new file mode 100644 (file)
index 0000000..23f661e
--- /dev/null
@@ -0,0 +1,50 @@
+<?php
+/**
+ * A menu class for Ship-Simu
+ *
+ * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @version            0.0.0
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu 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 ShipSimuLoginAreaMenu 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 createShipSimuLoginAreaMenu () {
+               // Get a new instance
+               $menuInstance = new ShipSimuLoginAreaMenu();
+
+               // Return the prepared instance
+               return $menuInstance;
+       }
+}
+
+// [EOF]
+?>