- if (!$this->connections) {
- $this->out->elementStart('a',
- array('href' => common_local_url('showapplication',
- array('nickname' => $user->nickname,
- 'id' => $this->application->id)),
- 'class' => 'url'));
-
- $this->out->raw($this->application->name);
- $this->out->elementEnd('a');
- } else {
- $this->out->elementStart('a', array('href' => $this->application->source_url,
- 'class' => 'url'));
- $this->out->raw($this->application->name);
- $this->out->elementEnd('a');
- }