Created
April 3, 2018 18:07
-
-
Save rivaadara111/cc5ceed8020c1cb48e619e2890e203eb to your computer and use it in GitHub Desktop.
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
<header role="banner"> | |
<div id="header"> | |
<div id="header--primary"> | |
<div class="l-wrapper sg cf"> | |
<div class="logo"> | |
<a href="/"> | |
<img | |
src="<?php print file_create_url(path_to_theme() . '/assets/img/straight_logo_grey_small.png'); ?>" | |
alt="Georgia Straight, Vancouver's News and Entertainment Weekly" | |
/> | |
</a> | |
</div> | |
<div class="quick-links sans-pro"> | |
<ul> | |
<li><a href="#" class="reveal_js--trigger" data-action="toggle" data-target="drop1">EVENTS<span class="reveal_js--trigger icon"></span></a> | |
</li> | |
<li><a href="#" class="reveal_js--trigger" data-action="toggle" data-target="drop2">GUIDES<span class="reveal_js--trigger icon"></span></a> | |
</li> | |
</ul> | |
</div> <!-- end quick links --> | |
<div class="icon-wrap"> | |
<a class="icon search reveal_js--trigger" data-action="toggle" data-target="search"> | |
</a> | |
<a href="#" class="icon account-gear reveal_js--trigger" data-target="account" data-action="toggle"> | |
</a> | |
<div class="account-links menu-popup reveal_js--content closed" data-content="account"> | |
<?php if ($logged_in) : ?> | |
<ul> | |
<li><span>Account</span></li> | |
<li><a href="/user/<?php echo $GLOBALS['user']->uid; ?>/edit">PROFILE</a></li> | |
<li><a href="/user/logout">SIGN OUT</a> </li> | |
</ul> | |
<?php if( | |
$is_admin | |
|| in_array('editor', $GLOBALS['user']->roles) | |
|| in_array('moderator', $GLOBALS['user']->roles) | |
|| in_array('event manager', $GLOBALS['user']->roles) | |
): ?> | |
<ul> | |
<li><span>Admin</span></li> | |
<li><a href="/admin/dashboard">DASHBOARD</a></li> | |
</ul> | |
<?php endif; ?> | |
<?php else: ?> | |
<ul> | |
<li><span>Account</span></li> | |
<li><a href="/user">LOG IN</a></li> | |
</ul> | |
<?php endif; ?> | |
</div> | |
</div><!-- end icon wrap --> | |
</div> <!-- end l-wrapper --> | |
</div><!-- end header--primary --> | |
<div id="header--secondary"> | |
<div class="list-wrap sans-pro l-wrapper sg"> | |
<ul id="read-more-list"> | |
<li><a class="sans-pro" href="/goldenplates">GOLDEN PLATES</a></li> | |
<li><?php echo l(t('NEWS'), 'news'); ?></li> | |
<li><?php echo l(t('MUSIC'), 'music'); ?> </li> | |
<li><?php echo l(t('ARTS'), 'arts'); ?></li> | |
<li><?php echo l(t('LIFE'), 'life'); ?></li> | |
<li><?php echo l(t('MOVIES'), 'movies'); ?></li> | |
<li><?php echo l(t('FOOD'), 'food'); ?> </li> | |
<li><a class="sans-pro" href="/cannabis">CANNABIS</a></li> | |
<li><a class="sans-pro" href="/confessions">CONFESSIONS</a></li> | |
<li><a class="sans-pro" href="/isawyou">I SAW YOU</a></li> | |
<li><a class="sans-pro" href="/bov">BEST OF VANCOUVER</a></li> | |
<li class="overflow-hide"><a class="sans-pro" href="/contests">CONTESTS</a></li> | |
<li class="overflow-hide"><a class="sans-pro" href="/classifieds">CLASSIFIEDS</a></li> | |
<li class="overflow-hide"><a class="sans-pro" href="/personals-disclaimer?destination=classifieds%2Fpersonals-classifieds">PERSONALS 18+</a></li> | |
</ul> | |
<div class="open-more-wrap"> | |
<a href="#" class="reveal_js--trigger open-more sans-pro" data-action="toggle" data-target="see_more">MORE<span class="reveal_js--trigger icon"></span></a> | |
</div> | |
</div><!-- end l-wrapper --> | |
<div class="overflow-block-wrap l-wrapper sg"> | |
<div class="reveal_js--content closed sans-pro" data-content="see_more"> | |
<ul> | |
<li><a class="sans-pro" href="/bov">BEST OF VANCOUVER</a></li> | |
<li><a class="sans-pro" href="/contests">CONTESTS</a></li> | |
<li><a class="sans-pro" href="/classifieds">CLASSIFIEDS</a></li> | |
<li><a class="sans-pro" href="/classifieds/personals-classifieds">PERSONALS 18+</a></li> | |
</ul> | |
</div> | |
</div> | |
</div><!-- end header--secondary --> | |
</div><!-- end header --> | |
</header> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment