From 5893529cf429f859485bccc88eff47f77fdd770a Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 25 Mar 2017 15:57:30 +0100 Subject: Move tagcloud template file to tag.cloud --- index.php | 2 +- tpl/default/tag.cloud.html | 64 ++++++++++++++++++++++++++++++++++++++++++++++ tpl/default/tagcloud.html | 60 ------------------------------------------- tpl/vintage/tag.cloud.html | 31 ++++++++++++++++++++++ tpl/vintage/tagcloud.html | 31 ---------------------- 5 files changed, 96 insertions(+), 92 deletions(-) create mode 100644 tpl/default/tag.cloud.html delete mode 100644 tpl/default/tagcloud.html create mode 100644 tpl/vintage/tag.cloud.html delete mode 100644 tpl/vintage/tagcloud.html diff --git a/index.php b/index.php index 9566fb01..de098ab5 100644 --- a/index.php +++ b/index.php @@ -835,7 +835,7 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history) $PAGE->assign($key, $value); } - $PAGE->renderPage('tagcloud'); + $PAGE->renderPage('tag.cloud'); exit; } diff --git a/tpl/default/tag.cloud.html b/tpl/default/tag.cloud.html new file mode 100644 index 00000000..59aa2ee0 --- /dev/null +++ b/tpl/default/tag.cloud.html @@ -0,0 +1,64 @@ + + + + {include="includes"} + + +{include="page.header"} + +{include="tag.sort"} + +
+
+
+ {$countTags=count($tags)} +

{'Tag cloud'|t} - {$countTags} {'tags'|t}

+ +
+
+
+
+ + + +
+
+
+
+ +
+ {loop="$plugin_start_zone"} + {$value} + {/loop} +
+ +
+ {loop="tags"} + {$key}{$value.count} + {loop="$value.tag_plugin"} + {$value} + {/loop} + {/loop} +
+ +
+ {loop="$plugin_end_zone"} + {$value} + {/loop} +
+
+
+ +{include="tag.sort"} + +{include="page.footer"} + + + diff --git a/tpl/default/tagcloud.html b/tpl/default/tagcloud.html deleted file mode 100644 index efe6e937..00000000 --- a/tpl/default/tagcloud.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - {include="includes"} - - -{include="page.header"} - -
-
-
- {$countTags=count($tags)} -

{'Tag cloud'|t} - {$countTags} {'tags'|t}

- -
-
-
-
- - - -
-
-
-
- -
- {loop="$plugin_start_zone"} - {$value} - {/loop} -
- -
- {loop="tags"} - {$key}{$value.count} - {loop="$value.tag_plugin"} - {$value} - {/loop} - {/loop} -
- -
- {loop="$plugin_end_zone"} - {$value} - {/loop} -
-
-
- -{include="page.footer"} - - - diff --git a/tpl/vintage/tag.cloud.html b/tpl/vintage/tag.cloud.html new file mode 100644 index 00000000..d93bf4f9 --- /dev/null +++ b/tpl/vintage/tag.cloud.html @@ -0,0 +1,31 @@ + + +{include="includes"} + + +
+
+ {loop="$plugin_start_zone"} + {$value} + {/loop} +
+ +
+ {loop="$tags"} + {$value.count}{$key} + {loop="$value.tag_plugin"} + {$value} + {/loop} + {/loop} +
+ +
+ {loop="$plugin_end_zone"} + {$value} + {/loop} +
+
+{include="page.footer"} + + diff --git a/tpl/vintage/tagcloud.html b/tpl/vintage/tagcloud.html deleted file mode 100644 index d93bf4f9..00000000 --- a/tpl/vintage/tagcloud.html +++ /dev/null @@ -1,31 +0,0 @@ - - -{include="includes"} - - -
-
- {loop="$plugin_start_zone"} - {$value} - {/loop} -
- -
- {loop="$tags"} - {$value.count}{$key} - {loop="$value.tag_plugin"} - {$value} - {/loop} - {/loop} -
- -
- {loop="$plugin_end_zone"} - {$value} - {/loop} -
-
-{include="page.footer"} - - -- cgit v1.2.3