Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
2c165d0e
Commit
2c165d0e
authored
Sep 26, 2002
by
Dries
Browse files
- Applied Axel's patch to sort blocks by weight.
parent
9347252f
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/block.module
View file @
2c165d0e
...
...
@@ -72,7 +72,7 @@ function block_admin_save($edit) {
}
function
block_admin_display
()
{
$result
=
db_query
(
"SELECT * FROM blocks ORDER BY
module
"
);
$result
=
db_query
(
"SELECT * FROM blocks ORDER BY
weight
"
);
// Generate output:
$output
=
"<table border=
\"
1
\"
cellpadding=
\"
2
\"
cellspacing=
\"
2
\"
>
\n
"
;
...
...
modules/block/block.module
View file @
2c165d0e
...
...
@@ -72,7 +72,7 @@ function block_admin_save($edit) {
}
function
block_admin_display
()
{
$result
=
db_query
(
"SELECT * FROM blocks ORDER BY
module
"
);
$result
=
db_query
(
"SELECT * FROM blocks ORDER BY
weight
"
);
// Generate output:
$output
=
"<table border=
\"
1
\"
cellpadding=
\"
2
\"
cellspacing=
\"
2
\"
>
\n
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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