metadata filelist

This commit is contained in:
4ngle 2010-03-10 06:58:11 +00:00
parent 30a9892967
commit 011a22c360
1 changed files with 12 additions and 0 deletions

View File

@ -10,6 +10,7 @@
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/prototype.js'); $this->headScript()->appendFile('/js/prototype.js');
$this->headScript()->appendFile('/js/OpenLayers.js'); $this->headScript()->appendFile('/js/OpenLayers.js');
$this->headScript()->appendFile('/js/window.js');
$this->headLink()->appendStylesheet('/js/theme/default/style.css'); $this->headLink()->appendStylesheet('/js/theme/default/style.css');
?> ?>
<?php $md=$this->metadata;if ($md):?> <?php $md=$this->metadata;if ($md):?>
@ -122,6 +123,7 @@ endforeach;
<li>元数据更新时间:<?php print date('Y-m-d',strtotime($md->ts_created)); ?></li> <li>元数据更新时间:<?php print date('Y-m-d',strtotime($md->ts_created)); ?></li>
<li><a href="/data/detail/id/<?php echo $md->id;?>">详细元数据</a></li> <li><a href="/data/detail/id/<?php echo $md->id;?>">详细元数据</a></li>
<li><a href="/data/xml/id/<?php echo $md->id;?>"><img src="/images/xml.gif" alt="查看XML源文件"></a></li> <li><a href="/data/xml/id/<?php echo $md->id;?>"><img src="/images/xml.gif" alt="查看XML源文件"></a></li>
<li><a href="#" id="show-list" rel="<?php echo $md->uuid;?>">文件列表</a></li>
</ul> </ul>
</div> </div>
</td></tr></table> </td></tr></table>
@ -331,6 +333,16 @@ function reportError(request)
} }
</script> </script>
--> -->
<div id="window-outter" style="display:none;">
<div id="window-inner">
<div id="window-closer-container">[<a href="#" id="window-closer">关闭</a>]</div>
<div id="window-content-container">
<div id="window-loading">加载中...</div>
<ol id="file-list">
</ol>
</div>
</div>
</div>
<?php else: ?> <?php else: ?>
<p>Cannot find the metadata.</p> <p>Cannot find the metadata.</p>
<p>没有找到对应的元数据。</p> <p>没有找到对应的元数据。</p>