Index: trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php |
— | — | @@ -1,10 +1,10 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | 4 | * Parser functions for Semantic Forms. |
5 | | - * Currently only one pareser function is defined: sf_forminput. It is |
| 5 | + * Currently only one parser function is defined: forminput. It is |
6 | 6 | * called as: |
7 | 7 | * |
8 | | - * {{#sf_forminput:form_name|size|value|button_text|query_string}} |
| 8 | + * {{#forminput:form_name|size|value|button_text|query_string}} |
9 | 9 | * |
10 | 10 | * This functions returns HTML representing a form to let the user enter the |
11 | 11 | * name of a page to be added or edited using a Semantic Forms form. All |
— | — | @@ -20,7 +20,7 @@ |
21 | 21 | * 'User' within a namespace also called 'User', and to have the form |
22 | 22 | * preload with the page called 'UserStub', you could call the following: |
23 | 23 | * |
24 | | - * {{#sf_forminput:User|||Add or edit user|namespace=User&preload=UserStub}} |
| 24 | + * {{#forminput:User|||Add or edit user|namespace=User&preload=UserStub}} |
25 | 25 | * |
26 | 26 | * @author Yaron Koren |
27 | 27 | */ |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | default: |
38 | 38 | $magicWords['forminput'] = array ( 0, 'forminput' ); |
39 | 39 | // for backward compatibility |
40 | | - $magicWords['forminput'] = array ( 0, 'sf_forminput' ); |
| 40 | + $magicWords['sf_forminput'] = array ( 0, 'forminput' ); |
41 | 41 | } |
42 | 42 | return true; |
43 | 43 | } |