fix style problem

This commit is contained in:
wlx 2013-04-21 03:05:34 +00:00
parent 2ed2911026
commit 511f2178ff
3 changed files with 7 additions and 10 deletions

View File

@ -1587,7 +1587,7 @@ class AuthorController extends Zend_Controller_Action
$uuid = $this->_request->getParam('uuid');
if(preg_match("/^[0-9A-Za-z]{8}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{12}$/",$uuid))
{
$sql = "SELECT u.realname,u.unit,u.email,m.title,m.description FROM normalmetadata m
$sql = "SELECT u.realname,u.unit,u.email,m.title,m.uuid FROM normalmetadata m
LEFT JOIN mdauthor a ON m.uuid=a.uuid
LEFT JOIN users u ON u.id=a.userid
WHERE status>=0 AND m.uuid=? AND a.status=1

View File

@ -12,16 +12,11 @@ $this->breadcrumb('<a href="/author/accept">我的数据</a>');
$this->breadcrumb('邮件通知');
$this->breadcrumb()->setSeparator(' > ');
?>
<!-- 左侧导航 -->
<div id='sidebar'>
<div id='leftnavi'>
<?= $this->partial('author/navi.phtml'); ?>
<div class="row">
<div class="span3">
<?= $this->partial('author/navi.phtml'); ?>
</div>
</div>
<!-- //左侧导航 -->
<!-- 页面内容 -->
<div id="wapper">
<div class="span9">
<?php
if(!empty($this->error))
{
@ -60,6 +55,7 @@ $this->breadcrumb()->setSeparator(' > ');
}
?>
</div>
</div>
<!-- //页面内容 -->
<script>
$('#wapper').width($('body').width()-300);

View File

@ -21,6 +21,7 @@ $this->breadcrumb()->setSeparator(' > ');
echo $this->error;
}
?>
<h3><a href="/data/<?php echo $this->paginator[0]['uuid']; ?>"><?php echo $this->paginator[0]['title']; ?></a></h3>
<div class="well">
<?php
if (count($this->paginator)):