]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Merge pull request #659 from ArthurHoaro/plugin-errors
authorArthur <arthur@hoa.ro>
Mon, 17 Oct 2016 06:50:18 +0000 (08:50 +0200)
committerGitHub <noreply@github.com>
Mon, 17 Oct 2016 06:50:18 +0000 (08:50 +0200)
New init function for plugins, supports errors reporting

tpl/pluginsadmin.html

index 966360ea049c6bcbe97e868d6fa29d25b20b6526..672f49938d68fae28750d9d55d88eef941192929 100644 (file)
                     <div class="float_label">
                       <label for="{$key}">
                         <code>{$key}</code><br>
-                        {$value.desc}
+                        {if="isset($value.desc)"}
+                          {$value.desc}
+                        {/if}
                       </label>
                     </div>
                     <div class="float_input">