diff --git a/application/admin/controllers/DataController.php b/application/admin/controllers/DataController.php index 977131ae..ad0d9ec3 100755 --- a/application/admin/controllers/DataController.php +++ b/application/admin/controllers/DataController.php @@ -693,6 +693,7 @@ class Admin_DataController extends Zend_Controller_Action $trow=$thumb->createRow(); $row->uuid=$iso->uuid; $row->title=$iso->resTitle; + $row->title_en=$iso->resAltTitle; $row->description=$iso->idAbs; $row->citation=$iso->citation; $row->fileformat=$iso->fileformat; diff --git a/application/default/views/scripts/data/view.phtml b/application/default/views/scripts/data/view.phtml index 245d560e..ea5022a2 100755 --- a/application/default/views/scripts/data/view.phtml +++ b/application/default/views/scripts/data/view.phtml @@ -14,7 +14,9 @@ $this->headLink()->appendStylesheet('/js/theme/default/style.css'); ?> metadata;if ($md):?> -

escape($md->title);?>

+

escape($md->title); +if ($md->title_en) echo '
'.$this->escape($md->title_en);?> +

diff --git a/application/models/ISO19115.php b/application/models/ISO19115.php index 581a3d01..8b48be40 100755 --- a/application/models/ISO19115.php +++ b/application/models/ISO19115.php @@ -169,6 +169,7 @@ class ISO19115 function parse() { $this->resTitle=$this->dom->getElementsByTagName('resTitle')->item(0)->nodeValue; + $this->resAltTitle=$this->dom->getElementsByTagName('resAltTitle')->item(0)->nodeValue; $this->idAbs=$this->dom->getElementsByTagName('idAbs')->item(0)->nodeValue; $this->mdFileID=$this->dom->getElementsByTagName('mdFileID')->item(0)->nodeValue; $this->mdDateSt=$this->dom->getElementsByTagName('mdDateSt')->item(0)->nodeValue;