]> git.mxchange.org Git - install.git/commitdiff
Missing menu class and config entries added
authorRoland Häder <roland@mxchange.org>
Sun, 30 Aug 2009 02:21:47 +0000 (02:21 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 30 Aug 2009 02:21:47 +0000 (02:21 +0000)
.gitattributes
application/install/config.php
application/install/main/menu/.htaccess [new file with mode: 0644]
application/install/main/menu/class_Install [new file with mode: 0644]
application/install/main/menu/class_InstallHomeMenu.php [new file with mode: 0644]

index 960cc50132f0635c5ad7391bb52ecfb88de34f00..fa552f46f12fbf46fea67e89c7ac8ae0f47a4457 100644 (file)
@@ -27,6 +27,9 @@ application/install/main/filter/.htaccess -text
 application/install/main/filter/class_ -text
 application/install/main/filter/class_BaseInstallFilter.php -text
 application/install/main/filter/install/.htaccess -text
+application/install/main/menu/.htaccess -text
+application/install/main/menu/class_Install -text
+application/install/main/menu/class_InstallHomeMenu.php -text
 application/install/starter.php -text
 application/install/templates/.htaccess -text
 application/install/templates/de/.htaccess -text
index 821ea48079be701c595cb660ba54cdc95a3c4a36..50d11bb4b376c33e6962c1182b1d0c18b8bd55e2 100644 (file)
@@ -46,5 +46,11 @@ $cfg->setConfigEntry('web_form_helper', 'WebFormHelper');
 // CFG: WEB-LINK-HELPER
 $cfg->setConfigEntry('web_link_helper', 'WebLinkHelper');
 
+// CFG: WEB-CMD-HOME-RESOLVER-CLASS
+$cfg->setConfigEntry('web_cmd_home_resolver_class', 'WebCommandResolver');
+
+// CFG: HOME-MENU-CLASS
+$cfg->setConfigEntry('home_menu_class', 'InstallHomeMenu');
+
 // [EOF]
 ?>
diff --git a/application/install/main/menu/.htaccess b/application/install/main/menu/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/install/main/menu/class_Install b/application/install/main/menu/class_Install
new file mode 100644 (file)
index 0000000..2295888
--- /dev/null
@@ -0,0 +1,50 @@
+<?php
+/**
+ * A ??? menu class for Installation-Wizard
+ *
+ * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @version            0.0.0
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Installation-Wizard 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 Install???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 createInstall???Menu () {
+               // Get a new instance
+               $menuInstance = new Install???Menu();
+
+               // Return the prepared instance
+               return $menuInstance;
+       }
+}
+
+// [EOF]
+?>
diff --git a/application/install/main/menu/class_InstallHomeMenu.php b/application/install/main/menu/class_InstallHomeMenu.php
new file mode 100644 (file)
index 0000000..e4e3d28
--- /dev/null
@@ -0,0 +1,50 @@
+<?php
+/**
+ * A Home menu class for Installation-Wizard
+ *
+ * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @version            0.0.0
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Installation-Wizard 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 InstallHomeMenu 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 createInstallHomeMenu () {
+               // Get a new instance
+               $menuInstance = new InstallHomeMenu();
+
+               // Return the prepared instance
+               return $menuInstance;
+       }
+}
+
+// [EOF]
+?>