Rev 1267 | Rev 1293 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1267 | Rev 1288 | ||
---|---|---|---|
Line 257... | Line 257... | ||
257 | if (!function_exists('ldap_connect')) { |
257 | if (!function_exists('ldap_connect')) { |
258 | throw new OIDplusException(_L('PHP extension "%1" not installed','LDAP'), $out['title']); |
258 | throw new OIDplusException(_L('PHP extension "%1" not installed','LDAP'), $out['title']); |
259 | } |
259 | } |
260 | 260 | ||
261 | $out['text'] = '<noscript>'; |
261 | $out['text'] = '<noscript>'; |
262 | $out['text'] .= '<p>'._L('You need to enable JavaScript to use the login area.').'</p>'; |
262 | $out['text'] .= '<p><font color="red">'._L('You need to enable JavaScript to use the login area.').'</font></p>'; |
263 | $out['text'] .= '</noscript>'; |
263 | $out['text'] .= '</noscript>'; |
264 | 264 | ||
265 | $out['text'] .= '<div id="loginLdapArea" style="visibility: hidden">'; |
265 | $out['text'] .= '<div id="loginLdapArea" style="visibility: hidden">'; |
266 | 266 | ||
267 | $out['text'] .= OIDplus::getActiveCaptchaPlugin()->captchaGenerate(_L('Before logging in, please solve the following CAPTCHA')); |
267 | $out['text'] .= OIDplus::getActiveCaptchaPlugin()->captchaGenerate(_L('Before logging in, please solve the following CAPTCHA')); |