2011-08-12 Javier Lanz <javier.lanz@artica.es>

* operation/agentes/exportdata.php: Fixed table style to page width
        and text aligned to center.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
javilanz 2011-08-12 08:38:27 +00:00
parent b0c455f094
commit 7729498b67
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2011-08-12 Javier Lanz <javier.lanz@artica.es>
* operation/agentes/exportdata.php: Fixed table style to page width
and text aligned to center.
2011-08-12 Javier Lanz <javier.lanz@artica.es>
* include/config_process.php: Removed a forgotten html_debug_print call

View File

@ -140,9 +140,9 @@ if (!empty ($export_btn) && !empty ($module)) {
case "avg":
default:
//HTML output - don't style or use XHTML just in case somebody needs to copy/paste it. (Office doesn't handle <thead> and <tbody>)
$datastart = '<table style="width:700px;"><tr><th>'.__('Agent').'</th><th>'.__('Module').'</th><th>'.__('Data').'</th><th>'.__('Timestamp').'</th></tr>';
$rowstart = '<tr><td>';
$divider = '</td><td>';
$datastart = '<table style="width:98%;"><tr><th>'.__('Agent').'</th><th>'.__('Module').'</th><th>'.__('Data').'</th><th>'.__('Timestamp').'</th></tr>';
$rowstart = '<tr><td style="text-align: center">';
$divider = '</td><td style="text-align: center">';
$rowend = '</td></tr>';
$dataend = '</table>';
break;