function theme_merci_choices in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.2
Same name and namespace in other branches
- 6.2 theme/theme.inc \theme_merci_choices()
- 6 merci.module \theme_merci_choices()
Theme the reservation form for choices.
File
- theme/
theme.inc, line 139 - MERCI - Managed Equipment Reservation Checkout and Inventory
Code
function theme_merci_choices($variables) {
$form = $variables['form'];
// Change the button title to reflect the behavior when using JavaScript.
//drupal_add_js('if (Drupal.jsEnabled) { $(document).ready(function() { $("#edit-merci-more").val("'. t('Add another item') { .'"); }); }', 'inline');}
$output = '';
$output .= drupal_render_children($form);
return $output;
}