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']);
|
||||
}
|
||||
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");
|
||||
exit;
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ if ($_POST['submit']) {
|
|||
// check if admin has aborted delete operation
|
||||
if ($_POST['abort']) {
|
||||
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");
|
||||
exit;
|
||||
}
|
||||
|
@ -90,5 +90,5 @@ if (($type == "user") || ($type == "host") || ($type == "group")) {
|
|||
else{
|
||||
// no valid profile 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
|
||||
if (saveAccountProfile($options, $_POST['profname'], $_POST['accounttype'])) {
|
||||
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>";
|
||||
exit();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue