Fixed styles metaconsole
This commit is contained in:
parent
3ed315d7b6
commit
09f6b7a29a
|
@ -344,7 +344,7 @@ $table->head[3] = __('Delete');
|
|||
$table->style = array ();
|
||||
$table->style[0] = 'font-weight: bold';
|
||||
$table->size = array ();
|
||||
$table->size[1] = '30px';
|
||||
$table->size[1] = '200px';
|
||||
$table->size[2] = '40px';
|
||||
$table->size[3] = '40px';
|
||||
$table->align = array ();
|
||||
|
|
|
@ -233,8 +233,6 @@ $table = new stdClass();
|
|||
$table->width = '100%';
|
||||
$table->class = 'databox filters';
|
||||
if (defined("METACONSOLE")) {
|
||||
$table->width = '96%';
|
||||
$table->class = 'databox_filters';
|
||||
$table->cellspacing = 0;
|
||||
$table->cellpadding = 0;
|
||||
|
||||
|
@ -243,10 +241,9 @@ $table->data = array ();
|
|||
$table->head = array ();
|
||||
$table->style = array ();
|
||||
|
||||
if (!defined("METACONSOLE")) {
|
||||
$table->style[0] = 'font-weight: bold';
|
||||
$table->style[2] = 'font-weight: bold';
|
||||
}
|
||||
$table->style[0] = 'font-weight: bold';
|
||||
$table->style[2] = 'font-weight: bold';
|
||||
|
||||
|
||||
$table->data[0][0] = __('Type');
|
||||
$table->data[0][1] = html_print_select (alerts_get_alert_templates_types (), 'search_type',
|
||||
|
@ -260,7 +257,7 @@ $table->data[0][4] .= html_print_submit_button (__('Search'), 'search', false,
|
|||
$table->data[0][4] .= '</div>';
|
||||
|
||||
if (defined("METACONSOLE")) {
|
||||
$filter = '<form class="filters_form" method="post" action="' . $url . '">';
|
||||
$filter = '<form class="" method="post" action="' . $url . '">';
|
||||
$filter .= html_print_table ($table,true);
|
||||
$filter .= '</form>';
|
||||
ui_toggle($filter, __("Show Options"));
|
||||
|
|
|
@ -94,8 +94,6 @@ $table->width = '100%';
|
|||
$table->class = 'databox filters';
|
||||
|
||||
if (defined('METACONSOLE')) {
|
||||
$table->class = 'databox data';
|
||||
$table->width = '100%';
|
||||
if ($id) {
|
||||
$table->head[0] = __('Update Action');
|
||||
}
|
||||
|
|
|
@ -123,8 +123,6 @@ $table->width = '100%';
|
|||
$table->class = 'databox filters';
|
||||
|
||||
if (defined('METACONSOLE')) {
|
||||
$table->width = '100%';
|
||||
$table->class = 'databox data';
|
||||
if ($id) {
|
||||
$table->head[0] = __('Update Command');
|
||||
}
|
||||
|
|
|
@ -474,16 +474,14 @@ $table->id = 'template';
|
|||
$table->width = '100%';
|
||||
$table->class = 'databox filters';
|
||||
if(defined("METACONSOLE")) {
|
||||
$table->class = 'databox data';
|
||||
$table->head[0] = __('Create Template');
|
||||
$table->head_colspan[0] = 4;
|
||||
$table->headstyle[0] = 'text-align: center';
|
||||
}
|
||||
$table->style = array ();
|
||||
if(!defined("METACONSOLE")) {
|
||||
$table->style[0] = 'font-weight: bold;';
|
||||
$table->style[2] = 'font-weight: bold;';
|
||||
}
|
||||
$table->style[0] = 'font-weight: bold;';
|
||||
$table->style[2] = 'font-weight: bold;';
|
||||
|
||||
$table->size = array ();
|
||||
$table->size[0] = '20%';
|
||||
$table->size[2] = '20%';
|
||||
|
|
|
@ -134,33 +134,23 @@ if (!empty($result)) {
|
|||
}
|
||||
|
||||
html_print_table ($table);
|
||||
|
||||
if (defined('METACONSOLE')) {
|
||||
echo "<div style='width=100%; float:right;'>";
|
||||
if(defined('METACONSOLE'))
|
||||
echo '<form method="post" action="index.php?sec=advanced&sec2=godmode/category/edit_category&action=new&pure='.(int)$config['pure'].'">';
|
||||
else
|
||||
echo '<form method="post" action="index.php?sec=gmodules&sec2=godmode/category/edit_category&action=new&pure='.(int)$config['pure'].'">';
|
||||
html_print_input_hidden ("create_category", "1", true);
|
||||
html_print_submit_button (__('Create category'), 'create_button', false, 'class="sub next"');
|
||||
echo "</form>";
|
||||
echo "</div>";
|
||||
}
|
||||
|
||||
}
|
||||
else {
|
||||
// No categories available or selected
|
||||
ui_print_info_message ( array('no_close'=>true, 'message'=> __('No categories found') ) );
|
||||
}
|
||||
// Form to add new categories or search categories
|
||||
if (!defined('METACONSOLE')) {
|
||||
echo "<div style='width=100%; float:right;'>";
|
||||
echo "<div style='width=100%; float:right;'>";
|
||||
if(defined('METACONSOLE'))
|
||||
echo '<form method="post" action="index.php?sec=advanced&sec2=godmode/category/edit_category&action=new&pure='.(int)$config['pure'].'">';
|
||||
else
|
||||
echo '<form method="post" action="index.php?sec=gmodules&sec2=godmode/category/edit_category&action=new&pure='.(int)$config['pure'].'">';
|
||||
html_print_input_hidden ("create_category", "1", true);
|
||||
html_print_submit_button (__('Create category'),
|
||||
'create_button', false, 'class="sub next"');
|
||||
echo "</form>";
|
||||
echo "</div>";
|
||||
}
|
||||
html_print_input_hidden ("create_category", "1", true);
|
||||
html_print_submit_button (__('Create category'), 'create_button', false, 'class="sub next"');
|
||||
echo "</form>";
|
||||
echo "</div>";
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
||||
?>
|
||||
|
|
|
@ -127,10 +127,8 @@ if(!defined('METACONSOLE'))
|
|||
else
|
||||
echo '<div align=left style="width: 100%" class="pandora_form">';
|
||||
|
||||
if(!defined('METACONSOLE'))
|
||||
echo "<table border=0 cellpadding=4 cellspacing=4 class='databox filters' width=100%>";
|
||||
else
|
||||
echo "<table border=0 cellpadding=4 cellspacing=4 class='databox data' width=100%>";
|
||||
echo "<table border=0 cellpadding=4 cellspacing=4 class='databox filters' width=100%>";
|
||||
|
||||
if (defined("METACONSOLE")) {
|
||||
if ($action == "update") {
|
||||
echo "<thead>
|
||||
|
|
|
@ -441,18 +441,14 @@ $url = ui_get_url_refresh (array ('offset' => false,
|
|||
$search_id_group = (int) get_parameter ('search_id_group');
|
||||
$search_string = (string) get_parameter ('search_string');
|
||||
|
||||
$table = new stdClass();
|
||||
$table->width = '100%';
|
||||
$table->class = 'databox filters';
|
||||
|
||||
if(defined("METACONSOLE")) {
|
||||
$table->width = '50%';
|
||||
$table->class = 'databox_filters';
|
||||
}
|
||||
$table->style = array ();
|
||||
if (!defined('METACONSOLE')) {
|
||||
$table->style[0] = 'font-weight: bold';
|
||||
$table->style[2] = 'font-weight: bold';
|
||||
}
|
||||
$table->style[0] = 'font-weight: bold';
|
||||
$table->style[2] = 'font-weight: bold';
|
||||
|
||||
$table->data = array ();
|
||||
|
||||
$table->data[0][0] = __('Group');
|
||||
|
|
|
@ -204,6 +204,7 @@ if ($create_network_from_snmp_browser) {
|
|||
* You can see this values in file godmode/modules/manage_network_components.php
|
||||
* in the last lines (in the call function "html_print_select").
|
||||
*/
|
||||
$table = new stdClass();
|
||||
|
||||
if ($id_component_type == 6) {
|
||||
$categories = array (0, 1, 2);
|
||||
|
@ -236,7 +237,6 @@ $table->width = '100%';
|
|||
$table->class = 'databox filters';
|
||||
/* $table came from manage_network_components_form_common.php */
|
||||
if (defined('METACONSOLE')) {
|
||||
$table->class = 'databox data';
|
||||
if ($id) {
|
||||
$table->head[0] = __('Update Network Component');
|
||||
}
|
||||
|
|
|
@ -375,8 +375,8 @@ switch ($action) {
|
|||
$table_aux->cellpadding = 0;
|
||||
$table_aux->cellspacing = 0;
|
||||
if (defined('METACONSOLE')) {
|
||||
$table_aux->class = 'databox_filters';
|
||||
$table_aux->width = '96%';
|
||||
$table_aux->class = 'databox filters';
|
||||
$table_aux->width = '100%';
|
||||
$table_aux->cellpadding = 0;
|
||||
$table_aux->cellspacing = 0;
|
||||
}
|
||||
|
@ -391,7 +391,7 @@ switch ($action) {
|
|||
$table_aux->data[0][6] = html_print_submit_button(__('Search'), 'search_submit', false, 'class="sub upd"', true);
|
||||
|
||||
if (defined('METACONSOLE')) {
|
||||
$filter = "<form class ='filters_form' action='index.php?sec=reporting&sec2=godmode/reporting/reporting_builder&id_group=$id_group&pure=$pure'
|
||||
$filter = "<form class ='' action='index.php?sec=reporting&sec2=godmode/reporting/reporting_builder&id_group=$id_group&pure=$pure'
|
||||
method='post'>";
|
||||
$filter .= html_print_table($table_aux,true);
|
||||
$filter .= "</form>";
|
||||
|
|
|
@ -276,7 +276,6 @@ if (($create != "") OR ($view != "")) {
|
|||
$table->head[0] = __('General');
|
||||
$table->head_colspan[0] = 4;
|
||||
$table->headstyle[0] = 'text-align: center';
|
||||
echo '<br>';
|
||||
html_print_table($table);
|
||||
}
|
||||
else {
|
||||
|
@ -339,7 +338,6 @@ if (($create != "") OR ($view != "")) {
|
|||
$table->head[0] = __('Command');
|
||||
$table->head_colspan[0] = 4;
|
||||
$table->headstyle[0] = 'text-align: center';
|
||||
echo '<br>';
|
||||
html_print_table($table);
|
||||
}
|
||||
else {
|
||||
|
@ -473,12 +471,9 @@ if (($create != "") OR ($view != "")) {
|
|||
|
||||
|
||||
if (defined("METACONSOLE")) {
|
||||
$table->width = '100%';
|
||||
$table->class = 'databox data';
|
||||
$table->head[0] = __('Parameters macros');
|
||||
$table->head_colspan[0] = 4;
|
||||
$table->headstyle[0] = 'text-align: center';
|
||||
echo '<br>';
|
||||
html_print_table($table);
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -150,10 +150,7 @@ echo '<form method="post" action="index.php?sec='.$sec.'&sec2=godmode/tag/edit_t
|
|||
|
||||
echo '<div align=left style="width: 100%" class="pandora_form">';
|
||||
|
||||
if (defined('METACONSOLE'))
|
||||
echo "<table border=0 cellpadding=0 cellspacing=0 class='databox data' width=100%>";
|
||||
else
|
||||
echo "<table border=0 cellpadding=4 cellspacing=4 class='databox filters' width=100%>";
|
||||
echo "<table border=0 cellpadding=4 cellspacing=4 class='databox filters' width=100%>";
|
||||
if (defined('METACONSOLE')) {
|
||||
if ($action == "update") {
|
||||
echo "<th colspan=8 style='text-align:center'>" . __("Update Tag") . "</th>";
|
||||
|
|
|
@ -138,8 +138,8 @@ if (!empty($result)) {
|
|||
}
|
||||
else {
|
||||
|
||||
$filters = '<form method=post class="filters_form" action="index.php?sec='.$sec.'&sec2=godmode/tag/tag&delete_tag=0">';
|
||||
$filters .= "<table border=0 cellpadding=0 cellspacing=0 class=databox_filters width=70%>";
|
||||
$filters = '<form method=post class="" action="index.php?sec='.$sec.'&sec2=godmode/tag/tag&delete_tag=0">';
|
||||
$filters .= "<table border=0 cellpadding=0 cellspacing=0 class='databox filters' width=100%>";
|
||||
$filters .= "<tr>";
|
||||
$filters .= "<td>";
|
||||
$filters .= __("Name") . "/" . __("Description");
|
||||
|
@ -247,6 +247,9 @@ else{
|
|||
require_once ($config['homedir'] . "/general/firts_task/tags.php");
|
||||
return;
|
||||
}
|
||||
else{
|
||||
ui_print_info_message(array("no_close"=>true,"message"=>__("No tags defined.")));
|
||||
}
|
||||
}
|
||||
echo "<table border=0 cellpadding=0 cellspacing=0 width=100%>";
|
||||
echo "<tr>";
|
||||
|
|
|
@ -418,8 +418,6 @@ $table->id = 'user_configuration_table';
|
|||
$table->width = '100%';
|
||||
$table->class = 'databox filters';
|
||||
if (defined('METACONSOLE')) {
|
||||
$table->width = '100%';
|
||||
$table->class = 'databox data';
|
||||
if ($id) {
|
||||
$table->head[0] = __('Update User');
|
||||
}
|
||||
|
@ -605,7 +603,7 @@ if (!empty ($id) && !$new_user) {
|
|||
$table->head_colspan[0] = 0;
|
||||
$table->width = '100%';
|
||||
$table->class = 'databox_tactical data';
|
||||
$table->title = '<span>' . __('Profiles/Groups assigned to this user') . '</span>';
|
||||
$table->title = __('Profiles/Groups assigned to this user');
|
||||
}
|
||||
$table->data = array ();
|
||||
$table->head = array ();
|
||||
|
|
|
@ -45,8 +45,8 @@ function printFormFilterAlert($id_group, $filter, $free_search, $url, $filter_st
|
|||
$table->cellpadding = '0';
|
||||
$table->cellspacing = '0';
|
||||
if (defined('METACONSOLE')) {
|
||||
$table->class = 'databox_filters';
|
||||
$table->width = '96%';
|
||||
$table->class = 'databox filters';
|
||||
$table->width = '100%';
|
||||
$table->cellpadding = '0';
|
||||
$table->cellspacing = '0';
|
||||
}
|
||||
|
@ -58,11 +58,11 @@ function printFormFilterAlert($id_group, $filter, $free_search, $url, $filter_st
|
|||
$table->style[3] = 'font-weight: bold;';
|
||||
$table->style[4] = 'font-weight: bold;';
|
||||
if (defined('METACONSOLE')) {
|
||||
$table->style[0] = 'vertical-align:middle; font-weight: bold;';
|
||||
$table->style[1] = 'vertical-align:middle; font-weight: bold;';
|
||||
$table->style[2] = 'vertical-align:middle; font-weight: bold;';
|
||||
$table->style[3] = 'vertical-align:middle; font-weight: bold;';
|
||||
$table->style[4] = 'vertical-align:middle; font-weight: bold;';
|
||||
$table->style[0] = 'font-weight: bold;';
|
||||
$table->style[1] = 'font-weight: bold;';
|
||||
$table->style[2] = 'font-weight: bold;';
|
||||
$table->style[3] = 'font-weight: bold;';
|
||||
$table->style[4] = 'font-weight: bold;';
|
||||
}
|
||||
|
||||
$table->data[0][0] = __('Group');
|
||||
|
|
|
@ -91,26 +91,15 @@ if ($id_module) {
|
|||
|
||||
enterprise_hook('open_meta_frame');
|
||||
|
||||
if (!defined('METACONSOLE')) {
|
||||
$filters = '<form method="post" action="index.php?sec=estado&sec2=operation/agentes/status_monitor&refr=' . $refr . '&ag_group=' .
|
||||
$ag_group . '&ag_freestring=' . $ag_freestring . '&ag_modulename=' . $ag_modulename . '&status=' . $status . '&sort_field=' .
|
||||
$sortField . '&sort=' . $sort .'&pure=' . $config['pure'] . $ag_custom_fields_params . '">';
|
||||
//echo '<table cellspacing="4" cellpadding="4" width="100%" class="databox"><tr>';
|
||||
$table->width = "100%";
|
||||
$table->cellspacing = 0;
|
||||
$table->cellpadding = 0;
|
||||
$table->class = "databox filters";
|
||||
}
|
||||
else {
|
||||
$filters = '<form class="filters_form" method="post" action="index.php?sec=estado&sec2=operation/agentes/status_monitor&refr=' . $refr . '&ag_group=' .
|
||||
$ag_group . '&ag_freestring=' . $ag_freestring . '&ag_modulename=' . $ag_modulename . '&status=' . $status . '&sort_field=' .
|
||||
$sortField . '&sort=' . $sort .'&pure=' . $config['pure'] . $ag_custom_fields_params . '">';
|
||||
//echo '<table cellspacing="0" cellpadding="0" width="96%" class="databox_filters"><tr>';
|
||||
$table->width = "96%";
|
||||
$table->cellspacing = 0;
|
||||
$table->cellpadding = 0;
|
||||
$table->class = "databox_filters";
|
||||
}
|
||||
$filters = '<form method="post" action="index.php?sec=estado&sec2=operation/agentes/status_monitor&refr=' . $refr . '&ag_group=' .
|
||||
$ag_group . '&ag_freestring=' . $ag_freestring . '&ag_modulename=' . $ag_modulename . '&status=' . $status . '&sort_field=' .
|
||||
$sortField . '&sort=' . $sort .'&pure=' . $config['pure'] . $ag_custom_fields_params . '">';
|
||||
//echo '<table cellspacing="4" cellpadding="4" width="100%" class="databox"><tr>';
|
||||
$table->width = "100%";
|
||||
$table->cellspacing = 0;
|
||||
$table->cellpadding = 0;
|
||||
$table->class = "databox filters";
|
||||
|
||||
|
||||
// Get Groups and profiles from user
|
||||
$user_groups = implode (",", array_keys (users_get_groups ()));
|
||||
|
@ -527,6 +516,7 @@ foreach ($custom_fields as $custom_field) {
|
|||
|
||||
if (defined('METACONSOLE')) {
|
||||
$table->colspan[2][0] = 7;
|
||||
$table->cellstyle[2][0] = 'padding: 10px;';
|
||||
$table->data[2][0] = ui_toggle(
|
||||
html_print_table($table_custom_fields, true),
|
||||
__('Advanced Options'), '', true, true);
|
||||
|
|
|
@ -48,7 +48,7 @@ if (in_array('server_name', $show_fields)) {
|
|||
}
|
||||
if (in_array('estado', $show_fields)) {
|
||||
$table->head[$i] = __('Status');
|
||||
$table->align[$i] = 'center';
|
||||
$table->align[$i] = 'left';
|
||||
$i++;
|
||||
}
|
||||
if (in_array('id_evento', $show_fields)) {
|
||||
|
|
|
@ -189,18 +189,18 @@ if (check_acl ($config["id_user"], 0, "EW") || check_acl ($config["id_user"], 0,
|
|||
$table->class = 'databox';
|
||||
if (defined('METACONSOLE')) {
|
||||
$table->width = '100%';
|
||||
$table->class = 'databox data';
|
||||
$table->class = 'databox filters';
|
||||
$table->cellspacing = 0;
|
||||
$table->cellpadding = 0;
|
||||
}
|
||||
$table->styleTable = 'font-weight: bold; color: #555; text-align:left;';
|
||||
$table->styleTable = 'font-weight: bold; text-align:left;';
|
||||
if (!defined("METACONSOLE"))
|
||||
$table->style[0] = 'width: 50%; width:50%;';
|
||||
|
||||
$data = array();
|
||||
$table->rowid[0] = 'update_save_selector';
|
||||
$data[0] = html_print_radio_button('filter_mode', 'new', '', true, true) . __('New filter') . '<br><br>';
|
||||
$data[1] = html_print_radio_button('filter_mode', 'update', '', false, true) . __('Update filter') . '<br><br>';
|
||||
$data[0] = html_print_radio_button('filter_mode', 'new', '', true, true) . __('New filter') . '';
|
||||
$data[1] = html_print_radio_button('filter_mode', 'update', '', false, true) . __('Update filter') . '';
|
||||
$table->data[] = $data;
|
||||
$table->rowclass[] = '';
|
||||
|
||||
|
@ -213,16 +213,14 @@ if (check_acl ($config["id_user"], 0, "EW") || check_acl ($config["id_user"], 0,
|
|||
else
|
||||
$data[1] = __('Filter group') . $jump;
|
||||
# Fix : Only admin users can see group ALL
|
||||
$data[1] .= html_print_select_groups($config['id_user'], "ER", users_can_manage_group_all(), "id_group_filter", $id_group_filter, '', '', 0, true, false, false, 'w130', false, '', false, false, 'id_grupo', $strict_user);
|
||||
$data[1] .= html_print_select_groups($config['id_user'], "ER", users_can_manage_group_all(), "id_group_filter",
|
||||
$id_group_filter, '', '', 0, true, false, false, 'w130', false, '', false, false, 'id_grupo', $strict_user);
|
||||
$table->data[] = $data;
|
||||
$table->rowclass[] = '';
|
||||
|
||||
$data = array();
|
||||
$table->rowid[2] = 'save_filter_row2';
|
||||
$data[0] = html_print_submit_button (__('Save filter'), 'save_filter', false, 'class="sub upd"', true);
|
||||
$table->colspan[2][0] = 2;
|
||||
if(!defined("METACONSOLE"))
|
||||
$table->cellstyle[2][0] = 'text-align:right;';
|
||||
|
||||
$table->data[] = $data;
|
||||
$table->rowclass[] = '';
|
||||
|
||||
|
@ -240,6 +238,9 @@ if (check_acl ($config["id_user"], 0, "EW") || check_acl ($config["id_user"], 0,
|
|||
|
||||
html_print_table($table);
|
||||
unset($table);
|
||||
echo '<div>';
|
||||
echo html_print_submit_button (__('Save filter'), 'save_filter', false, 'class="sub upd" style="float:right;"', true);
|
||||
echo '</div>';
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
|
@ -317,14 +318,14 @@ if (defined('METACONSOLE')) {
|
|||
$data = array();
|
||||
|
||||
$data[0] = html_print_select ($tags_select_with, 'select_with', '', '', '', 0,
|
||||
true, true, true, '', false, 'width: 400px;');
|
||||
true, true, true, '', false, 'width: 335px;');
|
||||
|
||||
$data[1] = html_print_image('images/darrowright.png', true, array('id' => 'button-add_with', 'style' => 'cursor: pointer;', 'title' => __('Add')));
|
||||
$data[1] .= html_print_input_hidden('tag_with', $tag_with_base64, true);
|
||||
$data[1] .= '<br><br>' . html_print_image('images/darrowleft.png', true, array('id' => 'button-remove_with', 'style' => 'cursor: pointer;', 'title' => __('Remove')));
|
||||
|
||||
$data[2] = html_print_select ($tag_with_temp, 'tag_with_temp', array(), '', '',
|
||||
0, true, true, true, '', false, "width: 400px;");
|
||||
0, true, true, true, '', false, "width: 335px;");
|
||||
|
||||
$tabletags_with->data[] = $data;
|
||||
$tabletags_with->rowclass[] = '';
|
||||
|
@ -346,12 +347,12 @@ $tabletags_without->styleTable = 'border: 0px;';
|
|||
|
||||
$data = array();
|
||||
$data[0] = html_print_select ($tags_select_without, 'select_without', '', '', '', 0,
|
||||
true, true, true, '', false, 'width: 400px;');
|
||||
true, true, true, '', false, 'width: 335px;');
|
||||
$data[1] = html_print_image('images/darrowright.png', true, array('id' => 'button-add_without', 'style' => 'cursor: pointer;', 'title' => __('Add')));
|
||||
$data[1] .= html_print_input_hidden('tag_without', $tag_without_base64, true);
|
||||
$data[1] .= '<br><br>' . html_print_image('images/darrowleft.png', true, array('id' => 'button-remove_without', 'style' => 'cursor: pointer;', 'title' => __('Remove')));
|
||||
$data[2] = html_print_select ($tag_without_temp, 'tag_without_temp', array(), '', '',
|
||||
0, true, true, true, '', false, "width: 400px;");
|
||||
0, true, true, true, '', false, "width: 335px;");
|
||||
$tabletags_without->data[] = $data;
|
||||
$tabletags_without->rowclass[] = '';
|
||||
|
||||
|
@ -476,13 +477,13 @@ $data = array();
|
|||
if (defined('METACONSOLE'))
|
||||
{
|
||||
$data[0] = '<fieldset class="" style="padding:0px; width: 510px;">' .
|
||||
'<legend>' .
|
||||
'<legend style="padding:0px;">' .
|
||||
__('Events with following tags') .
|
||||
'</legend>' .
|
||||
html_print_table($tabletags_with, true) .
|
||||
'</fieldset>';
|
||||
$data2[1] = '<fieldset class="" style="padding:0px; width: 310px;">' .
|
||||
'<legend>' .
|
||||
'<legend style="padding:0px;">' .
|
||||
__('Events without following tags') .
|
||||
'</legend>' .
|
||||
html_print_table($tabletags_without, true) .
|
||||
|
@ -503,7 +504,9 @@ else {
|
|||
'</fieldset>';
|
||||
}
|
||||
$table_advanced->data[] = $data;
|
||||
$table_advanced->data[] = $data2;
|
||||
if (defined('METACONSOLE'))
|
||||
$table_advanced->data[] = $data2;
|
||||
|
||||
$table_advanced->rowclass[] = '';
|
||||
//- END ADVANCE FILTER -------------------------------------------------
|
||||
|
||||
|
@ -514,10 +517,7 @@ $table->width = '100%';
|
|||
$table->cellspacing = 4;
|
||||
$table->cellpadding = 4;
|
||||
$table->class = 'databox filters';
|
||||
if (defined('METACONSOLE')) {
|
||||
$table->width = '96%';
|
||||
$table->class = 'databox_filters';
|
||||
}
|
||||
|
||||
$table->styleTable = 'font-weight: bold; color: #555;';
|
||||
$table->data = array();
|
||||
|
||||
|
@ -564,7 +564,7 @@ $data = array();
|
|||
$data[0] = ui_toggle(html_print_table($table_advanced, true),
|
||||
__('Advanced options'), '', true, true);
|
||||
$table->colspan[count($table->data)][0] = 3;
|
||||
$table->cellstyle[count($table->data)][0] = 'padding-top: 15px;';
|
||||
$table->cellstyle[count($table->data)][0] = 'padding: 10px;';
|
||||
$table->data[] = $data;
|
||||
$table->rowclass[] = '';
|
||||
|
||||
|
|
Loading…
Reference in New Issue