From 818b3193ffabec57501e3bdfa997206e3c0671ef Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 13 Jun 2020 11:22:14 +0200 Subject: Explicitly define base and asset path in templates With the new routes, all pages are not all at the same folder level anymore (e.g. /shaare and /shaare/123), so we can't just use './' everywhere. The most consistent way to handle this is to prefix all path with the proper variable, and handle the actual path in controllers. --- tpl/default/page.footer.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tpl/default/page.footer.html') diff --git a/tpl/default/page.footer.html b/tpl/default/page.footer.html index 0899826b..d72917de 100644 --- a/tpl/default/page.footer.html +++ b/tpl/default/page.footer.html @@ -10,7 +10,7 @@ {/if} · {'The personal, minimalist, super-fast, database free, bookmarking service'|t} {'by the Shaarli community'|t} · - {'Documentation'|t} + {'Documentation'|t} {loop="$plugins_footer.text"} {$value} {/loop} @@ -39,4 +39,5 @@ - + + -- cgit v1.2.3 From 1b8620b1ad4e2c647ff2d032c8e7c6687b6647a1 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 20 Jun 2020 15:14:24 +0200 Subject: Process plugins administration page through Slim controllers --- tpl/default/page.footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/default/page.footer.html') diff --git a/tpl/default/page.footer.html b/tpl/default/page.footer.html index d72917de..51bdb2f0 100644 --- a/tpl/default/page.footer.html +++ b/tpl/default/page.footer.html @@ -25,7 +25,7 @@ {/loop} {loop="$plugins_footer.js_files"} - + {/loop}