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-14 02:41:05 +0000
commitb14a97f5f95e809c6b5bffa6dab8eba06509a3dc (patch)
treea82579a806023aeab035639e54edd9861f0f38cc /actions/showapplication.php
parent4c5ddc42c10f2c8509e2a38e3fb18a69e021213a (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));