Last active
October 24, 2016 14:34
-
-
Save zanesensenig/621f476c04ab3ddfa60c to your computer and use it in GitHub Desktop.
New Site Page Reset
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
<!--.page --> | |
<div role="document" class="page"> | |
<!-- START HEADER | |
************************************ --> | |
<header role="banner" class="l-header"> | |
<!-- TOP BAR --> | |
<?php if ($top_bar): ?> | |
<?php if ($top_bar_classes): ?> | |
<div class="<?php print $top_bar_classes; ?>"> | |
<?php endif; ?> | |
<nav class="top-bar" data-topbar <?php print $top_bar_options; ?>> | |
<ul class="title-area"> | |
<li class="name"><h1><?php print $linked_site_name; ?></h1></li> | |
<!-- <li class="name"><a href="/" class="psu-mark"><img src="<?php print base_path(). path_to_theme(). '/img/psu.svg';?>" alt=""></a></li> --> | |
<li class="toggle-topbar menu-icon"> | |
<a href="#"><span><?php print $top_bar_menu_text; ?></span></a></li> | |
</ul> | |
<section class="top-bar-section"> | |
<?php if ($top_bar_main_menu) : ?> | |
<?php print $top_bar_main_menu; ?> | |
<ul class="right"> | |
<li> | |
<a href="#" data-reveal-id="searchModal"><i class="fa fa-search"></i></a> | |
<!-- Reveal Modals begin --> | |
<div id="searchModal" class="reveal-modal" data-reveal aria-labelledby="searchModal" aria-hidden="true" role="dialog"> | |
<?php print $search_box; ?> | |
<a class="close-reveal-modal" aria-label="Close">×</a> | |
</div> | |
</li> | |
</ul> | |
<?php endif; ?> | |
</section> | |
</nav> | |
<?php if ($top_bar_classes): ?> | |
</div> | |
<?php endif; ?> | |
<!-- END TOP BAR --> | |
<?php endif; ?> | |
<!-- HEADER REGION --> | |
<?php if (!empty($page['header'])): ?> | |
<section class="l-header-region row"> | |
<div class="columns"> | |
<?php print render($page['header']); ?> | |
</div> | |
</section> | |
<?php endif; ?> | |
</header> | |
<!-- END HEADER | |
************************************ --> | |
<!-- FEATURED REGION --> | |
<?php if (!empty($page['featured'])): ?> | |
<section class="l-featured row"> | |
<div class="columns"> | |
<?php print render($page['featured']); ?> | |
</div> | |
</section> | |
<?php endif; ?> | |
<!-- DRUPAL MESSAGES --> | |
<?php if ($messages && !$zurb_foundation_messages_modal): ?> | |
<section class="l-messages row"> | |
<div class="columns"> | |
<?php if ($messages): print $messages; endif; ?> | |
</div> | |
</section> | |
<?php endif; ?> | |
<!-- START MAIN CONTENT | |
************************************ --> | |
<main role="main" class="row l-main"> | |
<!-- MAIN CONTENT CONTAINER --> | |
<div class="main columns"> | |
<!-- HIGHLIGHTED REGION --> | |
<?php if (!empty($page['highlighted'])): ?> | |
<div class="highlight panel callout"> | |
<?php print render($page['highlighted']); ?> | |
</div> | |
<?php endif; ?> | |
<!-- ACCESSIBILITY --> | |
<a id="main-content"></a> | |
<!-- DRUPAL STUFF --> | |
<?php if (!empty($tabs)): ?> | |
<?php print render($tabs); ?> | |
<?php if (!empty($tabs2)): print render($tabs2); endif; ?> | |
<?php endif; ?> | |
<?php if ($action_links): ?> | |
<ul class="action-links"> | |
<?php print render($action_links); ?> | |
</ul> | |
<?php endif; ?> | |
<!-- MAIN CONTENT --> | |
<?php print render($page['content']); ?> | |
</div> | |
<!-- RIGHT SIDEBAR --> | |
<?php if (!empty($page['sidebar_second'])): ?> | |
<aside role="complementary" class="sidebar-second columns sidebar"> | |
<?php print render($page['sidebar_second']); ?> | |
</aside> | |
<?php endif; ?> | |
</main> | |
<!-- END MAIN CONTENT | |
************************************ --> | |
<!-- START FOOTER | |
************************************ --> | |
<footer class="l-footer row" role="contentinfo"> | |
<?php if (!empty($page['footer_upper'])): ?> | |
<div class="footer columns"> | |
<?php print render($page['footer_upper']); ?> | |
</div> | |
<?php endif; ?> | |
<div class="copyright columns"> | |
The Pennsylvania State University © <?php print date('Y'); ?> | |
</div> | |
<?php if (!empty($page['footer_lower'])): ?> | |
<div class="footer-lower columns"> | |
<?php print render($page['footer_lower']); ?> | |
</div> | |
<?php endif; ?> | |
</footer> | |
<!-- END FOOTER | |
************************************ --> | |
<?php if ($messages && $zurb_foundation_messages_modal): print $messages; endif; ?> | |
</div> | |
<!--/.page --> |
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
<!--.page --> | |
<div role="document" class="page"> | |
<!--.l-header --> | |
<header role="banner" class="l-header"> | |
<?php if ($top_bar): ?> | |
<!--.top-bar --> | |
<?php if ($top_bar_classes): ?> | |
<div class="<?php print $top_bar_classes; ?>"> | |
<?php endif; ?> | |
<nav class="top-bar" data-topbar <?php print $top_bar_options; ?>> | |
<ul class="title-area"> | |
<li class="name"><h1><?php print $linked_site_name; ?></h1></li> | |
<!-- <li class="name"><a href="/" class="psu-mark"><img src="<?php print base_path(). path_to_theme(). '/img/psu.svg';?>" alt=""></a></li> --> | |
<li class="toggle-topbar menu-icon"> | |
<a href="#"><span><?php print $top_bar_menu_text; ?></span></a></li> | |
</ul> | |
<section class="top-bar-section"> | |
<?php if ($top_bar_main_menu) : ?> | |
<?php print $top_bar_main_menu; ?> | |
<ul class="right"> | |
<li> | |
<a href="#" data-reveal-id="searchModal"><i class="fa fa-search"></i></a> | |
<!-- Reveal Modals begin --> | |
<div id="searchModal" class="reveal-modal" data-reveal aria-labelledby="searchModal" aria-hidden="true" role="dialog"> | |
<?php print $search_box; ?> | |
<a class="close-reveal-modal" aria-label="Close">×</a> | |
</div> | |
</li> | |
</ul> | |
<?php endif; ?> | |
</section> | |
</nav> | |
<?php if ($top_bar_classes): ?> | |
</div> | |
<?php endif; ?> | |
<!--/.top-bar --> | |
<?php endif; ?> | |
<?php if (!empty($page['header'])): ?> | |
<!--.l-header-region --> | |
<section class="l-header-region row"> | |
<div class="columns"> | |
<?php print render($page['header']); ?> | |
</div> | |
</section> | |
<!--/.l-header-region --> | |
<?php endif; ?> | |
</header> | |
<!--/.l-header --> | |
<?php if (!empty($page['featured'])): ?> | |
<!--.l-featured --> | |
<section class="l-featured row"> | |
<div class="columns"> | |
<?php print render($page['featured']); ?> | |
</div> | |
</section> | |
<!--/.l-featured --> | |
<?php endif; ?> | |
<?php if ($messages && !$zurb_foundation_messages_modal): ?> | |
<!--.l-messages --> | |
<section class="l-messages row"> | |
<div class="columns"> | |
<?php if ($messages): print $messages; endif; ?> | |
</div> | |
</section> | |
<!--/.l-messages --> | |
<?php endif; ?> | |
<!--.l-main --> | |
<main role="main" class="row l-main"> | |
<!-- .l-main region --> | |
<div class="<?php print $main_grid; ?> main columns"> | |
<?php if (!empty($page['highlighted'])): ?> | |
<div class="highlight panel callout"> | |
<?php print render($page['highlighted']); ?> | |
</div> | |
<?php endif; ?> | |
<a id="main-content"></a> | |
<!-- <?php if ($breadcrumb): print $breadcrumb; endif; ?> | |
<?php if ($title): ?> | |
<?php print render($title_prefix); ?> | |
<h1 id="page-title" class="title"><?php print $title; ?></h1> | |
<?php print render($title_suffix); ?> | |
<?php endif; ?> --> | |
<?php if (!empty($tabs)): ?> | |
<?php print render($tabs); ?> | |
<?php if (!empty($tabs2)): print render($tabs2); endif; ?> | |
<?php endif; ?> | |
<?php if ($action_links): ?> | |
<ul class="action-links"> | |
<?php print render($action_links); ?> | |
</ul> | |
<?php endif; ?> | |
<?php print render($page['content']); ?> | |
</div> | |
<!--/.l-main region --> | |
<?php if (!empty($page['sidebar_first'])): ?> | |
<aside role="complementary" class="<?php print $sidebar_first_grid; ?> sidebar-first columns sidebar"> | |
<?php print render($page['sidebar_first']); ?> | |
</aside> | |
<?php endif; ?> | |
<?php if (!empty($page['sidebar_second'])): ?> | |
<aside role="complementary" class="<?php print $sidebar_sec_grid; ?> sidebar-second columns sidebar"> | |
<?php print render($page['sidebar_second']); ?> | |
</aside> | |
<?php endif; ?> | |
</main> | |
<!--/.l-main --> | |
<!--.l-footer --> | |
<footer class="l-footer panel row" role="contentinfo"> | |
<?php if (!empty($page['footer'])): ?> | |
<div class="footer columns"> | |
<?php print render($page['footer']); ?> | |
</div> | |
<?php endif; ?> | |
<?php if ($site_name) : ?> | |
<div class="copyright columns"> | |
© <?php print date('Y') . ' ' . $site_name . ' ' . t('All rights reserved.'); ?> | |
</div> | |
<?php endif; ?> | |
</footer> | |
<!--/.l-footer --> | |
<?php if ($messages && $zurb_foundation_messages_modal): print $messages; endif; ?> | |
</div> | |
<!--/.page --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment