You are here

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

Overridden theme implementation to display a ajax Drupal page.

You can use any variable available in page.tpl.php.

File

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

/**
 * @file
 * Overridden theme implementation to display a ajax Drupal page.
 *
 * You can use any variable available in page.tpl.php.
 */
print $messages;
print render($title_prefix);
if ($title) {
  ?><h1 id="page-title"><?php

  print $title;
  ?></h1><?php

}
print render($title_suffix);
if ($tabs = render($tabs)) {
  ?><div class="tabs"><?php

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

}
if ($action_links = render($action_links)) {
  ?><ul class="action-links"><?php

  print $action_links;
  ?></ul><?php

}
print render($page['content']);