diff options
author | Zach Copley <zach@status.net> | 2010-01-07 01:55:57 -0800 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-01-14 02:41:05 +0000 |
commit | b14a97f5f95e809c6b5bffa6dab8eba06509a3dc (patch) | |
tree | a82579a806023aeab035639e54edd9861f0f38cc /lib/applicationlist.php | |
parent | 4c5ddc42c10f2c8509e2a38e3fb18a69e021213a (diff) |
Add icons/icon upload to Oauth apps
Diffstat (limited to 'lib/applicationlist.php')
-rw-r--r-- | lib/applicationlist.php | 4 |
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', |