]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/tagcloud.html
Template upgrade to handle plugin zones
[github/shaarli/Shaarli.git] / tpl / tagcloud.html
index 6918c7be96d68421594325c6bbb3a2fc3e2c1d5f..5891cd258498bd14b750940f868f8615842daa63 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 style="color:#99f; font-size:9pt; padding-left:5px; padding-right:2px;">{$value.count}</span><a href="?searchtags={$key|htmlspecialchars}" style="font-size:{$value.size}pt; font-weight:bold; color:black; text-decoration:none">{$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}pt;">{$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>
\ No newline at end of file
+</html>