| Index: trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php |
| — | — | @@ -132,7 +132,7 @@ |
| 133 | 133 | } else { |
| 134 | 134 | $str = "<a href=\"$link_url\">$inLinkStr</a>"; |
| 135 | 135 | } |
| 136 | | - return array($str, 'noparse' => 'true', 'isHTML' => 'true'); |
| | 136 | + return array($str, 'noparse' => true, 'isHTML' => true); |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | function sfRenderFormInput (&$parser, $inFormName = '', $inSize = '25', $inValue = '', $inButtonStr = '', $inQueryStr = '') { |
| — | — | @@ -168,7 +168,7 @@ |
| 169 | 169 | <input type="submit" value="$button_str"></p> |
| 170 | 170 | </form> |
| 171 | 171 | END; |
| 172 | | - return array($str, 'noparse' => 'true', 'isHTML' => 'true'); |
| | 172 | + return array($str, 'noparse' => true, 'isHTML' => true); |
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | /** |
| — | — | @@ -203,5 +203,5 @@ |
| 204 | 204 | $results[] = '{{'.$template.'|'.$cur_value.'}}'; |
| 205 | 205 | } |
| 206 | 206 | } |
| 207 | | - return implode($new_delimiter, $results); |
| | 207 | + return array(implode($new_delimiter, $results), 'noparse' => false, 'isHTML' => false); |
| 208 | 208 | } |