]> git.mxchange.org Git - friendica.git/commitdiff
deny link not clickable on admin approval notification page
authorFriendika <info@friendika.com>
Fri, 20 May 2011 22:11:36 +0000 (15:11 -0700)
committerFriendika <info@friendika.com>
Fri, 20 May 2011 22:11:36 +0000 (15:11 -0700)
addon/statusnet/statusnet.php
boot.php
mod/notifications.php

index 358291d294708e775e4cf5221e9543d6b47071a8..1d12292c856ba18690df70c7a2ebebd2aeaba25e 100644 (file)
@@ -123,7 +123,7 @@ function statusnet_settings_post ($a,$post) {
                     notice( t('We could not contact the StatusNet API with the Path you entered.').EOL );
                 }
             }
-            header('Location: '.$a->get_baseurl().'/settings/addon');
+            goaway($a->get_baseurl().'/settings/addon');
         } else {
        if (isset($_POST['statusnet-pin'])) {
            //  if the user supplied us with a PIN from Twitter, let the magic of OAuth happen
@@ -141,7 +141,7 @@ function statusnet_settings_post ($a,$post) {
            set_pconfig(local_user(),'statusnet', 'oauthsecret', $token['oauth_token_secret']);
             set_pconfig(local_user(),'statusnet', 'post', 1);
             //  reload the Addon Settings page, if we don't do it see Bug #42
-            header('Location: '.$a->get_baseurl().'/settings/addon');
+            goaway($a->get_baseurl().'/settings/addon');
        } else {
            //  if no PIN is supplied in the POST variables, the user has changed the setting
            //  to post a tweet for every new __public__ posting to the wall
index 66a76f49d22980726950344e1ce8c40e9c7e0f46..73aa4df6355b402a585b16ec9832fa623c02fca8 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -4,7 +4,7 @@ set_time_limit(0);
 ini_set('pcre.backtrack_limit', 250000);
 
 
-define ( 'FRIENDIKA_VERSION',      '2.2.985' );
+define ( 'FRIENDIKA_VERSION',      '2.2.986' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.21'    );
 define ( 'DB_UPDATE_VERSION',      1054      );
 
index fa5165b0bb5951d1205c101805e32676349205d5..b860f601867c0f97a470edce5c35db10726432d2 100644 (file)
@@ -151,7 +151,7 @@ function notifications_content(&$a) {
                        foreach($r as $rr) {
                                $o .= '<li>' . sprintf('%s (%s) : ', $rr['name'],$rr['email']) 
                                        . '<a href="regmod/allow/' . $rr['hash'] .'">' . t('Approve') 
-                                       . '</a> - <href="regmod/deny/' . $rr['hash'] . '">' . t('Deny') . '</a></li>' . "\r\n";
+                                       . '</a> - <href="regmod/deny/' . $rr['hash'] . '">' . t('Deny') . '</a></li>' . "\r\n";
                        }
                        $o .= "</ul>";
                }