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