From 5d008a1766f6f1fab3cda51ba1100c9729fa8903 Mon Sep 17 00:00:00 2001 From: Banana Date: Tue, 20 Feb 2024 16:20:40 +0100 Subject: [PATCH] removed ifsetvalue --- webclient/lib/summoner.class.php | 17 +----------- .../98/managecolletions/managecolletions.html | 22 ++++++++-------- .../view/98/manageentry/field-selection.html | 2 +- .../view/98/manageentry/manageentry.html | 18 ++++++------- .../view/98/managegroups/managegroups.html | 2 +- .../view/98/manageusers/manageusers.html | 4 +-- .../managecolletions/managecolletions.html | 26 +++++++++---------- .../default/manageentry/field-selection.html | 2 +- .../view/default/manageentry/manageentry.html | 18 ++++++------- .../default/managegroups/managegroups.html | 2 +- .../view/default/manageusers/manageusers.html | 4 +-- webclient/view/default/tool/tool-imdbweb.html | 2 +- 12 files changed, 52 insertions(+), 67 deletions(-) diff --git a/webclient/lib/summoner.class.php b/webclient/lib/summoner.class.php index 8ab6f3f..9732707 100644 --- a/webclient/lib/summoner.class.php +++ b/webclient/lib/summoner.class.php @@ -436,22 +436,7 @@ class Summoner { return isset($array[$key]) ? $array[$key] : false; } } - - /** - * based on self::ifset check also the value - * - * @param array $array The array to use - * @param string $key The key to check - * @param string $value The value to compare - * @return bool - */ - static function ifsetValue(array $array, string $key, string $value): bool { - if(self::ifset($array,$key) !== false) { - return $array[$key] == $value; - } - return false; - } - + /** * Replace in $haystack the $needle with $replace only once * diff --git a/webclient/view/98/managecolletions/managecolletions.html b/webclient/view/98/managecolletions/managecolletions.html index e68780a..ee6e1c6 100644 --- a/webclient/view/98/managecolletions/managecolletions.html +++ b/webclient/view/98/managecolletions/managecolletions.html @@ -94,7 +94,7 @@ $v) { ?> @@ -105,7 +105,7 @@ $v) { ?> @@ -125,41 +125,41 @@ > + > > + > > + > > + > > + > > + > > + > > + > > + > diff --git a/webclient/view/98/manageentry/field-selection.html b/webclient/view/98/manageentry/field-selection.html index a494ac3..e2bbc28 100644 --- a/webclient/view/98/manageentry/field-selection.html +++ b/webclient/view/98/manageentry/field-selection.html @@ -4,7 +4,7 @@ $v) { ?> diff --git a/webclient/view/98/manageentry/manageentry.html b/webclient/view/98/manageentry/manageentry.html index fce3eca..1724513 100644 --- a/webclient/view/98/manageentry/manageentry.html +++ b/webclient/view/98/manageentry/manageentry.html @@ -65,41 +65,41 @@ Possible duplicate > + > > + > > + > > + > > + > > + > > + > > + > > + > diff --git a/webclient/view/98/managegroups/managegroups.html b/webclient/view/98/managegroups/managegroups.html index d2a4d1f..94f2156 100644 --- a/webclient/view/98/managegroups/managegroups.html +++ b/webclient/view/98/managegroups/managegroups.html @@ -13,7 +13,7 @@ value=""> - +

Warning: Content owned by this group will not be deleted and thus only manageable by admin!
diff --git a/webclient/view/98/manageusers/manageusers.html b/webclient/view/98/manageusers/manageusers.html index 2ee133d..0b748f5 100644 --- a/webclient/view/98/manageusers/manageusers.html +++ b/webclient/view/98/manageusers/manageusers.html @@ -22,7 +22,7 @@ $v) { ?> @@ -44,7 +44,7 @@ >

- +
diff --git a/webclient/view/default/managecolletions/managecolletions.html b/webclient/view/default/managecolletions/managecolletions.html index 5823b61..c45e434 100644 --- a/webclient/view/default/managecolletions/managecolletions.html +++ b/webclient/view/default/managecolletions/managecolletions.html @@ -30,7 +30,7 @@ $v) { ?> @@ -67,7 +67,7 @@ $v) { ?> @@ -119,7 +119,7 @@ $v) { ?> @@ -132,7 +132,7 @@ $v) { ?> @@ -150,27 +150,27 @@ + > + > + > + > + > + > + > + > + > diff --git a/webclient/view/default/manageentry/field-selection.html b/webclient/view/default/manageentry/field-selection.html index ed5a202..dde2c7a 100644 --- a/webclient/view/default/manageentry/field-selection.html +++ b/webclient/view/default/manageentry/field-selection.html @@ -5,7 +5,7 @@ $v) { ?> diff --git a/webclient/view/default/manageentry/manageentry.html b/webclient/view/default/manageentry/manageentry.html index 99c8f68..ef0ed0c 100644 --- a/webclient/view/default/manageentry/manageentry.html +++ b/webclient/view/default/manageentry/manageentry.html @@ -53,27 +53,27 @@ Possible duplicate + > + > + > + > + > + > + > + > + > diff --git a/webclient/view/default/managegroups/managegroups.html b/webclient/view/default/managegroups/managegroups.html index 8ffadaf..2443da2 100644 --- a/webclient/view/default/managegroups/managegroups.html +++ b/webclient/view/default/managegroups/managegroups.html @@ -18,7 +18,7 @@
- +
Delete
diff --git a/webclient/view/default/manageusers/manageusers.html b/webclient/view/default/manageusers/manageusers.html index b3c6138..e345919 100644 --- a/webclient/view/default/manageusers/manageusers.html +++ b/webclient/view/default/manageusers/manageusers.html @@ -30,7 +30,7 @@ $v) { ?> @@ -59,7 +59,7 @@
- +
Delete
diff --git a/webclient/view/default/tool/tool-imdbweb.html b/webclient/view/default/tool/tool-imdbweb.html index 8d63a57..68817c3 100644 --- a/webclient/view/default/tool/tool-imdbweb.html +++ b/webclient/view/default/tool/tool-imdbweb.html @@ -7,7 +7,7 @@
-- 2.39.5