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.header.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'tpl/default/page.header.html') diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index cf59e89d..7117e3ca 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html @@ -21,24 +21,24 @@ {if="$is_logged_in || $openshaarli"}
  • - + {'Shaare'|t}
  • - {'Tools'|t} + {'Tools'|t}
  • {/if}
  • - {'Tag cloud'|t} + {'Tag cloud'|t}
  • {if="$thumbnails_enabled"}
  • - {'Picture wall'|t} + {'Picture wall'|t}
  • {/if}
  • - {'Daily'|t} + {'Daily'|t}
  • {loop="$plugins_header.buttons_toolbar"}
  • @@ -52,15 +52,15 @@
  • {/loop}
  • - {'RSS Feed'|t} + {'RSS Feed'|t}
  • {if="$is_logged_in"}
  • - {'Logout'|t} + {'Logout'|t}
  • {else}
  • - {'Login'|t} + {'Login'|t}
  • {/if} @@ -74,13 +74,13 @@
  • - +
  • {if="!$is_logged_in"}
  • - @@ -88,7 +88,7 @@
  • {else}
  • - +
  • -- cgit v1.2.3