%s %s',_('Authenticate to server'),$app['server']->getName()); echo '
'; # Check for a secure connection if (! isset($_SERVER['HTTPS']) || strtolower($_SERVER['HTTPS']) != 'on') { 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 ''; printf('',$app['server']->getIndex()); if (get_request('redirect','GET',false,false)) printf('',rawurlencode(get_request('redirect','GET'))); echo '
'; echo ''; printf('', $app['server']->getValue('login','auth_text') ? $app['server']->getValue('login','auth_text') : ($app['server']->getValue('login','attr') == 'dn' ? _('Login DN') : $_SESSION[APPCONFIG]->getFriendlyName($app['server']->getValue('login','attr')))); printf('', $app['server']->getValue('login','attr',false) == 'dn' ? $app['server']->getValue('login','bind_id') : ''); echo ''; printf('',_('Password')); echo ''; echo ''; if (method_exists($app['server'],'registerEnabled') && $app['server']->registerEnabled()) { printf('','cmd.php?cmd=register_form',IMGDIR.'add.png',_('Register')); echo ''; } # If Anon bind allowed, then disable the form if the user choose to bind anonymously. if ($app['server']->isAnonBindAllowed()) printf('', _('Anonymous')); printf('', _('Authenticate')); echo '
%s:
 
%s:
 
 %s
 
%s
'; echo '
'; echo '
'; echo ''; if ($app['server']->isAnonBindAllowed() ) { ?>