Rev 1008 | Rev 1033 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1008 | Rev 1029 | ||
---|---|---|---|
Line 226... | Line 226... | ||
226 | 226 | ||
227 | return in_array(OIDplus::getSystemId(false), $list); |
227 | return in_array(OIDplus::getSystemId(false), $list); |
228 | } |
228 | } |
229 | 229 | ||
230 | public function sendRegistrationQuery($privacy_level=null) { |
230 | public function sendRegistrationQuery($privacy_level=null) { |
- | 231 | ||
231 | if (is_null($privacy_level)) { |
232 | if (is_null($privacy_level)) { |
232 | $privacy_level = OIDplus::config()->getValue('reg_privacy'); |
233 | $privacy_level = OIDplus::config()->getValue('reg_privacy'); |
233 | } |
234 | } |
234 | 235 | ||
235 | $system_url = OIDplus::webpath(null,OIDplus::PATH_ABSOLUTE_CANONICAL); |
236 | $system_url = OIDplus::webpath(null,OIDplus::PATH_ABSOLUTE_CANONICAL); |
Line 606... | Line 607... | ||
606 | } catch (Exception $e) { |
607 | } catch (Exception $e) { |
607 | $msg = $e->getMessage(); |
608 | $msg = $e->getMessage(); |
608 | $errors_happened = true; |
609 | $errors_happened = true; |
609 | } |
610 | } |
610 | } |
611 | } |
611 | echo ' <font color="red"><b>'.$msg.'</b></font>'; |
612 | if (!empty($msg)) echo ' <font color="red"><b>'.$msg.'</b></font>'; |
612 | 613 | ||
613 | echo '<p>'._L('<i>Privacy information:</i> This setting can always be changed in the administrator login / control panel.').'<br>'; |
614 | echo '<p>'._L('<i>Privacy information:</i> This setting can always be changed in the administrator login / control panel.').'<br>'; |
614 | echo _L('<a %1>Click here</a> for more information about privacy related topics.','href="../../../../res/OIDplus/privacy_documentation.html" target="_blank"'); |
615 | echo _L('<a %1>Click here</a> for more information about privacy related topics.','href="../../../../res/OIDplus/privacy_documentation.html" target="_blank"'); |
615 | echo '</p>'; |
616 | echo '</p>'; |
616 | } |
617 | } |