tools_main.php

Go to the documentation of this file.
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 = oxNew( 'oxuser' );
00025         $oAuthUser->loadAdminUser();
00026         $this->_aViewData["blIsMallAdmin"] = $oAuthUser->oxuser__oxrights->value == "malladmin";
00027 
00028         return "tools_main.tpl";
00029     }
00030 }

Generated on Fri Dec 19 14:20:28 2008 for OXID eShop CE by  doxygen 1.5.5