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"));
<li>
<label for="ptitcaptcha_entry">anti-spam</label>
<div class="form_input">
- <?php echo PtitCaptchaHelper::generateImgTags($this->path("mw_path")."libs/") ?>
+ <?php echo PtitCaptchaHelper::generateImgTags($this->path("web").$this->path("mw_path")."libs/") ?>
<?php echo PtitCaptchaHelper::generateHiddenTags() ?>
<?php echo PtitCaptchaHelper::generateInputTags() ?>
</div>