2012-05-31 Sergio Martin <sergio.martin@artica.es>
* extensions/system_info.php: Fixed strange behavior in the system info form for bug 3530863 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6382 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
e243e7c19f
commit
bfa86888b9
|
@ -1,3 +1,8 @@
|
|||
2012-05-31 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* extensions/system_info.php: Fixed strange behavior in
|
||||
the system info form for bug 3530863
|
||||
|
||||
2012-05-30 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* include/functions_reporting.php
|
||||
|
|
|
@ -261,7 +261,7 @@ function mainSystemInfo() {
|
|||
|
||||
echo "<p>" . __('This tool is used just to view your Pandora FMS system logfiles directly from console') . "</p>";
|
||||
|
||||
echo "<form method='post'>";
|
||||
echo "<form method='post' action='index.php?extension_in_menu=gsetup&sec=gextensions&sec2=extensions/system_info'>";
|
||||
$table = null;
|
||||
$table->width = '98%';
|
||||
$table->align = array();
|
||||
|
@ -326,8 +326,14 @@ function mainSystemInfo() {
|
|||
$url_zip = ui_get_full_url(false);
|
||||
|
||||
$url = '<a href="' .$url_zip . 'attachment/last_info.zip">' . __('System info file zipped') . '</a>';
|
||||
echo '<b>' . __('File:') . '</b> ' . $url . '<br />';
|
||||
echo '<b>' . __('Location:') . '</b> ' . $zipArchive;
|
||||
|
||||
if($log_info || $system_info || $pandora_diag) {
|
||||
echo '<b>' . __('File:') . '</b> ' . $url . '<br />';
|
||||
echo '<b>' . __('Location:') . '</b> ' . $zipArchive;
|
||||
}
|
||||
else {
|
||||
echo __('No selected');
|
||||
}
|
||||
|
||||
$zip = new ZipArchive;
|
||||
|
||||
|
|
Loading…
Reference in New Issue