summaryrefslogtreecommitdiff
path: root/actions/showapplication.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 /actions/showapplication.php
parent1e5b2a497e3c70e4af5f93e2326c93beed15fed1 (diff)
Add icons/icon upload to Oauth apps
Diffstat (limited to 'actions/showapplication.php')
-rw-r--r--actions/showapplication.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/actions/showapplication.php b/actions/showapplication.php
index 6b8eff4a6..6d19b9561 100644
--- a/actions/showapplication.php
+++ b/actions/showapplication.php
@@ -55,7 +55,6 @@ class ShowApplicationAction extends OwnerDesignAction
var $owner = null;
-
var $msg = null;
var $success = null;
@@ -187,6 +186,14 @@ class ShowApplicationAction extends OwnerDesignAction
$this->elementStart('ul', 'entity_application_details');
+ $this->elementStart('li', 'entity_application-icon');
+
+ if (!empty($this->application->icon)) {
+ $this->element('img', array('src' => $this->application->icon));
+ }
+
+ $this->elementEnd('li');
+
$this->elementStart('li', 'entity_application_name');
$this->element('span', array('class' => 'big'), $this->application->name);
$this->raw(sprintf(_(' by %1$s'), $this->application->organization));