00001 <?php 00002 00010 class Shop extends oxAdminView 00011 { 00018 public function render() 00019 { 00020 parent::render(); 00021 00022 $sCurrentAdminShop = oxSession::getVar("currentadminshop"); 00023 00024 if (!$sCurrentAdminShop) { 00025 if (oxSession::getVar( "malladmin")) 00026 $sCurrentAdminShop = "oxbaseshop"; 00027 else 00028 $sCurrentAdminShop = oxSession::getVar( "actshop"); 00029 } 00030 00031 $this->_aViewData["currentadminshop"] = $sCurrentAdminShop; 00032 oxSession::setVar("currentadminshop", $sCurrentAdminShop); 00033 00034 00035 return "shop.tpl"; 00036 } 00037 }