forked from extern/egroupware
Documentation update to be a little more clear about 'none' option
This commit is contained in:
parent
bbd06f1cbe
commit
60e13cd679
@ -220,6 +220,7 @@ class etemplate_widget_menupopup extends etemplate_widget
|
||||
$select_pref = $GLOBALS['egw_info']['user']['preferences']['common']['account_selection'];
|
||||
if($this->attrs['type'] == 'select-account' && !$GLOBALS['egw_info']['user']['apps']['admin'] && $select_pref == 'none')
|
||||
{
|
||||
// Preserve but do not send the value if preference is 'none'
|
||||
self::$request->preserv[$this->id] = self::$request->content[$this->id];
|
||||
unset(self::$request->content[$this->id]);
|
||||
$this->attrs['readonly'] = true;
|
||||
|
@ -22,7 +22,7 @@
|
||||
/**
|
||||
* Account selection widget
|
||||
* Changes according to the user's account_selection preference
|
||||
* - 'none' => Server-side: the read-only widget is used
|
||||
* - 'none' => Server-side: the read-only widget is used, and no values are sent or displayed
|
||||
* - 'groupmembers' => Non admins can only select groupmembers (Server side - normal selectbox)
|
||||
* - 'selectbox' => Selectbox with all accounts and groups (Server side - normal selectbox)
|
||||
* - 'primary_group' => Selectbox with primary group and search
|
||||
|
Loading…
Reference in New Issue
Block a user