diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-02-01 15:15:13 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-02-01 15:15:13 +0100 |
commit | 0e8661256f7851e1feb0d5d49a46a2a56149fd83 (patch) | |
tree | 84ad7c238cb8c24e80f07a12f4a32afd64bb897e /app/view/templates/homeopt.php | |
parent | cc183f395a5e4eb93b712dfacc8083f6554b2250 (diff) | |
download | wcms-0e8661256f7851e1feb0d5d49a46a2a56149fd83.tar.gz wcms-0e8661256f7851e1feb0d5d49a46a2a56149fd83.zip |
edit by fix
Diffstat (limited to 'app/view/templates/homeopt.php')
-rw-r--r-- | app/view/templates/homeopt.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/view/templates/homeopt.php b/app/view/templates/homeopt.php index 36b44c5..8b1b7d7 100644 --- a/app/view/templates/homeopt.php +++ b/app/view/templates/homeopt.php @@ -32,8 +32,8 @@ foreach ($opt->col('array') as $key => $col) { <ul> -<input type="radio" id="OR" name="tagcompare" value="OR" ' . <?= $opt->tagcompare() == "OR" ? "checked" : "" ?> ><label for="OR">OR</label> -<input type="radio" id="AND" name="tagcompare" value="AND" <?= $opt->tagcompare() == "AND" ? "checked" : "" ?>><label for="AND">AND</label> +<input type="radio" id="tag_OR" name="tagcompare" value="OR" ' . <?= $opt->tagcompare() == "OR" ? "checked" : "" ?> ><label for="tag_OR">OR</label> +<input type="radio" id="tag_AND" name="tagcompare" value="AND" <?= $opt->tagcompare() == "AND" ? "checked" : "" ?>><label for="tag_AND">AND</label> <?php $in = false; @@ -71,8 +71,8 @@ if ($in = true || $out = true) { <ul> -<input type="radio" id="OR" name="authorcompare" value="OR" ' . <?= $opt->authorcompare() == "OR" ? "checked" : "" ?> ><label for="OR">OR</label> -<input type="radio" id="AND" name="authorcompare" value="AND" <?= $opt->authorcompare() == "AND" ? "checked" : "" ?>><label for="AND">AND</label> +<input type="radio" id="author_OR" name="authorcompare" value="OR" ' . <?= $opt->authorcompare() == "OR" ? "checked" : "" ?> ><label for="author_OR">OR</label> +<input type="radio" id="author_AND" name="authorcompare" value="AND" <?= $opt->authorcompare() == "AND" ? "checked" : "" ?>><label for="author_AND">AND</label> <?php $in = false; @@ -91,9 +91,9 @@ foreach ($opt->authorlist() as $authorfilter => $count) { if (in_array($authorfilter, $opt->authorfilter())) { - echo '<li><input type="checkbox" name="authorfilter[]" id="tag_' . $authorfilter . '" value="' . $authorfilter . '" checked /><label for="tag_' . $authorfilter . '">' . $authorfilter . ' (' . $count . ')</label></li>'; + echo '<li><input type="checkbox" name="authorfilter[]" id="author_' . $authorfilter . '" value="' . $authorfilter . '" checked /><label for="author_' . $authorfilter . '">' . $authorfilter . ' (' . $count . ')</label></li>'; } else { - echo '<li><input type="checkbox" name="authorfilter[]" id="tag_' . $authorfilter . '" value="' . $authorfilter . '" /><label for="tag_' . $authorfilter . '">' . $authorfilter . ' (' . $count . ')</label></li>'; + echo '<li><input type="checkbox" name="authorfilter[]" id="author_' . $authorfilter . '" value="' . $authorfilter . '" /><label for="author_' . $authorfilter . '">' . $authorfilter . ' (' . $count . ')</label></li>'; } } if ($in = true || $out = true) { |