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/vintage/page.header.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tpl/vintage/page.header.html') diff --git a/tpl/vintage/page.header.html b/tpl/vintage/page.header.html index 8f9b6cc5..0f79d321 100644 --- a/tpl/vintage/page.header.html +++ b/tpl/vintage/page.header.html @@ -18,22 +18,22 @@ {else}
  • Home
  • {if="$is_logged_in"} -
  • Logout
  • -
  • Tools
  • -
  • Add link
  • +
  • Logout
  • +
  • Tools
  • +
  • Add link
  • {elseif="$openshaarli"} -
  • Tools
  • -
  • Add link
  • +
  • Tools
  • +
  • Add link
  • {else} -
  • Login
  • +
  • Login
  • {/if}
  • RSS Feed
  • {if="$showatom"}
  • ATOM Feed
  • {/if} -
  • Tag cloud
  • -
  • Picture wall
  • -
  • Daily
  • +
  • Tag cloud
  • +
  • Picture wall
  • +
  • Daily
  • {loop="$plugins_header.buttons_toolbar"}