2013-02-19 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_command.php, godmode/reporting/reporting_builder.item_editor.php, godmode/reporting/reporting_builder.list_items.php, godmode/agentes/agent_template.php, godmode/snmpconsole/snmp_alert.php, index.php, operation/search_users.php, operation/integria_incidents/incident.php, operation/reporting/reporting_xml.php, operation/agentes/exportdata.csv.php: cleaned source code style. * general/login_help_dialog.php, general/login_page.php: fixed the set to hidden window of info. Fixes: #3604645 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7680 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
4afb03d1f8
commit
8a9bb86959
|
@ -1,3 +1,20 @@
|
|||
2013-02-19 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/alerts/configure_alert_command.php,
|
||||
godmode/reporting/reporting_builder.item_editor.php,
|
||||
godmode/reporting/reporting_builder.list_items.php,
|
||||
godmode/agentes/agent_template.php,
|
||||
godmode/snmpconsole/snmp_alert.php, index.php,
|
||||
operation/search_users.php,
|
||||
operation/integria_incidents/incident.php,
|
||||
operation/reporting/reporting_xml.php,
|
||||
operation/agentes/exportdata.csv.php: cleaned source code style.
|
||||
|
||||
* general/login_help_dialog.php, general/login_page.php: fixed the
|
||||
set to hidden window of info.
|
||||
|
||||
Fixes: #3604645
|
||||
|
||||
2013-02-19 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/javascript/pandora_modules.js: Fixed str_warning and
|
||||
|
|
|
@ -35,10 +35,12 @@ if (is_ajax()) {
|
|||
}
|
||||
|
||||
// Prints help dialog information
|
||||
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 '<span style="font-size: 15px;">' . __('If this is your first time with Pandora FMS, we propose you a few links to learn more about Pandora FMS. Monitoring could be overwhelm, but take your time to learn how to use the power of Pandora!') . '</span>';
|
||||
echo '<span style="font-size: 15px;">' .
|
||||
__('If this is your first time with Pandora FMS, we propose you a few links to learn more about Pandora FMS. Monitoring could be overwhelm, but take your time to learn how to use the power of Pandora!') . '</span>';
|
||||
echo '</div>';
|
||||
|
||||
echo '<div style="position:absolute; top:110px; text-align: center; left:0%; right:0%; height:210px; width:580px; margin: 0 auto; border: 1px solid #FFF">';
|
||||
|
@ -117,10 +119,10 @@ $(document).ready (function () {
|
|||
|
||||
$("#login_help_dialog" ).dialog('close');
|
||||
|
||||
var skip_login_help = $("#checkbox-skip_login_help").attr('checked');
|
||||
var skip_login_help = $("#checkbox-skip_login_help").is(':checked');
|
||||
|
||||
// Update config['skip_login_help_dialog'] to don't display more this message
|
||||
if (skip_login_help == 'checked') {
|
||||
if (skip_login_help) {
|
||||
jQuery.get ("ajax.php",
|
||||
{"page": "general/login_help_dialog",
|
||||
"skip_login_help": 1},
|
||||
|
|
|
@ -396,7 +396,8 @@ if ($old_global_counter_chat != $now_global_counter_chat) {
|
|||
if (get_parameter ('login', 0) == 1) {
|
||||
|
||||
// If it's configured to not skip this
|
||||
if (!isset($config['skip_login_help_dialog']) or $config['skip_login_help_dialog'] == 0) {
|
||||
if (!isset($config['skip_login_help_dialog']) ||
|
||||
$config['skip_login_help_dialog'] == 0) {
|
||||
|
||||
include_once("general/login_help_dialog.php");
|
||||
|
||||
|
|
Loading…
Reference in New Issue