summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-06-20 17:43:03 +0000
committerDries Buytaert <dries@buytaert.net>2003-06-20 17:43:03 +0000
commite57faf219274c3802fef3831be18f15961035b05 (patch)
tree9ab269050888eed8d42e9a2864c969732daab4a5 /includes
parent25081b2103d5a758876adc12ea097faabe153791 (diff)
downloadbrdo-e57faf219274c3802fef3831be18f15961035b05.tar.gz
brdo-e57faf219274c3802fef3831be18f15961035b05.tar.bz2
- Bugfix: fixed problem with changing themes. Didn't apply Al's patch as
the fix was somewhat simpler. Fixes bug #2003. - Bugfix: fixed problem with voting on certain poll pages. Patch #37 by Al. - Improvement: removed stupid descriptions from profile module.
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc
index ec534759f..7e7e106bb 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -873,8 +873,8 @@ function form_hidden($name, $value) {
return "<input type=\"hidden\" name=\"edit[$name]\" value=\"". check_form($value) ."\" />\n";
}
-function form_submit($value) {
- return "<input type=\"submit\" class=\"form-submit\" name=\"op\" value=\"". check_form($value) ."\" />\n";
+function form_submit($value, $name = "op") {
+ return "<input type=\"submit\" class=\"form-submit\" name=\"$name\" value=\"". check_form($value) ."\" />\n";
}
function form_weight($title = NULL, $name = "weight", $value = 0, $delta = 10, $description = 0, $extra = 0) {