From: Evan Prodromou Date: Wed, 18 Jun 2008 17:16:22 +0000 (-0400) Subject: change references from subscribed to subscribers X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=78ac9df2a626fe1da4f9d864ca17ae19ee6d1c75;p=quix0rs-gnu-social.git change references from subscribed to subscribers darcs-hash:20080618171622-84dde-abe0986279b106ff651913d759828d6d945adf0f.gz --- diff --git a/actions/finishremotesubscribe.php b/actions/finishremotesubscribe.php index aca5f04fed..06fd3f52c4 100644 --- a/actions/finishremotesubscribe.php +++ b/actions/finishremotesubscribe.php @@ -187,7 +187,7 @@ class FinishremotesubscribeAction extends Action { # If we show subscriptions in reverse chron order, this should # show up close to the top of the page - common_redirect(common_local_url('subscribed', array('nickname' => + common_redirect(common_local_url('subscribers', array('nickname' => $user->nickname))); } diff --git a/actions/showstream.php b/actions/showstream.php index 49a44b274c..f339e08987 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -289,7 +289,7 @@ class ShowstreamAction extends StreamAction { common_element_end('dt'); common_element('dd', 'subscriptions', $subs_count); common_element_start('dt', 'subscribers'); - common_element('a', array('href' => common_local_url('subscribed', + common_element('a', array('href' => common_local_url('subscribers', array('nickname' => $profile->nickname))), _t('Subscribers')); common_element_end('dt'); diff --git a/htaccess.sample b/htaccess.sample index bd8e86855b..090857e4ab 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -26,7 +26,7 @@ RewriteRule ^notice/new$ index.php?action=newnotice [L,QSA] RewriteRule ^notice/(\d+)$ index.php?action=shownotice¬ice=$1 [L,QSA] RewriteRule ^(\w+)/subscriptions$ index.php?action=subscriptions&nickname=$1 [L,QSA] -RewriteRule ^(\w+)/subscribed$ index.php?action=subscribed&nickname=$1 [L,QSA] +RewriteRule ^(\w+)/subscribers$ index.php?action=subscribers&nickname=$1 [L,QSA] RewriteRule ^(\w+)/xrds$ index.php?action=xrds&nickname=$1 [L,QSA] RewriteRule ^(\w+)/rss$ index.php?action=userrss&nickname=$1 [L,QSA] RewriteRule ^(\w+)/all$ index.php?action=all&nickname=$1 [L,QSA] diff --git a/lib/util.php b/lib/util.php index a0c1b5fcb0..f34a10c5b2 100644 --- a/lib/util.php +++ b/lib/util.php @@ -557,7 +557,7 @@ function common_fancy_url($action, $args=NULL) { case 'foaf': return common_path($args['nickname'].'/'.$action); case 'subscriptions': - case 'subscribed': + case 'subscribers': case 'all': if ($args && $args['page']) { return common_path($args['nickname'].'/'.$action.'?page=' . $args['page']);