You are here

function theme_i18nsync_workflow_checkbox in Internationalization 6

Same name and namespace in other branches
  1. 5.3 experimental/i18nsync.module \theme_i18nsync_workflow_checkbox()
  2. 5 experimental/i18nsync.module \theme_i18nsync_workflow_checkbox()
  3. 5.2 experimental/i18nsync.module \theme_i18nsync_workflow_checkbox()

Theming function for workflow checkboxes.

1 theme call to theme_i18nsync_workflow_checkbox()
i18nsync_form_alter in i18nsync/i18nsync.module
Implementation of hook_form_alter().

File

i18nsync/i18nsync.module, line 141
Internationalization (i18n) package. Synchronization of translations

Code

function theme_i18nsync_workflow_checkbox($element) {
  $output = $element['#group_title'] ? '<div class="description">' . $element['#group_title'] . '</div>' : '';
  $output .= theme('checkbox', $element);
  return $output;
}