From 8d833331ff7175be34592f74206e0b6fe02857b5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 14 Jun 2004 07:03:05 +0000 Subject: [PATCH] some UI fixes for bigger groups --- phpgwapi/inc/class.uiaccountsel.inc.php | 6 +++--- phpgwapi/templates/default/uiaccountsel.tpl | 8 ++------ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/phpgwapi/inc/class.uiaccountsel.inc.php b/phpgwapi/inc/class.uiaccountsel.inc.php index 17f4edd5ce..e3e130f940 100644 --- a/phpgwapi/inc/class.uiaccountsel.inc.php +++ b/phpgwapi/inc/class.uiaccountsel.inc.php @@ -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 ------------------------------------ diff --git a/phpgwapi/templates/default/uiaccountsel.tpl b/phpgwapi/templates/default/uiaccountsel.tpl index d86678c248..befb78c9ad 100644 --- a/phpgwapi/templates/default/uiaccountsel.tpl +++ b/phpgwapi/templates/default/uiaccountsel.tpl @@ -69,7 +69,7 @@ } -
+
@@ -121,9 +121,7 @@ @@ -176,9 +174,7 @@
{accountsel_icon}
{name_user_group} -
-
{firstname} {lastname} -
- -
+