Username(translate('NewUser')); } $monitorIds = array_flip(explode(',', $newUser->MonitorIds())); $yesno = array( 0=>translate('No'), 1=>translate('Yes') ); $nv = array( 'None'=>translate('None'), 'View'=>translate('View') ); $nve = array( 'None'=>translate('None'), 'View'=>translate('View'), 'Edit'=>translate('Edit') ); $bandwidths = array_merge( array( ''=>'' ), $bandwidth_options ); $langs = array_merge( array( ''=>'' ), getLanguages() ); $sql = 'SELECT Id, Name FROM Monitors ORDER BY Sequence ASC'; $monitors = array(); foreach ( dbFetchAll($sql) as $monitor ) { if ( visibleMonitor($monitor['Id']) ) { $monitors[$monitor['Id']] = $monitor; } } $focusWindow = true; xhtmlHeaders(__FILE__, translate('User').' - '.$newUser->Username()); ?>