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