My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[#ftl]
<script type="text/javascript">
$(document).ready(function(){
langs("${localeLanguage}","${baseURL}");
});
</script>
</head>
<body>
<div id="wrapper">
<div id="topwrapper">
<ul id="topmenu">
[#if (Session.curr_user)??]
<li>[@s.text name="menu.loggedin"/] <em>${Session.curr_user.email}</em></li>
<li[#if currentMenu=="account"] class="current"[/#if] ><a href="${baseURL}/account.do">[@s.text name="menu.account"/]</a></li>
<li[#if currentMenu=="logout"] class="current"[/#if]><a href="${baseURL}/logout.do">[@s.text name="menu.logout"/]</a></li>
[#else]
<li>
<form id="login-form" action="${baseURL}/login.do" method="post">
<input type="text" size="25" name="email" value="email" class="form-reset" />
<input type="password" size="20" name="password" value="password" class="form-reset" />
[@s.submit key="portal.login" name="login-submit"/]
</form>
</li>
[/#if]
<li>
<a href="#"><img src="${baseURL}/images/flags/flag_${localeLanguage}.gif"/></a>
<ul id=languages>
<!-- add more languages as translations become available. -->
<!-- To see more information go to langs method in global.js -->
</ul>
</li>
</ul>
</div>
<!-- show production logo only if ipt 1) .war was not built in test mode and 2) run in production mode -->
<div id="logo">
[#if !cfg.devMode() && cfg.getRegistryType()=='PRODUCTION']
<img src="${baseURL}/styles/logo.jpg">
[#else]
<img src="${baseURL}/styles/logo-test-mode.png">
[/#if]
</div>

<div id="menu">
<ul>
<li[#if currentMenu=='home'] class="current"[/#if]><a href="${baseURL}/">[@s.text name="menu.home"/]</a></li>
[#if managerRights]
<li[#if currentMenu=='manage'] class="current"[/#if]><a href="${baseURL}/manage/">[@s.text name="menu.manage"/]</a></li>
[/#if]
[#if adminRights]
<li[#if currentMenu=='admin'] class="current"[/#if]><a href="${baseURL}/admin/">[@s.text name="menu.admin"/]</a></li>
[/#if]
<li[#if currentMenu=='about'] class="current"[/#if]><a href="${baseURL}/about.do">[@s.text name="menu.about"/]</a></li>
</ul>
</div>

<div id="search">
[#--
<form action="${baseURL}/search" method="get">
<div>
<input type="text" name="q" id="search-input" [#if !q??] class="form-reset" value='search ${searchText!" resources"}'[#else] value='${q}'[/#if] />
<input class="default" type="submit" value="Search" id="search-submit" />
</div>
</form>
--]
</div>

[#if sideMenuEml!false]
<div id="sidebar">
<h2>[@s.text name='manage.metadata.section' /]</h2>
<ul class="sidebar">
[#list ["basic", "geocoverage", "taxcoverage","tempcoverage", "keywords", "parties", "project", "methods", "citations", "collections", "physical", "additional"] as it]
<li[#if currentSideMenu?exists && currentSideMenu==it] class="current"[#else] class="sidebar"[/#if]><a href="metadata-${it}.do?r=${resource.shortname!r!}">[@s.text name="submenu.${it}"/]</a></li>
[/#list]
</ul>
</div>

<div id="content" class="fixed">
[#else]

<div id="content">
[/#if]


[@s.actionmessage/]
[#if warnings?size>0]
<ul class="warnMessage">
[#list warnings as w]
<li><span>${w!}</span></li>
[/#list]
</ul>
[/#if]
[@s.actionerror/]

<div id="dialog-confirm" title="[@s.text name="basic.confirm"/]" style="display: none;">
</div>

Change log

r3698 by kyle.braak on Mar 19, 2012   Diff
Attempt to resolve:
http://code.google.com/p/gbif-
providertoolkit/issues/detail?id=798
Go to: 
Sign in to write a code review

Older revisions

r3452 by jlthlopez on Aug 12, 2011   Diff
Fixing parameter construction when the
language is changed
r3366 by jlthlopez on Jun 21, 2011   Diff
Internationalising the Date.
r3305 by htobon on Jun 7, 2011   Diff
Adding a new language to Niconoe
tests.
All revisions of this file

File info

Size: 3723 bytes, 95 lines
Powered by Google Project Hosting