* @return
* string The rendered menu item.
*/
-function phptemplate_menu_item_link($link) {
+function zen_menu_item_link($link) {
if (empty($link['options'])) {
$link['options'] = array();
}
/**
* Duplicate of theme_menu_local_tasks() but adds clear-block to tabs.
*/
-function phptemplate_menu_local_tasks() {
+function zen_menu_local_tasks() {
$output = '';
if ($primary = menu_primary_local_tasks()) {
* @return
* A string containing the breadcrumb output.
*/
-function phptemplate_breadcrumb($breadcrumb) {
+function zen_breadcrumb($breadcrumb) {
$show_breadcrumb = theme_get_setting('zen_breadcrumb');
$show_breadcrumb_home = theme_get_setting('zen_breadcrumb_home');
$breadcrumb_separator = theme_get_setting('zen_breadcrumb_separator');
/*
* CREATE OR MODIFY VARIABLES FOR YOUR THEME
*
- * The most powerful function available to themers is _phptemplate_variables().
- * It allows you to pass newly created variables to different template (tpl.php)
- * files in your theme. Or even unset ones you don't want to use.
+ * The most powerful functions available to themers are the
+ * THEME_preprocess_HOOK() functions. They allow you to pass newly created
+ * variables to different template (tpl.php) files in your theme. Or even unset
+ * ones you don't want to use.
*
* It works by switching on the hook, or name of the theme function, such as:
* - page
* @param $vars
* A sequential array of variables to pass to the theme template.
*/
-function phptemplate_preprocess_page(&$vars) {
+function zen_preprocess_page(&$vars) {
global $user, $theme;
// Set a new $is_admin variable. This is determined by looking at the
* @param $vars
* A sequential array of variables to pass to the theme template.
*/
-function phptemplate_preprocess_node(&$vars) {
+function zen_preprocess_node(&$vars) {
global $user;
// Set a new $is_admin variable. This is determined by looking at the
* @param $vars
* A sequential array of variables to pass to the theme template.
*/
-function phptemplate_preprocess_comment(&$vars) {
+function zen_preprocess_comment(&$vars) {
global $user;
// Set a new $is_admin variable. This is determined by looking at the
* @param $vars
* A sequential array of variables to pass to the theme template.
*/
-function phptemplate_preprocess_block(&$vars) {
+function zen_preprocess_block(&$vars) {
global $user;
// Set a new $is_admin variable. This is determined by looking at the