X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=app%2Fobservers%2Fmw_observer_sourceml.php;h=f8d8fe360398b6d2450a1e34bd2e75f6efd37132;hb=8bc0397daaff51b3810ce9860686147f2bcd57d4;hp=924c1b4efa2d54b06decc6f7a756973803872e19;hpb=9391cb9ccb3dd2884e7be2f15aa729733288f1e5;p=mw_sourceml diff --git a/app/observers/mw_observer_sourceml.php b/app/observers/mw_observer_sourceml.php index 924c1b4..f8d8fe3 100644 --- a/app/observers/mw_observer_sourceml.php +++ b/app/observers/mw_observer_sourceml.php @@ -7,7 +7,7 @@ $out_config = $env->get_out_config(); $out_config["groupe_view_albums"] = array( "type" => "checkbox", - "default" => 0, + "default" => 1, "text" => "Lister les albums sur la page d'un groupe" ); $out_config["colonne_logo_groupe"] = array( @@ -17,12 +17,12 @@ ); $out_config["albums_menu"] = array( "type" => "checkbox", - "default" => 1, + "default" => 0, "text" => "Afficher les albums du groupe courant dans la colonne" ); $out_config["nom_groupe"] = array( "type" => "checkbox", - "default" => 1, + "default" => 0, "text" => "Afficher le nom du groupe courant dans la colonne" ); $env->set_out_config($out_config); @@ -31,8 +31,8 @@ function after_action(){ $env = $this->env(); if($env->etat("mod") == "users"){ - $env->add_js_file($env->path("mw_path")."libs/tiny_mce/tiny_mce.js"); - $env->add_js_file($env->path("mw_path")."libs/tiny_mce/plugins/tinybrowser/tb_tinymce.js.php"); + $env->add_js_file($env->path("web").$env->path("mw_path")."libs/tiny_mce/tiny_mce.js"); + $env->add_js_file($env->path("web").$env->path("mw_path")."libs/tiny_mce/plugins/tinybrowser/tb_tinymce.js.php"); } if($env->etat("mod") == "sources"){ $env->add_js_file($env->out_url("js/jquery-1.8.3.min.js"));