添加英文副标题支持
This commit is contained in:
parent
68f852dbf0
commit
7c61f2bf6c
|
@ -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;
|
||||
|
|
|
@ -14,7 +14,9 @@
|
|||
$this->headLink()->appendStylesheet('/js/theme/default/style.css');
|
||||
?>
|
||||
<?php $md=$this->metadata;if ($md):?>
|
||||
<h1><?php echo $this->escape($md->title);?></h1>
|
||||
<h1><?php echo $this->escape($md->title);
|
||||
if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
||||
</h1>
|
||||
<table width=100%><tr><td>
|
||||
<div id="ImageViewer"><img src="/data/thumb/id/<?php echo $md->id;?>" /> </div>
|
||||
</td><td valign="top" align="middle">
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue