修改用户管理相关内容
This commit is contained in:
parent
798bf669da
commit
4833a99d8a
|
@ -2,20 +2,20 @@
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('后台管理');
|
$this->headTitle('后台管理');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin/">后台首页</a>');
|
$this->breadcrumb('<a href="/admin/">后台首页</a>');
|
||||||
$this->breadcrumb('<a href="/admin/user">用户管理</a>');
|
$this->breadcrumb('<a href="/admin/user">用户管理</a>');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id="leftPanel">
|
<div class="row-fluid">
|
||||||
|
<div class="span3">
|
||||||
<?= $this->partial('user/left.phtml'); ?>
|
<?= $this->partial('user/left.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="rightPanel">
|
<div class="span9">
|
||||||
<div class="title">管理员列表</div>
|
<div class="title">管理员列表</div>
|
||||||
<div class=""><a href="/admin/user/adminlist/ac/sync">同步管理员到geonetwork</a></div>
|
<div class=""><a href="/admin/user/adminlist/ac/sync">同步管理员到geonetwork</a></div>
|
||||||
<table>
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td width='150'>用户名</td>
|
<td width='150'>用户名</td>
|
||||||
|
@ -45,3 +45,4 @@
|
||||||
</table>
|
</table>
|
||||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
|
@ -44,11 +44,11 @@ class Users extends \Zend_Controller_Plugin_Abstract
|
||||||
$this->usertype = array(
|
$this->usertype = array(
|
||||||
'普通会员' => 'member',
|
'普通会员' => 'member',
|
||||||
'系统管理员' => 'administrator',
|
'系统管理员' => 'administrator',
|
||||||
'青海省气象科学研究所' => '',
|
'青海省气象科学研究所' => 'meteorologic',
|
||||||
'青海省环境监测中心站' => '',
|
'青海省环境监测中心站' => 'environment',
|
||||||
'青海省水土保持局' => '',
|
'青海省水土保持局' => 'watersoil',
|
||||||
'青海省林业调查规划院' => '',
|
'青海省林业调查规划院' => 'forestry',
|
||||||
'青海省水文水资源局' => ''
|
'青海省水文水资源局' => 'hydrology'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,6 +69,11 @@ class Users extends \Zend_Controller_Plugin_Abstract
|
||||||
return $rows;
|
return $rows;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getUserInfo($id)
|
||||||
|
{
|
||||||
|
return $this->getUser($id);
|
||||||
|
}
|
||||||
|
|
||||||
//通过email地址返回用户信息是否存在
|
//通过email地址返回用户信息是否存在
|
||||||
public function userExists($email = NULL)
|
public function userExists($email = NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue