aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2015-11-08 13:22:44 +0100
committerArthurHoaro <arthur@hoa.ro>2015-11-08 13:22:44 +0100
commit056107ab4eae0a4867cf8d55de77d31f8868b899 (patch)
tree2d92c7afc59721584f62cd2a07052e1f5a27c7f4 /tpl
parent89dfc37b0aeb865bc7298836b615e2ac5b6406ce (diff)
downloadShaarli-056107ab4eae0a4867cf8d55de77d31f8868b899.tar.gz
Shaarli-056107ab4eae0a4867cf8d55de77d31f8868b899.tar.zst
Shaarli-056107ab4eae0a4867cf8d55de77d31f8868b899.zip
Handle errors raised by plugins in template. fixes #370
Diffstat (limited to 'tpl')
-rw-r--r--tpl/page.header.html7
1 files changed, 7 insertions, 0 deletions
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 @@
40 </ul> 40 </ul>
41</div> 41</div>
42 42
43{if="!empty($plugin_errors) && isLoggedIn()"}
44 <ul class="errors">
45 {loop="plugin_errors"}
46 <li>{$value}</li>
47 {/loop}
48 </ul>
49{/if}
43 50
44<div class="clear"></div> 51<div class="clear"></div>
45 52