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,32 +85,37 @@ $(document).ready (function () {
|
|||
});
|
||||
|
||||
if ($('#license_error_msg_dialog').length) {
|
||||
if (typeof(process_login_ok) == "undefined")
|
||||
process_login_ok = 0;
|
||||
|
||||
$( "#license_error_msg_dialog" ).dialog({
|
||||
dialogClass: "no-close",
|
||||
resizable: true,
|
||||
draggable: true,
|
||||
modal: true,
|
||||
height: 350,
|
||||
width: 650,
|
||||
overlay: {
|
||||
opacity: 0.5,
|
||||
background: "black"
|
||||
},
|
||||
open: function() {
|
||||
setTimeout(function(){
|
||||
$("#spinner_ok").hide();
|
||||
$("#ok_buttom").show();
|
||||
},
|
||||
10000
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
$("#submit-hide-license-error-msg").click (function () {
|
||||
$("#license_error_msg_dialog" ).dialog('close')
|
||||
});
|
||||
|
||||
if (process_login_ok) {
|
||||
|
||||
$( "#license_error_msg_dialog" ).dialog({
|
||||
dialogClass: "no-close",
|
||||
resizable: true,
|
||||
draggable: true,
|
||||
modal: true,
|
||||
height: 350,
|
||||
width: 610,
|
||||
overlay: {
|
||||
opacity: 0.5,
|
||||
background: "black"
|
||||
},
|
||||
open: function() {
|
||||
setTimeout(function(){
|
||||
$("#spinner_ok").hide();
|
||||
$("#ok_buttom").show();
|
||||
},
|
||||
10000
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
$("#submit-hide-license-error-msg").click (function () {
|
||||
$("#license_error_msg_dialog" ).dialog('close')
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ session_start ();
|
|||
require_once ("include/config.php");
|
||||
|
||||
// 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");
|
||||
}
|
||||
|
||||
|
@ -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 ='';
|
||||
|
@ -585,7 +587,7 @@ require('include/php_to_js_values.php');
|
|||
(function() {
|
||||
var oShow = jQuery.fn.show;
|
||||
var oHide = jQuery.fn.hide;
|
||||
|
||||
|
||||
jQuery.fn.show = function () {
|
||||
var rv = oShow.apply(this, arguments);
|
||||
adjustFooter();
|
||||
|
@ -611,7 +613,7 @@ require('include/php_to_js_values.php');
|
|||
var h = $('#foot').height();
|
||||
// new top value for div#foot
|
||||
var t = (ulim + $('#foot').outerHeight() > wh) ? ulim : wh - $('#foot').outerHeight();
|
||||
|
||||
|
||||
if ($('#foot').position().top != t) {
|
||||
$('#foot').css({ position: "absolute", top: t, left: $('#foot').offset().left});
|
||||
$('#foot').height(h);
|
||||
|
|
Loading…
Reference in New Issue