From 50e367e56b367259a2e6fb29621c97e9b0fc9c5e Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 18 Aug 2019 03:33:11 +0200 Subject: interface home update --- app/view/templates/homeopt.php | 292 ++++++++++++++++++++--------------------- 1 file changed, 139 insertions(+), 153 deletions(-) (limited to 'app/view/templates/homeopt.php') diff --git a/app/view/templates/homeopt.php b/app/view/templates/homeopt.php index 8b1b7d7..27d5625 100644 --- a/app/view/templates/homeopt.php +++ b/app/view/templates/homeopt.php @@ -1,154 +1,140 @@ -
-

Options

-
- -⬅ - -
- -
Sort - -
-order() == '1' ? "checked" : "" ?>/> -
-order() == '-1' ? "checked" : "" ?>/> - -
- -
Privacy
    -
  • secure() == 4 ? "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 '
    '; -} -?> - -
- -
- -
- Author(s) - -
    - -authorcompare() == "OR" ? "checked" : "" ?> > -authorcompare() == "AND" ? "checked" : "" ?>> - -authorlist() as $authorfilter => $count) { - - if ($count > $limit && $in == false) { - echo '
    >' . $limit . ''; - $in = true; - } - if ($count == $limit && $in == true && $out == false) { - echo '
    ' . $limit . ''; - $out = true; - } - - if (in_array($authorfilter, $opt->authorfilter())) { - - echo '
  • '; - } else { - echo '
  • '; - } -} -if ($in = true || $out = true) { - echo '
    '; -} -?> - -
+
- - invert() == 1) { - echo ''; - } else { - echo ''; - } - echo '
- - - -⬅ - -isadmin()) { ?> - - - -

Columns

- -
- -
    - - -
  • - columns()) ? 'checked' : '' ?>> - -
  • - - -
- - - -
- - - -
+ \ No newline at end of file -- cgit v1.2.3