change featured image to bottom

This commit is contained in:
wlx 2013-04-09 13:33:43 +00:00
parent a33f873949
commit e455c47efd
1 changed files with 4 additions and 7 deletions

View File

@ -41,18 +41,15 @@ $this->headLink()->appendStylesheet('/css/mdreview.css');
<div class="info">相关数据:《<a href="/data/<?= $v['uuid']?>"><?= $v['title']?></a></div>
<?php } } ?>
<div class="media">
<?php
<div class="pull-left">
<?php echo $this->infos['body'];?>
</div>
<?php
if(!empty($this->infos['image']))
{
echo ' <a class="inline" href="#"><img class="inline span3" src="'.$this->infos['image'].'" data-src="holder.js/128x128" /></a>';
}
?>
<div class="pull-left">
<?php echo $this->infos['body'];?>
</div>
</div>
</div>
</div>
<script>
$('.archive_content img').css("max-width",$('#archive_body').width());
</script>