auth_type, array('cookie','session')))
pla_error(sprintf(_('Unknown auth_type: %s'),htmlspecialchars($ldapserver->auth_type)));
printf('
%s %s
',_('Authenticate to server'),$ldapserver->name);
# Check for a secure connection
if (! isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] != 'on') {
echo '
';
echo '';
echo '';
printf('%s: %s.',
_('You are not using \'https\'. Web browser will transmit login information in clear text.'),
_('Warning'),_('This web connection is unencrypted'));
echo '';
echo '';
echo '
';
}
# Login form.
echo '';
echo '';
if( $ldapserver->isAnonBindAllowed() ) { ?>