예제 #1
0
파일: TPL_CLASS.php 프로젝트: ZIM555/LCMS
 private function load($NAMEn)
 {
     $this->AR['LOG']->LSET("TPLClass: load(" . $NAMEn . ")");
     $TPLPATHfile = $this->TPLPTH . $NAMEn;
     $RES = LoadTpl($TPLPATHfile);
     if (!RES) {
         // Error no tpl file
         $this->AR['LOG']->LSET("TPLClass: load: ERROR (No file)");
     }
     return $RES;
 }
예제 #2
0
 public function TLOAD($TPL)
 {
     // Name of template load
     $TPLPATHfile = $this->TPLPTH . $this->TPLFNAME[$TPL];
     // Path + name of tplfile from config
     $RES = LoadTpl($TPLPATHfile);
     if (!$RES) {
         // Error no tpl file
         $this->AR['LOG']->WR("TPLClass: TLOAD: ERROR (No file: " . $this->TPLFNAME[$TPL] . ")");
         return false;
     }
     return $RES;
 }