Project

General

Profile

« Previous | Next » 

Revision 41750

set page title with the datasource name for datasource landing page

View differences:

modules/uoa-joomla/trunk/joomla-3.4/com_openaire/site/views/datasource/tmpl/default.php
14 14
$document -> addScript(JRoute :: _(JUri :: base() . 'components/com_openaire/js/datasource.js'));
15 15
$document -> addScript(JRoute :: _(JUri :: base() . 'components/com_openaire/js/tabcontent.js'));
16 16
$document -> addStyleSheet(JRoute :: _(JUri :: base() . 'components/com_openaire/css/tabcontent.css'));
17
$document->setTitle("Data Provider:".($this -> datasource==NULL)?"" :(($this -> datasource -> englishName == NULL) ? $this -> datasource -> name : $this -> datasource -> englishName));
17
$document->setTitle("Data Provider:".(($this -> datasource==NULL)?"" :($this -> datasource -> name == NULL) ? "" :": ". $this -> datasource -> name));
18 18
$parameters = JComponentHelper :: getParams('com_openaire');
19 19

  
20 20
?>

Also available in: Unified diff