X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fpicwall.html;h=1ea9c20a6282d5c89f5d923b822903be17c0ba4a;hb=e85b7a05a177f803ae36ba5c12835313f31177bc;hp=2f7e03dc3bc0b127e254acb7f3acb82f86d9d986;hpb=a3724717ec37d4bd54dc117ef439c8a182157882;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 2f7e03dc..1ea9c20a 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"} - +