diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-07-14 12:12:41 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-07-14 12:12:41 +0000 |
commit | b99d4d7a424bf52bc7a4e7908e1d0d1cfd0c7b87 (patch) | |
tree | c15103816ada4747acb83bdc3f3e861d25278f48 /includes/module.inc | |
parent | e62e3417f7cbdbb1206f20f2f663b606a2b7b12a (diff) | |
download | brdo-b99d4d7a424bf52bc7a4e7908e1d0d1cfd0c7b87.tar.gz brdo-b99d4d7a424bf52bc7a4e7908e1d0d1cfd0c7b87.tar.bz2 |
- theme system:
+ added $theme->images()
- blog.module:
+ improved user-friendliness and rewrote most of the output routines
+ made quoted text /italic/ by default
+ integrated discussion system like it should
+ ...
- marvin.theme:
+ small visual improvements
Diffstat (limited to 'includes/module.inc')
-rw-r--r-- | includes/module.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/module.inc b/includes/module.inc index bca406068..475fe8370 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -11,9 +11,9 @@ function module_iterate($function, $argument = "") { } // invoke hook $hook of module $name with optional arguments: -function module_invoke($name, $hook, $argument = 0) { +function module_invoke($name, $hook, $a1 = 0, $a2 = 0) { $function = $name ."_". $hook; - return function_exists($function) ? $function($argument) : $argument; + return function_exists($function) ? $function($a1, $a2) : 0; } // return array of module names (includes lazy module loading): |