function theme_merci_choices in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6.2
Same name and namespace in other branches
- 6 merci.module \theme_merci_choices()
- 7.2 theme/theme.inc \theme_merci_choices()
Theme the reservation form for choices.
File
- theme/
theme.inc, line 142 - 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;
}