From 183e5d652dd5c51dde45ebcb31f9d420266d09b5 Mon Sep 17 00:00:00 2001 From: fusionate Date: Tue, 24 Sep 2024 16:33:46 -0600 Subject: [PATCH] Fax Server - Edit: Adjust style for Email & Confirmation Email fields. --- app/fax/fax_edit.php | 30 +++++++----------------------- themes/default/css.php | 9 ++++++++- 2 files changed, 15 insertions(+), 24 deletions(-) diff --git a/app/fax/fax_edit.php b/app/fax/fax_edit.php index 50d8bd65b9..5c4fe9a2c8 100644 --- a/app/fax/fax_edit.php +++ b/app/fax/fax_edit.php @@ -615,20 +615,12 @@ echo " ".$text['label-email']."\n"; echo "\n"; echo "\n"; - echo "\n"; $x = 0; foreach ($fax_emails as $email) { - echo "\n"; - echo "\n"; + echo "
\n"; $x++; } - echo "\n"; - echo " \n"; - echo "
\n"; - echo " \n"; - echo "
\n"; - echo " \n"; - echo "
\n"; + echo " \n"; echo "
\n"; echo " ".$text['description-email']."\n"; echo "\n"; @@ -655,20 +647,12 @@ echo " ".$text['label-email_confirmation']."\n"; echo "\n"; echo "\n"; - echo "\n"; $x = 0; - foreach($fax_email_confirmations as $email) { - echo "\n"; - echo "\n"; + foreach ($fax_email_confirmations as $email) { + echo "
\n"; $x++; } - echo "\n"; - echo " \n"; - echo "
\n"; - echo " \n"; - echo "
\n"; - echo " \n"; - echo "
\n"; + echo " \n"; echo "
\n"; echo " ".$text['description-email_confirmation']."\n"; echo "\n"; @@ -734,7 +718,7 @@ echo " "; if (!empty($fax_users) && is_array($fax_users) && @sizeof($fax_users) != 0) { - echo " \n"; + echo "
\n"; foreach ($fax_users as $field) { echo " \n"; echo " \n"; @@ -808,4 +792,4 @@ //show the footer require_once "resources/footer.php"; -?> +?> \ No newline at end of file diff --git a/themes/default/css.php b/themes/default/css.php index 30b9e04ff0..45796acd8b 100644 --- a/themes/default/css.php +++ b/themes/default/css.php @@ -1747,6 +1747,7 @@ else { //default: white input[type=number].formfld, input[type=url].formfld, input[type=password].formfld, + input[type=email].formfld, label.formfld { font-family: ; font-size: ; @@ -1784,11 +1785,13 @@ else { //default: white input[type=text].txt, input[type=number].txt, input[type=password].txt, + input[type=email].txt, textarea.formfld, input[type=text].formfld, input[type=number].formfld, input[type=url].formfld, - input[type=password].formfld { + input[type=password].formfld, + input[type=email].formfld { transition: width 0.25s; -moz-transition: width 0.25s; -webkit-transition: width 0.25s; @@ -1811,12 +1814,14 @@ else { //default: white input[type=text].txt:hover, input[type=number].txt:hover, input[type=password].txt:hover, + input[type=email].txt:hover, label.txt:hover, textarea.formfld:hover, input[type=text].formfld:hover, input[type=number].formfld:hover, input[type=url].formfld:hover, input[type=password].formfld:hover, + input[type=email].formfld:hover, label.formfld:hover { border-color: ; } @@ -1825,12 +1830,14 @@ else { //default: white input[type=text].txt:focus, input[type=number].txt:focus, input[type=password].txt:focus, + input[type=email].txt:focus, label.txt:focus, textarea.formfld:focus, input[type=text].formfld:focus, input[type=number].formfld:focus, input[type=url].formfld:focus, input[type=password].formfld:focus, + input[type=email].formfld:focus, label.formfld:focus { border-color: ; /* first clear */
".escape($field['username'])."