redirect to list after successful upload
This commit is contained in:
parent
2b60deda6e
commit
ac5d7853e2
|
@ -122,7 +122,7 @@ if (($_SESSION['mass_counter'] < sizeof($accounts)) || !isset($_SESSION['mass_po
|
|||
// all accounts have been created
|
||||
else {
|
||||
echo "<div class=\"title\">\n";
|
||||
echo "<h2 class=\"titleText\">" . _("LDAP upload has finished") . "</h2>\n";
|
||||
echo "<h2 class=\"titleText\">" . _("Upload has finished") . "</h2>\n";
|
||||
echo "</div>";
|
||||
if (sizeof($_SESSION['mass_errors']) > 0) {
|
||||
echo "<div class=\"subTitle\">\n";
|
||||
|
@ -133,6 +133,12 @@ else {
|
|||
echo "<br>";
|
||||
}
|
||||
}
|
||||
else {
|
||||
// redirect to list if no errors occured
|
||||
echo "<script type=\"text/javascript\">\n";
|
||||
echo "top.location.href = \"lists/list.php?type=" . $_SESSION['mass_scope'] . "&uploadAllOk\";\n";
|
||||
echo "</script>\n";
|
||||
}
|
||||
}
|
||||
echo '</div>';
|
||||
include 'main_footer.php';
|
||||
|
|
Loading…
Reference in New Issue