aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-11-25 21:50:13 +0000
committerChad Little <clittle@users.sourceforge.net>2003-11-25 21:50:13 +0000
commit3296fc0d10a3f794541a9ff162490b6164e6a59d (patch)
tree616d694ed4bccd2b385ffd79c3f25a9b9f1b14cd /includes
parentf710d18cd36186829a9298311bbcf676a5f4825c (diff)
downloadphpicalendar-3296fc0d10a3f794541a9ff162490b6164e6a59d.tar.gz
phpicalendar-3296fc0d10a3f794541a9ff162490b6164e6a59d.tar.bz2
phpicalendar-3296fc0d10a3f794541a9ff162490b6164e6a59d.zip
Added translations to login
Diffstat (limited to 'includes')
-rw-r--r--includes/login.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/includes/login.php b/includes/login.php
index 06b7381..5df5d01 100644
--- a/includes/login.php
+++ b/includes/login.php
@@ -16,28 +16,31 @@
}
echo '<input type="hidden" name="'.$key.'" value="'.$HTTP_GET_VARS[$key].'">';
}
+
+ // For Wesley
+ $login_message = ($user_passed == TRUE) ? $invalid_login_lang : $login_lang;
echo <<<END
<table cellpadding="0" cellspacing="0" border="0" width="{$login_width}" class="calborder">
<tr>
- <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">Login</div></td>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{$login_message}</div></td>
</tr>
<tr>
<td align="left" class="G10B">
<div style="padding: 5px;">
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
- <td width="5%">Username:</td>
+ <td width="5%">{$username_lang}:</td>
<td width="95%"><input class="login_style" type="text" size="8" name="username"></td>
</tr>
<tr>
<td>Password:</td>
- <td><input class="login_style" type="password" size="8" name="password"></td>
+ <td><input class="login_style" type="{$password_lang}" size="8" name="password"></td>
</tr>
<tr>
<td>&nbsp;</td>
- <td><input class="login_style" type="submit" value="Login"></td>
+ <td><input class="login_style" type="submit" value="{$login_lang}"></td>
</tr>
</table>
</div>

© 2014-2022 Faster IT GmbH | imprint | privacy policy