]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
small debugging and messaging fixes
authorEvan Prodromou <evan@prodromou.name>
Wed, 18 Jun 2008 18:06:42 +0000 (14:06 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 18 Jun 2008 18:06:42 +0000 (14:06 -0400)
darcs-hash:20080618180642-84dde-1e8ee16d2b6497c71854486a687545d948340d69.gz

actions/finishaddopenid.php
actions/openidsettings.php

index 4f167e9efc9e002c68f0cb90d7b45ad9fc2d1eae..f2965f0e4625da82066ce2a2abf484a651716ba9 100644 (file)
@@ -69,9 +69,10 @@ class FinishaddopenidAction extends Action {
                                $this->message(_t('This OpenID is already associated with user "') . $other->nickname . _t('"'));
                        } else {
                                $cur =& common_current_user();
+                               common_debug('cur = ' .print_r($cur, TRUE), __FILE__);
                                $result = oid_link_user($cur->id, $display, $canonical);
                                if (!$result) {
-                                       $this->message(_t('Error connecting user'));
+                                       $this->message(_t('Error connecting user.'));
                                        return;
                                }
                                if ($sreg) {
index 0737f214848d2fb56db3ab89aec98663f1ce40c3..742ef2757bdab35bca387f7b03a2a90c07501bb3 100644 (file)
@@ -65,7 +65,7 @@ class OpenidsettingsAction extends SettingsAction {
                        
                        common_element('h2', NULL, _t('OpenID'));
                        common_element('p', NULL,
-                                                  _t('You can remove an OpenID from your account ',
+                                                  _t('You can remove an OpenID from your account '.
                                                          'by clicking the button marked "Delete" next to it.'));
                        $idx = 0;