Missing config/templates/class added for page=status
authorRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 20:45:45 +0000 (20:45 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 20:45:45 +0000 (20:45 +0000)
.gitattributes
application/ship-simu/config.php
application/ship-simu/main/menu/class_ShipSimu
application/ship-simu/main/menu/class_ShipSimuStatusMenu.php [new file with mode: 0644]
application/ship-simu/templates/de/code/status.ctp [new file with mode: 0644]

index 7bbc70b1ddfbe946a929152a22029d403510fb0b..7b796922643e65e194a3a44d2cb2da55d7c61e51 100644 (file)
@@ -153,6 +153,7 @@ application/ship-simu/main/menu/class_ShipSimuLoginAreaMenu.php -text
 application/ship-simu/main/menu/class_ShipSimuLoginMenu.php -text
 application/ship-simu/main/menu/class_ShipSimuLogoutMenu.php -text
 application/ship-simu/main/menu/class_ShipSimuRegisterMenu.php -text
+application/ship-simu/main/menu/class_ShipSimuStatusMenu.php -text
 application/ship-simu/main/menu/government/.htaccess -text
 application/ship-simu/main/menu/government/class_ShipSimuGovernmentFailedAreaMenu.php -text
 application/ship-simu/main/parts/.htaccess -text
@@ -233,6 +234,7 @@ application/ship-simu/templates/de/code/logout_done.ctp -text
 application/ship-simu/templates/de/code/mail_debug.ctp -text
 application/ship-simu/templates/de/code/register_form.ctp -text
 application/ship-simu/templates/de/code/shipsimu_main.ctp -text
+application/ship-simu/templates/de/code/status.ctp -text
 application/ship-simu/templates/de/emails/.htaccess -text
 application/ship-simu/templates/de/emails/text_resend_link.tpl -text
 application/ship-simu/templates/de/html/.htaccess -text
index bcd25f58022e279b3a08b36d678ae50117ef2840..e4e5d2dc21903547b96c54575a441a7e1043374c 100644 (file)
@@ -451,6 +451,9 @@ $cfg->setConfigEntry('login_register_login_form', 'index.php?app={?app_short_nam
 // CFG: HOME-MENU-CLASS
 $cfg->setConfigEntry('home_menu_class', 'ShipSimuHomeMenu');
 
+// CFG: STATUS-MENU-CLASS
+$cfg->setConfigEntry('status_menu_class', 'ShipSimuStatusMenu');
+
 // CFG: LOGIN-MENU-CLASS
 $cfg->setConfigEntry('login_menu_class', 'ShipSimuLoginMenu');
 
index eac52e3c4c86d7d17ad2def69374bfdb182fd060..93970dece6ba6cb83f4f665e179a2c5677f50f88 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * A menu class for Ship-Simu
+ * A ??? menu class for Ship-Simu
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
diff --git a/application/ship-simu/main/menu/class_ShipSimuStatusMenu.php b/application/ship-simu/main/menu/class_ShipSimuStatusMenu.php
new file mode 100644 (file)
index 0000000..9023c58
--- /dev/null
@@ -0,0 +1,50 @@
+<?php
+/**
+ * A Status 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 ShipSimuStatusMenu 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 createShipSimuStatusMenu () {
+               // Get a new instance
+               $menuInstance = new ShipSimuStatusMenu();
+
+               // Return the prepared instance
+               return $menuInstance;
+       }
+}
+
+// [EOF]
+?>
diff --git a/application/ship-simu/templates/de/code/status.ctp b/application/ship-simu/templates/de/code/status.ctp
new file mode 100644 (file)
index 0000000..730a240
--- /dev/null
@@ -0,0 +1,7 @@
+<div id="content_header">
+       Es besteht ein Problem mit Ihrem Account
+</div>
+
+<div id="news_frame">
+       {?status_problem?}
+</div>