'. t('Bookmark/Search this post with: ') .'
'. art_links_woker($links) .'';
}
/**
* Generate the HTML output for a single local task link.
*
* @ingroup themeable
*/
function icltheme_menu_local_task($link, $active = FALSE) {
$output = preg_replace('~]*>([^<]*)~',
''
.''
.''
.''
.'$2'
.''
.'', $link);
return $output;
}
function icltheme_breadcrumb($breadcrumb) {
$breadcrumb = menu_get_active_breadcrumb();
if (!empty($breadcrumb)) {
return '' . implode(' | ', $breadcrumb) . '
';
}
}
function icltheme_comment_wrapper($content, $type = null) {
static $node_type;
if (isset($type)) $node_type = $type;
return '';
}
function icltheme_menu_local_tasks() {
$output = '';
if ($primary = menu_primary_local_tasks()) {
$output .= $primary;
}
if ($secondary = menu_secondary_local_tasks()) {
$output .= $secondary;
}
return $output;
}
/**
* Theme a form button.
*
* @ingroup themeable
*/
function icltheme_button($element) {
// Make sure not to overwrite classes.
if (isset($element['#attributes']['class'])) {
$element['#attributes']['class'] = 'Button form-' . $element['#button_type'] . ' ' . $element['#attributes']['class'];
}
else {
$element['#attributes']['class'] = 'Button form-' . $element['#button_type'];
}
// Skip admin pages due to some issues with ajax looking for not