modalframe-page.tpl.php in Modal Frame API 6
Template file for a Modal Frame based on jQuery UI dialog.
This template provides the same exact variables provided to page.tpl.php, and serves the same purpose, with the exeption that this template does not render regions such as head, left and right because the main purpose of this template is to render a frame that is displayed on a modal jQuery UI dialog.
File
modalframe-page.tpl.phpView source
<?php
/**
* @file
* Template file for a Modal Frame based on jQuery UI dialog.
*
* This template provides the same exact variables provided to page.tpl.php,
* and serves the same purpose, with the exeption that this template does not
* render regions such as head, left and right because the main purpose of this
* template is to render a frame that is displayed on a modal jQuery UI dialog.
*
* @see modalframe_theme_registry_alter()
* @see modalframe_preprocess_page()
* @see template_preprocess_page()
* @see template_preprocess()
* @see theme()
*/
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php
print $language->language;
?>" lang="<?php
print $language->language;
?>" dir="<?php
print $language->dir;
?>">
<head>
<?php
print $head;
?>
<title><?php
print !empty($title) ? $title : $head_title;
?></title>
<?php
print $styles;
print $scripts;
?>
</head>
<body class="<?php
print $body_classes;
?>">
<div class="modalframe-page-wrapper">
<div class="modalframe-page-container clear-block">
<div class="modalframe-page-content">
<?php
if ($show_messages && $messages) {
print $messages;
}
print $help;
?>
<div class="clear-block">
<?php
print $content;
?>
</div>
</div>
</div>
</div>
<?php
print $closure;
?>
</body>
</html>