$this->out->elementStart('li', array('class' => 'application',
'id' => 'oauthclient-' . $this->application->id));
- if (!empty($this->application->icon)) {
- $this->out->element('img', array('src' => $this->application->icon));
- }
-
if (!$this->connections) {
$this->out->elementStart('a',
array('href' => common_local_url('showapplication',
'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');
}
+ if (!empty($this->application->icon)) {
+ $this->out->element('img', array('src' => $this->application->icon));
+ }
+
+ $this->out->raw($this->application->name);
+ $this->out->elementEnd('a');
+
$this->out->raw(' by ');
$this->out->elementStart('a', array('href' => $this->application->homepage,