Index: trunk/extensions/SemanticForms/specials/SF_CreateForm.php |
— | — | @@ -78,7 +78,7 @@ |
79 | 79 | success: function(data){ |
80 | 80 | inputParamsDiv.html(data); |
81 | 81 | } |
82 | | - }); |
| 82 | + }); |
83 | 83 | }; |
84 | 84 | jQuery(document).ready(function() { |
85 | 85 | jQuery('.inputTypeSelector').change( function() { |
— | — | @@ -218,10 +218,6 @@ |
219 | 219 | } |
220 | 220 | |
221 | 221 | $text = ' <form action="" method="post">' . "\n"; |
222 | | - |
223 | | - // Set 'title' field, in case there's no URL niceness. |
224 | | - $cf = Title::makeTitleSafe( NS_SPECIAL, 'CreateForm' ); |
225 | | - $text .= "\t" . Html::Hidden( 'title', SFUtils::titleURLString( $cf ) ) . "\n"; |
226 | 222 | $text .= ' <p>' . wfMsg( 'sf_createform_nameinput' ) . ' ' . wfMsg( 'sf_createform_nameinputdesc' ) . ' <input size=25 name="form_name" value="' . $form_name . '">'; |
227 | 223 | if ( ! empty( $form_name_error_str ) ) |
228 | 224 | $text .= ' ' . Xml::element( 'font', array( 'color' => 'red' ), $form_name_error_str ); |
Index: trunk/extensions/SemanticForms/specials/SF_CreateTemplate.php |
— | — | @@ -192,10 +192,6 @@ |
193 | 193 | } |
194 | 194 | |
195 | 195 | $text .= ' <form id="createTemplateForm" action="" method="post">' . "\n"; |
196 | | - |
197 | | - // Set 'title' field, in case there's no URL niceness |
198 | | - $ct = Title::makeTitleSafe( NS_SPECIAL, 'CreateTemplate' ); |
199 | | - $text .= "\t" . Html::hidden( 'title', SFUtils::titleURLString( $ct ) ) . "\n"; |
200 | 196 | $text .= "\t<p id=\"template_name_p\">" . wfMsg( 'sf_createtemplate_namelabel' ) . ' <input size="25" id="template_name" name="template_name" /></p>' . "\n"; |
201 | 197 | $text .= "\t<p>" . wfMsg( 'sf_createtemplate_categorylabel' ) . ' <input size="25" name="category" /></p>' . "\n"; |
202 | 198 | $text .= "\t<fieldset>\n"; |