diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-16 12:47:11 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-10-16 12:47:11 +0200 |
commit | 7f5250421be4832b9679d8140bc4a71c8005dfa3 (patch) | |
tree | a47e846cef666dbd1c2c7d05a01fd32aa8311d4f /tpl/default/page.footer.html | |
parent | ec457491879893c8cfcc9dd6542d1593aa5c91f5 (diff) | |
download | Shaarli-7f5250421be4832b9679d8140bc4a71c8005dfa3.tar.gz Shaarli-7f5250421be4832b9679d8140bc4a71c8005dfa3.tar.zst Shaarli-7f5250421be4832b9679d8140bc4a71c8005dfa3.zip |
Support using Shaarli without URL rewriting
- Shaarli can be fully used by prefixing any URL with /index.php/
- {$base_path} used in templates already works with this configuration
- Assets path (outside of theme's assets) must be prefixed with {$root_url}/
- Documentation section in « Server configuration »
Fixes #1590
Diffstat (limited to 'tpl/default/page.footer.html')
-rw-r--r-- | tpl/default/page.footer.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/default/page.footer.html b/tpl/default/page.footer.html index 51bdb2f0..ea84aab9 100644 --- a/tpl/default/page.footer.html +++ b/tpl/default/page.footer.html | |||
@@ -10,7 +10,7 @@ | |||
10 | {/if} | 10 | {/if} |
11 | · | 11 | · |
12 | {'The personal, minimalist, super-fast, database free, bookmarking service'|t} {'by the Shaarli community'|t} · | 12 | {'The personal, minimalist, super-fast, database free, bookmarking service'|t} {'by the Shaarli community'|t} · |
13 | <a href="{$base_path}/doc/html/index.html" rel="nofollow">{'Documentation'|t}</a> | 13 | <a href="{$root_path}/doc/html/index.html" rel="nofollow">{'Documentation'|t}</a> |
14 | {loop="$plugins_footer.text"} | 14 | {loop="$plugins_footer.text"} |
15 | {$value} | 15 | {$value} |
16 | {/loop} | 16 | {/loop} |
@@ -25,7 +25,7 @@ | |||
25 | {/loop} | 25 | {/loop} |
26 | 26 | ||
27 | {loop="$plugins_footer.js_files"} | 27 | {loop="$plugins_footer.js_files"} |
28 | <script src="{$base_path}/{$value}#"></script> | 28 | <script src="{$root_path}/{$value}#"></script> |
29 | {/loop} | 29 | {/loop} |
30 | 30 | ||
31 | <div id="js-translations" class="hidden"> | 31 | <div id="js-translations" class="hidden"> |