Index: trunk/extensions/SemanticForms/includes/SF_FormField.php |
— | — | @@ -169,16 +169,6 @@ |
170 | 170 | $text .= "</fieldset>\n"; |
171 | 171 | $text .= <<<END |
172 | 172 | </p> |
173 | | - <p> |
174 | | - |
175 | | -END; |
176 | | - $mandatoryCheckboxAtrs = array( 'type' => 'checkbox', 'name' => "mandatory_$field_form_text", 'value' => 'mandatory' ); |
177 | | - if ( $this->is_mandatory ) { $mandatoryCheckboxAtrs['checked'] = 'checked'; } |
178 | | - $text .= "\t" . Xml::element( 'input', $mandatoryCheckboxAtrs, wfMsg( 'sf_createform_mandatory' ) ) . "\n"; |
179 | | - $restrictedCheckboxAtrs = array( 'type' => 'checkbox', 'name' => "restricted_$field_form_text", 'value' => 'restricted' ); |
180 | | - if ( $this->is_restricted ) { $restrictedCheckboxAtrs['checked'] = 'checked'; } |
181 | | - $text .= "\t" . Xml::element( 'input', $restrictedCheckboxAtrs, wfMsg( 'sf_createform_restricted' ) ) . "\n"; |
182 | | - $text .= <<<END |
183 | 173 | </div> |
184 | 174 | <hr> |
185 | 175 | |