/**
  * 将站点添加到用户组的编辑页面
  * @author 朱亚杰 <*****@*****.**>
  */
 public function site()
 {
     $auth_group = M('AuthGroup')->where(array('status' => array('egt', '0'), 'module' => 'admin', 'type' => AuthGroupModel::TYPE_ADMIN))->getfield('id,id,title,rules');
     $authed_group = AuthGroupModel::getSiteOfGroup(I('group_id'));
     $this->assign('authed_group', implode(',', (array) $authed_group));
     $this->assign('auth_group', $auth_group);
     $this->assign('this_group', $auth_group[(int) $_GET['group_id']]);
     $this->meta_title = '站点授权';
     $this->display();
 }