1
|
<?php
|
2
|
|
3
|
defined('_JEXEC') or die('Access denied');
|
4
|
|
5
|
jimport('joomla.environment.uri');
|
6
|
jimport('joomla.methods');
|
7
|
|
8
|
$document = JFactory :: getDocument();
|
9
|
$document -> addScript(JRoute :: _(JUri :: base() . 'components/com_openaire/js/tabcontent.js'));
|
10
|
$document -> addStyleSheet(JRoute :: _(JUri :: base() . 'components/com_openaire/css/tabcontent.css'));
|
11
|
|
12
|
?>
|
13
|
|
14
|
<div class="searchBox">
|
15
|
<ul class="tabs">
|
16
|
<li class="selected"><a rel="alltab"><?php echo(JText :: _('ALL')); ?></a></li>
|
17
|
<li><a href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=searchpublications&Itemid=' . $this -> itemId . '&noscroll=true#publtab')); ?>"><?php echo(JText :: _('PUBLICATIONS')); ?></a></li>
|
18
|
<li><a href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=searchdatasets&Itemid=' . $this -> itemId . '&noscroll=true#datatab')); ?>"><?php echo(JText :: _('DATA')); ?></a></li>
|
19
|
<li><a href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=searchprojects&Itemid=' . $this -> itemId . '&noscroll=true#projtab')); ?>"><?php echo(JText :: _('PROJECTS')); ?></a></li>
|
20
|
<li><a href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=searchpeople&Itemid=' . $this -> itemId . '&noscroll=true#peopletab')); ?>"><?php echo(JText :: _('PEOPLE')); ?></a></li>
|
21
|
<li><a href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=searchorganizations&Itemid=' . $this -> itemId . '&noscroll=true#orgtab')); ?>"><?php echo(JText :: _('ORGANIZATIONS')); ?></a></li>
|
22
|
<li><a href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=searchdatasources&Itemid=' . $this -> itemId . '&noscroll=true#dtsrctab')); ?>"><?php echo(JText :: _('DATASOURCES')); ?></a></li>
|
23
|
</ul>
|
24
|
<div class="tabcontents">
|
25
|
<div class="tabcontent" id="alltab">
|
26
|
<form action="<?php echo(JRoute :: _('index.php')); ?>" method="get">
|
27
|
<input type="hidden" name="option" value="com_openaire" />
|
28
|
<input type="hidden" name="view" value="search" />
|
29
|
<input type="hidden" name="Itemid" value="<?php echo($this -> itemId); ?>" />
|
30
|
<input type="hidden" name="noscroll" value="true" />
|
31
|
<div class="flowWrapper">
|
32
|
<div class="srchNavText">
|
33
|
<!-- NMI take the new line off the next two lines and changed the button class-->
|
34
|
<input name="keyword" type="text" class="textsearch" value="<?php echo(htmlspecialchars($this -> keyword)); ?>" placeholder="<?php echo(JText :: _('SEARCH_KEYWORDS')); ?>" /><input type="submit" value="<?php echo(JText :: _('SEARCH')); ?>" class="search-button" onclick="return search();" />
|
35
|
</div>
|
36
|
</div>
|
37
|
</form>
|
38
|
</div>
|
39
|
</div>
|
40
|
</div>
|
41
|
|