layout change

This commit is contained in:
wlx 2014-01-10 05:04:03 +00:00
parent 7871ebfb6a
commit fffe4448c9
1 changed files with 2 additions and 2 deletions

View File

@ -19,14 +19,14 @@ $this->nav[] = array('link'=>"/haihe",'title'=>'海河流域观测数据集');
<ol start="<?php echo $this->offset; ?>"> <ol start="<?php echo $this->offset; ?>">
<?php foreach($this->refs as $md) : ?> <?php foreach($this->refs as $md) : ?>
<li><?php echo $md['reference']; <li><?php echo $md['reference'];
echo ' <a href="/knowledge/paper/id/'.$item['id'].'"><i class="icon-info-sign text-success"></i>查看</a>'; echo '[ <a href="/knowledge/paper/id/'.$item['id'].'"><i class="icon-info-sign text-success"></i>查看</a>';
if (!empty($md['link'])) : if (!empty($md['link'])) :
echo ' <a href="'.$md['link'].'">下载</a>'; echo ' <a href="'.$md['link'].'">下载</a>';
else : else :
if (!empty($md['attid'])) echo ' <a href="/service/attach/id/'.$md['attid'].'"><i class="icon-download text-success"></i>下载</a>'; if (!empty($md['attid'])) echo ' <a href="/service/attach/id/'.$md['attid'].'"><i class="icon-download text-success"></i>下载</a>';
endif; endif;
?> ?>
[<a href="javascript:;" onclick="showdata('<?php echo $md['id'];?>',0)"><i class="icon-external-link text-success"></i>相关数据</a>] <a href="javascript:;" onclick="showdata('<?php echo $md['id'];?>',0)"><i class="icon-external-link text-success"></i>相关数据</a>]
</li> </li>
<?php endforeach; ?> <?php endforeach; ?>
</ol> </ol>