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']); $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 // sort users and groups alphabeticaly and put the groups behind the users
@ -155,7 +155,7 @@
'element_id' => $element_id, 'element_id' => $element_id,
'single' => !$lines, // single selection, closes after the first selection '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']; $app = $GLOBALS['phpgw_info']['flags']['currentapp'];
$single = (int) !$lines; $single = (int) !$lines;
if (!$lines) if (!$lines)
@ -462,7 +462,7 @@
'left' => $this->nextmatchs->left('/index.php',$start,$total,$link_data+array('query'=>$query)), '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)), '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_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 ------------------------------------ // -------------------------- end nextmatch ------------------------------------

View File

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