librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1613] Improve hCard and RDFa.


From: Toby Inkster
Subject: [Librefm-commits] [1613] Improve hCard and RDFa.
Date: Thu, 14 May 2009 21:39:00 +0000

Revision: 1613
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1613
Author:   tobyink
Date:     2009-05-14 21:38:59 +0000 (Thu, 14 May 2009)
Log Message:
-----------
Improve hCard and RDFa.

Modified Paths:
--------------
    trunk/nixtape/themes/librefm/templates/group-list.tpl

Modified: trunk/nixtape/themes/librefm/templates/group-list.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/group-list.tpl       2009-05-14 
20:55:22 UTC (rev 1612)
+++ trunk/nixtape/themes/librefm/templates/group-list.tpl       2009-05-14 
21:38:59 UTC (rev 1613)
@@ -2,14 +2,18 @@
 
 <h2 property="dc:title">{t}All Groups{/t}</h2>
 
-<div about="#groups" typeof="foaf:Group" property="foaf:name" content="All 
Groups">
+<div about="#groups" typeof="foaf:Group" property="foaf:name" content="{t}All 
Groups{/t}">
 
 <ul rel="foaf:member" class="userlist">
 {foreach from=$groups item=g}
 
-       <li about="{$g->id}" typeof="foaf:Group" >
-           <img src="{$g->getAvatar()|escape:'html':'UTF-8'}" alt="avatar" 
class="photo" width="48" height="48" />
-                                       <a rel="foaf:homepage" 
rev="foaf:primaryTopic" property="dc:description" 
href="{$g->getURL()|escape:'html':'UTF-8'}"><span class="fn org" 
property="foaf:name">{$g->fullname|escape:'html':'UTF-8'}</span></a> &mdash; {t 
members='$g->count}%1 members{/t}
+       <li about="{$g->id}" typeof="foaf:Group" class="vcard">
+               <span rel="foaf:depiction"><img 
src="{$g->getAvatar()|escape:'html':'UTF-8'}" alt="avatar" class="photo" 
width="48" height="48" /></span>
+               <a class="fn org url"
+                       rel="foaf:homepage" rev="foaf:primaryTopic" 
href="{$g->getURL()|escape:'html':'UTF-8'}"
+                       
property="foaf:name">{$g->fullname|escape:'html':'UTF-8'}</a>
+               &mdash;
+               <span class="note" property="dc:description">{t 
members='$g->count}%1 members{/t}</span>
        </li>
 {/foreach}
 </ul>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]