Ejemplo n.º 1
0
 public function _construct()
 {
     $footer = Mage::getStoreConfig('mgs_theme/general/footer');
     if ($footer != '' && Mage::getStoreConfig('mpanel/general/enabled')) {
         $helper = Mage::helper('mpanel');
         if ($helper->acceptToUsePanel()) {
             $this->setTemplate('page/html/footer/admin/' . $footer . '.phtml');
         } else {
             $this->setTemplate('page/html/footer/' . $footer . '.phtml');
         }
     } else {
         parent::_construct();
     }
 }
Ejemplo n.º 2
0
 public function testGetCacheKeyInfo()
 {
     $block = new Mage_Page_Block_Html_Footer();
     $storeId = Mage::app()->getStore()->getId();
     $this->assertEquals(array('PAGE_FOOTER', $storeId, 0, 'default', 'default', null), $block->getCacheKeyInfo());
 }
Ejemplo n.º 3
0
 public function getCopyright()
 {
     return parent::getCopyright() . '<br /><span id="zetaprints-extension-version"><a href="http://www.zetaprints.com/">Web-to-print and image generation</a>, v. 2.4.0.1</span>';
 }