diff options
author | VirtualTam <virtualtam@flibidi.net> | 2016-10-16 17:41:08 +0200 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2016-10-16 17:41:08 +0200 |
commit | dec5fe9c6973054a1301982f910de86a19502b55 (patch) | |
tree | b78d43b5692ee6d80ea4e1bb4ac5345c22b880a6 /tpl/export.bookmarks.html | |
parent | bb70e690598d270951148e003a4dc253b05868b4 (diff) | |
download | Shaarli-dec5fe9c6973054a1301982f910de86a19502b55.tar.gz Shaarli-dec5fe9c6973054a1301982f910de86a19502b55.tar.zst Shaarli-dec5fe9c6973054a1301982f910de86a19502b55.zip |
Cleanup: explicitely loop over PHP variables in templates
Relates to https://github.com/shaarli/Shaarli/issues/613
Before: {loop="someVariable"}
After: {loop="$someVariable"}
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tpl/export.bookmarks.html')
-rw-r--r-- | tpl/export.bookmarks.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/export.bookmarks.html b/tpl/export.bookmarks.html index da733257..127a5c20 100644 --- a/tpl/export.bookmarks.html +++ b/tpl/export.bookmarks.html | |||
@@ -5,6 +5,6 @@ | |||
5 | Do Not Edit! -->{ignore}The RainTPL loop is formatted to avoid generating extra newlines{/ignore} | 5 | Do Not Edit! -->{ignore}The RainTPL loop is formatted to avoid generating extra newlines{/ignore} |
6 | <TITLE>{$pagetitle}</TITLE> | 6 | <TITLE>{$pagetitle}</TITLE> |
7 | <H1>Shaarli export of {$selection} bookmarks on {$date}</H1> | 7 | <H1>Shaarli export of {$selection} bookmarks on {$date}</H1> |
8 | <DL><p>{loop="links"} | 8 | <DL><p>{loop="$links"} |
9 | <DT><A HREF="{$value.url}" ADD_DATE="{$value.timestamp}" PRIVATE="{$value.private}" TAGS="{$value.taglist}">{$value.title}</A>{if="$value.description"}{$eol}<DD>{$value.description}{/if}{/loop} | 9 | <DT><A HREF="{$value.url}" ADD_DATE="{$value.timestamp}" PRIVATE="{$value.private}" TAGS="{$value.taglist}">{$value.title}</A>{if="$value.description"}{$eol}<DD>{$value.description}{/if}{/loop} |
10 | </DL><p> | 10 | </DL><p> |