X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Feditlink.html;h=83e541fdf6b32aaf45a985a20645ab19c53bbc37;hb=df9aac5b6406bf192f2e4e0987e25d0de88480df;hp=2180c080aa4467f8ba5fd8ffc5e489f107c5f056;hpb=9c5daad19c850d852f2e78ca571ad199362c0ffe;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index 2180c080..83e541fd 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html @@ -1,22 +1,31 @@ +{if="empty($batch_mode)"} - + {include="includes"} - {if="$source !== 'firefoxsocialapi' && $source !== 'bookmarklet'"} - {include="page.header"} - {else} -
Shaare to: {$shaarlititle}
- {/if} -
+ {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} +