summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-06-26 10:42:56 +0200
committerAleksander Machniak <alec@alec.pl>2014-06-26 10:42:56 +0200
commit1a3132366e42a514ea9c471928eef8a63953125a (patch)
treecc69619cdbf4c0ec41e897a2e357112703b3643f
parentd26a895aec3b70ec66ad9ce9c47831eab5dd2dc0 (diff)
After PR merge code cleanup
-rw-r--r--plugins/password/password.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/plugins/password/password.php b/plugins/password/password.php
index cdea0ab25..0db57afc6 100644
--- a/plugins/password/password.php
+++ b/plugins/password/password.php
@@ -227,20 +227,20 @@ class password extends rcube_plugin
$table->add(null, $input_confpasswd->show());
$rules = '';
-
+
$required_length = intval($rcmail->config->get('password_minimum_length'));
- if($required_length > 0) {
+ if ($required_length > 0) {
$rules .= html::tag('li', array('id' => 'required-length'), $this->gettext(array(
- 'name' => 'passwordshort',
+ 'name' => 'passwordshort',
'vars' => array('length' => $required_length)
- )));
+ )));
}
-
- if($rcmail->config->get('password_require_nonalpha')) {
+
+ if ($rcmail->config->get('password_require_nonalpha')) {
$rules .= html::tag('li', array('id' => 'require-nonalpha'), $this->gettext('passwordweak'));
}
-
- if(!empty($rules)) {
+
+ if (!empty($rules)) {
$rules = html::tag('ul', array('id' => 'ruleslist'), $rules);
}
@@ -251,16 +251,16 @@ class password extends rcube_plugin
html::p(null,
$rcmail->output->button(array(
'command' => 'plugin.password-save',
- 'type' => 'input',
- 'class' => 'button mainaction',
- 'label' => 'save'
+ 'type' => 'input',
+ 'class' => 'button mainaction',
+ 'label' => 'save'
)))));
$rcmail->output->add_gui_object('passform', 'password-form');
return $rcmail->output->form_tag(array(
- 'id' => 'password-form',
- 'name' => 'password-form',
+ 'id' => 'password-form',
+ 'name' => 'password-form',
'method' => 'post',
'action' => './?_task=settings&_action=plugin.password-save',
), $out);