X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fpicwall.html;h=ac613b35d56080bf0c4a0f303324871082d2e9d4;hb=7f5250421be4832b9679d8140bc4a71c8005dfa3;hp=4e227e3744038cd440fed8e89e8d3564ce87e6db;hpb=9977c418d6d0de9e22e4ec276e7d476e184b5d01;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 4e227e37..ac613b35 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html @@ -1,44 +1,59 @@ - -{include="includes"} - + + + {include="includes"} - +{include="page.header"} -
- {loop="$plugin_start_zone"} +{if="count($linksToDisplay)===0 && $is_logged_in"} +
+
+ {'There is no cached thumbnail.'|t} + {'Try to synchronize them.'|t} +
+
+{/if} + +
+
+
+ {$countPics=count($linksToDisplay)} +

{'Picture Wall'|t} - {$countPics} {'pics'|t}

+ +
+ {loop="$plugin_start_zone"} {$value} - {/loop} -
+ {/loop} +
-
-
- {loop="$linksToDisplay"} -
- {$value.thumbnail}{$value.title} - {loop="$value.picwall_plugin"} - {$value} - {/loop} -
- {/loop} +
+ {loop="$linksToDisplay"} +
+ {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} + + {$value.title} + {loop="$value.picwall_plugin"} + {$value} + {/loop}
-
+ {/loop} +
+
-
- -
- {loop="$plugin_end_zone"} +
+ {loop="$plugin_end_zone"} {$value} - {/loop} + {/loop} +
+
+
{include="page.footer"} - - + +