]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
A little minimization
authorSarven Capadisli <csarven@status.net>
Tue, 12 Jan 2010 01:52:59 +0000 (01:52 +0000)
committerZach Copley <zach@status.net>
Thu, 14 Jan 2010 02:41:08 +0000 (02:41 +0000)
lib/applicationlist.php

index 6ca210537a9c1f56e1f1f7a8031920dc8290ed41..15c2d588a3efb73991aec0922f4638da9a0d5158 100644 (file)
@@ -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) {