From b3eb5c7b89572596e381d86c176beba542f20055 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 31 Jul 2009 18:56:45 +0000 Subject: [PATCH] Missing entry login_area_menu_class added --- .gitattributes | 1 + application/ship-simu/config.php | 3 ++ .../main/menu/class_ShipSimuLoginAreaMenu.php | 50 +++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 application/ship-simu/main/menu/class_ShipSimuLoginAreaMenu.php diff --git a/.gitattributes b/.gitattributes index 10e827c..c434ba1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/application/ship-simu/config.php b/application/ship-simu/config.php index a4e9406..9a6774f 100644 --- a/application/ship-simu/config.php +++ b/application/ship-simu/config.php @@ -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 index 0000000..23f661e --- /dev/null +++ b/application/ship-simu/main/menu/class_ShipSimuLoginAreaMenu.php @@ -0,0 +1,50 @@ + + * @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 . + */ +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] +?> -- 2.39.5