forked from BioKIC/NEON-Biorepository-deprecated
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
201 lines (194 loc) · 7.63 KB
/
header.php
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<?php
include_once($SERVER_ROOT.'/content/lang/header.'.$LANG_TAG.'.php');
?>
<!-- CSS -->
<!-- <link href="https://fonts.googleapis.com/css?family=EB+Garamond|Playfair+Display+SC" rel="stylesheet" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700" rel="stylesheet" type="text/css">
<link href="<?php echo $CLIENT_ROOT; ?>/css/neon.css?ver=<?php echo $CSS_VERSION_LOCAL; ?>" type="text/css" rel="Stylesheet" />
<script type="text/javascript" src="<?php echo $CLIENT_ROOT; ?>/js/symb/base.js?ver=7"></script>
<script type="text/javascript">
//Uncomment following line to support toggling of database content containing DIVs with lang classes in form of: <div class="lang en">Content in English</div><div class="lang es">Content in Spanish</div>
//setLanguageDiv();
</script>
<div id="main-header">
<!-- NEON Main Top Bar -->
<div class="region-utility">
<div id="block-menu-global-menu" class="block block-menu">
<h2 class="block-title block-title">Global Menu</h2>
<div class="block-content block-content">
<ul class="nav">
<li class="last leaf nav-item depth--1"><a href="https://www.neonscience.org/" class="nav-link" title="NEON Science Main Portal">Neon Science</a></li>
<li class="last leaf nav-item depth--1"><a href="https://data.neonscience.org/home" title="NEON Data Portal" class="nav-link">Data Portal</a></li>
<li class="first leaf nav-item depth--1"><a href="https://biorepo.neonscience.org/portal/" title="NEON Biorepository at Arizona State University" class="nav-link active">Biorepository</a></li>
</ul>
</div>
</div>
</div>
<!-- Symbiota Main Header -->
<header id="header">
<ul id="biorepo-header">
<!-- Main Site Logo -->
<li id="branding" style="vertical-align: top;">
<!-- NSF/Neon logo -->
<a href="/" title="Home" rel="home" class="branding-link active"><img src="https://www.neonscience.org/sites/all/themes/neon/img/logo.svg" alt="NSF NEON | Open Data to Understand our Ecosystems"></a>
</li>
<li class="header-title"><h1>Biorepository Data Portal</h1></li>
</ul>
<!-- Symbiota Navigation -->
<ul id="hor_dropdown">
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/index.php" class="biorepo-home-icon"></a>
</li>
<li>
<a href="#" ><?php echo (isset($LANG['H_SEARCH'])?$LANG['H_SEARCH']:'Search'); ?></a>
<ul>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/collections/index.php" >Sample search</a>
</li>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/collections/map/index.php" target="_blank">Map search</a>
</li>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/checklists/dynamicmap.php?interface=checklist" ><?php echo (isset($LANG['H_DYN_LISTS'])?$LANG['H_DYN_LISTS']:'Dynamic Checklist'); ?></a>
</li>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/taxa/taxonomy/taxonomydynamicdisplay.php" ><?php echo (isset($LANG['H_TAXONOMIC_EXPLORER'])?$LANG['H_TAXONOMIC_EXPLORER']:'Taxonomy Explorer'); ?></a>
</li>
</ul>
</li>
<li>
<a href="#" ><?php echo (isset($LANG['H_IMAGES'])?$LANG['H_IMAGES']:'Images'); ?></a>
<ul>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/imagelib/index.php" ><?php echo (isset($LANG['H_IMAGE_BROWSER'])?$LANG['H_IMAGE_BROWSER']:'Image Browser'); ?></a>
</li>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/imagelib/search.php" ><?php echo (isset($LANG['H_IMAGE_SEARCH'])?$LANG['H_IMAGE_SEARCH']:'Search Images'); ?></a>
</li>
</ul>
</li>
<li>
<a href="#">Checklists</a>
<ul>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/projects/index.php?pid=6">Research Sites - Invertebrates</a>
</li>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/projects/index.php?pid=1">Research Sites - Plants</a>
</li>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/projects/index.php?pid=7">Research Sites - Vertebrates</a>
</li>
<?php
if($IS_ADMIN){
?>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/projects/index.php?pid=3">In Progress - Invertebrates (private)</a>
</li>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/projects/index.php?pid=2">In Progress - Plants (private)</a>
</li>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/projects/index.php?pid=5">In Progress - Vertebrates (private)</a>
</li>
<?php
}
?>
</ul>
</li>
<li>
<a href="#">Sample Use</a>
<ul>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/misc/samplepolicy.php">Sample Use Policy</a>
</li>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/misc/samplerequest.php">Sample Request</a>
</li>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/misc/usagepolicy.php">Data Usage Policy</a>
</li>
</ul>
</li>
<li><a href="<?php echo $CLIENT_ROOT; ?>/misc/gettingstarted.php">Getting Started</a>
</li>
<li>
<a href="#">Additional Information</a>
<ul>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/misc/tutorials.php" target="_blank" rel="noopener noreferrer">Tutorials and Help</a>
</li>
<li>
<a href="https://www.neonscience.org" target="_blank" >About NEON</a>
</li>
<li>
<a href="https://www.neonscience.org/data/neon-data-portal" target="_blank" >NEON Data Portal</a>
</li>
<li>
<a href="https://biokic.asu.edu/collections" target="_blank">ASU Biocollections</a>
</li>
<li>
<a href="https://bdj.pensoft.net/articles.php?id=1114" target="_blank">About Symbiota</a>
</li>
</ul>
</li>
<?php
if($IS_ADMIN){
?>
<li>
<a href="#" >Management Tools</a>
<ul>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/neon/index.php">Quick Search</a>
</li>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/neon/shipment/manifestloader.php">Manifest Submission</a>
</li>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/neon/shipment/manifestsearch.php">Manifest Search</a>
</li>
<li>
<a href="<?php echo $CLIENT_ROOT; ?>/neon/shipment/samplecheckin.php">Sample Check-In</a>
</li>
</ul>
</li>
<?php
}
?>
</ul>
</header>
</div>
<!-- Symbiota log in bar -->
<div id="top_navbar">
<div id="right_navbarlinks">
<?php
if($USER_DISPLAY_NAME){
?>
<span style="">
<?php echo (isset($LANG['H_WELCOME'])?$LANG['H_WELCOME']:'Welcome').' '.$USER_DISPLAY_NAME; ?>!
</span>
<span style="margin-left:5px;">
<a href="<?php echo $CLIENT_ROOT; ?>/profile/viewprofile.php"><?php echo (isset($LANG['H_MY_PROFILE'])?$LANG['H_MY_PROFILE']:'My Profile')?></a>
</span>
<span style="margin-left:5px;">
<a href="<?php echo $CLIENT_ROOT; ?>/profile/index.php?submit=logout"><?php echo (isset($LANG['H_LOGOUT'])?$LANG['H_LOGOUT']:'Logout')?></a>
</span>
<?php
}
else{
?>
<span style="">
<a href="<?php echo $CLIENT_ROOT."/profile/index.php?refurl=".$_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']; ?>"><?php echo (isset($LANG['H_LOGIN'])?$LANG['H_LOGIN']:'Login')?></a>
</span>
<span style="margin-left:5px;">
<a href="<?php echo $CLIENT_ROOT; ?>/profile/newprofile.php"><?php echo (isset($LANG['H_NEW_ACCOUNT'])?$LANG['H_NEW_ACCOUNT']:'New Account')?></a>
</span>
<?php
}
?>
<span style="margin-left:5px;">
<a href='<?php echo $CLIENT_ROOT; ?>/sitemap.php'><?php echo (isset($LANG['H_SITEMAP'])?$LANG['H_SITEMAP']:'Sitemap'); ?></a>
</span>
</div>
</div>