*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @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
*
*/
public function buildMasterTemplateName () {
// Get short name and add suffix
- $masterTemplateName = $this->getAppShortName() . "_main";
+ $masterTemplateName = str_replace("-", "", $this->getAppShortName()) . "_main";
// Return it
return $masterTemplateName;
// If it is null then get default command
if (is_null($commandName)) {
+ // Get default command
$commandName = $responseInstance->getDefaultCommand();
+
+ // Set it in request
+ $requestInstance->setRequestElement('page', $commandName);
} // END - if
// Get a resolver