- Timestamp:
- 08/27/10 23:01:58 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/controlcenter/controller/controlcenter.module.php
r4506 r4599 24 24 * 25 25 * @license GNU/GPL v2 or (at your option) any later version, see "/doc/LICENSE". 26 *27 26 * @author Jens-Andrᅵ Koch <vain@clansuite.com> 28 27 * @copyright Jens-Andrᅵ Koch (2005 - onwards) 29 *30 28 * @link http://www.clansuite.com 31 * @link http://gna.org/projects/32 29 * 33 30 * @version SVN: $Id$ … … 35 32 36 33 # Security Handler 37 if (defined('IN_CS') == false)34 if (defined('IN_CS') === false) 38 35 { 39 36 die('Clansuite not loaded. Direct Access forbidden.'); … … 47 44 * @subpackage ControlCenter 48 45 */ 49 class Clansuite_Module_ControlCenter extends Clansuite_Module_Controller implements Clansuite_Module_Interface46 class Clansuite_Module_ControlCenter extends Clansuite_Module_Controller 50 47 { 51 public function initializeModule( Clansuite_HttpRequest $request, Clansuite_HttpResponse $response)48 public function initializeModule() 52 49 { 53 50 parent::initModel('menu'); … … 63 60 $view->assign( 'shortcuts', $images ); 64 61 $view->assign( 'newsfeed', $this->assignFeedContent()); 65 $view->assign( ' security', $this->assignSecurityInfos());62 $view->assign( 'errorlog', $this->assignErrorlogInfos()); 66 63 67 64 $this->display(); … … 71 68 { 72 69 # Set Pagetitle and Breadcrumbs 73 Clansuite_Breadcrumb::add( _('Report Bugs & Issues'), '/index.php? ?mod=controlcenter&action=bugs');70 Clansuite_Breadcrumb::add( _('Report Bugs & Issues'), '/index.php?mod=controlcenter&action=bugs'); 74 71 75 72 $this->display(); … … 92 89 } 93 90 94 private function assign SecurityInfos()91 private function assignErrorlogInfos() 95 92 { 96 93 include ROOT_CORE . 'logger/file.logger.php'; … … 205 202 206 203 # display formgenerator object 207 # clansuite_xdebug::printR($form);204 #Clansuite_Debug::printR($form); 208 205 209 206 $form->addElement('submitbutton')->setName('Save'); … … 211 208 212 209 # display form html 213 # clansuite_xdebug::printR($form->render());210 #Clansuite_Debug::printR($form->render()); 214 211 215 212 # assign the html of the form to the view … … 226 223 227 224 # Get Configuration from Injector 228 $config = $this-> injector->instantiate('Clansuite_Config');225 $config = $this->getInjector()->instantiate('Clansuite_Config'); 229 226 230 227 # write config
Note: See TracChangeset
for help on using the changeset viewer.
