X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fpicwall.html;h=73359949ce433cb96dc0e6510c56e6e22933602c;hb=52964ec8738fcc475604bfd4595a75bdc259e8c5;hp=23796ac94e4eb200de71c02cfd54197ce357f4b6;hpb=c81f1afc0a3a16daf98741a63c7524b27835da99;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 23796ac9..73359949 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html @@ -1,45 +1,65 @@ - + {include="includes"} {include="page.header"} +{if="!$thumbnails_enabled"} +
+
+ {'Picture wall unavailable (thumbnails are disabled).'|t} +
+
+{else} + {if="count($linksToDisplay)===0 && $is_logged_in"} +
+
+ {'There is no cached thumbnail. Try to synchronize them.'|t} +
+
+ {/if} -
-
-
- {$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} + + {$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"} - +