Example #1
0
 /**
  * Add common html code for simple mode on list page
  */
 function addCommonHtml()
 {
     $this->body["begin"] .= GetBaseScriptsForPage($this->isDisplayLoading);
     //add parent common html code
     parent::addCommonHtml();
     // assign body end
     $this->body['end'] = array();
     AssignMethod($this->body['end'], "assignBodyEnd", $this);
 }
 /**
  * Add common html code for simple mode on list page
  */
 function addCommonHtml()
 {
     $this->body["begin"] .= "<script type=\"text/javascript\" src=\"include/loadfirst.js\"></script>";
     $this->body["begin"] .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
     if ($this->isDisplayLoading) {
         $this->body["begin"] .= "<script type=\"text/javascript\">Runner.runLoading(" . $this->id . ",document.body,0);</script>";
     }
     //$this->AddJSFile("include/customlabels");
     //add parent common html code
     parent::addCommonHtml();
     // assign body end
     $this->body['end'] = array();
     $this->body['end']["method"] = "assignBodyEnd";
     $this->body['end']["object"] =& $this;
 }
 /**
  * Add common html code for curent mode
  *
  */
 function addCommonHtml()
 {
     parent::addCommonHtml();
     $this->xt->assign("footer", "");
 }