Permalink
Browse files

MDL-35130 shibboleth: remove hard-coded string

  • Loading branch information...
1 parent b943d77 commit 3ee53f7e7fc6b3a1823c9af31f3f73d7d50bde38 @mackensen mackensen committed with danpoltawski Aug 29, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −2 auth/shibboleth/index_form.html
  2. +1 −0 auth/shibboleth/lang/en/auth_shibboleth.php
@@ -40,8 +40,7 @@
</form>
<p>
<?php
- print_string("auth_shibboleth_contact_administrator", "auth_shibboleth");
- echo '<a href="mailto:'.get_admin()->email.'"> Moodle Administrator</a>.';
+ print_string("auth_shib_contact_administrator", "auth_shibboleth", get_admin()->email);
?>
</p>
</div>
@@ -25,6 +25,7 @@
$string['auth_shib_auth_method'] = 'Authentication method name';
$string['auth_shib_auth_method_description'] = 'Provide a name for the Shibboleth authentication method that is familiar to your users. This could be the name of your Shibboleth federation, e.g. <tt>SWITCHaai Login</tt> or <tt>InCommon Login</tt> or similar.';
+$string['auth_shib_contact_administrator'] = 'In case you are not associated with the given organizations and you need access to a course on this server, please contact the <a href="mailto:{$a}">Moodle Administrator</a>.';
$string['auth_shibboleth_contact_administrator'] = 'In case you are not associated with the given organizations and you need access to a course on this server, please contact the';
$string['auth_shibbolethdescription'] = 'Using this method users are created and authenticated using <a href="http://shibboleth.internet2.edu/">Shibboleth</a>.<br />Be sure to read the <a href="../auth/shibboleth/README.txt">README</a> for Shibboleth on how to set up your Moodle with Shibboleth';
$string['auth_shibboleth_errormsg'] = 'Please select the organization you are member of!';

0 comments on commit 3ee53f7

Please sign in to comment.