예제 #1
0
 /**
  * Render block
  * @return string
  */
 public function renderView()
 {
     $design = Mage::getDesign();
     $oldArea = $design->getArea();
     $oldPackageName = $design->getPackageName();
     $design->setArea('adminhtml');
     $design->setPackageName(Mage::getStoreConfig('design/package/name', Mage::app()->getStore()->getId()));
     $result = parent::renderView();
     $design->setArea($oldArea);
     $design->setPackageName($oldPackageName);
     return $result;
 }