]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/remotesubscribe.php
do some commits
[quix0rs-gnu-social.git] / actions / remotesubscribe.php
index 739c92eea51821540f61c18b86e0bc5e62a3f558..b676484cd8fde58626d38fe968b098567b894482 100644 (file)
@@ -41,7 +41,7 @@ class RemotesubscribeAction extends Action {
 
        function show_form($err=NULL) {
                $nickname = $this->trimmed('nickname');
-               $profile = $this->trimmed('profile');
+               $profile = $this->trimmed('profile_url');
                common_show_header(_t('Remote subscribe'));
                if ($err) {
                        common_element('div', 'error', $err);
@@ -50,7 +50,7 @@ class RemotesubscribeAction extends Action {
                                                                                   'action' => common_local_url('remotesubscribe')));
                common_input('nickname', _t('User nickname'), $nickname,
                                         _t('Nickname of the user you want to follow'));
-               common_input('profile', _t('Profile URL'), $profile,
+               common_input('profile_url', _t('Profile URL'), $profile,
                                         _t('URL of your profile on another compatible microblogging service'));
                common_submit('submit', _t('Subscribe'));
                common_element_end('form');
@@ -65,7 +65,7 @@ class RemotesubscribeAction extends Action {
                        return;
                }
 
-               $profile = $this->trimmed('profile');
+               $profile = $this->trimmed('profile_url');
 
                if (!$profile) {
                        $this->show_form(_t('No such user!'));