X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Feditlink.html;h=83e541fdf6b32aaf45a985a20645ab19c53bbc37;hb=544bbdaf8399c7a9e3c1e8b880e6f0a2fa15a769;hp=d3f99fe6482c75ad7fbe23e79a5f2d60b0b87e28;hpb=7418f7cb60524c3bfc2f240386b5e3e7eb9b3257;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index d3f99fe6..83e541fd 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html @@ -1,57 +1,121 @@ +{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}