2012-04-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* include/styles/pandora.css
	 include/javascript/jquery.pandora.js
	 index.php
	 general/login_help_dialog.php: Added input for license in blocking
	 license modal windows.

	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2012-04-26 20:46:38 +00:00
parent a69c3e0fa3
commit e739de9f8a
5 changed files with 24 additions and 14 deletions

View File

@ -1,3 +1,13 @@
2012-04-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora.css
include/javascript/jquery.pandora.js
index.php
general/login_help_dialog.php: Added input for license in blocking
license modal windows.
Merged from branches.
2012-04-26 Miguel de Dios <miguel.dedios@artica.es> 2012-04-26 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/exportdata.php, * operation/agentes/exportdata.php,

View File

@ -36,6 +36,9 @@ if (is_ajax()) {
// Prints help dialog information // Prints help dialog information
if ($license_fail == 1)
return;
echo '<div id="login_help_dialog" title="' . __('Welcome to Pandora FMS') . '" style="">'; echo '<div id="login_help_dialog" title="' . __('Welcome to Pandora FMS') . '" style="">';
echo '<div style="position:absolute; top:30px; left: 10px; text-align: left; right:0%; height:70px; width:560px; margin: 0 auto; border: 1px solid #FFF; line-height: 19px;">'; echo '<div style="position:absolute; top:30px; left: 10px; text-align: left; right:0%; height:70px; width:560px; margin: 0 auto; border: 1px solid #FFF; line-height: 19px;">';

View File

@ -86,12 +86,12 @@ $(document).ready (function () {
return false; return false;
}); });
$(function() {
$( "#license_error_msg_dialog" ).dialog({ $( "#license_error_msg_dialog" ).dialog({
resizable: true, resizable: true,
draggable: true, draggable: true,
modal: true, modal: true,
height: 250, height: 280,
width: 600, width: 600,
overlay: { overlay: {
opacity: 0.5, opacity: 0.5,
@ -99,7 +99,6 @@ $(document).ready (function () {
}, },
bgiframe: jQuery.browser.msie bgiframe: jQuery.browser.msie
}); });
});
$("#submit-hide-license-error-msg").click (function () { $("#submit-hide-license-error-msg").click (function () {
$("#license_error_msg_dialog" ).dialog('close') $("#license_error_msg_dialog" ).dialog('close')
@ -134,6 +133,4 @@ $(document).ready (function () {
return false; return false;
}); });
} });
);

View File

@ -156,7 +156,6 @@ h1#log_f {
} }
div#login { div#login {
margin: 0 auto; margin: 0 auto;
#margin-top: 200px;
padding-top: 63px; padding-top: 63px;
width: 657px; width: 657px;
border-left: solid 1px #000; border-left: solid 1px #000;
@ -173,9 +172,9 @@ div#error_login {
#margin: 0 auto; #margin: 0 auto;
#margin-top: -10px; #margin-top: -10px;
text-align: center; text-align: center;
margin-top: 10px; margin-top: 5px;
margin-left: 5px; margin-left: 5px;
width: 70%; width: 75%;
float: right; float: right;
text-align: left; text-align: left;
top: 100px; top: 100px;

View File

@ -267,6 +267,7 @@ if (isset ($_GET["bye"])) {
* Load the basic configurations of extension and add extensions into menu. * Load the basic configurations of extension and add extensions into menu.
* Load here, because if not, some extensions not load well, I don't why. * Load here, because if not, some extensions not load well, I don't why.
*/ */
extensions_load_extensions ($config['extensions']); extensions_load_extensions ($config['extensions']);
if ($process_login) { if ($process_login) {
/* Call all extensions login function */ /* Call all extensions login function */