You are here

function phptemplate_forum_submitted in Advanced Forum 5

File

./advanced_forum.module, line 363
Enables the look and feel of other popular forum software.

Code

function phptemplate_forum_submitted($topic) {

  // Create a $variables array from the parameters
  $variables['topic'] = $topic;

  // Pass the parameters into our preprocess function
  advanced_forum_call_preprocess('forum_submitted', $variables);

  // Set the template file
  $forum_style = advanced_forum_get_current_style();
  return _phptemplate_callback("advf_forum_submitted", $variables, array(
    "{$forum_style}/advf-forum-submitted",
  ));
}