Change visual of metaconsole
This commit is contained in:
parent
2976a794d5
commit
d7bd4773db
|
@ -151,11 +151,11 @@ if ($create) {
|
|||
|
||||
$own_info = get_user_info ($config['id_user']);
|
||||
|
||||
$table->width = '98%';
|
||||
$table->width = '100%';
|
||||
$table->border = 0;
|
||||
$table->cellspacing = 3;
|
||||
$table->cellpadding = 5;
|
||||
$table->class = "databox";
|
||||
$table->cellspacing = 0;
|
||||
$table->cellpadding = 0;
|
||||
$table->class = "databox filters";
|
||||
$table->style[0] = 'vertical-align: top;';
|
||||
|
||||
$table->valign[1] = 'top';
|
||||
|
@ -163,8 +163,6 @@ $table->valign[1] = 'top';
|
|||
if (defined('METACONSOLE')) {
|
||||
$table->width = '100%';
|
||||
$table->border = 0;
|
||||
$table->cellspacing = 3;
|
||||
$table->cellpadding = 5;
|
||||
if ($id) {
|
||||
$table->head[0] = __('Update Filter');
|
||||
}
|
||||
|
@ -174,7 +172,6 @@ if (defined('METACONSOLE')) {
|
|||
|
||||
$table->head_colspan[0] = 4;
|
||||
$table->headstyle[0] = 'text-align: center';
|
||||
$table->class = "databox data";
|
||||
$table->style[0] = '';
|
||||
$table->valign[1] = '';
|
||||
}
|
||||
|
|
|
@ -100,8 +100,6 @@ else {
|
|||
$table->width = '100%';
|
||||
$table->class = 'databox filters';
|
||||
if (defined("METACONSOLE")) {
|
||||
|
||||
$table->class = 'databox data';
|
||||
if ($id_group)
|
||||
$table->head[0] = __('Update Group');
|
||||
else
|
||||
|
@ -109,6 +107,9 @@ if (defined("METACONSOLE")) {
|
|||
$table->head_colspan[0] = 4;
|
||||
$table->headstyle[0] = 'text-align: center';
|
||||
}
|
||||
|
||||
$table->style[0] = 'font-weight: bold';
|
||||
|
||||
$table->data = array ();
|
||||
$table->data[0][0] = __('Name');
|
||||
$table->data[0][1] = html_print_input_text ('name', $name, '', 35, 100, true);
|
||||
|
|
|
@ -251,18 +251,12 @@ else {
|
|||
}
|
||||
|
||||
$table = null;
|
||||
if (defined('METACONSOLE')) {
|
||||
$table->cellpadding = 0;
|
||||
$table->cellspacing = 0;
|
||||
$table->width = '100%';
|
||||
$table->class = "databox";
|
||||
}
|
||||
else {
|
||||
$table->cellpadding = 0;
|
||||
$table->cellspacing = 0;
|
||||
$table->width = '100%';
|
||||
$table->class = "databox data";
|
||||
}
|
||||
|
||||
$table->cellpadding = 0;
|
||||
$table->cellspacing = 0;
|
||||
$table->width = '100%';
|
||||
$table->class = "databox data";
|
||||
|
||||
$table->head = array ();
|
||||
$table->data = array ();
|
||||
$table->align = array ();
|
||||
|
@ -287,7 +281,7 @@ if (!defined('METACONSOLE')) {
|
|||
$table->size[2] = '150px';
|
||||
}
|
||||
|
||||
$table->align[3] = "center";
|
||||
$table->align[3] = "left";
|
||||
|
||||
if (defined('METACONSOLE')) {
|
||||
$table->size[6] = '110px';
|
||||
|
|
|
@ -451,7 +451,7 @@ if (!empty ($table->data)) {
|
|||
html_print_table ($table);
|
||||
}
|
||||
else {
|
||||
echo '<div class="nf">'.__('This user doesn\'t have any assigned profile/group').'</div>';
|
||||
ui_print_info_message ( array('no_close'=>true, 'message'=> __('This user doesn\'t have any assigned profile/group.') ) );
|
||||
}
|
||||
|
||||
enterprise_hook('close_meta_frame');
|
||||
|
|
Loading…
Reference in New Issue