Skip to content
Snippets Groups Projects
Commit 78d90fa2 authored by Enrique de la Hoz's avatar Enrique de la Hoz
Browse files

Added multilanguage support

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@489 44740490-163a-0410-bde0-09ae8108e29a
parent 426d8975
No related branches found
No related tags found
No related merge requests found
...@@ -9,16 +9,16 @@ ...@@ -9,16 +9,16 @@
<?php if (isset($this->data['error'])) { ?> <?php if (isset($this->data['error'])) { ?>
<div style="border-left: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; background: #f5f5f5" <div style="border-left: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; background: #f5f5f5"
<img src="/<?php echo $this->data['baseurlpath']; ?>resources/icons/bomb.png" style="float: left; margin: 15px " /> <img src="/<?php echo $this->data['baseurlpath']; ?>resources/icons/bomb.png" style="float: left; margin: 15px " />
<h2>What you entered was not accepted!</h2> <h2><?php echo $this->t('error_header'); ?></h2>
<p><?php echo htmlspecialchars($this->data['error']); ?> </p> <p><?php echo htmlspecialchars($this->data['error']); ?> </p>
</div> </div>
<?php } ?> <?php } ?>
<h2 style="break: both">Enter your username and password</h2> <h2 style="break: both"><?php echo $this->t('user_pass_header'); ?></h2>
<p> <p>
A service has requested you to authenticate your self. That means you need to enter your username and password in the form below. <?php echo $this->t('user_pass_text'); ?>
</p> </p>
<form action="?" method="post" name="f"> <form action="?" method="post" name="f">
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<table> <table>
<tr> <tr>
<td rowspan="3"><img src="/<?php echo $this->data['baseurlpath']; ?>resources/icons/pencil.png" /></td> <td rowspan="3"><img src="/<?php echo $this->data['baseurlpath']; ?>resources/icons/pencil.png" /></td>
<td style="padding: .3em;">Username</td> <td style="padding: .3em;"><?php echo $this->t('username'); ?></td>
<td><input type="text" tabindex="1" name="username" <td><input type="text" tabindex="1" name="username"
<?php if (isset($this->data['username'])) { <?php if (isset($this->data['username'])) {
echo 'value="' . htmlspecialchars($this->data['username']) . '"'; echo 'value="' . htmlspecialchars($this->data['username']) . '"';
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</tr> </tr>
<tr> <tr>
<td style="padding: .3em;">Organization</td> <td style="padding: .3em;"><?php echo $this->t('organization'); ?></td>
<td><select name="org" tabindex="2"> <td><select name="org" tabindex="2">
<?php <?php
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</tr> </tr>
<tr> <tr>
<td style="padding: .3em;">Password</td> <td style="padding: .3em;"><?php echo $this->t('password'); ?></td>
<td><input type="password" tabindex="2" name="password" /></td> <td><input type="password" tabindex="2" name="password" /></td>
</tr> </tr>
</table> </table>
...@@ -64,14 +64,11 @@ ...@@ -64,14 +64,11 @@
</form> </form>
<h2>Help! I don't remember my password.</h2> <h2><?php echo $this->t('help_header'); ?>.</h2>
<p>Too bad! - Without your username and password you cannot authenticate your self and access the service. <p><?php echo $this->t('help_text'); ?>!</p>
There may be someone that can help you. Contact the help desk at your university!</p>
<h2>About simpleSAMLphp</h2>
<p>Hey! This simpleSAMLphp thing is pretty cool, where can I read more about it?
You can find more information about simpleSAMLphp at <a href="http://rnd.feide.no">the Feide RnD blog</a> over at <a href="http://uninett.no">UNINETT</a>.</p>
<?php $this->includeAtTemplateBase('includes/footer.php'); ?> <?php $this->includeAtTemplateBase('includes/footer.php'); ?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment