some UI fixes for bigger groups

This commit is contained in:
Ralf Becker 2004-06-14 07:03:05 +00:00
parent 37c79bfcf4
commit 8d833331ff
2 changed files with 5 additions and 9 deletions

View File

@ -129,7 +129,7 @@
$users[$member['account_id']] = $GLOBALS['phpgw']->common->grab_owner_name($member['account_id']);
}
}
$groups[$id] = lang('group').' '.$this->id2name($id);
$groups[$id] = $GLOBALS['phpgw']->common->grab_owner_name($id);
}
}
// sort users and groups alphabeticaly and put the groups behind the users
@ -155,7 +155,7 @@
'element_id' => $element_id,
'single' => !$lines, // single selection, closes after the first selection
));
$popup_options = 'width=600,height=400,toolbar=no,scrollbars=auto,resizable=yes';
$popup_options = 'width=600,height=400,toolbar=no,scrollbars=yes,resizable=yes';
$app = $GLOBALS['phpgw_info']['flags']['currentapp'];
$single = (int) !$lines;
if (!$lines)
@ -462,7 +462,7 @@
'left' => $this->nextmatchs->left('/index.php',$start,$total,$link_data+array('query'=>$query)),
'right' => $this->nextmatchs->right('/index.php',$start,$total,$link_data+array('query'=>$query)),
'lang_showing' => ($query ? lang("Search %1 '%2'",lang($this->query_types[$query_type]),$query) :
lang('Group').' '.$this->id2name($group_id)).': '.$this->nextmatchs->show_hits($total,$start),
$GLOBALS['phpgw']->common->grab_owner_name($group_id)).': '.$this->nextmatchs->show_hits($total,$start),
));
// -------------------------- end nextmatch ------------------------------------

View File

@ -69,7 +69,7 @@
}
</style>
<div id="divMain" style="height: 315px">
<div id="divMain">
<table border="0" width="100%">
<tr>
<td width="20%" rowspan="3">{accountsel_icon}</td>
@ -121,9 +121,7 @@
<tr bgcolor="{tr_color}">
<td><a href="{link_user_group}" title="{lang_list_members}">{name_user_group}</a></td>
<td align="center">
<form>
<input type="image" src="{img}" onclick="{onclick}; return false;" title="{lang_select_group}">
</form>
</td>
</tr>
<!-- END group_cal -->
@ -176,9 +174,7 @@
<td>{firstname}</td>
<td>{lastname}</td>
<td align="center">
<form>
<input type="image" src="{img}" onclick="{onclick}; return false;" title="{lang_select_user}">
</form>
</td>
</tr>