]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added vcard and photo classes
authorSarven Capadisli <csarven@status.net>
Tue, 12 Jan 2010 01:44:15 +0000 (01:44 +0000)
committerZach Copley <zach@status.net>
Mon, 25 Jan 2010 00:36:04 +0000 (16:36 -0800)
lib/applicationlist.php

index 8961da43557343af8fe3cdd80c0ff4fcf271fee4..6ca210537a9c1f56e1f1f7a8031920dc8290ed41 100644 (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 ');