]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/tagcloud.html
Cleanup: explicitely loop over PHP variables in templates
[github/shaarli/Shaarli.git] / tpl / tagcloud.html
index 9418e2485ec6ac3e3d15aee4283cf76f4a4d6ac1..05e45273ffa284a61f5a71714bf1e6e93b18fad2 100644 (file)
@@ -3,13 +3,29 @@
 <head>{include="includes"}</head>
 <body>
        <div id="pageheader">{include="page.header"}</div>
-<center>
-<div id="cloudtag">
-    {loop="tags"}
-    <span class="count">{$value.count}</span><a href="?searchtags={$key|urlencode}" style="font-size:{$value.size}pt;">{$key|htmlspecialchars}</a>
-    {/loop}
+<div class="center">
+    <div id="plugin_zone_start_tagcloud" class="plugin_zone">
+        {loop="$plugin_start_zone"}
+            {$value}
+        {/loop}
+    </div>
+
+    <div id="cloudtag">
+        {loop="$tags"}
+            <span class="count">{$value.count}</span><a
+                href="?searchtags={$key|urlencode}" style="font-size:{$value.size}em;">{$key}</a>
+            {loop="$value.tag_plugin"}
+                {$value}
+            {/loop}
+        {/loop}
+    </div>
+
+    <div id="plugin_zone_end_tagcloud" class="plugin_zone">
+        {loop="$plugin_end_zone"}
+            {$value}
+        {/loop}
+    </div>
 </div>
-</center>
 {include="page.footer"}
 </body>
 </html>