修改分类浏览和数据集系列浏览采用UUID形式,删除series中的del链接.

This commit is contained in:
wlx 2009-12-17 14:16:59 +00:00
parent 9ab0456f85
commit 39d511de3b
2 changed files with 2 additions and 3 deletions

View File

@ -30,7 +30,7 @@ $this->breadcrumb()->setSeparator(' > ');
<hr /> <hr />
<div class="mditem"> <div class="mditem">
<div class="thumb"><img src="/data/thumb/id/<?php echo $md['id'];?>" /></div> <div class="thumb"><img src="/data/thumb/id/<?php echo $md['id'];?>" /></div>
<h2><a href="/data/view/id/<?php echo $md['id']; ?>"><?php echo $this->escape($md['title']);?></a> <h2><a href="/data/<?php echo $md['uuid']; ?>"><?php echo $this->escape($md['title']);?></a>
</h2> </h2>
<span><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></span> <span><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></span>
</div> </div>

View File

@ -28,8 +28,7 @@ $this->breadcrumb()->setSeparator(' > ');
<hr /> <hr />
<div class="mditem"> <div class="mditem">
<div class="thumb"><img src="/data/thumb/id/<?php echo $md['id'];?>" /></div> <div class="thumb"><img src="/data/thumb/id/<?php echo $md['id'];?>" /></div>
<h2><a href="/data/view/id/<?php echo $md['id']; ?>"><?php echo $this->escape($md['title']);?></a> <h2><a href="/data/<?php echo $md['uuid']; ?>"><?php echo $this->escape($md['title']);?></a>
<a href="/data/delete/id/<?php echo $md['id'];?>"><img src="/images/del.gif"></a>
</h2> </h2>
<span><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></span> <span><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></span>
</div> </div>