Subversion Repositories oidplus

Rev

Rev 1305 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1305 Rev 1359
Line 263... Line 263...
263
                        if (!function_exists('ldap_connect')) {
263
                        if (!function_exists('ldap_connect')) {
264
                                throw new OIDplusException(_L('PHP extension "%1" not installed','LDAP'), $out['title']);
264
                                throw new OIDplusException(_L('PHP extension "%1" not installed','LDAP'), $out['title']);
265
                        }
265
                        }
266
 
266
 
267
                        $out['text']  = '<noscript>';
267
                        $out['text']  = '<noscript>';
268
                        $out['text'] .= '<p><font color="red">'._L('You need to enable JavaScript to use the login area.').'</font></p>';
268
                        $out['text'] .= '<p><font color="red">'._L('You need to enable JavaScript to use this feature.').'</font></p>';
269
                        $out['text'] .= '</noscript>';
269
                        $out['text'] .= '</noscript>';
270
 
270
 
271
                        $out['text'] .= '<div id="loginLdapArea" style="visibility: hidden">';
271
                        $out['text'] .= '<div id="loginLdapArea" style="visibility: hidden">';
272
 
272
 
273
                        $out['text'] .= OIDplus::getActiveCaptchaPlugin()->captchaGenerate(_L('Before logging in, please solve the following CAPTCHA'));
273
                        $out['text'] .= OIDplus::getActiveCaptchaPlugin()->captchaGenerate(_L('Before logging in, please solve the following CAPTCHA'));