示例#1
0
文件: admin.php 项目: negram/flyspray
 /**
  * area_user
  *
  * @access public
  * @return void
  */
 function area_user()
 {
     global $db, $page;
     $id = Flyspray::ValidUserId(Req::val('user_id'));
     $theuser = new User($id);
     if ($theuser->isAnon()) {
         FlysprayDo::error(array(ERROR_INPUT, L('error5')));
     }
     $page->assign('all_groups', Flyspray::listallGroups($theuser->id));
     $page->assign('groups', Flyspray::listGroups());
     $page->assign('theuser', $theuser);
 }