X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Feditlink.html;h=a5828c7566c1ca800f6a7cfb5e4a97fc516331b7;hb=ffa39719a17982e6a6cac9bc3f758aa12fa69973;hp=2180c080aa4467f8ba5fd8ffc5e489f107c5f056;hpb=2dd698fd79abc35f4f56fbf929d3fb0320c27bfe;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index 2180c080..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"} - {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} +