Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php |
— | — | @@ -1345,6 +1345,13 @@ |
1346 | 1346 | $source_page_matches_this_form = true; |
1347 | 1347 | } elseif ( $tag == 'includeonly free text' || $tag == 'onlyinclude free text' ) { |
1348 | 1348 | $onlyinclude_free_text = true; |
| 1349 | + } elseif ( $tag == 'query form at top' ) { |
| 1350 | + // TODO - this should be made a field of |
| 1351 | + // some non-static class that actually |
| 1352 | + // prints the form, instead of requiring |
| 1353 | + // a global variable. |
| 1354 | + global $sfgRunQueryFormAtTop; |
| 1355 | + $sfgRunQueryFormAtTop = true; |
1349 | 1356 | } |
1350 | 1357 | } |
1351 | 1358 | $section = substr_replace( $section, '', $brackets_loc, $brackets_end_loc + 3 - $brackets_loc ); |