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