fixed typos
This commit is contained in:
parent
3100a3a590
commit
484e6fe75a
|
@ -60,7 +60,7 @@ if ($_POST['submit']) {
|
||||||
StatusMessage("ERROR", _("Unable to delete profile!"), $_POST['del'] . "." . $_POST['type']);
|
StatusMessage("ERROR", _("Unable to delete profile!"), $_POST['del'] . "." . $_POST['type']);
|
||||||
}
|
}
|
||||||
else StatusMessage("INFO", _("Deleted profile:"), $_POST['del'] . "." . $_POST['type']);
|
else StatusMessage("INFO", _("Deleted profile:"), $_POST['del'] . "." . $_POST['type']);
|
||||||
echo ("<br><a href=\"profilemain.php\">" . _("Back to Profile Editor") . "</a>");
|
echo ("<br><a href=\"profilemain.php\">" . _("Back to profile editor") . "</a>");
|
||||||
echo ("</body></html>\n");
|
echo ("</body></html>\n");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,7 @@ if ($_POST['submit']) {
|
||||||
// check if admin has aborted delete operation
|
// check if admin has aborted delete operation
|
||||||
if ($_POST['abort']) {
|
if ($_POST['abort']) {
|
||||||
StatusMessage("INFO", "", _("Delete operation canceled."));
|
StatusMessage("INFO", "", _("Delete operation canceled."));
|
||||||
echo ("<br><a href=\"profilemain.php\">" . _("Back to Profile Editor") . "</a>");
|
echo ("<br><a href=\"profilemain.php\">" . _("Back to profile editor") . "</a>");
|
||||||
echo ("</body></html>\n");
|
echo ("</body></html>\n");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
@ -90,5 +90,5 @@ if (($type == "user") || ($type == "host") || ($type == "group")) {
|
||||||
else{
|
else{
|
||||||
// no valid profile type
|
// no valid profile type
|
||||||
StatusMessage("ERROR", "", _("Wrong or missing type!") . " " . $type);
|
StatusMessage("ERROR", "", _("Wrong or missing type!") . " " . $type);
|
||||||
echo ("<a href=\"profilemain.php\">" . _("Back to Profile Editor") . "</a>");
|
echo ("<a href=\"profilemain.php\">" . _("Back to profile editor") . "</a>");
|
||||||
}
|
}
|
||||||
|
|
|
@ -117,7 +117,7 @@ if ($_POST['save']) {
|
||||||
// save profile
|
// save profile
|
||||||
if (saveAccountProfile($options, $_POST['profname'], $_POST['accounttype'])) {
|
if (saveAccountProfile($options, $_POST['profname'], $_POST['accounttype'])) {
|
||||||
echo StatusMessage("INFO", _("Profile was saved."), $_POST['profname']);
|
echo StatusMessage("INFO", _("Profile was saved."), $_POST['profname']);
|
||||||
echo ("<br><p><a href=\"profilemain.php\">" . _("Back to Profile Editor") . "</a></p>");
|
echo ("<br><p><a href=\"profilemain.php\">" . _("Back to profile editor") . "</a></p>");
|
||||||
echo "</body></html>";
|
echo "</body></html>";
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue