00001 <?php 00002 00008 class Tools_Main extends oxAdminDetails 00009 { 00016 public function render() 00017 { 00018 if ($this->getConfig()->isDemoShop()) 00019 die("Access denied !"); 00020 00021 parent::render(); 00022 00023 $oAuthUser = oxNew( 'oxuser' ); 00024 $oAuthUser->loadAdminUser(); 00025 $this->_aViewData["blIsMallAdmin"] = $oAuthUser->oxuser__oxrights->value == "malladmin"; 00026 00027 return "tools_main.tpl"; 00028 } 00029 }