function theme_merci_choices in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6
Same name and namespace in other branches
- 6.2 theme/theme.inc \theme_merci_choices()
- 7.2 theme/theme.inc \theme_merci_choices()
Theme the reservation form for choices.
1 theme call to theme_merci_choices()
- merci_form in ./
merci.module - Implementation of hook_form().
File
- ./
merci.module, line 1352 - MERCI - Managed Equipment Reservation Checkout and Inventory
Code
function theme_merci_choices($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($form);
return $output;
}