summaryrefslogtreecommitdiff
path: root/lib/applicationlist.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-12 01:52:59 +0000
committerZach Copley <zach@status.net>2010-01-24 16:36:04 -0800
commita009052036250d33b38329dd0363dd42652e89da (patch)
treed0290c82145f9874a86afcd15ecd14870bd6ec5f /lib/applicationlist.php
parent276c4a2a231cce0b449e97d2bdba0a822b898e08 (diff)
A little minimization
Diffstat (limited to 'lib/applicationlist.php')
-rw-r--r--lib/applicationlist.php15
1 files changed, 6 insertions, 9 deletions
diff --git a/lib/applicationlist.php b/lib/applicationlist.php
index 6ca210537..15c2d588a 100644
--- a/lib/applicationlist.php
+++ b/lib/applicationlist.php
@@ -109,23 +109,20 @@ class ApplicationList extends Widget
if (!empty($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('span');
$this->out->raw(' by ');
- $this->out->elementStart('a', array('href' => $this->application->homepage,
- 'class' => 'url'));
- $this->out->raw($this->application->organization);
- $this->out->elementEnd('a');
+ $this->out->element('a', array('href' => $this->application->homepage,
+ 'class' => 'url'),
+ $this->application->organization);
- $this->out->elementStart('p', 'note');
- $this->out->raw($this->application->description);
- $this->out->elementEnd('p');
+ $this->out->element('p', 'note', $this->application->description);
$this->out->elementEnd('li');
if ($this->connections) {