X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Feditlink.html;h=a5828c7566c1ca800f6a7cfb5e4a97fc516331b7;hb=11edc143b42a7be09c0c9dc02730c83e8cbb73c2;hp=d03fd72ff2f0ec74db1c8ff7debfc549796c47f7;hpb=807cade64c571929dc19afe3d44787c5abe84f57;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index d03fd72f..a5828c75 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html @@ -1,56 +1,86 @@ +{$batchId=isset($batchId) ? $batchId : ''} +{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} +