コード例 #1
0
ファイル: template.php プロジェクト: kimpepper/drupal-base
/**
 * 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
ファイル: template.php プロジェクト: CalvinZhu/boinc
/**
 * 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);
}