mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-23 22:05:41 +02:00
2013-02-11 Miguel de Dios <miguel.dedios@artica.es>
* godmode/menu.php, godmode/alerts/configure_alert_template.php, godmode/alerts/alert_actions.php, godmode/agentes/agent_template.php, godmode/massive/massive_delete_agents.php: cleaned source code. * include/functions_html.php: added the weeks in the input for times. * operation/agentes/stat_win.php: fixed the malformated table when show extended options in the time widget. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c78199a6bb
commit
b35dd543ce
@ -1,3 +1,16 @@
|
||||
2013-02-11 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/menu.php, godmode/alerts/configure_alert_template.php,
|
||||
godmode/alerts/alert_actions.php,
|
||||
godmode/agentes/agent_template.php,
|
||||
godmode/massive/massive_delete_agents.php: cleaned source code.
|
||||
|
||||
* include/functions_html.php: added the weeks in the input for
|
||||
times.
|
||||
|
||||
* operation/agentes/stat_win.php: fixed the malformated table when
|
||||
show extended options in the time widget.
|
||||
|
||||
2013-02-11 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/gis_maps/index.php
|
||||
|
@ -112,7 +112,8 @@ if (isset ($_POST["template_id"])) {
|
||||
// Set the initial module status
|
||||
if ($row2["type"] == 21 || $row2["type"] == 22 || $row2["type"] == 23) {
|
||||
$status = 0;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$status = 4;
|
||||
}
|
||||
|
||||
@ -131,7 +132,8 @@ if (isset ($_POST["template_id"])) {
|
||||
// Update module status count
|
||||
if ($status == 4) {
|
||||
db_process_sql ('UPDATE tagente SET total_count=total_count+1, notinit_count=notinit_count+1 WHERE id_agente=' . (int)$id_agente);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
db_process_sql ('UPDATE tagente SET total_count=total_count+1, normal_count=normal_count+1 WHERE id_agente=' . (int)$id_agente);
|
||||
}
|
||||
}
|
||||
|
@ -114,7 +114,8 @@ if ($copy_action) {
|
||||
exit;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
// Header
|
||||
if (defined('METACONSOLE')) {
|
||||
alerts_meta_print_header ();
|
||||
|
@ -448,6 +448,7 @@ function html_print_extended_select_for_time ($name, $selected = '', $script = '
|
||||
SECONDS_1MINUTE => __('minutes'),
|
||||
SECONDS_1HOUR => __('hours'),
|
||||
SECONDS_1DAY => __('days'),
|
||||
SECONDS_1WEEK => __('weeks'),
|
||||
SECONDS_1MONTH => __('months'),
|
||||
SECONDS_1YEAR => __('years'));
|
||||
|
||||
|
@ -283,7 +283,7 @@ $label = base64_decode(get_parameter('label', ''));
|
||||
<?php
|
||||
echo __('Please, make your changes and apply with the <i>Reload</i> button');
|
||||
?>
|
||||
<div style="float: left; width: 80%;">
|
||||
<div style="float: left; width: 85%;">
|
||||
|
||||
<form method="get" action="stat_win.php">
|
||||
<?php
|
||||
@ -305,10 +305,10 @@ $label = base64_decode(get_parameter('label', ''));
|
||||
html_print_input_hidden ("type", $type);
|
||||
}
|
||||
?>
|
||||
<table class="databox_frame" cellspacing="5" width="100%">
|
||||
<table class="databox_frame" cellspacing="2" width="100%">
|
||||
<tr>
|
||||
<td><?php echo __('Refresh time');?></td>
|
||||
<td>
|
||||
<td width="50%">
|
||||
<?php
|
||||
html_print_extended_select_for_time(
|
||||
"refresh", $refresh, '', '', 0, 7);
|
||||
@ -391,7 +391,12 @@ $label = base64_decode(get_parameter('label', ''));
|
||||
case 'sparse':
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo __('Time compare').' ('.__('Overlapped').')';?></td>
|
||||
<td>
|
||||
<?php
|
||||
echo __('Time compare') . ' (' .
|
||||
__('Overlapped') . ')';
|
||||
?>
|
||||
</td>
|
||||
<td>
|
||||
<?php
|
||||
html_print_checkbox ("time_compare_overlapped",
|
||||
@ -400,7 +405,12 @@ $label = base64_decode(get_parameter('label', ''));
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo __('Time compare').' ('.__('Separated').')';?></td>
|
||||
<td>
|
||||
<?php
|
||||
echo __('Time compare') . ' ('.
|
||||
__('Separated').')';
|
||||
?>
|
||||
</td>
|
||||
<td>
|
||||
<?php
|
||||
html_print_checkbox ("time_compare_separated",
|
||||
|
Loading…
x
Reference in New Issue
Block a user