X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Feditlink.html;h=83e541fdf6b32aaf45a985a20645ab19c53bbc37;hb=544bbdaf8399c7a9e3c1e8b880e6f0a2fa15a769;hp=491f1da0a31cbed9ea3f80a3824a6f8aba43a34e;hpb=b9b41d25e319f44f9fb8259a0237a8ee81ad394b;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index 491f1da0..83e541fd 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html @@ -1,52 +1,85 @@ +{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} +