From 57f9fdec634abec57ae120a601e05fb89edea219 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Thu, 8 Jun 2017 22:39:45 -0400 Subject: [PATCH] Saving properly works, login page updated --- admin/admin_settings.php | 2 +- admin/admin_settings_save.php | 17 +- admin/index.php | 363 +++++++++++++++++----------------- css/mods-for-hesk-new.css | 28 +++ inc/headerAdmin.inc.php | 19 +- 5 files changed, 236 insertions(+), 193 deletions(-) diff --git a/admin/admin_settings.php b/admin/admin_settings.php index f7fb677f..fb4ca274 100644 --- a/admin/admin_settings.php +++ b/admin/admin_settings.php @@ -3815,7 +3815,7 @@ $modsForHesk_settings = mfh_getSettings(); >
- Login Background + Login Background +
+ + + + +
+ +
+ +
+ + + + + +
+
+ +
+ +
+ +
+
+ '.$hesklang['vrfy']; + } + // Not verified yet, should we use Recaptcha? + elseif ($hesk_settings['recaptcha_use'] == 1) + { + ?> + +
'; + echo recaptcha_get_html($hesk_settings['recaptcha_public_key'], null, true); + echo '
'; + } + // Use reCaptcha API v2? + elseif ($hesk_settings['recaptcha_use'] == 2) + { + ?> +
+
+
+
+
+
'; + $cls = in_array('mysecnum',$_SESSION['a_iserror']) ? ' class="isError" ' : ''; + + echo $hesklang['sec_enter'].'

'.$hesklang['sec_img'].' '. + ''.$hesklang['reload'].''. + '

'; + echo '
'; + } + } // End if $hesk_settings['secimg_use'] == 2 + + if ($hesk_settings['autologin']) + { + ?>
-
-
+
+
+ +
+
+ +
+
+ +
'; - $cls = in_array('mysecnum',$_SESSION['a_iserror']) ? ' class="isError" ' : ''; - - echo $hesklang['sec_enter'].'

'.$hesklang['sec_img'].' '. - ''.$hesklang['reload'].''. - '

'; - echo '
'; - } - } // End if $hesk_settings['secimg_use'] == 2 - - if ($hesk_settings['autologin']) - { - ?> -
-
-
- -
-
- -
-
- -
-
-
- -
-
-
- -
-
-
- -
-
- - - '; - } - - // Do we allow staff password reset? - if ($hesk_settings['reset_pass']) - { - echo '

'.$hesklang['fpass'].''; - } ?> +
+
+
+ +
+
+
+ +
+
+ + + '; + } + + // Do we allow staff password reset? + if ($hesk_settings['reset_pass']) + { + echo '

'.$hesklang['fpass'].''; + } + ?> +
-
- + +
; } - + body { background: ; } - + + body { + background: url('') + no-repeat center center fixed; + background-size: cover; + } + + .login-box-background { + background: url('') + no-repeat center center fixed; + background-size: cover; + } +