@@ 650-662 (lines=13) @@ | ||
647 | * |
|
648 | * @return HTML_QuickForm_button |
|
649 | */ |
|
650 | public function addButtonPreview($label, $name = 'submit', $createElement = false) |
|
651 | { |
|
652 | return $this->addButton( |
|
653 | $name, |
|
654 | $label, |
|
655 | 'search', |
|
656 | 'primary', |
|
657 | null, |
|
658 | null, |
|
659 | array(), |
|
660 | $createElement |
|
661 | ); |
|
662 | } |
|
663 | ||
664 | /** |
|
665 | * Returns a button with the primary color and a copy (double sheet) icon |
|
@@ 672-684 (lines=13) @@ | ||
669 | * |
|
670 | * @return HTML_QuickForm_button |
|
671 | */ |
|
672 | public function addButtonCopy($label, $name = 'submit', $createElement = false) |
|
673 | { |
|
674 | return $this->addButton( |
|
675 | $name, |
|
676 | $label, |
|
677 | 'copy', |
|
678 | 'primary', |
|
679 | null, |
|
680 | null, |
|
681 | array(), |
|
682 | $createElement |
|
683 | ); |
|
684 | } |
|
685 | ||
686 | /** |
|
687 | * @param string $name |