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