Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
cb2d27c7
Commit
cb2d27c7
authored
Apr 04, 2003
by
Dries Buytaert
Browse files
- Patch by Ax. Fixed some syntax errors:
- case t("whatever"); + case t("whatever"):
parent
45276202
Changes
5
Hide whitespace changes
Inline
Side-by-side
includes/database.mysql.inc
View file @
cb2d27c7
...
...
@@ -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).
*/
}
...
...
modules/book.module
View file @
cb2d27c7
...
...
@@ -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
:
...
...
modules/book/book.module
View file @
cb2d27c7
...
...
@@ -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
:
...
...
modules/user.module
View file @
cb2d27c7
...
...
@@ -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
());
...
...
modules/user/user.module
View file @
cb2d27c7
...
...
@@ -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
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment