fixed tabs in reports

This commit is contained in:
daniel 2017-02-16 15:40:56 +01:00
parent 8e8b9a12c1
commit cfb7a3a88e
4 changed files with 5 additions and 6 deletions

View File

@ -181,6 +181,7 @@ function dbmgr_extension_main () {
} }
echo "<div style='overflow: auto;'>"; echo "<div style='overflow: auto;'>";
$table = new stdClass();
$table->width = '100%'; $table->width = '100%';
$table->class = 'databox data'; $table->class = 'databox data';
$table->head = array_keys ($result[0]); $table->head = array_keys ($result[0]);

View File

@ -1980,7 +1980,7 @@ if ($enterpriseEnable and defined('METACONSOLE')) {
else { else {
ui_print_page_header(__('Reporting') . $textReportName, ui_print_page_header(__('Reporting') . $textReportName,
"images/op_reporting.png", false, "images/op_reporting.png", false,
"reporting_" . $activeTab . "_tab", false, $buttons); "reporting_" . $activeTab . "_tab", false, $buttons,false,'',80);
} }
if ($resultOperationDB !== null) { if ($resultOperationDB !== null) {

View File

@ -2390,7 +2390,7 @@ function ui_get_full_url ($url = '', $no_proxy = false, $add_name_php_file = fal
* @return string Header HTML * @return string Header HTML
*/ */
function ui_print_page_header ($title, $icon = "", $return = false, $help = "", $godmode = false, $options = "",$modal = false, $message = "") { function ui_print_page_header ($title, $icon = "", $return = false, $help = "", $godmode = false, $options = "",$modal = false, $message = "", $numChars = GENERIC_SIZE_TEXT) {
$title = io_safe_input_html($title); $title = io_safe_input_html($title);
if (($icon == "") && ($godmode == true)) { if (($icon == "") && ($godmode == true)) {
$icon = "images/gm_setup.png"; $icon = "images/gm_setup.png";
@ -2422,7 +2422,7 @@ function ui_print_page_header ($title, $icon = "", $return = false, $help = "",
} }
$buffer .= '<span style="margin-right:10px;">' . $buffer .= '<span style="margin-right:10px;">' .
ui_print_truncate_text($title, 'item_title'); ui_print_truncate_text($title, $numChars);
if ($modal && !enterprise_installed()){ if ($modal && !enterprise_installed()){
$buffer .= " $buffer .= "

View File

@ -127,10 +127,8 @@ else {
ui_print_page_header ( ui_print_page_header (
__('Reporting') . __('Reporting') .
" &raquo; " . " &raquo; " .
__('Custom reporting') .
" - " .
reporting_get_name($id_report), reporting_get_name($id_report),
"images/op_reporting.png", false, "", false, $options); "images/op_reporting.png", false, "", false, $options,false,'',80);
} }
//------------------- END HEADER --------------------------------------- //------------------- END HEADER ---------------------------------------