summaryrefslogtreecommitdiff
path: root/actions/showapplication.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-01-13 07:33:51 +0000
committerZach Copley <zach@status.net>2010-01-14 02:41:09 +0000
commit7c34ac8cc2c3813f05deb8ac80e511648b441914 (patch)
treec53ec0b5bf90387e476e2e08789c68a99fdd7683 /actions/showapplication.php
parent22809baf94118ea7c0a41db4ac511277fc942a41 (diff)
Rework application registration workflow to be more private
Diffstat (limited to 'actions/showapplication.php')
-rw-r--r--actions/showapplication.php25
1 files changed, 7 insertions, 18 deletions
diff --git a/actions/showapplication.php b/actions/showapplication.php
index f2ff8b900..bd3337136 100644
--- a/actions/showapplication.php
+++ b/actions/showapplication.php
@@ -211,15 +211,9 @@ class ShowApplicationAction extends OwnerDesignAction
$this->elementStart('ul');
$this->elementStart('li', 'entity_edit');
$this->element('a',
- array('href' =>
- common_local_url(
- 'editapplication',
- array(
- 'nickname' => $this->owner->nickname,
- 'id' => $this->application->id
- )
- )
- ), 'Edit');
+ array('href' => common_local_url('editapplication',
+ array('id' => $this->application->id))),
+ 'Edit');
$this->elementEnd('li');
$this->elementStart('li', 'entity_reset_keysecret');
@@ -228,8 +222,7 @@ class ShowApplicationAction extends OwnerDesignAction
'class' => 'form_reset_key',
'method' => 'POST',
'action' => common_local_url('showapplication',
- array('nickname' => $cur->nickname,
- 'id' => $this->application->id))));
+ array('id' => $this->application->id))));
$this->elementStart('fieldset');
$this->hidden('token', common_session_token());
@@ -273,13 +266,9 @@ class ShowApplicationAction extends OwnerDesignAction
$this->elementStart('p', array('id' => 'application_action'));
$this->element('a',
- array(
- 'href' => common_local_url(
- 'apps',
- array('nickname' => $this->owner->nickname)),
- 'class' => 'more'
- ),
- 'View your applications');
+ array('href' => common_local_url('oauthappssettings'),
+ 'class' => 'more'),
+ 'View your applications');
$this->elementEnd('p');
}