Added vcard and photo classes

This commit is contained in:
Sarven Capadisli 2010-01-12 01:44:15 +00:00 committed by Zach Copley
parent 2b78c061fc
commit 69bb4efe00
1 changed files with 4 additions and 1 deletions

View File

@ -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 ');