From e6470bd2e984b26ac102a89cf63b02f8f93a8d38 Mon Sep 17 00:00:00 2001 From: engel <> Date: Fri, 22 Dec 2023 10:34:33 +0000 Subject: [PATCH] =?UTF-8?q?modif=20acc=C3=A8s=20plugin=20url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FossilOrigin-Name: 59131604362396ea238eef30a36e4578738c18059d28706cd09dd81d9d2c4328 --- templates/index.tpl | 2 +- www/admin/index.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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');