Revision 1999,
1.1 KB
checked in by amuller, 15 years ago
(diff) |
Ticket #490 - #690 - Merge branches Expresso 2.2 com Trunk
|
Line | |
---|
1 | <?php |
---|
2 | /**************************************************************************\ |
---|
3 | * -------------------------------------------------------------------------* |
---|
4 | * This library is free software; you can redistribute it and/or modify it * |
---|
5 | * under the terms of the GNU Lesser General Public License as published by * |
---|
6 | * the Free Software Foundation; either version 2.1 of the License, * |
---|
7 | * or any later version. * |
---|
8 | \**************************************************************************/ |
---|
9 | |
---|
10 | class uiconfig |
---|
11 | { |
---|
12 | var $public_functions = array( |
---|
13 | 'search_group' => True, |
---|
14 | ); |
---|
15 | |
---|
16 | function vfs_functions(){ |
---|
17 | } |
---|
18 | |
---|
19 | function search_group(){ |
---|
20 | $GLOBALS['phpgw_info']['flags'] = array |
---|
21 | ( |
---|
22 | 'currentapp' => 'preferences', |
---|
23 | 'noheader' => True, |
---|
24 | 'nonavbar' => True, |
---|
25 | 'nofooter' => True, |
---|
26 | 'noappheader' => True, |
---|
27 | 'enable_browser_class' => True |
---|
28 | ); |
---|
29 | $account_info = $GLOBALS['phpgw']->accounts->get_list('groups',0,'','',$_GET['name'],'all'); |
---|
30 | |
---|
31 | foreach($account_info as $val) |
---|
32 | echo "<option value='".$val['account_id']."'>".$val['account_lid']."</option>"; |
---|
33 | } |
---|
34 | |
---|
35 | |
---|
36 | } |
---|
37 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.