diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-07-11 18:42:50 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-07-11 19:02:35 +0100 |
| commit | 67536fc150c2e5eafb6fbd7c470a3f7602dd5995 (patch) | |
| tree | 84ef7452ced2f1eb63d580b054c4abe7f10a3fa1 /app/Module/LoginBlockModule.php | |
| parent | 27d8ace8641e895fc9d7b13f9335581ac4d72e1e (diff) | |
| download | webtrees-67536fc150c2e5eafb6fbd7c470a3f7602dd5995.tar.gz webtrees-67536fc150c2e5eafb6fbd7c470a3f7602dd5995.tar.bz2 webtrees-67536fc150c2e5eafb6fbd7c470a3f7602dd5995.zip | |
Fix #636 - Time zones
Diffstat (limited to 'app/Module/LoginBlockModule.php')
| -rw-r--r-- | app/Module/LoginBlockModule.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/Module/LoginBlockModule.php b/app/Module/LoginBlockModule.php index 9cb7b044a6..24bb4315be 100644 --- a/app/Module/LoginBlockModule.php +++ b/app/Module/LoginBlockModule.php @@ -67,9 +67,8 @@ class LoginBlockModule extends AbstractModule implements ModuleBlockInterface { } else { $title = I18N::translate('Login'); $content = '<div id="login-box"> - <form id="login-form" name="login-form" method="post" action="' . WT_LOGIN_URL . '" onsubmit="d=new Date(); this.timediff.value=-60*d.getTimezoneOffset();"> - <input type="hidden" name="action" value="login"> - <input type="hidden" name="timediff" value="">'; + <form id="login-form" name="login-form" method="post" action="' . WT_LOGIN_URL . '"> + <input type="hidden" name="action" value="login">'; $content .= '<div> <label for="username">' . I18N::translate('Username') . '<input type="text" id="username" name="username" class="formField"> |
