修改首页特色数据集对应位置;修改特色数据集登录提示。

This commit is contained in:
wlx 2009-12-10 15:11:59 +00:00
parent c73a945813
commit c0b3dbba64
2 changed files with 3 additions and 6 deletions

View File

@ -21,7 +21,7 @@ foreach ($this->rows as $row) {
<div class="link">
<?php if ($row->uuid) : ?>
<a href="/data/download/uuid/<?php echo $row->uuid; ?>">直接下载(需登录)</a>
<a href="/data/download/uuid/<?php echo $row->uuid; ?>">直接下载</a>(需登录)
&nbsp;|&nbsp; <a href="/data/<?php echo $row->uuid; ?>">详细元数据信息</a>
<?php else: ?>
<?php if ($auth->hasIdentity()) : ?>

View File

@ -62,11 +62,8 @@
<div id="descript"><span id="intro">简介:</span><?= $this->datasetcd['descript']; ?></div>
<div id="link">
<?php if ($auth->hasIdentity()) : ?>
<a href="<?= $this->datasetcd['url'];?>">下载ISO文件</a>
<?php else: ?>
<a href="/account/login">请先登录后再下载ISO文件</a>
<?php endif; ?>
<a href="/data/download/uuid/<?php echo $this->datasetcd['uuid']; ?>">直接下载</a>
&nbsp;|&nbsp; <a href="/data/<?php echo $this->datasetcd['uuid']; ?>">详细元数据</a>
&nbsp;|&nbsp;<a href='<?= $this->datasetcd['document']; ?>' >此数据集的数据文档</a>&nbsp;|&nbsp;<a href="/data/datasetcd">更多特色数据集&gt;&gt;</a>
</div>
</div>