mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-30 11:53:57 +01:00
added access_field
This commit is contained in:
parent
8f21b5275a
commit
0953acb424
@ -207,16 +207,17 @@
|
||||
|
||||
if ($format == 'select')
|
||||
{
|
||||
$list = $this->return_array($type,$start,$limit,$query,$sort,$order,$public);
|
||||
while (list($cats) = each($list))
|
||||
$cats = $this->return_array($type,$start,$limit,$query,$sort,$order,$public);
|
||||
|
||||
for ($i=0;$i<count($cats);$i++)
|
||||
{
|
||||
$s .= '<option value="' . $cats['id'] . '"';
|
||||
if ($cats['id'] == $selected)
|
||||
$s .= '<option value="' . $cats[$i]['id'] . '"';
|
||||
if ($cats[$i]['id'] == $selected)
|
||||
{
|
||||
$s .= ' selected';
|
||||
}
|
||||
$s .= '>' . $phpgw->strip_html($cats['name']);
|
||||
if ($cats['app_name'] == 'phpgw')
|
||||
$s .= '>' . $phpgw->strip_html($cats[$i]['name']);
|
||||
if ($cats[$i]['app_name'] == 'phpgw')
|
||||
{
|
||||
$s .= '<' . lang('Global') . '>';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user