aboutsummaryrefslogtreecommitdiff
path: root/w/view/templates/homeopt.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-11-11 17:19:26 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-11-11 17:19:26 +0100
commitd7f3313ff4514e38c9f53439cd1a1287e56e45f7 (patch)
treeabff39ab11cb317f5fcd2db558da1c59bdae9239 /w/view/templates/homeopt.php
parent2f363e8fa26ab849539e64ff7caa21bd164e8979 (diff)
downloadwcms-d7f3313ff4514e38c9f53439cd1a1287e56e45f7.tar.gz
wcms-d7f3313ff4514e38c9f53439cd1a1287e56e45f7.zip
reboot folder
Diffstat (limited to 'w/view/templates/homeopt.php')
-rw-r--r--w/view/templates/homeopt.php84
1 files changed, 0 insertions, 84 deletions
diff --git a/w/view/templates/homeopt.php b/w/view/templates/homeopt.php
deleted file mode 100644
index cecb79b..0000000
--- a/w/view/templates/homeopt.php
+++ /dev/null
@@ -1,84 +0,0 @@
-<div id="options">
-<h2>Options</h2>
-<form action="./" method="get" >
-<input type="submit" name="submit" value="filter">
-⬅<input type="submit" name="submit" value="reset">
-
-
- <!-- $this->optionsort($opt);
- $this->optionprivacy($opt);
- $this->optiontag($opt); -->
-
-<fieldset><legend>Sort</legend>
-<select name="sortby" id="sortby">
-<?php
-foreach ($opt->col('array') as $key => $col) {
- echo '<option value="' . $col . '" ' . ($opt->sortby() == $col ? "selected" : "") . '>' . $col . '</option>';
-}
-?>
-</select>
-</br>
-<input type="radio" id="asc" name="order" value="1" <?= $opt->order() == '1' ? "checked" : "" ?>/><label for="asc">ascending</label>
-</br>
-<input type="radio" id="desc" name="order" value="-1" <?= $opt->order() == '-1' ? "checked" : "" ?>/><label for="desc">descending</label>
-
-</fieldset>
-
-<fieldset><legend>Privacy</legend><ul>
-<li><input type="radio" id="4" name="secure" value="4"<?= $opt->secure() == 4 ? "checked" : "" ?>/><label for="4">all</label></li>
-<li><input type="radio" id="3" name="secure" value="3"<?= $opt->secure() == 3 ? "checked" : "" ?>/><label for="3">editor</label></li>
-<li><input type="radio" id="2" name="secure" value="2"<?= $opt->secure() == 2 ? "checked" : "" ?>/><label for="2">invite only</label></li>
-<li><input type="radio" id="1" name="secure" value="1"<?= $opt->secure() == 1 ? "checked" : "" ?>/><label for="1">private</label></li>
-<li><input type="radio" id="0" name="secure" value="0"<?= $opt->secure() == 0 ? "checked" : "" ?>/><label for="0">public</label></li>
-</ul></fieldset>
-
- <fieldset><legend>Tag</legend><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>
-
-<?php
-$in = false;
-$out = false;
-$limit = 1;
-foreach ($opt->taglist() as $tagfilter => $count) {
-
- if ($count > $limit && $in == false) {
- echo '<details open><summary>>' . $limit . '</summary>';
- $in = true;
- }
- if ($count == $limit && $in == true && $out == false) {
- echo '</details><details><summary>' . $limit . '</summary>';
- $out = true;
- }
-
- if (in_array($tagfilter, $opt->tagfilter())) {
-
- echo '<li><input type="checkbox" name="tagfilter[]" id="' . $tagfilter . '" value="' . $tagfilter . '" checked /><label for="' . $tagfilter . '">' . $tagfilter . ' (' . $count . ')</label></li>';
- } else {
- echo '<li><input type="checkbox" name="tagfilter[]" id="' . $tagfilter . '" value="' . $tagfilter . '" /><label for="' . $tagfilter . '">' . $tagfilter . ' (' . $count . ')</label></li>';
- }
-}
-if ($in = true || $out = true) {
- echo '</details>';
-}
-?>
-
-</ul></fieldset>
-
- <?php
- if ($opt->invert() == 1) {
- echo '<input type="checkbox" name="invert" value="1" id="invert" checked>';
- } else {
- echo '<input type="checkbox" name="invert" value="1" id="invert">';
- }
- echo '<label for="invert">invert</></br>';
- ?>
-
-
-<input type="submit" name="submit" value="filter">
-⬅<input type="submit" name="submit" value="reset">
-
-</form>
-</div>