From: Paul Hänsch Date: Mon, 15 Apr 2024 12:22:43 +0000 (+0200) Subject: use $upcase constant only in its function X-Git-Url: https://git.plutz.net/?p=confetti;a=commitdiff_plain;h=6e7496f7d5f9d5804ff071a53da789ca5ef9d4ba use $upcase constant only in its function --- diff --git a/cards/export_csv.sh b/cards/export_csv.sh index 9ba8993..b566c03 100755 --- a/cards/export_csv.sh +++ b/cards/export_csv.sh @@ -4,8 +4,6 @@ . $_EXEC/cards/l10n.sh . $_EXEC/cards/list.sh -upcase=' y;abcdefghijklmnopqrstuvwxyzäöüé;ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜÉ;; ' - filter="$(GET f)" order="$(GET o)" diff --git a/cards/index.cgi b/cards/index.cgi index 2c9f267..5babc9f 100755 --- a/cards/index.cgi +++ b/cards/index.cgi @@ -5,8 +5,6 @@ . $_EXEC/cards/widgets.sh . $_EXEC/cards/list.sh -upcase=' y;abcdefghijklmnopqrstuvwxyzäöüé;ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜÉ;; ' - filter="$(GET f)" order="$(GET o)" edit="$(GET e |PATH)" diff --git a/cards/list.sh b/cards/list.sh index 6e78def..519005c 100755 --- a/cards/list.sh +++ b/cards/list.sh @@ -148,6 +148,7 @@ filter_attendance(){ filter_cards(){ local filter f fex='x;p;' + local upcase=' y;abcdefghijklmnopqrstuvwxyzäöüé;ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜÉ;; ' filter="$(printf %s "${filter}" \ | sed -E 's;[]\/\(\)\\\$\?\.\+\*\;\[\{\}];\\&;g; diff --git a/courses/index.cgi b/courses/index.cgi index f860247..57761ad 100755 --- a/courses/index.cgi +++ b/courses/index.cgi @@ -5,8 +5,6 @@ . $_EXEC/courses/widgets.sh . $_EXEC/courses/list.sh -upcase=' y;abcdefghijklmnopqrstuvwxyzäöüé;ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜÉ;; ' - order="$(GET o |grep -m1 -xE 'DOW|TOD')" edit="$(GET e |PATH)"