forked from extern/egroupware
This is for feature request #458535.
This commit is contained in:
parent
344e9f8c53
commit
2e57b81863
@ -122,9 +122,18 @@
|
||||
reset($this->bo->grants);
|
||||
while(list($grantor,$temp_rights) = each($this->bo->grants))
|
||||
{
|
||||
$form_options .= ' <option value="'.$grantor.'"'.($grantor==$this->bo->owner?' selected':'').'>'.$GLOBALS['phpgw']->common->grab_owner_name($grantor).'</option>'."\n";
|
||||
$GLOBALS['phpgw']->accounts->get_account_name($grantor,$lid,$fname,$lname);
|
||||
$drop_down[$lname.' '.$fname] = Array(
|
||||
'grantor' => $grantor,
|
||||
'name' => $GLOBALS['phpgw']->common->display_fullname($lid,$fname,$lname)
|
||||
);
|
||||
}
|
||||
reset($this->bo->grants);
|
||||
@reset($drop_down);
|
||||
@ksort($drop_down);
|
||||
while(list($key,$grant) = each($drop_down))
|
||||
{
|
||||
$form_options .= ' <option value="'.$grant['grantor'].'"'.($grant['grantor']==$this->bo->owner?' selected':'').'>'.$grant['name'].'</option>'."\n";
|
||||
} reset($this->bo->grants);
|
||||
|
||||
$var = Array(
|
||||
'form_width' => $remainder,
|
||||
|
@ -122,7 +122,17 @@
|
||||
reset($this->bo->grants);
|
||||
while(list($grantor,$temp_rights) = each($this->bo->grants))
|
||||
{
|
||||
$form_options .= ' <option value="'.$grantor.'"'.($grantor==$this->bo->owner?' selected':'').'>'.$GLOBALS['phpgw']->common->grab_owner_name($grantor).'</option>'."\n";
|
||||
$GLOBALS['phpgw']->accounts->get_account_name($grantor,$lid,$fname,$lname);
|
||||
$drop_down[$lname.' '.$fname] = Array(
|
||||
'grantor' => $grantor,
|
||||
'name' => $GLOBALS['phpgw']->common->display_fullname($lid,$fname,$lname)
|
||||
);
|
||||
}
|
||||
@reset($drop_down);
|
||||
@ksort($drop_down);
|
||||
while(list($key,$grant) = each($drop_down))
|
||||
{
|
||||
$form_options .= ' <option value="'.$grant['grantor'].'"'.($grant['grantor']==$this->bo->owner?' selected':'').'>'.$grant['name'].'</option>'."\n";
|
||||
}
|
||||
reset($this->bo->grants);
|
||||
|
||||
|
@ -122,7 +122,17 @@
|
||||
reset($this->bo->grants);
|
||||
while(list($grantor,$temp_rights) = each($this->bo->grants))
|
||||
{
|
||||
$form_options .= ' <option value="'.$grantor.'"'.($grantor==$this->bo->owner?' selected':'').'>'.$GLOBALS['phpgw']->common->grab_owner_name($grantor).'</option>'."\n";
|
||||
$GLOBALS['phpgw']->accounts->get_account_name($grantor,$lid,$fname,$lname);
|
||||
$drop_down[$lname.' '.$fname] = Array(
|
||||
'grantor' => $grantor,
|
||||
'name' => $GLOBALS['phpgw']->common->display_fullname($lid,$fname,$lname)
|
||||
);
|
||||
}
|
||||
@reset($drop_down);
|
||||
@ksort($drop_down);
|
||||
while(list($key,$grant) = each($drop_down))
|
||||
{
|
||||
$form_options .= ' <option value="'.$grant['grantor'].'"'.($grant['grantor']==$this->bo->owner?' selected':'').'>'.$grant['name'].'</option>'."\n";
|
||||
}
|
||||
reset($this->bo->grants);
|
||||
|
||||
|
@ -122,7 +122,17 @@
|
||||
reset($this->bo->grants);
|
||||
while(list($grantor,$temp_rights) = each($this->bo->grants))
|
||||
{
|
||||
$form_options .= ' <option value="'.$grantor.'"'.($grantor==$this->bo->owner?' selected':'').'>'.$GLOBALS['phpgw']->common->grab_owner_name($grantor).'</option>'."\n";
|
||||
$GLOBALS['phpgw']->accounts->get_account_name($grantor,$lid,$fname,$lname);
|
||||
$drop_down[$lname.' '.$fname] = Array(
|
||||
'grantor' => $grantor,
|
||||
'name' => $GLOBALS['phpgw']->common->display_fullname($lid,$fname,$lname)
|
||||
);
|
||||
}
|
||||
@reset($drop_down);
|
||||
@ksort($drop_down);
|
||||
while(list($key,$grant) = each($drop_down))
|
||||
{
|
||||
$form_options .= ' <option value="'.$grant['grantor'].'"'.($grant['grantor']==$this->bo->owner?' selected':'').'>'.$grant['name'].'</option>'."\n";
|
||||
}
|
||||
reset($this->bo->grants);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user