Rework application registration workflow to be more private

This commit is contained in:
Zach Copley
2010-01-13 07:33:51 +00:00
parent 22809baf94
commit 7c34ac8cc2
8 changed files with 58 additions and 92 deletions

View File

@@ -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);
}
}