X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Feditlink.html;h=83e541fdf6b32aaf45a985a20645ab19c53bbc37;hb=b1d78519a8dd8b43698f76c61d9967ca542a1660;hp=d8c571552aced2a76cfb44a54dc22ded64622d5e;hpb=8f816d8ddfe9219e15580cef6e5c9037d1d4fd28;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index d8c57155..83e541fd 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html @@ -1,17 +1,27 @@ +{if="empty($batch_mode)"} - +
{include="includes"} {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}