addScript(JRoute :: _(JUri :: base() . 'components/com_openaire/js/project.js')); $document -> addStyleSheet(JRoute :: _(JUri :: base() . 'components/com_openaire/css/tabcontent.css')); $document -> addScript(JRoute :: _(JUri :: base() . 'components/com_openaire/js/tabcontent.js')); //$document->setTitle("OpenAIRE - Project:".(($this -> project == NULL) ||($this -> project -> title == NULL) ? '' : $this -> project -> title)); $document->setTitle("OpenAIRE - Project".(isset($this -> project -> title)?': '.(strlen($this -> project -> title) > 30?mb_substr($this -> project -> title,0,30).'...':$this -> project -> title):'')); $document->setMetaData( 'description', (isset($this -> project -> title)?$this -> project -> title:''), true ); $parameters = JComponentHelper :: getParams('com_openaire'); ?>
projectId == NULL) || ($this -> project == NULL) || (($this -> project -> acronym == NULL) && ($this -> project -> title == NULL))) { ?>
project -> sc39) ? (' class="sc39" title="' . JText :: _('SPECIAL_CLAUSE_39') . '"') : ''); ?>> project -> acronym == NULL) ? $this -> project -> title : $this -> project -> acronym); ?>
project -> title == NULL) ? '-' : $this -> project -> title); ?>
project -> funder == NULL) ? '-' : $this -> project -> funder. ($this -> project -> fundingStream!==NULL?' '.JText :: _('FUNDER_SEPARATOR').$this -> project -> fundingStream.' ':'') .($this -> project -> scientificArea!==NULL?' '.JText :: _('FUNDER_SEPARATOR').$this -> project -> scientificArea.' ':''). ($this -> project -> fundingStreamLevel2!==NULL?' '.JText :: _('FUNDER_SEPARATOR').$this -> project -> fundingStreamLevel2.' ':''))?>
project -> call !== NULL && $this -> project -> call!==''){ echo('
'.JText :: _('CALL').'
'. '
'. $this -> project -> call.'
'); }?>
project -> code == NULL) ? '-' : $this -> project -> code);?>
project -> startDate == NULL) ? '-' : date(JText :: _('DATE_FORMAT'), ($this -> project -> startDate))); ?>
project -> endDate == NULL) ? '-' : date(JText :: _('DATE_FORMAT'), ($this -> project -> endDate))); ?>
project -> oaMandate !== NULL ){ echo('
'.JText :: _('OPEN_ACCESS_MANDATE').'
'. '
'.JText :: _($this -> project -> oaMandate ? 'YES__' : 'NO__') .'
'); }?> project -> sc39 !== NULL){ ?>
project -> sc39 ? 'YES__' : 'NO__')); ?>
project -> dataPilot !== NULL){ echo('
'.JText :: _('DATA_PILOT').'
'. '
'. JText :: _($this -> project -> dataPilot? 'YES__' : 'NO__').'
'); }?> itemId; ?>
project -> organizations == NULL) ? '-' : implode(', ', array_filter(array_map(function ($organization) use ($itemId) {return (($organization == NULL) || (($organization -> shortName == NULL) && ($organization -> name == NULL))) ? '' : ((($organization -> id == NULL) ? '' : '') . (($organization -> shortName == NULL) ? $organization -> name : $organization -> shortName) . (($organization -> id == NULL) ? '' : ''));}, $this -> project -> organizations)))); ?>
project->funding->funding_level_0!=="FP7"){ if($this-> project->funder!=null&&$this-> project->funder!=="EC"){ echo(($this->project -> url!==null&&!empty($this->project -> url))?''.$this->project->url.'':'-'); ?>

 

  • publications == NULL) { ?>
    publications -> publications == NULL) { ?>
    publications -> totalPublications > OpenAireViewProject :: SIZE) { ?> publications -> publications as $publication) { echo(PublicationHelper :: formatPublication($publication, $this -> itemId)); } ?>
  • datasets == NULL) { ?>
    datasets -> datasets == NULL) { ?>
    datasets -> totalDatasets > OpenAireViewProject :: SIZE) { ?> datasets -> datasets as $dataset) { echo(DatasetHelper :: formatDataset($dataset, $this -> itemId)); } ?>
  • publications -> publications == NULL) ) { ?>

    chartUrl.'chart.php?com=query&persistent=false&data='.urlencode('{"query":"projScient","projTitle":"'.$this -> projectId.'", "table": "result", "fields": [{"fld": "number", "agg": "count", "type": "spline", "yaxis":1, "c":false}], "xaxis":{"name": "result_classifications-type", "agg": "avg"}, "group": "", "color": "", "type": "chart", "size":30, "sort": "xaxis", "xStyle":{"r": "-", "s": "-", "l": "-", "ft": "-", "wt": "-"}, "yaxisheaders": [""], "fieldsheaders": ["'.JText :: _('Publications').'"], "in": [], "filters": [{"name": "result_datasources-datasource-name", "values": [" "], "to": "-1"}], "having": [], "incfilters": [], "inchaving": [], "title": "", "subtitle": "", "xaxistitle": ""}'); $document->addScriptDeclaration("var scientificResultsUrl = '" . $url."'"); ?>

    chartUrl.'chart.php?com=query&persistent=false&data='.urlencode('{"query":"projOA","projTitle":"'.$this -> projectId.'", "table": "result", "fields": [{"fld": "number", "agg": "count", "type": "pie", "yaxis":1, "c":false}], "xaxis":{"name": "result_classifications-type", "agg": "avg"}, "group": "", "color": "", "type": "chart", "size":30, "sort": "xaxis", "xStyle":{"r": "-", "s": "-", "l": "-", "ft": "-", "wt": "-"}, "yaxisheaders": [""], "fieldsheaders": ["'.JText :: _('Publications').'"], "in": [], "filters": [{"name": "result_datasources-datasource-name", "values": [" "], "to": "-1"}], "having": [], "incfilters": [], "inchaving": [], "title": "", "subtitle": "", "xaxistitle": ""}'); $document->addScriptDeclaration("var publicationsAccessModeUrl = '" . $url."'"); ?>

    chartUrl.'chart.php?com=query&persistent=false&data='.urlencode('{"query":"projPubsRepos","projTitle":"'.$this -> projectId.'", "table": "result", "fields": [{"fld": "number", "agg": "count", "type": "bar", "yaxis":1, "c":false}], "xaxis":{"name": "result_classifications-type", "agg": "avg"}, "group": "", "color": "", "type": "chart", "size":30, "sort": "xaxis", "xStyle":{"r": "-", "s": "-", "l": "-", "ft": "-", "wt": "-"}, "yaxisheaders": [""], "fieldsheaders": ["'.JText :: _('Publications').'"], "in": [], "filters": [{"name": "result_datasources-datasource-name", "values": [" "], "to": "-1"}], "having": [], "incfilters": [], "inchaving": [], "title": "", "subtitle": "", "xaxistitle": ""}'); $document->addScriptDeclaration("var publicationsInRepositoriesUrl = '" . $url."'"); ?>

addScriptDeclaration("var latestPublicationsTimelineUrl = '" .$this -> projectStatisticsChartUrl."chart.php?com=query&data={%22table%22: %22result%22, %22fields%22: [{%22fld%22: %22number%22, %22agg%22: %22count%22, %22type%22: %22line%22, %22yaxis%22:1, %22c%22:true}], %22xaxis%22:{%22name%22: %22year%22, %22agg%22: %22avg%22}, %22group%22: %22%22, %22color%22: %22%22, %22type%22: %22chart%22, %22size%22:30, %22sort%22: %22xaxis%22, %22xStyle%22:{%22r%22: %22-%22, %22s%22: %22-%22, %22l%22: %22-%22, %22ft%22: %22-%22, %22wt%22: %22-%22}, %22yaxisheaders%22: [%22%22], %22fieldsheaders%22: [%22".(JText :: _('PUBLICATIONS'))."%22], %22in%22: [{%22f%22:0, %22text%22: %22".(JText ::_('YEARLY'))."%22}], %22filters%22: [{%22name%22:%22year%22,%22max%22:%22". date("Y",strtotime("-1 year"))."%22,%22min%22:%22".date("Y",strtotime("-20 year"))."%22},{%22name%22: %22result_datasources-datasource-name%22, %22values%22:[%22".$sanitized."%22], %22to%22: %22-1%22}],%22having%22: [], %22incfilters%22: [], %22inchaving%22: [], %22title%22: %22%22, %22subtitle%22: %22%22, %22xaxistitle%22: %22".JText :: _('YEAR')."%22}'"); ?>