summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/header_inc.tpl4
-rw-r--r--templates/list_content.tpl6
-rw-r--r--templates/list_tags.tpl21
-rw-r--r--templates/tags_cloud.tpl22
4 files changed, 24 insertions, 29 deletions
diff --git a/templates/header_inc.tpl b/templates/header_inc.tpl
index 2c21331..272cb75 100644
--- a/templates/header_inc.tpl
+++ b/templates/header_inc.tpl
@@ -1,9 +1,10 @@
+{strip}
{if $gBitSystem->isPackageActive( 'tags' )}
<style type="text/css">
{* {include file="bitpackage:tags/tags_css.tpl"} *}
{literal}
#cloud {margin:0; padding:0;}
- #cloud li {display:inline; margin-right:0.6em;}
+ #cloud li {display:inline; margin:0 1.4em 0 0;}
#cloud .tag1 a {font-size:0.7em; font-weight:100;}
#cloud .tag2 a {font-size:0.8em; font-weight:200;}
#cloud .tag3 a {font-size:0.9em; font-weight:300;}
@@ -17,3 +18,4 @@
{/literal}
</style>
{/if}
+{/strip}
diff --git a/templates/list_content.tpl b/templates/list_content.tpl
index eaab43a..ac3bfeb 100644
--- a/templates/list_content.tpl
+++ b/templates/list_content.tpl
@@ -9,9 +9,9 @@
{form legend="Search Content by Tags"}
<input type="hidden" name="user_id" value="{$user_id}" />
<div class="row">
- {formlabel label="Enter Tags" for="content_type_guid"}
+ {formlabel label="Enter Tags" for="search_tags"}
{forminput}
- <input type="text" name="tags" value="{$listInfo.tags}" />
+ <input type="text" name="tags" id="search_tags" value="{$listInfo.tags}" />
<input type="submit" value="{tr}Search{/tr}" name="search_objects" />
{/forminput}
</div>
@@ -58,4 +58,4 @@
</div><!-- end .body -->
</div><!-- end .liberty -->
{/strip}
- \ No newline at end of file
+
diff --git a/templates/list_tags.tpl b/templates/list_tags.tpl
index 4bdc8c2..e0f2349 100644
--- a/templates/list_tags.tpl
+++ b/templates/list_tags.tpl
@@ -7,20 +7,15 @@
</div>
<div class="body">
-
{if $cloud}
- <div class="navbar">
- <ul><li>Sort by:
- </li>
- <li>
- <a href="{$smarty.const.TAGS_PKG_URL}index.php?sort=mostpopular">Popularity</a>
- </li>
- <li>
- <a href="{$smarty.const.TAGS_PKG_URL}index.php">Alphabeticaly</a>
- </li>
- </ul>
- </div>
- <div class="clear"></div>
+ <div class="navbar">
+ <ul>
+ <li>{biticon ipackage="icons" iname="emblem-symbolic-link" iexplain="Sort by"}</li>
+ <li><a href="{$smarty.const.TAGS_PKG_URL}index.php?sort=mostpopular">Popularity</a></li>
+ <li><a href="{$smarty.const.TAGS_PKG_URL}index.php">Alphabeticaly</a></li>
+ </ul>
+ </div>
+ <div class="clear"></div>
{include file="bitpackage:tags/tags_cloud.tpl"}
{else}
{include file="bitpackage:tags/tags_list.tpl"}
diff --git a/templates/tags_cloud.tpl b/templates/tags_cloud.tpl
index 225eee6..100c27d 100644
--- a/templates/tags_cloud.tpl
+++ b/templates/tags_cloud.tpl
@@ -1,15 +1,13 @@
{strip}
-<div class="data">
- {if $tagData}
- <ul id="cloud">
+{if $tagData}
+ <ul id="cloud">
{foreach item=tag from=$tagData}
- <li class="tag{$tag.tagscale}"><a href="{$smarty.const.TAGS_PKG_URL}index.php?tags={$tag.tag}">{$tag.tag}</a> ({$tag.popcant})</li>
+ <li class="tag{$tag.tagscale}"><a href="{$smarty.const.TAGS_PKG_URL}index.php?tags={$tag.tag}">{$tag.tag}</a> <small>({$tag.popcant})</small></li>
{/foreach}
- </ul>
- {else}
- <div class="norecords">
- {tr}No tags found{/tr}
- </div>
- {/if}
-</div><!-- end .data -->
-{/strip} \ No newline at end of file
+ </ul>
+{else}
+ <div class="norecords">
+ {tr}No tags found{/tr}
+ </div>
+{/if}
+{/strip}