summaryrefslogtreecommitdiff
path: root/app/Module/LoginBlockModule.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-05-30 19:13:51 +0100
committerGreg Roach <fisharebest@gmail.com>2015-05-30 23:29:57 +0100
commitcbc1590a8c715aa2d88bd745610b899587bd9563 (patch)
tree8411c52737b981c7eff37ffcdd083902cb769141 /app/Module/LoginBlockModule.php
parentffd703ea1e658c7dcb5e5f1f9ef137a420f2d167 (diff)
downloadwebtrees-cbc1590a8c715aa2d88bd745610b899587bd9563.tar.gz
webtrees-cbc1590a8c715aa2d88bd745610b899587bd9563.tar.bz2
webtrees-cbc1590a8c715aa2d88bd745610b899587bd9563.zip
Code style
Diffstat (limited to 'app/Module/LoginBlockModule.php')
-rw-r--r--app/Module/LoginBlockModule.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/Module/LoginBlockModule.php b/app/Module/LoginBlockModule.php
index baa8b45796..0bc8a249ce 100644
--- a/app/Module/LoginBlockModule.php
+++ b/app/Module/LoginBlockModule.php
@@ -33,7 +33,7 @@ class LoginBlockModule extends AbstractModule implements ModuleBlockInterface {
/** {@inheritdoc} */
public function getBlock($block_id, $template = true, $cfg = null) {
global $controller;
- $id = $this->getName() . $block_id;
+ $id = $this->getName() . $block_id;
$class = $this->getName() . '_block';
$controller->addInlineJavascript('
jQuery("#new_passwd").hide();
@@ -55,24 +55,24 @@ 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();">
+ <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="">';
$content .= '<div>
- <label for="username">'. I18N::translate('Username') .
+ <label for="username">' . I18N::translate('Username') .
'<input type="text" id="username" name="username" class="formField">
</label>
</div>
<div>
- <label for="password">'. I18N::translate('Password') .
+ <label for="password">' . I18N::translate('Password') .
'<input type="password" id="password" name="password" class="formField">
</label>
</div>
<div>
- <input type="submit" value="'. I18N::translate('Login') . '">
+ <input type="submit" value="' . I18N::translate('Login') . '">
</div>
<div>
- <a href="#" id="passwd_click">'. I18N::translate('Request new password') . '</a>
+ <a href="#" id="passwd_click">' . I18N::translate('Request new password') . '</a>
</div>';
if (Site::getPreference('USE_REGISTRATION_MODULE')) {
$content .= '<div><a href="' . WT_LOGIN_URL . '?action=register">' . I18N::translate('Request new user account') . '</a></div>';
@@ -81,16 +81,16 @@ class LoginBlockModule extends AbstractModule implements ModuleBlockInterface {
// hidden New Password block
$content .= '<div id="new_passwd">
- <form id="new_passwd_form" name="new_passwd_form" action="'.WT_LOGIN_URL . '" method="post">
+ <form id="new_passwd_form" name="new_passwd_form" action="' . WT_LOGIN_URL . '" method="post">
<input type="hidden" name="time" value="">
<input type="hidden" name="action" value="requestpw">
- <h4>'. I18N::translate('Lost password request') . '</h4>
+ <h4>' . I18N::translate('Lost password request') . '</h4>
<div>
- <label for="new_passwd_username">'. I18N::translate('Username or email address') .
+ <label for="new_passwd_username">' . I18N::translate('Username or email address') .
'<input type="text" id="new_passwd_username" name="new_passwd_username" value="">
</label>
</div>
- <div><input type="submit" value="'. I18N::translate('continue') . '"></div>
+ <div><input type="submit" value="' . I18N::translate('continue') . '"></div>
</form>
</div>'; //"new_passwd"
$content .= '</div>'; //"login-box"