summaryrefslogtreecommitdiff
path: root/lib/applicationlist.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-12 01:44:15 +0000
committerZach Copley <zach@status.net>2010-01-14 02:41:07 +0000
commit69bb4efe00a03703056d7949b60db277d1314377 (patch)
treee903d9c37ceb458093e380dd078922ea3fb3cd85 /lib/applicationlist.php
parent2b78c061fcaf4e8b05663cb0837480736d393731 (diff)
Added vcard and photo classes
Diffstat (limited to 'lib/applicationlist.php')
-rw-r--r--lib/applicationlist.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/applicationlist.php b/lib/applicationlist.php
index 8961da435..6ca210537 100644
--- a/lib/applicationlist.php
+++ b/lib/applicationlist.php
@@ -94,6 +94,7 @@ class ApplicationList extends Widget
$this->out->elementStart('li', array('class' => 'application',
'id' => 'oauthclient-' . $this->application->id));
+ $this->out->elementStart('span', 'vcard author');
if (!$this->connections) {
$this->out->elementStart('a',
array('href' => common_local_url('showapplication',
@@ -107,11 +108,13 @@ class ApplicationList extends Widget
}
if (!empty($this->application->icon)) {
- $this->out->element('img', array('src' => $this->application->icon));
+ $this->out->element('img', array('src' => $this->application->icon,
+ 'class' => 'photo'));
}
$this->out->raw($this->application->name);
$this->out->elementEnd('a');
+ $this->out->elementEnd('span');
$this->out->raw(' by ');