]> git.mxchange.org Git - hub.git/blobdiff - inc/classes/main/commands/web/class_WebHomeCommand.php
Code sync from ship-simu code (all class config entries must end with _class!)
[hub.git] / inc / classes / main / commands / web / class_WebHomeCommand.php
index 0b7e9c41a39e5951d492abf5106bfda76a334c0f..3cc3592cf40c022d46a85f709c1c0dbad2ef774a 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A command for the "home" page
  *
- * @author             Roland Haeder <webmaster@mxchange.org>
+ * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
  * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @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
@@ -35,7 +35,7 @@ class WebHomeCommand extends BaseCommand implements Commandable {
                $this->setObjectDescription("Command for the &quot;home&quot; page");
 
                // Create unique ID number
-               $this->createUniqueID();
+               $this->generateUniqueId();
 
                // Clean up a little
                $this->removeSystemArray();
@@ -99,7 +99,7 @@ class WebHomeCommand extends BaseCommand implements Commandable {
                $templateInstance->loadCodeTemplate($masterTemplate);
 
                // Set title
-               $title = ucfirst($requestInstance->getRequestElement($this->getConfigInstance()->readConfig('command_parameter')));
+               $title = ucfirst($requestInstance->getRequestElement("page"));
                if (empty($title)) $title = "Home";
                $templateInstance->assignVariable('title', $title);