In some user interface grouping buttons is important for usability. The adjacent screenshot shows a button group in a mobile theme.
Function | Purpose |
---|---|
button_set(buttons) | Button set |
The only parameter is array of buttons.
echo button_set( array( form_submit_update('submit', 'high'), anchor_javascript('sync', lang('date_synchronize_now'), 'high') ) );