You are here

page-ajax.tpl.php in Ajaxify Drupal with JQuery Ajax 6

prints only $content . used for ajax loaded content.

File

tpl/page-ajax.tpl.php
View source
<?php

/**
 * @file
 * prints only $content . used for ajax loaded content.
 */
?>
<title><?php

echo $head_title;
?></title>
<?php

echo $styles;
echo $scripts;
print $breadcrumb;
if ($mission) {
  print '<div id="mission">' . $mission . '</div>';
}
if ($tabs) {
  print '<div id="tabs-wrapper" class="clear-block">';
}
if ($title) {
  print '<h2' . ($tabs ? ' class="with-tabs"' : '') . '>' . $title . '</h2>';
}
if ($tabs) {
  print '<ul class="tabs primary">' . $tabs . '</ul></div>';
}
if ($tabs2) {
  print '<ul class="tabs secondary">' . $tabs2 . '</ul>';
}
if ($show_messages && $messages) {
  print $messages;
}
print $help;
?>
<div class="clear-block">
    <?php

print $content;
?>
</div>
<?php

print $feed_icons;