some sentences were not marked to translate
This commit is contained in:
parent
64fcc5a724
commit
c63bfaec6a
|
@ -256,8 +256,8 @@ elseif ($_POST['sub_save']) {
|
||||||
if ($_POST['dom_DN'] != $newDN) {
|
if ($_POST['dom_DN'] != $newDN) {
|
||||||
$success = ldap_rename($_SESSION['ldap']->server(), $_POST['dom_DN'], $RDN, $_POST['dom_suffix'], true);
|
$success = ldap_rename($_SESSION['ldap']->server(), $_POST['dom_DN'], $RDN, $_POST['dom_suffix'], true);
|
||||||
}
|
}
|
||||||
if ($success) StatusMessage("INFO", "Domain has been modified.", $DN);
|
if ($success) StatusMessage("INFO", _("Domain has been modified."), $DN);
|
||||||
else StatusMessage("ERROR", "", "Failed to modify domain!");
|
else StatusMessage("ERROR", "", _("Failed to modify domain!"));
|
||||||
}
|
}
|
||||||
// add entry
|
// add entry
|
||||||
else {
|
else {
|
||||||
|
@ -300,8 +300,8 @@ elseif ($_POST['sub_delete']) {
|
||||||
echo "<body>\n";
|
echo "<body>\n";
|
||||||
// delete DNs
|
// delete DNs
|
||||||
for ($i = 0; $i < sizeof($DNs); $i++) {
|
for ($i = 0; $i < sizeof($DNs); $i++) {
|
||||||
if (ldap_delete($_SESSION['ldap']->server(), $DNs[$i])) StatusMessage("INFO", "Domain deleted successfully.", $DNs[$i]);
|
if (ldap_delete($_SESSION['ldap']->server(), $DNs[$i])) StatusMessage("INFO", _("Domain deleted successfully."), $DNs[$i]);
|
||||||
else StatusMessage("ERROR", "Unable to delete domain!", $DNs[$i]);
|
else StatusMessage("ERROR", _("Unable to delete domain!"), $DNs[$i]);
|
||||||
}
|
}
|
||||||
echo "<p> </p>\n";
|
echo "<p> </p>\n";
|
||||||
echo "<p><a href=\"lists/listdomains.php\">" . _("Back to domain list") . "</a></p>\n";
|
echo "<p><a href=\"lists/listdomains.php\">" . _("Back to domain list") . "</a></p>\n";
|
||||||
|
|
|
@ -256,8 +256,8 @@ elseif ($_POST['sub_save']) {
|
||||||
if ($_POST['dom_DN'] != $newDN) {
|
if ($_POST['dom_DN'] != $newDN) {
|
||||||
$success = ldap_rename($_SESSION['ldap']->server(), $_POST['dom_DN'], $RDN, $_POST['dom_suffix'], true);
|
$success = ldap_rename($_SESSION['ldap']->server(), $_POST['dom_DN'], $RDN, $_POST['dom_suffix'], true);
|
||||||
}
|
}
|
||||||
if ($success) StatusMessage("INFO", "Domain has been modified.", $DN);
|
if ($success) StatusMessage("INFO", _("Domain has been modified."), $DN);
|
||||||
else StatusMessage("ERROR", "", "Failed to modify domain!");
|
else StatusMessage("ERROR", "", _("Failed to modify domain!"));
|
||||||
}
|
}
|
||||||
// add entry
|
// add entry
|
||||||
else {
|
else {
|
||||||
|
@ -300,8 +300,8 @@ elseif ($_POST['sub_delete']) {
|
||||||
echo "<body>\n";
|
echo "<body>\n";
|
||||||
// delete DNs
|
// delete DNs
|
||||||
for ($i = 0; $i < sizeof($DNs); $i++) {
|
for ($i = 0; $i < sizeof($DNs); $i++) {
|
||||||
if (ldap_delete($_SESSION['ldap']->server(), $DNs[$i])) StatusMessage("INFO", "Domain deleted successfully.", $DNs[$i]);
|
if (ldap_delete($_SESSION['ldap']->server(), $DNs[$i])) StatusMessage("INFO", _("Domain deleted successfully."), $DNs[$i]);
|
||||||
else StatusMessage("ERROR", "Unable to delete domain!", $DNs[$i]);
|
else StatusMessage("ERROR", _("Unable to delete domain!"), $DNs[$i]);
|
||||||
}
|
}
|
||||||
echo "<p> </p>\n";
|
echo "<p> </p>\n";
|
||||||
echo "<p><a href=\"lists/listdomains.php\">" . _("Back to domain list") . "</a></p>\n";
|
echo "<p><a href=\"lists/listdomains.php\">" . _("Back to domain list") . "</a></p>\n";
|
||||||
|
|
Loading…
Reference in New Issue