use list suffix as default
This commit is contained in:
parent
db6567a093
commit
1af6bf4315
|
@ -150,7 +150,10 @@ class lamList {
|
|||
else {
|
||||
// buttons
|
||||
$this->listPrintButtons(true);
|
||||
echo ("<hr>\n");
|
||||
echo ("<hr style=\"background-color: #999999;\">\n");
|
||||
// navigation bar
|
||||
$this->listDrawNavigationBar(sizeof($filteredEntries));
|
||||
echo ("<br>\n");
|
||||
// account table head
|
||||
$this->listPrintTableHeader();
|
||||
echo "</table><br>\n";
|
||||
|
@ -469,7 +472,7 @@ class lamList {
|
|||
if (isset($_POST['new']) || isset($_POST['del']) || isset($_POST['pdf']) || isset($_POST['pdf_all'])){
|
||||
// add new account
|
||||
if (isset($_POST['new'])){
|
||||
metaRefresh("../account/edit.php?type=" . $this->type);
|
||||
metaRefresh("../account/edit.php?type=" . $this->type . "&suffix=" . $this->suffix);
|
||||
exit;
|
||||
}
|
||||
// delete account(s)
|
||||
|
|
|
@ -841,7 +841,7 @@ class accountContainer {
|
|||
if ($this->current_page==0) {
|
||||
if ($this->subpage=='attributes') {
|
||||
// change dn
|
||||
if (isset($_POST['suffix']) && ($_POST['suffix'] != '')) $this->dn = $_POST['suffix'];
|
||||
if (isset($_REQUEST['suffix']) && ($_REQUEST['suffix'] != '')) $this->dn = $_REQUEST['suffix'];
|
||||
// change RDN
|
||||
if (isset($_POST['rdn'])) $this->rdn = $_POST['rdn'];
|
||||
|
||||
|
|
Loading…
Reference in New Issue