2009-04-22 Manuel Arostegui <marostegui@artica.es>

* install.php: Fixed bug #2777317

	* godmode/agentes/planned_downtime.php: Fixed bug #2777475

	* godmode/reporting/map_builder.php: Fixed bug #2777347



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1642 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
marostegui 2009-04-22 09:12:18 +00:00
parent 1a6956bb4c
commit c57cecc318
4 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,11 @@
2009-04-22 Manuel Arostegui <marostegui@artica.es>
* install.php: Fixed bug #2777317
* godmode/agentes/planned_downtime.php: Fixed bug #2777475
* godmode/reporting/map_builder.php: Fixed bug #2777347
2009-04-22 Manuel Arostegui <marostegui@artica.es>
* operation/agentes/sla_view.php: Fixed bug #2777504

View File

@ -201,14 +201,14 @@ if ($create_downtime || $update_downtime) {
print_select_from_sql ("SELECT id_grupo, nombre FROM tgrupo WHERE id_grupo > 1", "filter_group", $filter_group, '', __("Any"), -1, false, false);
echo "<br /><br />";
echo print_submit_button (__('Filter by group'), '', false, 'class="sub next"',false);
print_submit_button (__('Filter by group'), '', false, 'class="sub next"',false);
echo "</form>";
echo "<form method=post action='index.php?sec=gagente&sec2=godmode/agentes/planned_downtime&first_update=1&insert_downtime_agent=1&id_downtime=$id_downtime'>";
echo print_select ($data, "id_agent[]", '', '', '', 0, false, true);
echo "<br /><br /><br />";
echo print_submit_button (__('Add'), '', false, 'class="sub next"',false);
print_submit_button (__('Add'), '', false, 'class="sub next"',false);
echo "</form>";
echo "</table>";

View File

@ -76,8 +76,8 @@ if ($create_layout) {
}
if ($delete_layout) {
process_sql_delete ('tlayout_data', array ('id_layout', $id_layout));
$result = process_sql_delete ('tlayout', array ('id', $id_layout));
process_sql_delete ('tlayout_data', array ('id_layout' => $id_layout));
$result = process_sql_delete ('tlayout', array ('id' => $id_layout));
if ($result) {
echo '<h3 class="suc">'.__('Deleted successfully').'</h3>';
} else {

View File

@ -452,8 +452,8 @@ $config["homeurl"]="'.$url.'"; // Base URL
if (mysql_error() != "")
echo "<div class='warn'> <b>ERROR:</b> ". mysql_error().".</div>";
mysql_query ("DROP DATABASE $dbname");
if ($step1 == 1)
mysql_query ("DROP DATABASE $dbname");
}
echo "
</div>