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-11-30 20:36:05 +00:00
|
|
|
<li role="listitem"><a href="${urls.index}" title="index">Index</a></li>
|
2010-12-08 14:04:45 +00:00
|
|
|
<#if user.loggedIn>
|
2012-07-10 18:55:33 +00:00
|
|
|
<#-- COMMENTING OUT THE EDIT PAGE LINK FOR RELEASE 1.5. WE NEED TO IMPLEMENT THIS IN A MORE
|
|
|
|
USER FRIENDLY WAY. PERHAPS INCLUDE A LINK ON THE PAGES THEMSELVES AND DISPLAY IF THE
|
|
|
|
USER IS A SITE ADMIN. tlw72
|
|
|
|
|
|
|
|
<#if (page??) && (page?is_hash || page?is_hash_ex) && (page.URLToEditPage??) >
|
|
|
|
<li role="listitem"><a href="${page.URLToEditPage}" title="edit page">Edit Page</a></li>
|
|
|
|
</#if>
|
|
|
|
-->
|
2010-12-08 14:04:45 +00:00
|
|
|
<#if user.hasSiteAdminAccess>
|
2011-11-30 20:36:05 +00:00
|
|
|
<li role="listitem"><a href="${urls.siteAdmin}" title="site admin">Site Admin</a></li>
|
2010-12-08 14:04:45 +00:00
|
|
|
</#if>
|
2011-05-25 02:35:36 +00:00
|
|
|
<li>
|
|
|
|
<ul class="dropdown">
|
2011-11-30 20:36:05 +00:00
|
|
|
<li id="user-menu"><a href="#" title="user">${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>
|
2011-11-30 20:36:05 +00:00
|
|
|
<li role="listitem"><a href="${user.profileUrl}" title="my profile">My profile</a></li>
|
2011-06-22 16:31:53 +00:00
|
|
|
</#if>
|
2011-07-13 14:48:39 +00:00
|
|
|
<#if urls.myAccount??>
|
2011-11-30 20:36:05 +00:00
|
|
|
<li role="listitem"><a href="${urls.myAccount}" title="my account">My account</a></li>
|
2011-07-13 14:48:39 +00:00
|
|
|
</#if>
|
2011-11-30 20:36:05 +00:00
|
|
|
<li role="listitem"><a href="${urls.logout}" title="log out">Log out</a></li>
|
2011-05-25 02:35:36 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2012-02-29 19:53:57 +00:00
|
|
|
|
|
|
|
|
2011-05-25 02:35:36 +00:00
|
|
|
|
|
|
|
${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>
|
|
|
|
|
2011-11-03 16:49:18 +00:00
|
|
|
<form id="search-form" action="${urls.search}" name="search" role="search" accept-charset="UTF-8" method="POST">
|
2010-12-08 14:04:45 +00:00
|
|
|
<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>
|