You are here

function theme_author_pane in Author Pane 5

Theme function wrapper around D6 style preprocess function.

2 theme calls to theme_author_pane()
author_pane_content_type_content in panels_content_types/author_pane.inc
Output function for the 'author pane' content type.
author_pane_get_block in ./author_pane.module

File

./author_pane.module, line 127

Code

function theme_author_pane($account, $image_path = NULL, $template_suggestion = NULL) {
  $variables = array();
  $variables['account'] = $account;
  $variables['image_path'] = $image_path;
  $variables['template_suggestion'] = $template_suggestion;

  // Load up all the integration files from other modules.
  author_pane_include('author-pane.inc');

  // Call our preprocess function to create all the variables
  author_pane_call_preprocess('author_pane', $variables);
  return _phptemplate_callback("author_pane", $variables, array(
    "author-pane",
  ));
}