From 15acc345b5ef4ff03862378168a98e766fc31f16 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Thu, 12 Apr 2012 09:26:51 +0000 Subject: [PATCH] 2012-04-12 Juan Manuel Ramon * include/styles/dialog.css include/styles/pandora.css include/auth/mysql.php general/login_page.php: Modal windows improved and changes in login page error. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5949 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 8 +++ pandora_console/general/login_page.php | 22 ++++--- pandora_console/include/auth/mysql.php | 1 + pandora_console/include/styles/dialog.css | 67 +++++++++++++++++----- pandora_console/include/styles/pandora.css | 20 ++++++- 5 files changed, 92 insertions(+), 26 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e7e7585d8e..f6762c7d95 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2012-04-12 Juan Manuel Ramon + + * include/styles/dialog.css + include/styles/pandora.css + include/auth/mysql.php + general/login_page.php: Modal windows improved and changes in login + page error. + 2012-04-12 Sergio Martin * godmode/reporting/visual_console_builder.editor.php diff --git a/pandora_console/general/login_page.php b/pandora_console/general/login_page.php index 36ba3b3c18..c53856727c 100644 --- a/pandora_console/general/login_page.php +++ b/pandora_console/general/login_page.php @@ -82,16 +82,22 @@ echo '
' . $pandora_version.(($develop_bypass == 1) ? ' '.__('B if (isset ($login_failed)) { - - echo '
'; - echo '
'; + echo '
'; + + echo '
'; echo '
'; - echo '

'.__('Login failed').': '.$config["auth_error"].'

'; + echo '' . $config["auth_error"] . ''; + echo '
'; + + echo '
'; + echo html_print_image('images/noaccess.png', true, array("alt" => __('Login failed'), "border" => 0)); echo '
'; - echo '
'; + + //echo '
'; + echo '
'; html_print_submit_button("Ok", 'hide-login-error', false, 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only" style="width:100px;"'); echo '
'; @@ -113,7 +119,7 @@ if (!isset ($login_failed)) {