实现联系人的邮件联系链接
This commit is contained in:
parent
0c729f8c51
commit
2ed4e31227
|
@ -597,7 +597,7 @@ class DataController extends Zend_Controller_Action
|
||||||
$sql=$db->quoteInto($sql,$uuid);
|
$sql=$db->quoteInto($sql,$uuid);
|
||||||
$this->view->ref=$db->fetchAll($sql);
|
$this->view->ref=$db->fetchAll($sql);
|
||||||
//相关用户
|
//相关用户
|
||||||
$sql="select p.individual,p.organisation,r.role from role r left join responsible p on r.resid=p.id where r.uuid=? order by r.role,r.id";
|
$sql="select p.email,p.individual,p.organisation,r.role from role r left join responsible p on r.resid=p.id where r.uuid=? order by r.role,r.id";
|
||||||
$this->view->authors=$db->fetchAll($sql,array($uuid));
|
$this->view->authors=$db->fetchAll($sql,array($uuid));
|
||||||
//数据限制信息
|
//数据限制信息
|
||||||
$sql="select u.* from uselimit u left join mdlimit m on u.id=m.lid where m.uuid=?";
|
$sql="select u.* from uselimit u left join mdlimit m on u.id=m.lid where m.uuid=?";
|
||||||
|
|
|
@ -121,12 +121,12 @@ if ($author['role']!=$r)
|
||||||
}
|
}
|
||||||
if ($i>0) echo ',';
|
if ($i>0) echo ',';
|
||||||
$i+=1;
|
$i+=1;
|
||||||
echo '<strong title="'.$author['organisation'].'">';
|
echo '<a href="mailto:'.$author['email'].'"><strong title="'.$author['organisation'].'">';
|
||||||
if (!empty($author['individual']))
|
if (!empty($author['individual']))
|
||||||
echo $author['individual'];
|
echo $author['individual'];
|
||||||
else
|
else
|
||||||
echo $author['organisation'];
|
echo $author['organisation'];
|
||||||
echo '</strong>';
|
echo '</strong></a>';
|
||||||
if ($k+1==count($this->authors)) echo '</li>';
|
if ($k+1==count($this->authors)) echo '</li>';
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue