Rev 428 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 428 | Rev 432 | ||
---|---|---|---|
Line 178... | Line 178... | ||
178 | $out['icon'] = 'img/error_big.png'; |
178 | $out['icon'] = 'img/error_big.png'; |
179 | $out['text'] = '<p>'._L('This functionality has been disabled by the administrator.').'</p>'; |
179 | $out['text'] = '<p>'._L('This functionality has been disabled by the administrator.').'</p>'; |
180 | return; |
180 | return; |
181 | } |
181 | } |
182 | 182 | ||
- | 183 | $out['text'] .= '<p>'._L('Attention! Do NOT change your email address if you have logged in using Google/LDAP and not yet created an individual password (for regular login), otherwise you will lose access to your account!').'</p>'; |
|
- | 184 | ||
183 | if (OIDplus::authUtils()::isAdminLoggedIn()) { |
185 | if (OIDplus::authUtils()::isAdminLoggedIn()) { |
184 | $out['text'] .= '<form id="changeRaEmailForm" action="javascript:void(0);" action="javascript:void(0);" onsubmit="return changeRaEmailFormOnSubmit(true);">'; |
186 | $out['text'] .= '<form id="changeRaEmailForm" action="javascript:void(0);" action="javascript:void(0);" onsubmit="return changeRaEmailFormOnSubmit(true);">'; |
185 | $out['text'] .= '<input type="hidden" id="old_email" value="'.htmlentities($ra_email).'"/><br>'; |
187 | $out['text'] .= '<input type="hidden" id="old_email" value="'.htmlentities($ra_email).'"/><br>'; |
186 | $out['text'] .= '<div><label class="padding_label">'._L('Old address').':</label><b>'.htmlentities($ra_email).'</b></div>'; |
188 | $out['text'] .= '<div><label class="padding_label">'._L('Old address').':</label><b>'.htmlentities($ra_email).'</b></div>'; |
187 | $out['text'] .= '<div><label class="padding_label">'._L('New address').':</label><input type="text" id="new_email" value=""/></div>'; |
189 | $out['text'] .= '<div><label class="padding_label">'._L('New address').':</label><input type="text" id="new_email" value=""/></div>'; |