Skip to content

Commit

Permalink
MDL-35130 shibboleth: remove hard-coded string
Browse files Browse the repository at this point in the history
  • Loading branch information
mackensen committed Dec 20, 2012
1 parent 2075186 commit 63f329c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions auth/shibboleth/index_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ <h2><?php
</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>
Expand Down
1 change: 1 addition & 0 deletions auth/shibboleth/lang/en/auth_shibboleth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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!';
Expand Down

0 comments on commit 63f329c

Please sign in to comment.