* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
+ * @todo Move out the cookie part to a seperate class, e.g. Cookie
*
* 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
/**
* Starts the menu property 'title'
*
- * @param $id Id of the menu
- * @param $class The title to add to the menu
* @return void
*/
- private function startTitle ($id, $class) {
- // Set id as current
- $this->curr['id'] = $id;
-
- // Load the title template for this page
- $this->getTemplateInstance()->loadCodeTemplate('menu_title_' . $id . '_start');
-
- // Set the variable group to page
- $this->setVariableGroup('menu');
-
- // Set its content in this template instance
- $this->assignVariable('title_start_' . $this->curr['id'], $this->getTemplateInstance()->getRawTemplateData());
+ private function startTitle () {
+ $this->partialStub('Cleared due to XML rewrite.');
}
/**
* @return void
*/
private function finishTitle () {
- // Load the title template for this page
- $this->getTemplateInstance()->loadCodeTemplate('menu_title_' . $this->curr['id'] . '_end');
-
- // Set the variable group to page
- $this->setVariableGroup('menu');
-
- // Set its content in this template instance
- $this->assignVariable('title_end_' . $this->curr['id'], $this->getTemplateInstance()->getRawTemplateData());
+ $this->partialStub('Cleared due to XML rewrite.');
}
/**