Changeset 4599 for trunk/modules/forum/controller/forum.admin.php
- Timestamp:
- 08/27/10 23:01:58 (21 months ago)
- File:
-
- 1 edited
-
trunk/modules/forum/controller/forum.admin.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/forum/controller/forum.admin.php
r4506 r4599 1 1 <?php 2 /** 3 * ClanSuite Forum Admin Module (Backend) 4 * (forum) 5 * 6 * @license GPL 7 * @author Florian Wolf 8 * @link http://www.clansuite.com 9 * @version SVN: $Id: $ 10 */ 2 /** 3 * Clansuite - just an eSports CMS 4 * Jens-André Koch © 2005 - onwards 5 * http://www.clansuite.com/ 6 * 7 * This file is part of "Clansuite - just an eSports CMS". 8 * 9 * LICENSE: 10 * 11 * This program is free software; you can redistribute it and/or modify 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2 of the License, or 14 * (at your option) any later version. 15 * 16 * This program is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * GNU General Public License for more details. 20 * 21 * You should have received a copy of the GNU General Public License 22 * along with this program; if not, write to the Free Software 23 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 24 * 25 * @license GNU/GPL v2 or (at your option) any later version, see "/doc/LICENSE". 26 * @author Jens-André Koch <vain@clansuite.com> 27 * @copyright Jens-André Koch (2005 - onwards) 28 * @link http://www.clansuite.com 29 * 30 * @version SVN: $Id: news.module.php 2753 2009-01-21 22:54:47Z vain $ 31 */ 11 32 12 33 # Security Handler 13 if(defined('IN_CS') == false)34 if(defined('IN_CS') === false) 14 35 { 15 36 die('Clansuite not loaded. Direct Access forbidden.'); … … 23 44 * @subpackage Forum 24 45 */ 25 class Clansuite_Module_Forum_Admin extends Clansuite_Module_Controller implements Clansuite_Module_Interface46 class Clansuite_Module_Forum_Admin extends Clansuite_Module_Controller 26 47 { 27 public function initializeModule( Clansuite_HttpRequest $request, Clansuite_HttpResponse $response)48 public function initializeModule() 28 49 { 29 50 $this->getModuleConfig(); … … 157 178 158 179 # display formgenerator object 159 # clansuite_xdebug::printR($form);180 #Clansuite_Debug::printR($form); 160 181 161 182 $form->addElement('submitbutton')->setName('Save'); … … 163 184 164 185 # display form html 165 # clansuite_xdebug::printR($form->render());186 #Clansuite_Debug::printR($form->render()); 166 187 167 188 # assign the html of the form to the view … … 178 199 179 200 # Get Configuration from Injector 180 $config = $this-> injector->instantiate('Clansuite_Config');201 $config = $this->getInjector()->instantiate('Clansuite_Config'); 181 202 182 203 # write config
Note: See TracChangeset
for help on using the changeset viewer.
