public attr / function, constructeurs __construct
[mtweb] / mw / app / out / default / template.php
index 8a48e08..2d03ab5 100644 (file)
@@ -2,13 +2,13 @@
 
   class mw_template_default extends mw_template{
 
-    function get_template_infos(){
+    public function get_template_infos(){
       return array(
         "name" => "Default"
       );
     }
 
-    function get_out_config(){
+    public function get_out_config(){
       $out_config = parent::get_out_config();
       $out_config["navig_menu_top"] = array(
         "type" => "checkbox",
@@ -28,7 +28,7 @@
       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"));
@@ -37,5 +37,3 @@
     }
 
   }
-
-?>
\ No newline at end of file