diff options
author | Zach Copley <zach@status.net> | 2010-01-13 07:33:51 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-01-14 02:41:09 +0000 |
commit | 7c34ac8cc2c3813f05deb8ac80e511648b441914 (patch) | |
tree | c53ec0b5bf90387e476e2e08789c68a99fdd7683 /lib/applicationlist.php | |
parent | 22809baf94118ea7c0a41db4ac511277fc942a41 (diff) |
Rework application registration workflow to be more private
Diffstat (limited to 'lib/applicationlist.php')
-rw-r--r-- | lib/applicationlist.php | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/applicationlist.php b/lib/applicationlist.php index 15c2d588a..f2eaefb40 100644 --- a/lib/applicationlist.php +++ b/lib/applicationlist.php @@ -64,7 +64,7 @@ class ApplicationList extends Widget $this->application = $application; $this->owner = $owner; $this->action = $action; - $this->connections = $connections; + $this->connections = $connections; } function show() @@ -97,10 +97,9 @@ class ApplicationList extends Widget $this->out->elementStart('span', 'vcard author'); if (!$this->connections) { $this->out->elementStart('a', - array('href' => common_local_url('showapplication', - array('nickname' => $user->nickname, - 'id' => $this->application->id)), - 'class' => 'url')); + array('href' => common_local_url('showapplication', + array('id' => $this->application->id)), + 'class' => 'url')); } else { $this->out->elementStart('a', array('href' => $this->application->source_url, @@ -154,8 +153,4 @@ class ApplicationList extends Widget return; } - function highlight($text) - { - return htmlspecialchars($text); - } } |