summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-18 13:16:22 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-18 13:16:22 -0400
commit78ac9df2a626fe1da4f9d864ca17ae19ee6d1c75 (patch)
treeed58aa23dcd0e2943d87418a71ade125d3b176e3
parentaeaf75138cf8be42d2e3935b708e1d24a97bd0a0 (diff)
change references from subscribed to subscribers
darcs-hash:20080618171622-84dde-abe0986279b106ff651913d759828d6d945adf0f.gz
-rw-r--r--actions/finishremotesubscribe.php2
-rw-r--r--actions/showstream.php2
-rw-r--r--htaccess.sample2
-rw-r--r--lib/util.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/actions/finishremotesubscribe.php b/actions/finishremotesubscribe.php
index aca5f04fe..06fd3f52c 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 49a44b274..f339e0898 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 bd8e86855..090857e4a 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&notice=$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 a0c1b5fcb..f34a10c5b 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']);