Commit cb2d27c7 authored by Dries's avatar Dries

- Patch by Ax. Fixed some syntax errors:

    -    case t("whatever");
    +    case t("whatever"):
parent 45276202
......@@ -716,7 +716,7 @@ function book_admin() {
case "orphan":
print book_admin_orphan();
break;
case t("Save book pages");
case t("Save book pages"):
print status(book_admin_save(arg(3), $edit));
// fall through:
default:
......
......@@ -716,7 +716,7 @@ function book_admin() {
case "orphan":
print book_admin_orphan();
break;
case t("Save book pages");
case t("Save book pages"):
print status(book_admin_save(arg(3), $edit));
// fall through:
default:
......
......@@ -1055,7 +1055,7 @@ function user_page() {
}
switch ($op) {
case t("E-mail new password");
case t("E-mail new password"):
case "password":
theme("header");
theme("box", t("E-mail new password"), user_pass($edit));
......@@ -1081,7 +1081,7 @@ function user_page() {
theme("footer");
break;
case t("Delete account"):
case t("delete");
case t("delete"):
$output = user_delete();
theme("header");
theme("box", t("User account"), user_menu());
......
......@@ -1055,7 +1055,7 @@ function user_page() {
}
switch ($op) {
case t("E-mail new password");
case t("E-mail new password"):
case "password":
theme("header");
theme("box", t("E-mail new password"), user_pass($edit));
......@@ -1081,7 +1081,7 @@ function user_page() {
theme("footer");
break;
case t("Delete account"):
case t("delete");
case t("delete"):
$output = user_delete();
theme("header");
theme("box", t("User account"), user_menu());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment