mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-08 14:34:56 +02:00
2013-10-02 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.pandora.js, index.php, general/login_page.php: fixed the show the warning trial enterprise message when fail login. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
a72e3d3b43
commit
d51cbff334
@ -1,3 +1,9 @@
|
||||
2013-10-02 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/javascript/jquery.pandora.js, index.php,
|
||||
general/login_page.php: fixed the show the warning trial enterprise
|
||||
message when fail login.
|
||||
|
||||
2013-10-01 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/styles/menu.css: Fixed menus item height to
|
||||
|
@ -104,7 +104,7 @@ echo '
|
||||
html_print_input_text_extended ("pass", '', "pass", '', '', '' ,false, '', 'class="login login_password"', false, true);
|
||||
echo '</div>';
|
||||
echo '<div class="login_button">';
|
||||
html_print_submit_button(__("Login"), "login", false, 'class="sub next_login"');
|
||||
html_print_submit_button(__("Login"), "login_button", false, 'class="sub next_login"');
|
||||
echo '</div>';
|
||||
break;
|
||||
case 'logout':
|
||||
|
@ -85,6 +85,10 @@ $(document).ready (function () {
|
||||
});
|
||||
|
||||
if ($('#license_error_msg_dialog').length) {
|
||||
if (typeof(process_login_ok) == "undefined")
|
||||
process_login_ok = 0;
|
||||
|
||||
if (process_login_ok) {
|
||||
|
||||
$( "#license_error_msg_dialog" ).dialog({
|
||||
dialogClass: "no-close",
|
||||
@ -92,7 +96,7 @@ $(document).ready (function () {
|
||||
draggable: true,
|
||||
modal: true,
|
||||
height: 350,
|
||||
width: 650,
|
||||
width: 610,
|
||||
overlay: {
|
||||
opacity: 0.5,
|
||||
background: "black"
|
||||
@ -112,6 +116,7 @@ $(document).ready (function () {
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$("a#dialog_license_info").click (function () {
|
||||
|
@ -239,6 +239,8 @@ elseif (! isset ($config['id_user']) && isset ($_GET["login"])) {
|
||||
//login ok and password has not expired
|
||||
$process_login = true;
|
||||
|
||||
echo "<script type='text/javascript'>var process_login_ok = 1;</script>";
|
||||
|
||||
unset ($_GET["sec2"]);
|
||||
$_GET["sec"] = "general/logon_ok";
|
||||
$home_page ='';
|
||||
|
Loading…
x
Reference in New Issue
Block a user