From d81f562b712f2387fa02290bf2ca86392ab356f2 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 11 Oct 2006 20:21:25 +0000 Subject: Aktualisierung auf Version 1.8.1 --- includes/HTMLForm.php | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) (limited to 'includes/HTMLForm.php') diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php index c3d74b20..3ee85859 100644 --- a/includes/HTMLForm.php +++ b/includes/HTMLForm.php @@ -71,7 +71,7 @@ class HTMLForm { ( $checked ? ' checked="checked"' : '' ) . " />" . wfMsg( $this->mName.'-'.$varname.'-'.$value ) . "\n"; } - return $this->fieldset( $this->mName.'-'.$varname, $s ); + return $this->fieldset( $varname, $s ); } /** @@ -109,10 +109,11 @@ class HTMLForm { } } // end class - -// functions used by SpecialUserrights.php - /** Build a select with all defined groups + * + * used by SpecialUserrights.php + * @todo move it to there, and don't forget to copy it for SpecialMakesysop.php + * * @param $selectname String: name of this element. Name of form is automaticly prefixed. * @param $selectmsg String: FIXME * @param $selected Array: array of element selected when posted. Only multiples will show them. @@ -154,24 +155,4 @@ function HTMLSelectGroups($selectname, $selectmsg, $selected=array(), $multiple= return $out; } -/** Build a select with all existent rights - * @param $selected Array: Names(?) of user rights that should be selected. - * @return string HTML select. - */ -function HTMLSelectRights($selected='') { - global $wgAvailableRights; - $out = '\n"; - return $out; -} ?> -- cgit v1.2.3-54-g00ecf