t('human readable name') */ function moleskine_regions() { return array( 'sidebar_right' => t('right sidebar'), 'content_top' => t('content top'), 'content_bottom' => t('content bottom'), ); } /** * Adding a title to the comment section. */ function phptemplate_comment_wrapper($content, $type = null) { static $node_type; if (isset($type)) $node_type = $type; return '

'. t('Comments') .'

'. $content ; } /** * Adding a span tag in tabs for theming purposes */ function phptemplate_menu_item_link($item, $link_item) { // If an item is a LOCAL TASK, render it as a tab $tab = ($item['type'] & MENU_IS_LOCAL_TASK) ? TRUE : FALSE; return l( $tab ? ''. check_plain($item['title']) .'' : $item['title'], $link_item['path'], !empty($item['description']) ? array('title' => $item['description']) : array(), !empty($item['query']) ? $item['query'] : NULL, !empty($link_item['fragment']) ? $link_item['fragment'] : NULL, FALSE, $tab ); }