X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fpicwall.html;h=1ea9c20a6282d5c89f5d923b822903be17c0ba4a;hb=e85b7a05a177f803ae36ba5c12835313f31177bc;hp=4e227e3744038cd440fed8e89e8d3564ce87e6db;hpb=adc4aee80f7cd3242f65f0b316af2b560a64712c;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 4e227e37..1ea9c20a 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html @@ -1,44 +1,57 @@ -{include="includes"} - + + {include="includes"} - - -
- {loop="$plugin_start_zone"} - {$value} - {/loop} +{include="page.header"} +{if="!$thumbnails_enabled"} +
+
+ {'Picture wall unavailable (thumbnails are disabled).'|t} +
+{else} +
+
+
+ {$countPics=count($linksToDisplay)} +

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

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