]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
slightly different from settingsaction
authorEvan Prodromou <evan@controlezvous.ca>
Tue, 24 Jun 2008 22:10:54 +0000 (18:10 -0400)
committerEvan Prodromou <evan@controlezvous.ca>
Tue, 24 Jun 2008 22:10:54 +0000 (18:10 -0400)
darcs-hash:20080624221054-34904-732acfe742c0b1c5e71b604660aa2e657c68a4d4.gz

actions/recoverpassword.php

index 4d1dd6f44b55cc5c108f4ef02e5fe8c792cf90b5..9be3c45806161785e6984f363c3b8341f77663d3 100644 (file)
@@ -82,7 +82,7 @@ class RecoverpasswordAction extends Action {
 
        function show_top($msg=NULL) {
                if ($msg) {
-                       $this->message($msg, $success);
+            common_element('div', 'error', $msg);
                } else {
                        common_element('div', 'instructions',
                                                   _t('If you\'ve forgotten or lost your' .
@@ -94,7 +94,7 @@ class RecoverpasswordAction extends Action {
 
        function show_password_top($msg=NULL) {
                if ($msg) {
-                       $this->message($msg, $success);
+            common_element('div', 'error', $msg);
                } else {
                        common_element('div', 'instructions',
                                                   _t('You\ve been identified . Enter a ' .