diff options
author | natrak <> | 2001-04-23 11:06:17 +0000 |
---|---|---|
committer | natrak <> | 2001-04-23 11:06:17 +0000 |
commit | 78def0485b8acc2e4297b2d60e70c0fb7e8f109f (patch) | |
tree | 824cc11c0556a7a2b03cf65f7518ce4784e4d0c0 /modules | |
parent | 78bee959d1bb0536fab8345b2485d12db6f50d3f (diff) | |
download | brdo-78def0485b8acc2e4297b2d60e70c0fb7e8f109f.tar.gz brdo-78def0485b8acc2e4297b2d60e70c0fb7e8f109f.tar.bz2 |
Changes
- Fixed an error in module_rehash_blocks() that didn't handle '-symbols.
- Removed some module depencies. Drupal will now run (sorta) even if there
are no modules installed.
- Changed theme_link() to check if certain modules are installed before
offering a link to them.
Todo
- Check all SQL queries to make sure they are addslashes'ed correctly.
- Check the effects of changing the PHP magic_quotes setting.
- Make the theme_link() function to be customizable either via the admin
page and/or in the module itself.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/box.module | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/box.module b/modules/box.module index bfd8b3d3c..789185cc5 100644 --- a/modules/box.module +++ b/modules/box.module @@ -35,7 +35,7 @@ function box_help() { } function box_block() { - $result = db_query("SELECT * FROM boxes"); + $result = db_query("SELECT * FROM boxes ORDER BY subject"); $i = 0; while ($block = db_fetch_object($result)) { $blocks[$i]["subject"] = check_output($block->subject); @@ -44,7 +44,6 @@ function box_block() { $blocks[$i]["link"] = check_output($block->link); $i++; } - return $blocks; } |