fixed abort button
This commit is contained in:
parent
484e6fe75a
commit
2b639e9066
|
@ -53,14 +53,15 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if user has pressed submit or abort button
|
// on abort go back to main page
|
||||||
if ($_POST['submit']) {
|
if (isset($_POST['abort'])) {
|
||||||
// on abort go back to main page
|
metaRefresh("../tools.php");
|
||||||
if ($_POST['abort']) {
|
exit;
|
||||||
metaRefresh("../lists/listusers.php");
|
}
|
||||||
}
|
// check if user has pressed submit button
|
||||||
// on submit forward to other profile pages
|
elseif (isset($_POST['submit'])) {
|
||||||
elseif ($_POST['submit']) {
|
// forward to other profile pages
|
||||||
|
if ($_POST['submit']) {
|
||||||
for ($i = 0; $i < sizeof($profileClasses); $i++) {
|
for ($i = 0; $i < sizeof($profileClasses); $i++) {
|
||||||
// create new profile
|
// create new profile
|
||||||
if ($_POST['profile'] == ("new" . $profileClasses[$i]['scope'])) {
|
if ($_POST['profile'] == ("new" . $profileClasses[$i]['scope'])) {
|
||||||
|
|
Loading…
Reference in New Issue