summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-12 01:44:15 +0000
committerZach Copley <zach@status.net>2010-01-24 16:36:04 -0800
commit276c4a2a231cce0b449e97d2bdba0a822b898e08 (patch)
tree5b6a1c24ca81aea883817d44bedc46112490c595
parent34cc03c61792792e9b23e9a28e7730268b22d3d1 (diff)
Added vcard and photo classes
-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 ');