put suffix + RDN in one line
This commit is contained in:
parent
51e9c29973
commit
3c5ef4eb30
|
@ -247,6 +247,8 @@ $helpArray = array (
|
||||||
"Text" => _("Here you can export account profiles to other server profiles (overwrite existing). You may also export a profile to the global templates. In this case it will always be copied to all server profiles that do not yet have a profile with this name.")),
|
"Text" => _("Here you can export account profiles to other server profiles (overwrite existing). You may also export a profile to the global templates. In this case it will always be copied to all server profiles that do not yet have a profile with this name.")),
|
||||||
// 400 - 499
|
// 400 - 499
|
||||||
// account pages
|
// account pages
|
||||||
|
"400" => array ("Headline" => _("DN suffix") . '/' . _("RDN identifier"),
|
||||||
|
"Text" => _("The account will be saved under this LDAP suffix.") . '<br><br>' . _("This is the identifier for the relative DN value. It must be one of the given allowed LDAP attributes (e.g. user accounts usually use \"uid\" while groups use \"cn\").")),
|
||||||
"401" => array ("Headline" => _("Load profile"),
|
"401" => array ("Headline" => _("Load profile"),
|
||||||
"Text" => _("Here you can load an account profile to set default settings for your account. The \"default\" profile is automatically loaded for new accounts.")),
|
"Text" => _("Here you can load an account profile to set default settings for your account. The \"default\" profile is automatically loaded for new accounts.")),
|
||||||
"403" => array ("Headline" => _("Create PDF file"),
|
"403" => array ("Headline" => _("Create PDF file"),
|
||||||
|
|
|
@ -1066,14 +1066,14 @@ class accountContainer {
|
||||||
$suffixList[getAbstractDN($this->dnSuffix)] = $this->dnSuffix;
|
$suffixList[getAbstractDN($this->dnSuffix)] = $this->dnSuffix;
|
||||||
}
|
}
|
||||||
$selectedSuffix = array($this->dnSuffix);
|
$selectedSuffix = array($this->dnSuffix);
|
||||||
$suffixSelect = new htmlResponsiveSelect('accountContainerSuffix', $suffixList, $selectedSuffix, _('Suffix'), '361');
|
$suffixSelect = new htmlResponsiveSelect('accountContainerSuffix', $suffixList, $selectedSuffix, _('Suffix'));
|
||||||
$suffixSelect->setHasDescriptiveElements(true);
|
$suffixSelect->setHasDescriptiveElements(true);
|
||||||
$suffixSelect->setRightToLeftTextDirection(true);
|
$suffixSelect->setRightToLeftTextDirection(true);
|
||||||
$titleBarSuffixRdn->add($suffixSelect, 12);
|
$titleBarSuffixRdn->add($suffixSelect, 12, 12, 8);
|
||||||
// RDN selection
|
// RDN selection
|
||||||
$rdnlist = getRDNAttributes($this->type->getId());
|
$rdnlist = getRDNAttributes($this->type->getId());
|
||||||
$rdnSelect = new htmlResponsiveSelect('accountContainerRDN', $rdnlist, array($this->rdn), _('RDN identifier'), '301');
|
$rdnSelect = new htmlResponsiveSelect('accountContainerRDN', $rdnlist, array($this->rdn), _('RDN identifier'), '400');
|
||||||
$titleBarSuffixRdn->add($rdnSelect, 12);
|
$titleBarSuffixRdn->add($rdnSelect, 12, 12, 4);
|
||||||
$titleBarContainer->add($titleBarSuffixRdn, 12);
|
$titleBarContainer->add($titleBarSuffixRdn, 12);
|
||||||
|
|
||||||
$titleBarDiv = new htmlDiv(null, $titleBarContainer, array('titleBar', 'ui-corner-top'));
|
$titleBarDiv = new htmlDiv(null, $titleBarContainer, array('titleBar', 'ui-corner-top'));
|
||||||
|
|
Loading…
Reference in New Issue