From 567967fdf94b2b8ba2b2fc9c8836e89ac23c8c71 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 15 Jul 2015 11:47:12 +0200 Subject: Template upgrade to handle plugin zones Add a bunch of plugin placeholders in templates --- tpl/page.header.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tpl/page.header.html') diff --git a/tpl/page.header.html b/tpl/page.header.html index 2d186aa2..1d46d80c 100644 --- a/tpl/page.header.html +++ b/tpl/page.header.html @@ -11,7 +11,7 @@ {$shaarlititle} - + {if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"} {ignore} When called as a popup from bookmarklet, do not display menu. {/ignore} {else} @@ -33,6 +33,9 @@
  • Tag cloud
  • Picture wall
  • Daily
  • + {loop="$plugins_header.buttons_toolbar"} + {$value} + {/loop} {/if} -- cgit v1.2.3 From 056107ab4eae0a4867cf8d55de77d31f8868b899 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sun, 8 Nov 2015 13:22:44 +0100 Subject: Handle errors raised by plugins in template. fixes #370 --- tpl/page.header.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tpl/page.header.html') diff --git a/tpl/page.header.html b/tpl/page.header.html index 1d46d80c..52429f23 100644 --- a/tpl/page.header.html +++ b/tpl/page.header.html @@ -40,6 +40,13 @@ +{if="!empty($plugin_errors) && isLoggedIn()"} + +{/if}
    -- cgit v1.2.3