Index: trunk/extensions/SemanticForms/includes/SF_FormUtils.inc |
— | — | @@ -651,6 +651,28 @@ |
652 | 652 | } |
653 | 653 | } |
654 | 654 | |
| 655 | + /** |
| 656 | + * Used by 'RunQuery' page |
| 657 | + */ |
| 658 | + static function queryFormBottom() { |
| 659 | + global $sfgTabIndex; |
| 660 | + |
| 661 | + $sfgTabIndex++; |
| 662 | + $disabled_text = ($is_disabled) ? "disabled" : ""; |
| 663 | + $label = wfMsg('sf_runquery'); |
| 664 | + $temp = array( |
| 665 | + 'id' => 'wpRunQuery', |
| 666 | + 'name' => 'wpRunQuery', |
| 667 | + 'type' => 'submit', |
| 668 | + 'tabindex' => $sfgTabIndex, |
| 669 | + 'value' => $label, |
| 670 | + 'title' => $label, |
| 671 | + $disabled_text => '', |
| 672 | + ); |
| 673 | + $text = " " . wfElement('input', $temp, '') . "\n"; |
| 674 | + return $text; |
| 675 | + } |
| 676 | + |
655 | 677 | static function getMonthNames() { |
656 | 678 | return array( |
657 | 679 | wfMsgForContent('january'), |