Skip to content

Instantly share code, notes, and snippets.

@mackensen
Created October 28, 2014 14:46
Show Gist options
  • Save mackensen/22d9aeec172d7f1f218e to your computer and use it in GitHub Desktop.
Save mackensen/22d9aeec172d7f1f218e to your computer and use it in GitHub Desktop.
This is a Drupal template file.
<?php
/**
* @file
* Output for main HTML page content.
*/
if ($tabs = render($tabs)):
?>
<div class="tabs">
<?php
print $tabs;
?>
</div>
<?php
endif;
print $messages;
print render($title_prefix);
if ($title):
endif;
print render($title_suffix);
print render($page['help']);
if ($action_links):
?>
<ul class="action-links"><?php print render($action_links); ?></ul>
<?php
endif;
?>
<div id="main-content" class="clearfix">
<?php print render($page['content']); ?>
</div>
<?php
print $feed_icons;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment