X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Feditlink.html;h=83e541fdf6b32aaf45a985a20645ab19c53bbc37;hb=c61d8a85b7a8cb424e347625923d3293d334d3b0;hp=354499a4121376d8e143a073f1f53603531bc2ef;hpb=15162272f46a3ae6e93a9f405173e0c770219fff;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index 354499a4..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} +