summaryrefslogtreecommitdiff
path: root/lib/applicationlist.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-24 16:36:04 -0800
commite101a6df6ba1cbec4664bb81fc81655e5db18b0f (patch)
tree1d807b1fd443b2e0e08868cfb4cf11ad57f78906 /lib/applicationlist.php
parent693b16174ad4142d1a543f78878c84c552ce6d74 (diff)
Rework application registration workflow to be more private
Diffstat (limited to 'lib/applicationlist.php')
-rw-r--r--lib/applicationlist.php13
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);
- }
}