From 3ac1ef3fad157f3e8d200e5beffbb012f2a3363b Mon Sep 17 00:00:00 2001 From: 64j <64j@mail.ru> Date: Thu, 20 Jul 2017 04:08:09 +0300 Subject: [PATCH] fix issues #73 update login form --- manager/includes/accesscontrol.inc.php | 3 +- manager/media/style/default/login.tpl | 125 ++++++++++--------------- 2 files changed, 54 insertions(+), 74 deletions(-) diff --git a/manager/includes/accesscontrol.inc.php b/manager/includes/accesscontrol.inc.php index 6f239b41c9..653500619d 100644 --- a/manager/includes/accesscontrol.inc.php +++ b/manager/includes/accesscontrol.inc.php @@ -81,6 +81,7 @@ $modx->setPlaceholder('login_message', $_lang["login_message"]); $modx->setPlaceholder('manager_theme_url', MODX_MANAGER_URL . 'media/style/' . $modx->config['manager_theme'] . '/'); $modx->setPlaceholder('year', date('Y')); + $modx->setPlaceholder('manager_theme_style', (isset($_COOKIE['MODX_themeColor']) ? $_COOKIE['MODX_themeColor'] : '')); // andrazk 20070416 - notify user of install/update if(isset($_GET['installGoingOn'])) { @@ -188,4 +189,4 @@ , session_id(), $modx->getLoginUserID(), $_SESSION['mgrShortname'], $lasthittime, (string) $action, $itemid == null ? var_export(null, true) : $itemid); $modx->db->query($sql); } -} \ No newline at end of file +} diff --git a/manager/media/style/default/login.tpl b/manager/media/style/default/login.tpl index 8a06d39aa0..220c3db9ee 100644 --- a/manager/media/style/default/login.tpl +++ b/manager/media/style/default/login.tpl @@ -6,85 +6,63 @@ - - -
-
- [+OnManagerLoginFormPrerender+] -
-
+ +
+
+ + [+OnManagerLoginFormPrerender+] + - - - - -

[+login_captcha_message+]

-

[+captcha_image+]

- [+captcha_input+] -
-
-
+ +
+
+

+
© 2005-2017 by the EVO. EVO™ is licensed under the GPL.
+
-

-
© 2005-2017 by the EVO. EVO™ is licensed under the GPL.
- +
- + + \ No newline at end of file