Created
February 10, 2012 02:15
-
-
Save thecarlhall/1785541 to your computer and use it in GitHub Desktop.
AAR updates to seven/page.tpl.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
?> | |
<div id="branding" class="clearfix"> | |
<?php print $breadcrumb; ?> | |
<?php print render($title_prefix); ?> | |
<?php if ($title): ?> | |
<h1 class="page-title"><?php print $title; ?></h1> | |
<?php endif; ?> | |
<?php print render($title_suffix); ?> | |
<?php print render($primary_local_tasks); ?> | |
</div> | |
<?php global $base_root; ?> | |
<?php $url = parse_url($base_root.request_uri(), PHP_URL_PATH); ?> | |
<?php if ($url == '/user' || $url == '/user/login'): ?> | |
<p><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" /></p> | |
<div id="page"> | |
<div id="cas-header"> | |
<div id='header'><div class='limiter clearfix'><?php echo t('Welcome to the AAR Central Authentication Service'); ?></div></div> | |
<br/> | |
<div id='help-links'><a href="http://www.aarweb.org/Members/My_AAR/default.asp"><?php echo t('Click here to look up your Member ID'); ?></a></div> | |
</div> | |
<?php else: ?> | |
<div id="page"> | |
<?php endif ?> | |
<?php if ($secondary_local_tasks): ?> | |
<div class="tabs-secondary clearfix"><ul class="tabs secondary"><?php print render($secondary_local_tasks); ?></ul></div> | |
<?php endif; ?> | |
<div id="content" class="clearfix"> | |
<div class="element-invisible"><a id="main-content"></a></div> | |
<?php if ($messages): ?> | |
<div id="console" class="clearfix"><?php print $messages; ?></div> | |
<?php endif; ?> | |
<?php if ($page['help']): ?> | |
<div id="help"> | |
<?php print render($page['help']); ?> | |
</div> | |
<?php endif; ?> | |
<?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?> | |
<?php print render($page['content']); ?> | |
<?php if (isset($_REQUEST['destination']) && $_REQUEST['destination'] == 'cas/login'): ?> | |
<div class="breadcrumb"><a href="http://papers.hallwaytech.com"><?php echo t('PAPERS Home'); ?></a></div> | |
<?php endif ?> | |
</div> | |
<div id="footer"> | |
<?php print $feed_icons; ?> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment