diff --git a/templates/index.tpl b/templates/index.tpl index 583e1ff..5e8edfc 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -4,7 +4,7 @@
diff --git a/www/admin/index.php b/www/admin/index.php index 2b4fb14..225e2b2 100644 --- a/www/admin/index.php +++ b/www/admin/index.php @@ -67,6 +67,7 @@ $tpl->assign('plugin_config', $plugin->getConfig()); $tpl->assign('nbTaux', $nbTaux); $tpl->assign('nbChamps', $nbChamps); $tpl->assign('plugin_css', ['style.css']); +$tpl->assign('plugin_url', \Garradin\Utils::plugin_url()); // envoyer au template $tpl->display(PLUGIN_ROOT . '/templates/index.tpl');