1
|
<?php
|
2
|
|
3
|
defined('_JEXEC') or die('Access denied');
|
4
|
|
5
|
jimport('joomla.environment.uri');
|
6
|
jimport('joomla.html.html');
|
7
|
jimport('joomla.methods');
|
8
|
|
9
|
JHtml :: _('behavior.framework',true);
|
10
|
$document = JFactory :: getDocument();
|
11
|
$document -> addStyleSheet(JRoute :: _(JUri :: base() . 'templates/' . JFactory :: getApplication() -> getTemplate() . '/styles/openaire/css/custom.css'));
|
12
|
$document -> addStyleSheet(JRoute :: _(JUri :: base() . 'components/com_openaire/css/Meio.Autocomplete.css'));
|
13
|
$document -> addScriptDeclaration("var openaireInstitutionsRawUrl = '" . jRoute::_("index.php?option=com_openaire&view=institutions&format=raw&Itemid=" . $this->itemId, false) . "'");
|
14
|
|
15
|
$document -> addScript(JRoute :: _(JUri :: base() . 'components/com_openaire/js/ingestion1.js'));
|
16
|
$document -> addScript(JRoute :: _(JUri :: base() . 'components/com_openaire/js/Meio.Autocomplete.js'));
|
17
|
|
18
|
?>
|
19
|
|
20
|
<div id="system">
|
21
|
<h2><?php echo(JText :: _('DEPOSIT_PUBLICATIONS')); ?></h2>
|
22
|
<p><i><?php echo(JText :: _('ARE_YOU_A_GRANT_RECIPIENT_FROM_H2020_OR_FP7_OR_ERC_')); ?></i><?php echo(JText :: _('YOU_ARE_REQUIRED_TO_DEPOSIT_YOUR_PUBLICATIONS_INTO_THE_OPEN_ACCESS_REPOSITORY_CLICK_SHERES_TO_READ_MORE_')); ?></p>
|
23
|
<div class="depositBox">
|
24
|
<form id="institutionForm" class="srchNavText" method="post" action="<?php echo(JRoute :: _('index.php?option=com_openaire&view=ingestion2')); ?>">
|
25
|
<input type="hidden" name="Itemid" value="<?php echo($this -> itemId); ?>" />
|
26
|
<h3><?php echo(JText :: _('LOCATE_REPOSITORY_VIA_YOUR_INSTITUTION')); ?></h3>
|
27
|
<input type="hidden" name="institutionId"/>
|
28
|
<input type="text" class="textsearch" placeholder="<?php echo(JText :: _('TYPE_THE_NAME_OF_YOUR_INSTITUTION_')); ?>" /><input type="submit" class="search-button" value="<?php echo(JText :: _('SELECT')); ?>" />
|
29
|
<div class="box-warning"><?php JText :: printf('THE_SELECTED_INSTITUTION_DOESN_T_HAVE_AN_OPEN_ACCESS_REPOSITORY_','<a href="' . JRoute :: _('index.php?option=com_openaire&view=invenio&Itemid=' . $this -> itemId) . '">', '</a>'); ?></div>
|
30
|
<h3><?php echo(JText :: _('OR_LOCATE_REPOSITORY_IN_MAP')); ?></h3>
|
31
|
<iframe src="../stats/markers.html" width="99%" height="800px"></iframe>
|
32
|
</form>
|
33
|
</div>
|
34
|
<p> </p>
|
35
|
<div class="box-info">
|
36
|
<strong><?php echo(JText :: _('CAN_T_FIND_IT_')); ?></strong>
|
37
|
<?php JText :: printf('THEN_YOU_CAN_DEPOSIT_YOUR_PUBLICATIONS_AND_OR_DATA_IN_SZENODO_CERNS_AN_OPENAIRE_SPONSORED_REPOSITORY_', '<a href="' . JRoute :: _('index.php?option=com_openaire&view=invenio&Itemid=' . $this -> itemId) . '">', '</a>'); ?>
|
38
|
</div>
|
39
|
</div>
|
40
|
|