fixed self service
This commit is contained in:
parent
209175c2af
commit
0f018671af
|
@ -876,7 +876,7 @@ class kolabUser extends baseModule {
|
||||||
$delegateContainer->addElement(new htmlTableExtendedInputCheckbox('delDelegate_' . $i, false, $kolabDelegate[$i]));
|
$delegateContainer->addElement(new htmlTableExtendedInputCheckbox('delDelegate_' . $i, false, $kolabDelegate[$i]));
|
||||||
$delegateContainer->addElement(new htmlOutputText(_('Delete')), true);
|
$delegateContainer->addElement(new htmlOutputText(_('Delete')), true);
|
||||||
}
|
}
|
||||||
$delegateContainer->addElement(new htmlSelect('new_delegate_value', $delegates, null));
|
$delegateContainer->addElement(new htmlSelect('new_delegate_value', $delegates));
|
||||||
$delegateContainer->addElement(new htmlTableExtendedInputCheckbox('new_delegate', false, _("Add"), null, false), true);
|
$delegateContainer->addElement(new htmlTableExtendedInputCheckbox('new_delegate', false, _("Add"), null, false), true);
|
||||||
$delegateLabel = new htmlOutputText(_('Delegates'));
|
$delegateLabel = new htmlOutputText(_('Delegates'));
|
||||||
$delegateLabel->alignment = htmlElement::ALIGN_TOP;
|
$delegateLabel->alignment = htmlElement::ALIGN_TOP;
|
||||||
|
@ -909,11 +909,9 @@ class kolabUser extends baseModule {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// input box for new invitation policy
|
// input box for new invitation policy
|
||||||
$returnPol[] = array(
|
$invitationContainer->addElement(new htmlInputField('invPol1', ''));
|
||||||
array('kind' => 'input', 'name' => 'invPol1', 'type' => 'text', 'value' => ''),
|
$invitationContainer->addElement(new htmlSelect('invPol2', array_values($this->invitationPolicies)));
|
||||||
array('kind' => 'select', 'name' => 'invPol2', 'options' => array_values($this->invitationPolicies)),
|
$invitationContainer->addElement(new htmlTableExtendedInputCheckbox('addInvPol', false, _("Add"), null, false), true);
|
||||||
array('kind' => 'input', 'type' => 'checkbox', 'name' => 'addInvPol'),
|
|
||||||
array('kind' => 'text', 'text' => _("Add")));
|
|
||||||
$invitationLabel = new htmlOutputText(_('Invitation policy'));
|
$invitationLabel = new htmlOutputText(_('Invitation policy'));
|
||||||
$invitationLabel->alignment = htmlElement::ALIGN_TOP;
|
$invitationLabel->alignment = htmlElement::ALIGN_TOP;
|
||||||
$return['kolabInvitationPolicy'] = new htmlTableRow(array(
|
$return['kolabInvitationPolicy'] = new htmlTableRow(array(
|
||||||
|
|
|
@ -1705,7 +1705,9 @@ class posixAccount extends baseModule implements passwordService {
|
||||||
$return = array();
|
$return = array();
|
||||||
if (in_array('password', $fields)) {
|
if (in_array('password', $fields)) {
|
||||||
$pwd1 = new htmlTableExtendedInputField(_('New password'), 'posixAccount_password');
|
$pwd1 = new htmlTableExtendedInputField(_('New password'), 'posixAccount_password');
|
||||||
|
$pwd1->setIsPassword(true);
|
||||||
$pwd2 = new htmlTableExtendedInputField(_('Reenter password'), 'posixAccount_password2');
|
$pwd2 = new htmlTableExtendedInputField(_('Reenter password'), 'posixAccount_password2');
|
||||||
|
$pwd2->setIsPassword(true);
|
||||||
$return['password'] = new htmlTableRow(array(
|
$return['password'] = new htmlTableRow(array(
|
||||||
$pwd1, $pwd2
|
$pwd1, $pwd2
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in New Issue