Copyright (C) 2005 James Grant Copyright (C) 2007 David Grant This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ?> 1) { $str=''; foreach(array_keys($u['roles']) as $r) { $str.= (($str=='')?'':', ').i18n($roles[$r]['name']); } // echo notice(i18n('This user has multiple roles, the fields shown below are a combination of every role. Some may not apply to some roles. This user has the following roles:').' '.$str); } ?>

-


*/ ?> */ ?>
Name
Address
" />
Phone
" />
Other Information
"; echo "".i18n("Email (Private)").":\n"; echo "".i18n("Display Emails").":"; if($u['displayemail']=="no") $checked="checked=\"checked\""; else $checked=""; echo "".i18n("No"); echo "     "; if($u['displayemail']=="yes") $checked="checked=\"checked\""; else $checked=""; echo "".i18n("Yes"); if($_SESSION['superuser'] == 'yes') { /* If the user is a committee member, only print these fields * if the editer has super access */ echo "
"; echo "".i18n("Access Controls").":"; $ch = (array_key_exists('admin',$u['roles'])) ? 'checked="checked"' : ''; echo " ".i18n("Administration")."
"; $ch = (array_key_exists('config',$u['roles'])) ? 'checked="checked"' : ''; echo " ".i18n("Configuration")."
"; $ch = ($u['superuser']=="yes") ? 'checked="checked"' : ''; echo " ".i18n("Superuser")."
"; echo ""; } echo ''; } function vreq($field) { global $required; /* Return 'true' or 'false' as text for the * validator plugin to use for the 'required' param */ if(in_array($field, $required)) return 'true'; return 'false'; } ?> " />