Revision 35488
Added by Argiro Kokogiannaki over 9 years ago
modules/uoa-joomla/trunk/joomla-2.5.3/com_openaire/site/js/search.js | ||
---|---|---|
11 | 11 |
|
12 | 12 |
function init() { |
13 | 13 |
// hide 'In this section' when there are results |
14 |
if (($$('div.searchResults').length > 0) && ($('maininner') !== null) && ($('sidebar-a') !== null)) { |
|
14 |
//if (($$('div.searchResults').length > 0) && ($('maininner') !== null) && ($('sidebar-a') !== null)) { |
|
15 |
//hide when there is the refine Box |
|
16 |
if (($$('div.refineBox').length > 0) && ($('maininner') !== null) && ($('sidebar-a') !== null)) { |
|
15 | 17 |
$('maininner').setStyle('width', $('maininner').offsetWidth + $('sidebar-a').offsetWidth); |
16 | 18 |
$('sidebar-a').destroy(); |
17 |
} |
|
19 |
}
|
|
18 | 20 |
// view more |
19 | 21 |
$$('div.searchCol, div.flowWrapper').each(function (statistic) { |
20 | 22 |
var viewMore = statistic.getElement('span.viewmore'); |
modules/uoa-joomla/trunk/joomla-2.5.3/com_openaire/site/views/searchprojects/tmpl/default_form.php | ||
---|---|---|
23 | 23 |
</ul> |
24 | 24 |
<div class="tabcontents"> |
25 | 25 |
<div class="tabcontent" id="projtab"> |
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="searchprojects" /> |
|
26 |
<form action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=searchprojects')); ?>" method="get"> |
|
29 | 27 |
<input type="hidden" name="Itemid" value="<?php echo($this -> itemId); ?>" /> |
30 | 28 |
<input type="hidden" name="noscroll" value="true" /> |
31 | 29 |
<div class="flowWrapper"> |
modules/uoa-joomla/trunk/joomla-2.5.3/com_openaire/site/views/searchpublications/tmpl/default_form.php | ||
---|---|---|
23 | 23 |
</ul> |
24 | 24 |
<div class="tabcontents"> |
25 | 25 |
<div class="tabcontent" id="publtab"> |
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="searchpublications" /> |
|
26 |
<form action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=searchpublications')); ?>" method="get"> |
|
29 | 27 |
<input type="hidden" name="Itemid" value="<?php echo($this -> itemId); ?>" /> |
30 | 28 |
<input type="hidden" name="noscroll" value="true" /> |
31 | 29 |
<div class="flowWrapper"> |
modules/uoa-joomla/trunk/joomla-2.5.3/com_openaire/site/views/searchdatasets/tmpl/default_form.php | ||
---|---|---|
23 | 23 |
</ul> |
24 | 24 |
<div class="tabcontents"> |
25 | 25 |
<div class="tabcontent" id="datatab"> |
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="searchdatasets" /> |
|
26 |
<form action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=searchdatasets')); ?>" method="get"> |
|
29 | 27 |
<input type="hidden" name="Itemid" value="<?php echo ($this -> itemId)?> "/> |
30 | 28 |
<input type="hidden" name="noscroll" value="true" /> |
31 | 29 |
<div class="flowWrapper"> |
modules/uoa-joomla/trunk/joomla-2.5.3/com_openaire/site/views/advancedsearchorganizations/tmpl/default_form.php | ||
---|---|---|
22 | 22 |
</ul> |
23 | 23 |
<div class="tabcontents"> |
24 | 24 |
<div class="tabcontent" id="orgtab"> |
25 |
<form method="get" action="<?php echo(JRoute :: _('index.php')); ?>"> |
|
26 |
<input type="hidden" name="option" value="com_openaire"/> |
|
27 |
<input type="hidden" name="view" value="advancedsearchorganizations" /> |
|
25 |
<form method="get" action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=advancedsearchorganizations')); ?>"> |
|
28 | 26 |
<input type="hidden" name="Itemid" value="<?php echo ($this -> itemId)?> "/> |
29 | 27 |
<input type="hidden" name="noscroll" value="true" /> |
30 | 28 |
<div class="flowWrapper"> |
modules/uoa-joomla/trunk/joomla-2.5.3/com_openaire/site/views/search/tmpl/default_form.php | ||
---|---|---|
23 | 23 |
</ul> |
24 | 24 |
<div class="tabcontents"> |
25 | 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" /> |
|
26 |
<form action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=search')); ?>" method="get"> |
|
29 | 27 |
<input type="hidden" name="Itemid" value="<?php echo($this -> itemId); ?>" /> |
30 | 28 |
<input type="hidden" name="noscroll" value="true" /> |
31 | 29 |
<div class="flowWrapper"> |
modules/uoa-joomla/trunk/joomla-2.5.3/com_openaire/site/views/searchorganizations/tmpl/default_form.php | ||
---|---|---|
23 | 23 |
</ul> |
24 | 24 |
<div class="tabcontents"> |
25 | 25 |
<div class="tabcontent" id="orgtab"> |
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="searchorganizations" /> |
|
26 |
<form action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=searchorganizations')); ?>" method="get"> |
|
29 | 27 |
<input type="hidden" name="Itemid" value="<?php echo($this -> itemId); ?>" /> |
30 | 28 |
<input type="hidden" name="noscroll" value="true" /> |
31 | 29 |
<div class="flowWrapper"> |
modules/uoa-joomla/trunk/joomla-2.5.3/com_openaire/site/views/advancedsearchdatasources/tmpl/default_form.php | ||
---|---|---|
22 | 22 |
</ul> |
23 | 23 |
<div class="tabcontents"> |
24 | 24 |
<div class="tabcontent" id="dtsrctab"> |
25 |
<form method="get" action="<?php echo(JRoute :: _('index.php')); ?>"> |
|
26 |
<input type="hidden" name="option" value="com_openaire"/> |
|
27 |
<input type="hidden" name="view" value="advancedsearchdatasources" /> |
|
25 |
<form method="get" action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=advancedsearchdatasources')); ?>"> |
|
28 | 26 |
<input type="hidden" name="Itemid" value="<?php echo ($this -> itemId)?> "/> |
29 | 27 |
<input type="hidden" name="noscroll" value="true" /> |
30 | 28 |
<div class="flowWrapper"> |
modules/uoa-joomla/trunk/joomla-2.5.3/com_openaire/site/views/advancedsearchpeople/tmpl/default_form.php | ||
---|---|---|
21 | 21 |
</ul> |
22 | 22 |
<div class="tabcontents"> |
23 | 23 |
<div id="peopletab" class="tabcontent"> |
24 |
<form method="get" action="<?php echo(JRoute :: _('index.php')); ?>"> |
|
25 |
<input type="hidden" name="option" value="com_openaire"/> |
|
26 |
<input type="hidden" name="view" value="advancedsearchpeople" /> |
|
24 |
<form method="get" action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=advancedsearchpeople')); ?>"> |
|
27 | 25 |
<input type="hidden" name="Itemid" value="<?php echo ($this -> itemId)?> "/> |
28 | 26 |
<input type="hidden" name="noscroll" value="true" /> |
29 | 27 |
<div class="flowWrapper"> |
modules/uoa-joomla/trunk/joomla-2.5.3/com_openaire/site/views/searchdatasources/tmpl/default_form.php | ||
---|---|---|
23 | 23 |
</ul> |
24 | 24 |
<div class="tabcontents"> |
25 | 25 |
<div class="tabcontent" id="dtsrctab"> |
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="searchdatasources" /> |
|
26 |
<form action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=searchdatasources')); ?>" method="get"> |
|
29 | 27 |
<input type="hidden" name="Itemid" value="<?php echo($this -> itemId); ?>" /> |
30 | 28 |
<input type="hidden" name="noscroll" value="true" /> |
31 | 29 |
<div class="flowWrapper"> |
modules/uoa-joomla/trunk/joomla-2.5.3/com_openaire/site/views/advancedsearchprojects/tmpl/default_form.php | ||
---|---|---|
22 | 22 |
</ul> |
23 | 23 |
<div class="tabcontents"> |
24 | 24 |
<div class="tabcontent" id="projtab"> |
25 |
<form method="get" action="<?php echo(JRoute :: _('index.php')); ?>"> |
|
26 |
<input type="hidden" name="option" value="com_openaire" /> |
|
27 |
<input type="hidden" name="view" value="advancedsearchprojects" /> |
|
25 |
<form method="get" action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=advancedsearchprojects')); ?>"> |
|
28 | 26 |
<input type="hidden" name="Itemid" value="<?php echo($this -> itemId); ?>" /> |
29 | 27 |
<input type="hidden" name="noscroll" value="true" /> |
30 | 28 |
<div class="flowWrapper"> |
modules/uoa-joomla/trunk/joomla-2.5.3/com_openaire/site/views/advancedsearchpublications/tmpl/default_form.php | ||
---|---|---|
23 | 23 |
</ul> |
24 | 24 |
<div class="tabcontents"> |
25 | 25 |
<div class="tabcontent" id="publtab"> |
26 |
<form method="get" action="<?php echo(JRoute :: _('index.php')); ?>"> |
|
27 |
<input type="hidden" name="option" value="com_openaire" /> |
|
28 |
<input type="hidden" name="view" value="advancedsearchpublications" /> |
|
26 |
<form method="get" action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=advancedsearchpublications')); ?>"> |
|
29 | 27 |
<input type="hidden" name="Itemid" value="<?php echo($this -> itemId); ?>" /> |
30 | 28 |
<input type="hidden" name="noscroll" value="true" /> |
31 | 29 |
<div class="flowWrapper"> |
modules/uoa-joomla/trunk/joomla-2.5.3/com_openaire/site/views/searchpeople/tmpl/default_form.php | ||
---|---|---|
23 | 23 |
</ul> |
24 | 24 |
<div class="tabcontents"> |
25 | 25 |
<div id="peopletab" class="tabcontent"> |
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="searchpeople" /> |
|
26 |
<form action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=searchpeople')); ?>" method="get"> |
|
29 | 27 |
<input type="hidden" name="Itemid" value="<?php echo($this -> itemId); ?>" /> |
30 | 28 |
<input type="hidden" name="noscroll" value="true" /> |
31 | 29 |
<div class="flowWrapper"> |
Also available in: Unified diff
In search pages show modulebox on the right when there is no refine box/ In search forms set component and view inside the Jroure url