summaryrefslogtreecommitdiff
path: root/lib/applicationlist.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-01-07 01:55:57 -0800
committerZach Copley <zach@status.net>2010-01-24 16:36:02 -0800
commit48e5f2b3c5164aa9e47289e5b243e2e1189b71ef (patch)
treead51926e5ad079da446ce1e0492a045b15e1b698 /lib/applicationlist.php
parent1e5b2a497e3c70e4af5f93e2326c93beed15fed1 (diff)
Add icons/icon upload to Oauth apps
Diffstat (limited to 'lib/applicationlist.php')
-rw-r--r--lib/applicationlist.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/applicationlist.php b/lib/applicationlist.php
index 3141ea974..5392ddab8 100644
--- a/lib/applicationlist.php
+++ b/lib/applicationlist.php
@@ -93,6 +93,10 @@ 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));
+ }
+
$this->out->elementStart('a',
array('href' => common_local_url(
'showapplication',