Madtheme is a starter theme! It has only basic styling and some features, that make it a good starting point to develop project specific themes from.
MadTheme - template.php
Several default theme_ and preproccess functions are implemented by default in the Madtheme:
phptemplate_preprocess_block: adds admin links to the blocks.
phptemplate_preprocess_page: adds variables, body classes and some of the theme settings to the page.
phptemplate_admin_block: adds icons to the admin menu.
phptemplate_breadcrumb: allows the page-title to be added to the breadcrumb.
phptemplate_preprocess_node: adds node classes and implements some of the theme settings.
phptemplate_preprocess_views_view: overrrides the views admin links.
phptemplate_blocks: adds <div>'s between the blocks, with classes such as 'after-second-block' that can be used to clear after each second, third or fourth block.
phptemplate_menu_local_tasks: adds some extra <div>'s to the tabs.
phptemplate_menu_item_link: adds a span to the menu items, needed for styling.
Madtheme_d6_preprocess_search_result: implements the theme settings in the search results, if the name of the theme changes, make sure to rename this function.
Madtheme_d6_preprocess_search_result: adds extra html to the buttons, so that it can use a (scaling) background.
theme_admin_links_popup: renders the admin links, and adds the needed .css and .js files.
- Login to post comments
