Index: trunk/extensions/SemanticForms/includes/SF_PageSchemas.php |
— | — | @@ -172,7 +172,7 @@ |
173 | 173 | |
174 | 174 | global $sfgFormPrinter; |
175 | 175 | $possibleInputTypes = $sfgFormPrinter->getAllInputTypes(); |
176 | | - $inputTypeDropdownHTML = ''; |
| 176 | + $inputTypeDropdownHTML = Html::element( 'option', null, null ); |
177 | 177 | foreach ( $possibleInputTypes as $possibleInputType ) { |
178 | 178 | $inputTypeOptionAttrs = array(); |
179 | 179 | if ( $possibleInputType == $inputType ) { |
— | — | @@ -181,7 +181,7 @@ |
182 | 182 | $inputTypeDropdownHTML .= Html::element( 'option', $inputTypeOptionAttrs, $possibleInputType ) . "\n"; |
183 | 183 | } |
184 | 184 | $inputTypeDropdown = Html::rawElement( 'select', array( 'name' => 'sf_input_type_num' ), $inputTypeDropdownHTML ); |
185 | | - $text = '<p>' . wfMsg( 'sf_createform_inputtype' ) . ' ' . $inputTypeDropdown . '</p>'; |
| 185 | + $text = '<p>' . wfMsg( 'sf-pageschemas-inputtype' ) . ' ' . $inputTypeDropdown . '</p>'; |
186 | 186 | |
187 | 187 | $text .= "\t" . '<p>Enter parameter names and their values as key=value pairs, separated by commas (if a value contains a comma, replace it with "\,") For example: size=20, mandatory</p>' . "\n"; |
188 | 188 | $paramValues = array(); |