X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=app%2Fobservers%2Fmw_observer_sourceml.php;h=fb7c3ee25911a2bad8b3cfcd34cfba01fc2ff351;hb=refs%2Ftags%2Fsourceml.1.4.1;hp=23cbef84cd946001ffd4a5ee327f4690319cf5ad;hpb=44dd990e7c012cfe0133b92acba7d4d38db9b37c;p=mw_sourceml diff --git a/app/observers/mw_observer_sourceml.php b/app/observers/mw_observer_sourceml.php index 23cbef8..fb7c3ee 100644 --- a/app/observers/mw_observer_sourceml.php +++ b/app/observers/mw_observer_sourceml.php @@ -2,12 +2,12 @@ class mw_observer_sourceml extends mw_observer{ - function before_action(){ + public function before_action(){ $env = $this->env(); $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,18 +17,18 @@ ); $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); } - function after_action(){ + public function after_action(){ $env = $this->env(); if($env->etat("mod") == "users"){ $env->add_js_file($env->path("web").$env->path("mw_path")."libs/tiny_mce/tiny_mce.js"); @@ -40,9 +40,10 @@ $env->add_js_file($env->out_url("js/jquery-ui-1.8.12.custom.min.js")); $env->add_css_file($env->out_url("css/colorbox.css")); $env->add_css_file($env->out_url("css/ui-lightness/jquery-ui-1.8.12.custom.css")); + $env->add_js_file($env->out_url("js/jaudio-player.1.1.js")); + $env->add_css_file($env->out_url("css/jaudio-player.1.1.css")); + } } } - -?> \ No newline at end of file