function theme_acquia_lift_add_card_button in Acquia Lift Connector 7.2
Theme function to convert a submit button to an "add" button within the wizard process
File
- theme/
acquia_lift.wizard.theme.inc, line 83 - acquia_lift.wizard.theme.inc Provides theme functions for Acquia Lift's version of the campaign creation wizard workflow.
Code
function theme_acquia_lift_add_card_button(&$variables) {
$element =& $variables['element'];
$element['#attributes']['class'][] = 'acquia-lift-wizard-add';
$element['#button_type'] = 'submit';
$html = '';
$html .= '<div class="acquia-lift-wizard-add-wrapper">';
$html .= theme('button', $element);
$html .= '</div>';
return $html;
}