]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/default/page.footer.html
Explicitly define base and asset path in templates
[github/shaarli/Shaarli.git] / tpl / default / page.footer.html
index 0899826b66f7b2f73d1437f2e4c49a27e47f8cbd..d72917de52f880b4a7516f44dd072eb596e21c31 100644 (file)
@@ -10,7 +10,7 @@
     {/if}
     ·
     {'The personal, minimalist, super-fast, database free, bookmarking service'|t} {'by the Shaarli community'|t} ·
-    <a href="doc/html/index.html" rel="nofollow">{'Documentation'|t}</a>
+    <a href="{$base_path}/doc/html/index.html" rel="nofollow">{'Documentation'|t}</a>
       {loop="$plugins_footer.text"}
           {$value}
       {/loop}
@@ -39,4 +39,5 @@
   </span>
 </div>
 
-<script src="js/shaarli.min.js?v={$version_hash}"></script>
+<input type="hidden" name="js_base_path" value="{$base_path}" />
+<script src="{$asset_path}/js/shaarli.min.js?v={$version_hash}#"></script>