diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-01-29 20:34:08 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-01-29 20:34:08 +0100 |
commit | b28f1a4a516f93044c632b254670dd21f52e625c (patch) | |
tree | aa2661016383e51fe26d564d208ac302f6e48926 /app/view/templates/homeopt.php | |
parent | a30e115d62f10183acb7ff946821aaf066d4a61e (diff) | |
download | wcms-b28f1a4a516f93044c632b254670dd21f52e625c.tar.gz wcms-b28f1a4a516f93044c632b254670dd21f52e625c.zip |
new feature : colored tags
Diffstat (limited to 'app/view/templates/homeopt.php')
-rw-r--r-- | app/view/templates/homeopt.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/view/templates/homeopt.php b/app/view/templates/homeopt.php index 7f42c8e..05f8d27 100644 --- a/app/view/templates/homeopt.php +++ b/app/view/templates/homeopt.php @@ -63,9 +63,9 @@ if (in_array($tagfilter, $opt->tagfilter())) { - echo '<li><input type="checkbox" name="tagfilter[]" id="tag_' . $tagfilter . '" value="' . $tagfilter . '" checked /><label for="tag_' . $tagfilter . '">' . $tagfilter . ' (' . $count . ')</label></li>'; + echo '<li><input type="checkbox" name="tagfilter[]" id="tag_' . $tagfilter . '" value="' . $tagfilter . '" checked /><label for="tag_' . $tagfilter . '">' . $tagfilter . ' <span class="counter tag_' . $tagfilter . '">' . $count . '</span></label></li>'; } else { - echo '<li><input type="checkbox" name="tagfilter[]" id="tag_' . $tagfilter . '" value="' . $tagfilter . '" /><label for="tag_' . $tagfilter . '">' . $tagfilter . ' (' . $count . ')</label></li>'; + echo '<li><input type="checkbox" name="tagfilter[]" id="tag_' . $tagfilter . '" value="' . $tagfilter . '" /><label for="tag_' . $tagfilter . '">' . $tagfilter . ' <span class="counter tag_' . $tagfilter . '">' . $count . '</span></label></li>'; } } if ($in = true || $out = true) { |