Changeset 3070 for trunk/jabberit_messenger/jmessenger/xsl/listRooms.xsl
- Timestamp:
- 07/19/10 17:43:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jabberit_messenger/jmessenger/xsl/listRooms.xsl
r3059 r3070 3 3 <xsl:output method="html" omit-xml-declaration="yes"/> 4 4 5 <xsl:template match="child::*"> 6 <xsl:for-each select="descendant::*"> 7 <xsl:if test="name( ) = 'item'"> 8 :: <xsl:value-of select="name( )" /> - <xsl:value-of select="@jid" /> ::<br/> 9 </xsl:if> 10 </xsl:for-each> 5 <xsl:param name="path_jabberit" /> 6 7 <xsl:template match="listRooms"> 8 9 <div style="margin:5px; height:200px; overflow-y: auto"> 10 11 <xsl:for-each select="room"> 12 <xsl:sort select="@nameRoom"/> 13 <div onclick="alert('aqui dentro');" style="cursor:pointer;padding :5px 0px 5px 45px; background:url({$path_jabberit}templates/default/images/conference.png) no-repeat center left; border-bottom:1px dashed #cecece; margin:6px 1px;"> 14 Nome da Sala : <xsl:value-of select="@nameRoom"/> <br/> 15 <xsl:choose> 16 <xsl:when test="description != ''"> 17 Descrição : <xsl:value-of select="description"/> <br/> 18 </xsl:when> 19 <xsl:otherwise> 20 Descrição : < Sem Descrição > <br/> 21 </xsl:otherwise> 22 </xsl:choose> 23 Ocupantes : <xsl:value-of select="occupants"/> <br/> 24 <xsl:choose> 25 <xsl:when test="password = 'true'"> 26 Password : <span style="color:red; font-weight: bold;"><blink>Com Senha</blink></span><br/> 27 </xsl:when> 28 <xsl:otherwise> 29 Password : Sem Senha <br/> 30 </xsl:otherwise> 31 </xsl:choose> 32 </div> 33 </xsl:for-each> 34 35 </div> 36 37 <div id="buttons_addChatRoom" style="float:left; margin:10px 0px 0px 10px;" /> 38 11 39 </xsl:template> 12 40
Note: See TracChangeset
for help on using the changeset viewer.