fix style problem
This commit is contained in:
parent
2ed2911026
commit
511f2178ff
|
@ -1587,7 +1587,7 @@ class AuthorController extends Zend_Controller_Action
|
||||||
$uuid = $this->_request->getParam('uuid');
|
$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))
|
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 mdauthor a ON m.uuid=a.uuid
|
||||||
LEFT JOIN users u ON u.id=a.userid
|
LEFT JOIN users u ON u.id=a.userid
|
||||||
WHERE status>=0 AND m.uuid=? AND a.status=1
|
WHERE status>=0 AND m.uuid=? AND a.status=1
|
||||||
|
|
|
@ -12,16 +12,11 @@ $this->breadcrumb('<a href="/author/accept">我的数据</a>');
|
||||||
$this->breadcrumb('邮件通知');
|
$this->breadcrumb('邮件通知');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<!-- 左侧导航 -->
|
<div class="row">
|
||||||
<div id='sidebar'>
|
<div class="span3">
|
||||||
<div id='leftnavi'>
|
<?= $this->partial('author/navi.phtml'); ?>
|
||||||
<?= $this->partial('author/navi.phtml'); ?>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="span9">
|
||||||
<!-- //左侧导航 -->
|
|
||||||
|
|
||||||
<!-- 页面内容 -->
|
|
||||||
<div id="wapper">
|
|
||||||
<?php
|
<?php
|
||||||
if(!empty($this->error))
|
if(!empty($this->error))
|
||||||
{
|
{
|
||||||
|
@ -60,6 +55,7 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<!-- //页面内容 -->
|
<!-- //页面内容 -->
|
||||||
<script>
|
<script>
|
||||||
$('#wapper').width($('body').width()-300);
|
$('#wapper').width($('body').width()-300);
|
||||||
|
|
|
@ -21,6 +21,7 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
echo $this->error;
|
echo $this->error;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
<h3><a href="/data/<?php echo $this->paginator[0]['uuid']; ?>"><?php echo $this->paginator[0]['title']; ?></a></h3>
|
||||||
<div class="well">
|
<div class="well">
|
||||||
<?php
|
<?php
|
||||||
if (count($this->paginator)):
|
if (count($this->paginator)):
|
||||||
|
|
Loading…
Reference in New Issue