2010-12-08 14:04:45 +00:00
|
|
|
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
|
|
|
|
|
|
|
<header id="branding" role="banner">
|
2011-01-12 15:30:49 +00:00
|
|
|
<h1 class="vivo-logo"><a title="VIVO | enabling national networking of scientists" href="${urls.home}"><span class="displace">${siteName}</span></a></h1>
|
2011-01-11 19:58:40 +00:00
|
|
|
<#-- Since we are using a graphic text for the tagline, we won't render ${siteTagline}
|
2010-12-08 14:04:45 +00:00
|
|
|
<#if siteTagline?has_content>
|
|
|
|
<em>${siteTagline}</em>
|
|
|
|
</#if>-->
|
|
|
|
|
|
|
|
<nav role="navigation">
|
|
|
|
<ul id="header-nav" role="list">
|
2011-05-25 02:35:36 +00:00
|
|
|
<li role="listitem"><a href="${urls.index}">Index</a></li>
|
2010-12-08 14:04:45 +00:00
|
|
|
<#if user.loggedIn>
|
|
|
|
<#if user.hasSiteAdminAccess>
|
|
|
|
<li role="listitem"><a href="${urls.siteAdmin}">Site Admin</a></li>
|
|
|
|
</#if>
|
2011-05-25 02:35:36 +00:00
|
|
|
<li>
|
|
|
|
<ul class="dropdown">
|
2011-06-15 17:40:37 +00:00
|
|
|
<li id="user-menu"><a href="#">${user.loginName}</a>
|
2011-05-25 02:35:36 +00:00
|
|
|
<ul class="sub_menu">
|
2011-06-22 16:31:53 +00:00
|
|
|
<#if user.hasProfile>
|
|
|
|
<li role="listitem"><a href="${user.profileUrl}">My profile</a></li>
|
|
|
|
</#if>
|
2011-07-13 14:48:39 +00:00
|
|
|
<#if urls.myAccount??>
|
|
|
|
<li role="listitem"><a href="${urls.myAccount}">My account</a></li>
|
|
|
|
</#if>
|
2011-05-25 02:35:36 +00:00
|
|
|
<li role="listitem"><a href="${urls.logout}">Log out</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
${scripts.add('<script type="text/javascript" src="${urls.base}/js/userMenu/userMenuUtils.js"></script>')}
|
|
|
|
|
2010-12-08 14:04:45 +00:00
|
|
|
<#else>
|
2011-06-14 20:30:33 +00:00
|
|
|
<li role="listitem"><a class="log-out" title="log in to manage this site" href="${urls.login}">Log in</a></li>
|
2010-12-08 14:04:45 +00:00
|
|
|
</#if>
|
|
|
|
</ul>
|
2011-05-25 02:35:36 +00:00
|
|
|
|
2010-12-08 14:04:45 +00:00
|
|
|
</nav>
|
|
|
|
|
|
|
|
<section id="search" role="region">
|
|
|
|
<fieldset>
|
|
|
|
<legend>Search form</legend>
|
|
|
|
|
|
|
|
<form id="search-form" action="${urls.search}" name="search" role="search">
|
|
|
|
<div id="search-field">
|
2011-07-18 12:05:51 +00:00
|
|
|
<input type="text" name="querytext" class="search-vivo" value="${querytext!}" autocapitalize="off" />
|
2011-02-02 17:15:38 +00:00
|
|
|
<input type="submit" value="Search" class="search">
|
2010-12-08 14:04:45 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</fieldset>
|
|
|
|
</section>
|
|
|
|
</header>
|