X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=tpl%2Fdefault%2Feditlink.html;h=83e541fdf6b32aaf45a985a20645ab19c53bbc37;hb=b3bd8c3e8d367975980043e772f7cd78b7f96bc6;hp=d16059a39b2dcfa204ddbc0ddff742eb812c7710;hpb=3fb29fdda04ca86e04422d49b86cf646d53c4f9d;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index d16059a3..83e541fd 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html @@ -1,3 +1,4 @@ +{if="empty($batch_mode)"} @@ -5,9 +6,19 @@ {include="page.header"} +{else} + {ignore}Lil hack: when included in a loop in batch mode, `$value` is assigned by RainTPL with template vars.{/ignore} + {function="extract($value) ? '' : ''"} +{/if}