元数据部分页面修改

This commit is contained in:
Li Heng 2014-03-05 05:39:10 +00:00
parent d905f6b08d
commit 4d007d6ec0
2 changed files with 9 additions and 8 deletions

View File

@ -12,15 +12,16 @@ $theme->AppendPlus($this,'colorbox');
<?php echo $this->paginator; ?>
<hr />
<?php foreach($this->paginator as $md) : ?>
<div class="mditem">
<div class="thumb pull-left">
<a href="/service/thumb/id/<?php echo $md['id'];?>" class="colorbox">
<img src="/service/thumb/id/<?php echo $md['id'];?>" class="img-polaroid img-rounded" />
<div class="mditem" style="border-bottom:1px dashed #DFDFDF">
<div class="thumb" >
<a href="/service/thumb/id/<?php echo $md['id'];?>" class="colorbox pull-left">
<img src="/service/thumb/id/<?php echo $md['id'];?>" style="padding-right:20px" />
</a>
</div>
<div style="padding-left:10px">
<h2><a href="/data/<?php echo $md['uuid']; ?>"><?php echo $md['title'];?></a></h2>
<span><?php echo mb_strlen($md['description'])>400? mb_substr($md['description'],0,400,'UTF-8').'...':$md['description'];?></span>
<div >
<h2><a href="/data/<?php echo $md['uuid']; ?>"><?php echo $md['title'];?></a></h2>
<p><?php echo mb_strlen($md['description'])>400? mb_substr($md['description'],0,400,'UTF-8').'...':$md['description'];?></p>
</div>
</div>
<?php endforeach; ?>

View File

@ -7,7 +7,7 @@
<div class="row">
<div class="span8">
<h2 class="box-title"><?= $this->data['title'] ?></h2>
<h3 class="box-title"><?= $this->data['title'] ?></h3>
<div class="row">
<div class="span8">