Skip to content

Instantly share code, notes, and snippets.

@mackensen
Created October 28, 2014 14:46
Show Gist options
  • Select an option

  • Save mackensen/22d9aeec172d7f1f218e to your computer and use it in GitHub Desktop.

Select an option

Save mackensen/22d9aeec172d7f1f218e to your computer and use it in GitHub Desktop.

Revisions

  1. mackensen created this gist Oct 28, 2014.
    32 changes: 32 additions & 0 deletions page.tpl.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    <?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;