2010-10-06 14:16:12 +00:00
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
2010-11-09 13:27:35 +00:00
<#import "lib-list.ftl" as l>
2010-10-06 14:16:12 +00:00
<!DOCTYPE html>
<html lang="en">
2010-10-27 13:21:55 +00:00
<head>
<meta charset="utf-8" />
2010-11-15 20:43:35 +00:00
<!-- Google Chrome Frame open source plug-in brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer-->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
2010-10-27 13:21:55 +00:00
<title>${title}</title>
2010-11-24 18:26:04 +00:00
<meta name="description" content="" />
<meta name="keywords" content="" />
2010-12-01 19:40:02 +00:00
2010-11-17 23:18:14 +00:00
<#include "stylesheets.ftl">
2010-12-02 17:54:59 +00:00
<link rel="stylesheet" href="${urls.theme}/css/screen.css" />
2010-11-18 18:52:26 +00:00
<#include "headScripts.ftl">
2010-11-03 19:15:51 +00:00
2010-10-27 13:21:55 +00:00
<!--[if lt IE 7]>
<link rel="stylesheet" href="css/ie6.css" />
<![endif]-->
2010-10-26 23:49:40 +00:00
2010-10-27 13:21:55 +00:00
<!--[if IE 7]>
<link rel="stylesheet" href="css/ie7.css" />
<![endif]-->
2010-12-02 20:57:20 +00:00
2010-10-27 13:21:55 +00:00
</head>
2010-11-03 19:15:51 +00:00
2010-11-04 13:50:34 +00:00
<body>
2010-11-17 15:34:38 +00:00
<header id="branding" role="banner">
2010-11-05 17:42:46 +00:00
<h1 class="vivo-logo"><a href="${urls.home}"><span class="displace">${siteName}</span></a></h1>
2010-11-03 19:15:51 +00:00
<!-- Since we are using a graphic text for the tagline, we won't render ${siteTagline}
<#if siteTagline?has_content>
<em>${siteTagline}</em>
</#if>-->
2010-11-09 13:27:35 +00:00
2010-11-17 15:34:38 +00:00
<nav role="navigation">
2010-11-24 18:26:04 +00:00
<ul id="header-nav" role="list">
2010-11-23 01:28:43 +00:00
<#if user.loggedIn>
2010-12-02 20:57:20 +00:00
<li role="listitem"><span class="loginIcon">U</span> ${user.loginName}</li>
2010-11-24 18:26:04 +00:00
<li role="listitem"><a href="${urls.logout}">Log out</a></li>
2010-11-23 01:28:43 +00:00
<#if user.hasSiteAdminAccess>
2010-11-24 18:26:04 +00:00
<li role="listitem"><a href="${urls.siteAdmin}">Site Admin</a></li>
2010-11-23 01:28:43 +00:00
</#if>
2010-10-27 13:21:55 +00:00
<#else>
2010-11-24 18:26:04 +00:00
<li role="listitem"><a title="log in to manage this site" href="${urls.login}">Log in</a></li>
2010-10-27 13:21:55 +00:00
</#if>
<#-- List of links that appear in submenus, like the header and footer. -->
2010-11-24 18:26:04 +00:00
<li role="listitem"><a href="${urls.about}">About</a></li>
2010-10-27 13:21:55 +00:00
<#if urls.contact??>
2010-11-24 18:26:04 +00:00
<li role="listitem"><a href="${urls.contact}">Contact Us</a></li>
2010-10-27 13:21:55 +00:00
</#if>
2010-11-24 18:26:04 +00:00
<li role="listitem"><a href="http://www.vivoweb.org/support" target="blank">Support</a></li>
2010-12-03 20:45:11 +00:00
<li role="listitem"><a href="${urls.index}">Index</a></li>
2010-10-27 13:21:55 +00:00
</ul>
</nav>
2010-11-03 19:15:51 +00:00
2010-11-17 15:34:38 +00:00
<section id="search" role="region">
2010-11-03 19:15:51 +00:00
<fieldset>
<legend>Search form</legend>
2010-11-24 20:05:03 +00:00
<form id="search-form" action="${urls.search}" name="search" role="search">
2010-11-23 01:28:43 +00:00
<#if user.showFlag1SearchField>
2010-11-03 19:15:51 +00:00
<select id="search-form-modifier" name="flag1" class="form-item" >
2010-11-23 01:28:43 +00:00
<option value="nofiltering" selected="selected">entire database (${user.loginName})</option>
2010-11-03 19:15:51 +00:00
<option value="${portalId}">${siteTagline!}</option>
</select>
<#else>
<input type="hidden" name="flag1" value="${portalId}" />
</#if>
<div id="search-field">
<input type="text" name="querytext" class="search-vivo" value="${querytext!}" />
2010-11-29 16:35:01 +00:00
<input type="submit" value="Search" class="submit">
2010-11-03 19:15:51 +00:00
</div>
</form>
</fieldset>
</section>
</header>
2010-11-17 15:34:38 +00:00
<nav role="navigation">
2010-11-24 18:26:04 +00:00
<ul id="main-nav" role="list">
2010-11-03 19:15:51 +00:00
<#list tabMenu.items as item>
2010-11-24 18:26:04 +00:00
<li role="listitem"><a href="${item.url}" <#if item.active> class="selected" </#if>>${item.linkText}</a></li>
2010-11-03 19:15:51 +00:00
</#list>
</ul>
</nav>
2010-11-16 19:09:05 +00:00
2010-11-24 18:26:04 +00:00
<div id="wrapper-content" role="main">
2010-11-16 19:09:05 +00:00
<#if flash?has_content>
2010-11-22 17:27:21 +00:00
<section id="flash-message" role="alert">
2010-11-16 19:09:05 +00:00
${flash}
2010-11-22 17:27:21 +00:00
</section>
2010-11-16 19:09:05 +00:00
</#if>
2010-11-24 18:26:04 +00:00
2010-11-09 21:56:02 +00:00
${body}
2010-11-03 19:15:51 +00:00
</div> <!-- #wrapper-content -->
2010-11-17 15:34:38 +00:00
<footer role="contentinfo">
2010-11-03 19:15:51 +00:00
<#if copyright??>
<p class="copyright"><small>©${copyright.year?c}
2010-11-05 20:33:28 +00:00
<#if copyright.url??>
<a href="${copyright.url}">${copyright.text}</a>
<#else>
</#if>
All Rights Reserved | <a class="terms" href="${urls.termsOfUse}">Terms of Use</a></small> | Powered by <a class="powered-by-vivo" href="http://vivoweb.org" target="_blank"><strong>VIVO</strong></a>
2010-11-23 01:28:43 +00:00
<#if user.hasRevisionInfoAccess>
2010-11-05 20:33:28 +00:00
| Version <a href="${version.moreInfoUrl}">${version.label}</a>
2010-11-03 19:15:51 +00:00
</#if>
</p>
</#if>
2010-11-05 20:33:28 +00:00
2010-11-17 15:34:38 +00:00
<nav role="navigation">
2010-11-24 18:26:04 +00:00
<ul id="footer-nav" role="list">
<li role="listitem"><a href="${urls.about}">About</a></li>
2010-11-03 19:15:51 +00:00
<#if urls.contact??>
2010-11-24 18:26:04 +00:00
<li role="listitem"><a href="${urls.contact}">Contact Us</a></li>
2010-10-27 13:21:55 +00:00
</#if>
2010-11-24 18:26:04 +00:00
<li role="listitem"><a href="http://www.vivoweb.org/support" target="blank">Support</a></li>
2010-11-03 19:15:51 +00:00
</ul>
</nav>
</footer>
2010-10-27 13:21:55 +00:00
${scripts.tags}
2010-11-17 15:34:38 +00:00
<!--[if lt IE 7]>
2010-11-18 23:24:32 +00:00
<script type="text/javascript" src="${urls.base}/js/jquery_plugins/supersleight.js"></script>
<script type="text/javascript" src="${urls.base}/js/utils.js"></script>
2010-11-17 15:34:38 +00:00
<![endif]-->
2010-11-04 13:50:34 +00:00
2010-11-17 15:34:38 +00:00
<!--[if (gte IE 6)&(lte IE 8)]>
2010-11-18 23:24:32 +00:00
<script type="text/javascript" src="${urls.base}/js/selectivizr.js"></script>
2010-11-17 15:34:38 +00:00
<![endif]-->
2010-10-27 13:21:55 +00:00
<#include "googleAnalytics.ftl">
</body>
2010-11-03 19:15:51 +00:00
</html>