示例#1
0
 public function getHeaderHtml()
 {
     $data = array('target_css_class' => 'button_documentation', 'style' => 'max-height: 120px; overflow: auto; width: 150px;', 'items' => $this->getDocumentationDropDownItems());
     $dropDownBlockDocumentation = $this->getLayout()->createBlock('M2ePro/adminhtml_widget_button_dropDown', '', $data);
     $data = array('target_css_class' => 'button_video_tutorial', 'style' => 'max-height: 120px; overflow: auto; width: 150px;', 'items' => $this->getVideoTutorialDropDownItems());
     $dropDownBlockVideoTutorial = $this->getLayout()->createBlock('M2ePro/adminhtml_widget_button_dropDown', '', $data);
     return parent::getHeaderHtml() . $dropDownBlockDocumentation->toHtml() . $dropDownBlockVideoTutorial->toHtml();
 }
示例#2
0
 public function getHeaderHtml()
 {
     if ($this->referrer != Ess_M2ePro_Helper_View_Common::NICK || $this->referrer == Ess_M2ePro_Helper_View_Common::NICK && count(Mage::helper('M2ePro/View_Common_Component')->getActiveComponents()) == 1) {
         return parent::getHeaderHtml();
     }
     $data = array('target_css_class' => 'button_documentation', 'style' => 'max-height: 120px; overflow: auto; width: 150px;', 'items' => $this->getDocumentationDropDownItems());
     $dropDownBlockDocumentation = $this->getLayout()->createBlock('M2ePro/adminhtml_widget_button_dropDown', '', $data);
     $data = array('target_css_class' => 'button_video_tutorial', 'style' => 'max-height: 120px; overflow: auto; width: 150px;', 'items' => $this->getVideoTutorialDropDownItems());
     $dropDownBlockVideoTutorial = $this->getLayout()->createBlock('M2ePro/adminhtml_widget_button_dropDown', '', $data);
     return parent::getHeaderHtml() . $dropDownBlockDocumentation->toHtml() . $dropDownBlockVideoTutorial->toHtml();
 }
 public function getHeaderHtml()
 {
     return parent::getHeaderHtml() . $this->getHeaderCustomHtml();
 }
示例#4
0
 public function getHeaderHtml()
 {
     $html = parent::getHeaderHtml();
     return $html;
 }