OXID eShop CE  4.9.10
 All Classes Files Functions Variables Pages
tools_main.php
Go to the documentation of this file.
1 <?php
2 
9 {
10 
17  public function render()
18  {
19  if ($this->getConfig()->isDemoShop()) {
20  oxRegistry::getUtils()->showMessageAndExit("Access denied !");
21  }
22 
24 
25  $oAuthUser = oxNew('oxuser');
26  $oAuthUser->loadAdminUser();
27  $this->_aViewData["blIsMallAdmin"] = $oAuthUser->oxuser__oxrights->value == "malladmin";
28 
29  $blShowUpdateViews = $this->getConfig()->getConfigParam('blShowUpdateViews');
30  $this->_aViewData['showViewUpdate'] = (isset($blShowUpdateViews) && !$blShowUpdateViews) ? false : true;
31 
32  return "tools_main.tpl";
33  }
34 }