fixed success page
This commit is contained in:
parent
3911fe3c73
commit
9ff03c0462
|
@ -858,7 +858,7 @@ class accountContainer {
|
||||||
if (isset($_POST['accountContainerCreateAgain'])) {
|
if (isset($_POST['accountContainerCreateAgain'])) {
|
||||||
// open fresh account page
|
// open fresh account page
|
||||||
unset($_SESSION[$this->base]);
|
unset($_SESSION[$this->base]);
|
||||||
metaRefresh("edit.php?type=" . $this->type);
|
metaRefresh("edit.php?type=" . $this->type . "&suffix=" . $this->dn);
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
// back to account list
|
// back to account list
|
||||||
|
@ -1059,9 +1059,10 @@ class accountContainer {
|
||||||
StatusMessage('INFO', _('LDAP operation successful.'), $text);
|
StatusMessage('INFO', _('LDAP operation successful.'), $text);
|
||||||
|
|
||||||
echo "<br>\n";
|
echo "<br>\n";
|
||||||
|
echo "<table class=\"".$this->type."list\" width=\"100%\" style=\"border-width:0px;\"><tr><td>\n";
|
||||||
|
|
||||||
echo "<input name=\"accountContainerCreateAgain\" type=\"submit\" value=\"" . _('Create another account') . "\"> \n";
|
echo "<input name=\"accountContainerCreateAgain\" type=\"submit\" value=\"" . _('Create another account') . "\"> \n";
|
||||||
echo "<input name=\"BackToList\" type=\"submit\" value=\"" . _('Back to account list') . "\"> \n";
|
echo "<input name=\"accountContainerBackToList\" type=\"submit\" value=\"" . _('Back to account list') . "\"> \n";
|
||||||
echo " ";
|
echo " ";
|
||||||
echo "<select name=\"pdfStructure\" size=1>\n";
|
echo "<select name=\"pdfStructure\" size=1>\n";
|
||||||
for ($i = 0; $i < sizeof($pdfStructures); $i++) {
|
for ($i = 0; $i < sizeof($pdfStructures); $i++) {
|
||||||
|
@ -1070,6 +1071,7 @@ class accountContainer {
|
||||||
echo "</select>\n";
|
echo "</select>\n";
|
||||||
echo "<input name=\"accountContainerCreatePDF\" type=\"submit\" value=\"" . _('Create PDF file') . "\">\n";
|
echo "<input name=\"accountContainerCreatePDF\" type=\"submit\" value=\"" . _('Create PDF file') . "\">\n";
|
||||||
echo "<a href=\"../help.php?HelpNumber=403\" target=\"help\"><img src=\"../../graphics/help.png\" alt=\"" . _("Help") . "\" title=\"" . _("Help") . "\"></a>\n";
|
echo "<a href=\"../help.php?HelpNumber=403\" target=\"help\"><img src=\"../../graphics/help.png\" alt=\"" . _("Help") . "\" title=\"" . _("Help") . "\"></a>\n";
|
||||||
|
echo "</td></tr></table>\n";
|
||||||
$this->printPageFooter();
|
$this->printPageFooter();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1163,7 +1165,7 @@ class accountContainer {
|
||||||
}
|
}
|
||||||
echo ">" . $suffix . "</option>\n";
|
echo ">" . $suffix . "</option>\n";
|
||||||
}
|
}
|
||||||
if (!in_array($this->dn, $_SESSION['ldap']->search_units($rootsuffix))) {
|
if (!($this->dn == '') && !in_array($this->dn, $_SESSION['ldap']->search_units($rootsuffix))) {
|
||||||
echo "<option selected>" . $this->dn . "</option>\n";;
|
echo "<option selected>" . $this->dn . "</option>\n";;
|
||||||
}
|
}
|
||||||
echo "</select>\n";
|
echo "</select>\n";
|
||||||
|
|
Loading…
Reference in New Issue