Ejemplo n.º 1
0
 function Write()
 {
     $this->KeepBlocPrio();
     $nom_template = str_replace('\\', '/', $this->f[$this->f_no]['name']);
     if (strpos($nom_template, '/top.html') || strpos($nom_template, '/menu.html') || strpos($nom_template, '/racc_menu.html')) {
         $this->tab_tpl[] = $this->output();
     } else {
         if (isset($this->tab_tpl)) {
             foreach ($this->tab_tpl as $valeur) {
                 echo $valeur;
             }
             unset($this->tab_tpl);
         }
         if ($this->ItemExists('grid_auto')) {
             if ($this->menu_gauche == 1) {
                 $this->Parse('grid_auto', '12');
             } else {
                 $this->Parse('grid_auto', '16');
             }
         }
         parent::Write();
     }
 }
Ejemplo n.º 2
0
 function Write()
 {
     $nom_template = str_replace('\\', '/', $this->f[$this->f_no]['name']);
     if (strpos($nom_template, '/top.html') || strpos($nom_template, '/menu.html')) {
         $this->tab_tpl[] = $this->output();
     } else {
         if (isset($this->tab_tpl)) {
             foreach ($this->tab_tpl as $valeur) {
                 echo $valeur;
             }
             unset($this->tab_tpl);
         }
         parent::Write();
     }
 }