You are here

function phptemplate_box in Drupal 4

Same name and namespace in other branches
  1. 5 themes/engines/phptemplate/phptemplate.engine \phptemplate_box()

Prepare the values passed to the theme_box function to be passed into a pluggable template engine.

File

themes/engines/phptemplate/phptemplate.engine, line 290
Handles integration of templates written in pure php with the Drupal theme system.

Code

function phptemplate_box($title, $content, $region = 'main') {
  return _phptemplate_callback('box', array(
    'content' => $content,
    'region' => $region,
    'title' => $title,
  ));
}