X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Feditlink.html;h=a5828c7566c1ca800f6a7cfb5e4a97fc516331b7;hb=8fbc29de0252c462884605d4f691b6746e524fc9;hp=a2d9b78f96a61bcecf9d293892dcccefab70637f;hpb=066333c03ca6f484b8e1505e7626d2d01f252bf5;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index a2d9b78f..a5828c75 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html @@ -1,63 +1,122 @@ +{$batchId=isset($batchId) ? $batchId : ''} +{if="empty($batch_mode)"} - -{include="includes"} - + + + {include="includes"} - - -{if="$source !== 'firefoxsocialapi'"} -{include="page.footer"} + + {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} - - - + + +{if="empty($batch_mode)"} + {include="page.footer"} + {if="$link_is_new && $async_metadata"}{/if} +{/if}