implementations sgbd dans env/sgbd
[mtweb] / mw / app / out / default / template.php
index 4a20985..2d03ab5 100644 (file)
@@ -2,28 +2,33 @@
 
   class mw_template_default extends mw_template{
 
-    function get_template_infos(){
+    public function get_template_infos(){
       return array(
         "name" => "Default"
       );
     }
 
-    function get_out_config(){
-      return array(
-        "navig_menu_top" => array(
-          "type" => "checkbox",
-          "default" => 0,
-          "text" => "Afficher le menu de navigation sous l'entête"
-        ),
-        "colonne" => array(
-          "type" => "checkbox",
-          "default" => 0,
-          "text" => "Afficher la colonne"
-        )
+    public function get_out_config(){
+      $out_config = parent::get_out_config();
+      $out_config["navig_menu_top"] = array(
+        "type" => "checkbox",
+        "default" => 0,
+        "text" => "Afficher le menu de navigation sous l'entête"
+      );
+      $out_config["colonne"] = array(
+        "type" => "checkbox",
+        "default" => 0,
+        "text" => "Afficher la colonne"
       );
+      $out_config["mtweb_footer_link"] = array(
+        "type" => "checkbox",
+        "default" => 0,
+        "text" => "Afficher le lien mtweb dans le footer"
+      );
+      return $out_config;
     }
 
-    function init(){
+    public function init(){
       $this->add_js_file($this->out_url("js/jquery-1.8.3.min.js"));
       if($this->is_running("users/identification")){
         $this->add_js_file($this->out_url("js/md5.js"));
@@ -32,5 +37,3 @@
     }
 
   }
-
-?>
\ No newline at end of file