function _theme_uc_ajax_cart_block_header in Ubercart AJAX Cart 7.2
Same name and namespace in other branches
- 6.2 uc_ajax_cart.theme.inc \_theme_uc_ajax_cart_block_header()
2 calls to _theme_uc_ajax_cart_block_header()
- theme_uc_ajax_cart_block_header in ./
uc_ajax_cart.theme.inc - @todo Please document this function.
- uc_ajax_cart_preprocess_block in ./
uc_ajax_cart.module - Implements hook_prepreocess_block().
File
- ./
uc_ajax_cart.theme.inc, line 37 - All theming functions
Code
function _theme_uc_ajax_cart_block_header($title) {
if (variable_get('uc_ajax_cart_closed', 0) != 0) {
$title = '<a href="#" id="ajaxCartToggleView">' . $title . '</a>';
}
return '<span class="title block-title" id="ajax-cart-headline">' . $title . '</span>';
}