tools_main.php

Go to the documentation of this file.
00001 <?php
00002 
00008 class Tools_Main extends oxAdminDetails
00009 {
00010 
00017     public function render()
00018     {
00019         if ($this->getConfig()->isDemoShop()) {
00020             oxRegistry::getUtils()->showMessageAndExit("Access denied !");
00021         }
00022 
00023         parent::render();
00024 
00025         $oAuthUser = oxNew('oxuser');
00026         $oAuthUser->loadAdminUser();
00027         $this->_aViewData["blIsMallAdmin"] = $oAuthUser->oxuser__oxrights->value == "malladmin";
00028 
00029         $blShowUpdateViews = $this->getConfig()->getConfigParam('blShowUpdateViews');
00030         $this->_aViewData['showViewUpdate'] = (isset($blShowUpdateViews) && !$blShowUpdateViews) ? false : true;
00031 
00032         return "tools_main.tpl";
00033     }
00034 }