| @@ 617-629 (lines=13) @@ | ||
| 614 | * |
|
| 615 | * @return HTML_QuickForm_button |
|
| 616 | */ |
|
| 617 | public function addButtonPreview($label, $name = 'submit', $createElement = false) |
|
| 618 | { |
|
| 619 | return $this->addButton( |
|
| 620 | $name, |
|
| 621 | $label, |
|
| 622 | 'search', |
|
| 623 | 'primary', |
|
| 624 | null, |
|
| 625 | null, |
|
| 626 | array(), |
|
| 627 | $createElement |
|
| 628 | ); |
|
| 629 | } |
|
| 630 | ||
| 631 | /** |
|
| 632 | * Returns a button with the primary color and a copy (double sheet) icon |
|
| @@ 639-651 (lines=13) @@ | ||
| 636 | * |
|
| 637 | * @return HTML_QuickForm_button |
|
| 638 | */ |
|
| 639 | public function addButtonCopy($label, $name = 'submit', $createElement = false) |
|
| 640 | { |
|
| 641 | return $this->addButton( |
|
| 642 | $name, |
|
| 643 | $label, |
|
| 644 | 'copy', |
|
| 645 | 'primary', |
|
| 646 | null, |
|
| 647 | null, |
|
| 648 | array(), |
|
| 649 | $createElement |
|
| 650 | ); |
|
| 651 | } |
|
| 652 | ||
| 653 | /** |
|
| 654 | * @param string $name |
|