X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fpicwall.html;h=4c325487ac0dbfe10328f79205a4f4e9a4d1f242;hb=refs%2Fheads%2Fdoc-fix-homepage-icon;hp=4e227e3744038cd440fed8e89e8d3564ce87e6db;hpb=7418f7cb60524c3bfc2f240386b5e3e7eb9b3257;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 4e227e37..4c325487 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html @@ -1,44 +1,65 @@ -{include="includes"} - + + {include="includes"} - - -
- {loop="$plugin_start_zone"} - {$value} - {/loop} +{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} -
-
- {loop="$linksToDisplay"} -
- {$value.thumbnail}{$value.title} - {loop="$value.picwall_plugin"} - {$value} - {/loop} -
- {/loop} -
-
+
+
+
+ {$countPics=count($linksToDisplay)} +

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

-
+
+ {loop="$plugin_start_zone"} + {$value} + {/loop} +
-
- {loop="$plugin_end_zone"} - {$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} +
+
-{include="page.footer"} +
+ {loop="$plugin_end_zone"} + {$value} + {/loop} +
+
+
+
+{/if} - +{include="page.footer"} + +