mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-07 14:04:55 +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>
|
2013-10-01 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* include/styles/menu.css: Fixed menus item height to
|
* 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);
|
html_print_input_text_extended ("pass", '', "pass", '', '', '' ,false, '', 'class="login login_password"', false, true);
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '<div class="login_button">';
|
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>';
|
echo '</div>';
|
||||||
break;
|
break;
|
||||||
case 'logout':
|
case 'logout':
|
||||||
|
@ -85,6 +85,10 @@ $(document).ready (function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if ($('#license_error_msg_dialog').length) {
|
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({
|
$( "#license_error_msg_dialog" ).dialog({
|
||||||
dialogClass: "no-close",
|
dialogClass: "no-close",
|
||||||
@ -92,7 +96,7 @@ $(document).ready (function () {
|
|||||||
draggable: true,
|
draggable: true,
|
||||||
modal: true,
|
modal: true,
|
||||||
height: 350,
|
height: 350,
|
||||||
width: 650,
|
width: 610,
|
||||||
overlay: {
|
overlay: {
|
||||||
opacity: 0.5,
|
opacity: 0.5,
|
||||||
background: "black"
|
background: "black"
|
||||||
@ -112,6 +116,7 @@ $(document).ready (function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$("a#dialog_license_info").click (function () {
|
$("a#dialog_license_info").click (function () {
|
||||||
|
@ -68,7 +68,7 @@ session_start ();
|
|||||||
require_once ("include/config.php");
|
require_once ("include/config.php");
|
||||||
|
|
||||||
// If metaconsole activated, redirect to it
|
// If metaconsole activated, redirect to it
|
||||||
if($config['metaconsole'] == 1 && $config['enterprise_installed'] == 1) {
|
if ($config['metaconsole'] == 1 && $config['enterprise_installed'] == 1) {
|
||||||
header ("Location: " . $config['homeurl'] . "enterprise/meta");
|
header ("Location: " . $config['homeurl'] . "enterprise/meta");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -239,6 +239,8 @@ elseif (! isset ($config['id_user']) && isset ($_GET["login"])) {
|
|||||||
//login ok and password has not expired
|
//login ok and password has not expired
|
||||||
$process_login = true;
|
$process_login = true;
|
||||||
|
|
||||||
|
echo "<script type='text/javascript'>var process_login_ok = 1;</script>";
|
||||||
|
|
||||||
unset ($_GET["sec2"]);
|
unset ($_GET["sec2"]);
|
||||||
$_GET["sec"] = "general/logon_ok";
|
$_GET["sec"] = "general/logon_ok";
|
||||||
$home_page ='';
|
$home_page ='';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user