A little minimization

This commit is contained in:
Sarven Capadisli 2010-01-12 01:52:59 +00:00 committed by Zach Copley
parent 276c4a2a23
commit a009052036

View File

@ -109,23 +109,20 @@ class ApplicationList extends Widget
if (!empty($this->application->icon)) { 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')); 'class' => 'photo avatar'));
} }
$this->out->raw($this->application->name); $this->out->element('span', 'fn', $this->application->name);
$this->out->elementEnd('a'); $this->out->elementEnd('a');
$this->out->elementEnd('span'); $this->out->elementEnd('span');
$this->out->raw(' by '); $this->out->raw(' by ');
$this->out->elementStart('a', array('href' => $this->application->homepage, $this->out->element('a', array('href' => $this->application->homepage,
'class' => 'url')); 'class' => 'url'),
$this->out->raw($this->application->organization); $this->application->organization);
$this->out->elementEnd('a');
$this->out->elementStart('p', 'note'); $this->out->element('p', 'note', $this->application->description);
$this->out->raw($this->application->description);
$this->out->elementEnd('p');
$this->out->elementEnd('li'); $this->out->elementEnd('li');
if ($this->connections) { if ($this->connections) {