]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/profilelist.php
Initial move towards microformats2
[quix0rs-gnu-social.git] / lib / profilelist.php
index 4478a50795bc6765354f5c9a01a6481cd987a90d..63ace5c6e3cc2b5ec261a352b79e7c0ec3530077 100644 (file)
@@ -142,7 +142,7 @@ class ProfileListItem extends Widget
 
     function startItem()
     {
-        $this->out->elementStart('li', array('class' => 'profile hentry',
+        $this->out->elementStart('li', array('class' => 'profile h-entry',
                                              'id' => 'profile-' . $this->profile->id));
     }
 
@@ -184,14 +184,14 @@ class ProfileListItem extends Widget
 
     function startProfile()
     {
-        $this->out->elementStart('div', 'entity_profile vcard entry-content');
+        $this->out->elementStart('div', 'entity_profile h-card');
     }
 
     function showFullName()
     {
         if (!empty($this->profile->fullname)) {
             $this->out->text(' ');
-            $this->out->elementStart('span', 'fn');
+            $this->out->elementStart('span', 'p-name');
             $this->out->raw($this->highlight($this->profile->fullname));
             $this->out->elementEnd('span');
         }
@@ -304,13 +304,13 @@ class ProfileListItem extends Widget
     function linkAttributes()
     {
         return array('href' => $this->profile->profileurl,
-                     'class' => 'url entry-title',
+                     'class' => 'u-url',
                      'rel' => 'contact');
     }
 
     function homepageAttributes()
     {
         return array('href' => $this->profile->homepage,
-                     'class' => 'url');
+                     'class' => 'u-url');
     }
 }