Exemplo n.º 1
0
 /**
  * A template file to be displayed
  * @param string $templateName
  */
 protected function Display($templateName)
 {
     if (!$this->InMaintenanceMode()) {
         $this->smarty->display($templateName);
     } else {
         $this->smarty->display('maintenance.tpl');
     }
 }
Exemplo n.º 2
0
 /**
  * A template file to be displayed
  * @param string $templateName
  */
 protected function Display($templateName)
 {
     $this->smarty->display($templateName);
 }