X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fpicwall.html;h=1b8bf3b96a6c9a2692277399404624f5e6cf32ab;hb=fcba541e2f12c85ac56c6915ba1319fbdd3e6962;hp=248e56df78345029b8439b335911b27bf56ad2e3;hpb=b9b41d25e319f44f9fb8259a0237a8ee81ad394b;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 248e56df..1b8bf3b9 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html @@ -5,41 +5,53 @@ {include="page.header"} +{if="!$thumbnails_enabled"} +
+
+ {'Picture wall unavailable (thumbnails are disabled).'|t} +
+
+{else} +
+
+
+ {$countPics=count($linksToDisplay)} +

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

-
-
-
- {$countPics=count($linksToDisplay)} -

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

- -
- {loop="$plugin_start_zone"} - {$value} - {/loop} -
+
+ {loop="$plugin_start_zone"} + {$value} + {/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} + 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"} - +