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; }
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; }