summaryrefslogtreecommitdiff
path: root/lib/applicationlist.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-12 01:41:38 +0000
committerZach Copley <zach@status.net>2010-01-14 02:41:07 +0000
commit2b78c061fcaf4e8b05663cb0837480736d393731 (patch)
treea97b2bc0908f05af76b033000882369887fb6fbd /lib/applicationlist.php
parentbf53456710aa3266c79965ca6b62d72d0798eec5 (diff)
Moved application image inside the anchor
Diffstat (limited to 'lib/applicationlist.php')
-rw-r--r--lib/applicationlist.php15
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/applicationlist.php b/lib/applicationlist.php
index b1dcc39a9..8961da435 100644
--- a/lib/applicationlist.php
+++ b/lib/applicationlist.php
@@ -94,10 +94,6 @@ class ApplicationList extends Widget
$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',
@@ -105,15 +101,18 @@ class ApplicationList extends Widget
'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,