1 |
35459
|
argiro.kok
|
<?php
|
2 |
|
|
|
3 |
|
|
defined('_JEXEC') or die('Access denied');
|
4 |
|
|
|
5 |
|
|
jimport('joomla.environment.uri');
|
6 |
|
|
jimport('joomla.methods');
|
7 |
|
|
$document = JFactory :: getDocument();
|
8 |
|
|
$document -> addScript(JRoute :: _(JUri :: base() . 'components/com_openaire/js/tabcontent.js'));
|
9 |
|
|
$document -> addStyleSheet(JRoute :: _(JUri :: base() . 'components/com_openaire/css/tabcontent.css'));
|
10 |
|
|
|
11 |
|
|
?>
|
12 |
|
|
|
13 |
|
|
<div class="searchBox">
|
14 |
37958
|
argiro.kok
|
<!--
|
15 |
35459
|
argiro.kok
|
<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 |
35722
|
argiro.kok
|
<form action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=search')); ?>" method="post">
|
27 |
35459
|
argiro.kok
|
<input type="hidden" name="Itemid" value="<?php echo($this -> itemId); ?>" />
|
28 |
|
|
<input type="hidden" name="noscroll" value="true" />
|
29 |
|
|
<div class="flowWrapper">
|
30 |
|
|
<div class="srchNavText">
|
31 |
37958
|
argiro.kok
|
<input name="keyword" type="text" class="uk-form-small uk-form-width-large" 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();" />
|
32 |
35459
|
argiro.kok
|
</div>
|
33 |
|
|
</div>
|
34 |
|
|
</form>
|
35 |
|
|
</div>
|
36 |
|
|
</div>
|
37 |
37958
|
argiro.kok
|
|
38 |
|
|
<form action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=search&Itemid=' . $this -> itemId )); ?>" method="post">
|
39 |
|
|
<input type="hidden" name="Itemid" value="<?php echo($this -> itemId); ?>" />
|
40 |
|
|
<input type="hidden" name="noscroll" value="true" />
|
41 |
|
|
<div class="flowWrapper">
|
42 |
|
|
<div class="srchNavText">
|
43 |
|
|
<input name="keyword" type="text" class="uk-form-small uk-form-width-large" 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();" />
|
44 |
|
|
</div>
|
45 |
|
|
</div>
|
46 |
|
|
</form>
|
47 |
|
|
-->
|
48 |
|
|
<form action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=search')); ?>" method="post" id="searchform">
|
49 |
|
|
<input type="hidden" name="Itemid" value="<?php echo($this->itemId); ?>" />
|
50 |
|
|
<input type="hidden" name="noscroll" value="true" />
|
51 |
|
|
<div class="flowWrapper">
|
52 |
|
|
<div class="srchNavText">
|
53 |
38270
|
argiro.kok
|
<select id="searchtype" name="searchtype" class="styleSelect uk-width-2-10" onload="myScript()">
|
54 |
37958
|
argiro.kok
|
<option value="all" selected="selected"><?php echo(JText :: _('ALL')); ?></option>
|
55 |
|
|
<option value="pub"><?php echo(JText :: _('PUBLICATIONS')); ?></option>
|
56 |
|
|
<option value="data"><?php echo(JText :: _('DATA')); ?></option>
|
57 |
|
|
<option value="proj"><?php echo(JText :: _('PROJECTS')); ?></option>
|
58 |
|
|
<option value="org"><?php echo(JText :: _('ORGANIZATIONS')); ?></option>
|
59 |
|
|
<option value="datasources"><?php echo(JText :: _('DATASOURCES')); ?></option>
|
60 |
|
|
</select>
|
61 |
38270
|
argiro.kok
|
<input name="keyword" type="text" class=" textsearch uk-form-small uk-width-6-10" value="<?php echo(htmlspecialchars($this->keyword)); ?>" placeholder="<?php echo(JText :: _('SEARCH_KEYWORDS')); ?>" />
|
62 |
37958
|
argiro.kok
|
<input type="submit" value="<?php echo(JText :: _('SEARCH')); ?>" class="uk-button uk-button-small" onclick="return search();" />
|
63 |
|
|
|
64 |
|
|
</div>
|
65 |
|
|
</div>
|
66 |
|
|
</form>
|
67 |
35459
|
argiro.kok
|
</div>
|
68 |
|
|
|
69 |
37958
|
argiro.kok
|
|
70 |
|
|
<!--
|
71 |
|
|
var e = document.getElementById("ddlViewBy");
|
72 |
|
|
var strUser = e.options[e.selectedIndex].value;
|
73 |
|
|
-->
|