nouveau module "models" dans l'environnement
[mtweb] / mw / app / out / default / template.php
1 <?php
2
3   class mw_template_default extends mw_template{
4
5     function get_template_infos(){
6       return array(
7         "name" => "Default"
8       );
9     }
10
11     function get_out_config(){
12       return array(
13         "navig_menu_top" => array(
14           "type" => "checkbox",
15           "default" => 0,
16           "text" => "Afficher le menu de navigation sous l'ent&ecirc;te"
17         ),
18         "colonne" => array(
19           "type" => "checkbox",
20           "default" => 0,
21           "text" => "Afficher la colonne"
22         )
23       );
24     }
25
26     function init(){
27       $this->add_js_file($this->out_url("js/jquery-1.8.3.min.js"));
28       if($this->is_running("users/identification")){
29         $this->add_js_file($this->out_url("js/md5.js"));
30         $this->add_js_file($this->out_url("js/login.js"));
31       }
32     }
33
34   }
35
36 ?>