diff options
author | alecpl <alec@alec.pl> | 2009-06-20 13:21:10 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-06-20 13:21:10 +0000 |
commit | 4534ab8771aa563ba7628b78e2321a4322a13a9e (patch) | |
tree | abfdfa01fb22eb2a2c069169c6d9f9ff188e57df /plugins/password/password.php | |
parent | 70306a4c75ddd70eb4886496df2bee63e0b09ac4 (diff) |
- Password plugin: added poppassd driver
Diffstat (limited to 'plugins/password/password.php')
-rw-r--r-- | plugins/password/password.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/password/password.php b/plugins/password/password.php index 050053981..e97fa7d5d 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -3,7 +3,7 @@ /* +-------------------------------------------------------------------------+ | Password Plugin for Roundcube | - | Version 1.2 | + | Version 1.3 | | | | Copyright (C) 2009, RoundCube Dev. - Switzerland | | | @@ -30,6 +30,7 @@ define('PASSWORD_CRYPT_ERROR', 1); define('PASSWORD_ERROR', 2); +define('PASSWORD_CONNECT_ERROR', 3); define('PASSWORD_SUCCESS', 0); class password extends rcube_plugin @@ -192,7 +193,9 @@ class password extends rcube_plugin case PASSWORD_SUCCESS: return; case PASSWORD_CRYPT_ERROR; - return $this->gettext('nocryptfunction'); + return $this->gettext('crypterror'); + case PASSWORD_CONNECT_ERROR; + return $this->gettext('connecterror'); case PASSWORD_ERROR: default: return $this->gettext('internalerror'); |