- Patch by Ax. Fixed some syntax errors:

-    case t("whatever");
    +    case t("whatever"):
4.2.x
Dries Buytaert 2003-04-04 06:17:02 +00:00
parent 45276202cc
commit cb2d27c78d
5 changed files with 9 additions and 9 deletions

View File

@ -12,11 +12,11 @@ function db_connect($url) {
mysql_connect($url["host"], $url["user"], $url["pass"]) or die(mysql_error());
mysql_select_db(substr($url["path"], 1)) or die("unable to select database");
/*
/*
** Note that you can change the 'mysql_connect' statement to 'mysql_pconnect'
** if you want to use persistent connections. This is not recommended on
** if you want to use persistent connections. This is not recommended on
** shared hosts, might require additional database/webserver tuning but
** increases performance when the overhead to connect to your database is
** increases performance when the overhead to connect to your database is
** high (eg. your database and webserver live on different machines).
*/
}

View File

@ -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:

View File

@ -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:

View File

@ -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());

View File

@ -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());