예제 #1
0
/**
 * Override or insert variables into the comment templates.
 *
 * @param $vars
 *   An array of variables to pass to the theme template.
 * @param $hook
 *   The name of the template being rendered ("comment" in this case.)
 */
function zen_preprocess_comment(&$vars, $hook)
{
    include_once './' . drupal_get_path('theme', 'zen') . '/template.comment.inc';
    _zen_preprocess_comment($vars, $hook);
}
예제 #2
0
/**
 * Override or insert variables into the comment templates.
 *
 * @param $vars
 *   An array of variables to pass to the theme template.
 * @param $hook
 *   The name of the template being rendered ("comment" in this case.)
 */
function zen_preprocess_comment(&$vars, $hook)
{
    include_once './' . _zen_path() . '/zen-internals/template.comment.inc';
    _zen_preprocess_comment($vars, $hook);
}