X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Feditlink.html;h=83e541fdf6b32aaf45a985a20645ab19c53bbc37;hb=dff039092d180fffa89e7d88f7a4b7bc24dfc80f;hp=491f1da0a31cbed9ea3f80a3824a6f8aba43a34e;hpb=5eca4ea11ef7c292e8b1352a41db12183e159361;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} +