Changeset 606253
- Timestamp:
- 09/30/2012 07:10:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cat-tag-filter-widget/trunk/cat-tag-filter.php
r606252 r606253 108 108 109 109 if ($ctf_options['exclude_tags'] != ''){ 110 110 111 $ctf_options['exclude_tags'] = str_replace(" ", "", $ctf_options['exclude_tags']); 111 112 $exclude = explode(',', $ctf_options['exclude_tags']); 112 113 114 if ($ctf_options['clude_tags'] == 'include'){115 foreach ($tags as $tag){116 if (in_array($tag, $exclude)) $include .= $tag . ',';113 114 if ($ctf_options['clude_tags'] == 'include') { 115 foreach ($tags as $tag){ 116 if (in_array($tag, $exclude)) $include .= $tag . ','; 117 } 117 118 } 118 }119 else if ($ctf_options['clude_tags'] == 'exclude'){120 foreach ($tags as $tag){121 if (!in_array($tag, $exclude)) $include .= $tag . ',';119 else if ($ctf_options['clude_tags'] == 'exclude') { 120 foreach ($tags as $tag){ 121 if (!in_array($tag, $exclude)) $include .= $tag . ','; 122 } 122 123 } 123 }124 124 125 125 }
Note: See TracChangeset
for help on using the changeset viewer.