本文整理汇总了PHP中zen_theme函数的典型用法代码示例。如果您正苦于以下问题:PHP zen_theme函数的具体用法?PHP zen_theme怎么用?PHP zen_theme使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了zen_theme函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: vojo_generic_theme
/**
* Implementation of HOOK_theme().
*/
function vojo_generic_theme(&$existing, $type, $theme, $path)
{
$hooks = zen_theme($existing, $type, $theme, $path);
// Add your theme hooks like this:
$hooks['blog_node_form'] = array('arguments' => array('form' => NULL), 'template' => 'templates/node-blog-edit');
// @TODO: Needs detailed comments. Patches welcome!
return $hooks;
}
示例2: mumbo_theme
/**
* Implementation of HOOK_theme().
*/
function mumbo_theme(&$existing, $type, $theme, $path) {
$hooks = zen_theme($existing, $type, $theme, $path);
// Add your theme hooks like this:
/*
$hooks['hook_name_here'] = array( // Details go here );
*/
// @TODO: Needs detailed comments. Patches welcome!
return $hooks;
}
示例3: nys_theme
/**
* Implementation of HOOK_theme().
*/
function nys_theme(&$existing, $type, $theme, $path)
{
$hooks = zen_theme($existing, $type, $theme, $path);
// Add your theme hooks like this:
/*
$hooks['hook_name_here'] = array( // Details go here );
*/
// @TODO: Needs detailed comments. Patches welcome!
$hooks['search_theme_form'] = array('arguments' => array('form' => NULL));
return $hooks;
}
示例4: STARTERKIT_theme
/**
* Implementation of HOOK_theme().
*/
function STARTERKIT_theme(&$existing, $type, $theme, $path)
{
return zen_theme($existing, $type, $theme, $path);
}
示例5: cti_flex_theme
/**
* Implementation of HOOK_theme().
*/
function cti_flex_theme(&$existing, $type, $theme, $path)
{
$hooks = zen_theme($existing, $type, $theme, $path);
return $hooks;
}
示例6: tma_theme
/**
* Implementation of HOOK_theme().
*/
function tma_theme(&$existing, $type, $theme, $path)
{
return zen_theme($existing, $type, $theme, $path);
}
示例7: camp_theme
/**
* Implementation of HOOK_theme().
*/
function camp_theme(&$existing, $type, $theme, $path)
{
$hooks = zen_theme($existing, $type, $theme, $path);
// Add your theme hooks like this:
/*
$hooks['hook_name_here'] = array( // Details go here );
*/
$hooks['news_node_form'] = array('arguments' => array('form' => NULL), 'template' => 'form-node-news');
$hooks['session_node_form'] = array('arguments' => array('form' => NULL), 'template' => 'form-node-session');
$hooks['sponsor_node_form'] = array('arguments' => array('form' => NULL), 'template' => 'form-node-sponsor');
// @TODO: Needs detailed comments. Patches welcome!
return $hooks;
}
示例8: zen_classic_theme
/**
* Implementation of HOOK_theme().
*/
function zen_classic_theme(&$existing, $type, $theme, $path)
{
return zen_theme($existing, $type, $theme, $path);
}
示例9: eiffeldoc_theme
/**
* Implementation of HOOK_theme().
*/
function eiffeldoc_theme(&$existing, $type, $theme, $path)
{
return zen_theme($existing, $type, $theme, $path);
}