Changeset 4599 for trunk/modules/menu/controller/menu.admin.php
- Timestamp:
- 08/27/10 23:01:58 (21 months ago)
- File:
-
- 1 edited
-
trunk/modules/menu/controller/menu.admin.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/menu/controller/menu.admin.php
r4506 r4599 22 22 * 23 23 * @license GNU/GPL v2 or (at your option) any later version, see "/doc/LICENSE". 24 *25 24 * @author Jens-André Koch <vain@clansuite.com> 26 * @copyright Copyleft: All rights reserved. Jens-André Koch (2005-onwards) 27 * 25 * @copyright Jens-André Koch (2005 - onwards) 28 26 * @link http://www.clansuite.com 29 * @link http://gna.org/projects/30 27 * 31 28 * @version SVN: $Id: menueditor.module.php 2248 2008-07-12 01:48:54Z vain $ … … 33 30 34 31 # Security Handler 35 if (defined('IN_CS') == false)32 if (defined('IN_CS') === false) 36 33 { 37 34 die('Clansuite not loaded. Direct Access forbidden.'); … … 45 42 * @subpackage Menu 46 43 */ 47 class Clansuite_Module_Menu_Admin extends Clansuite_Module_Controller implements Clansuite_Module_Interface44 class Clansuite_Module_Menu_Admin extends Clansuite_Module_Controller 48 45 { 49 public function initializeModule( Clansuite_HttpRequest $request, Clansuite_HttpResponse $response)46 public function initializeModule() 50 47 { 51 48 parent::initModel('menu'); … … 126 123 Clansuite_Breadcrumb::add( _('About Clansuite'), '/index.php?mod=menu&sub=admin&action=menueditor2'); 127 124 128 # clansuite_xdebug::printR($treeObject);125 #Clansuite_Debug::printR($treeObject); 129 126 130 127 … … 159 156 #$tree = $treeObject->fetchRoots(); 160 157 161 Clansuite_ Xdebug::firebug($this->getTree('CsAdminmenuShortcuts'));158 Clansuite_Debug::firebug($this->getTree('CsAdminmenuShortcuts')); 162 159 163 160 $treeObject = Doctrine::getTable('CsAdminmenuShortcuts')->getTree(); … … 176 173 foreach($treeObject->fetchTree($options) as $node) 177 174 { 178 Clansuite_ Xdebug::firebug($node->toArray());175 Clansuite_Debug::firebug($node->toArray()); 179 176 180 177 # If we are on the item of the same level, closing <li> tag before printing item … … 207 204 $html .= "</ul>"; 208 205 209 Clansuite_ Xdebug::firebug($html);206 Clansuite_Debug::firebug($html); 210 207 211 208 # assign the html of the tree to the view … … 229 226 */ 230 227 # initalize request 231 $request = $this-> injector->instantiate('Clansuite_HttpRequest');228 $request = $this->getHttpRequest(); 232 229 # fetch the container variable from post 233 $menu = $ request->getParameter('container','POST');230 $menu = $this->request->getParameter('container','POST'); 234 231 235 232 # Check if we have some $menu values to insert … … 270 267 foreach ( $menu as $key => $value ) 271 268 { 272 # clansuite_xdebug::printR($value);269 #Clansuite_Debug::printR($value); 273 270 274 271 # fetch activerecord of the adminmenu … … 743 740 ->execute(); 744 741 745 # clansuite_xdebug::printR($result);742 #Clansuite_Debug::printR($result); 746 743 } 747 744
Note: See TracChangeset
for help on using the changeset viewer.
