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-14 02:41:08 +0000
commit7ffa25819641f46c662c6c65c76f378a68342644 (patch)
tree05f546e74eb5267d9b642a3e39fc6f4ddd58f238 /lib/applicationlist.php
parent69bb4efe00a03703056d7949b60db277d1314377 (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) {