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