From d7f3313ff4514e38c9f53439cd1a1287e56e45f7 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 11 Nov 2018 17:19:26 +0100 Subject: reboot folder --- app/view/templates/homeopt.php | 84 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 app/view/templates/homeopt.php (limited to 'app/view/templates/homeopt.php') diff --git a/app/view/templates/homeopt.php b/app/view/templates/homeopt.php new file mode 100644 index 0000000..cecb79b --- /dev/null +++ b/app/view/templates/homeopt.php @@ -0,0 +1,84 @@ +
+

Options

+
+ +⬅ + + + + +
Sort + +
+order() == '1' ? "checked" : "" ?>/> +
+order() == '-1' ? "checked" : "" ?>/> + +
+ +
Privacy
    +
  • secure() == 4 ? "checked" : "" ?>/>
  • +
  • secure() == 3 ? "checked" : "" ?>/>
  • +
  • secure() == 2 ? "checked" : "" ?>/>
  • +
  • secure() == 1 ? "checked" : "" ?>/>
  • +
  • secure() == 0 ? "checked" : "" ?>/>
  • +
+ +
Tag
    + + +tagcompare() == "OR" ? "checked" : "" ?> > +tagcompare() == "AND" ? "checked" : "" ?>> + +taglist() as $tagfilter => $count) { + + if ($count > $limit && $in == false) { + echo '
    >' . $limit . ''; + $in = true; + } + if ($count == $limit && $in == true && $out == false) { + echo '
    ' . $limit . ''; + $out = true; + } + + if (in_array($tagfilter, $opt->tagfilter())) { + + echo '
  • '; + } else { + echo '
  • '; + } +} +if ($in = true || $out = true) { + echo '
    '; +} +?> + +
+ + invert() == 1) { + echo ''; + } else { + echo ''; + } + echo '
-- cgit v1.2.3