Changeset 3533

Show
Ignore:
Timestamp:
04/26/12 12:48:23
Author:
bleibson
Message:

o move bedeworkTheme fix to bedeworkWhite

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • releases/bedework-3.8/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkWhite/subscriptions.xsl

    r3466 r3533  
    7474    <xsl:variable name="name" select="name"/> 
    7575    <xsl:variable name="summary" select="summary"/> 
    76     <xsl:variable name="itemId" select="generate-id(path)"/
     76    <xsl:variable name="itemId"><xsl:value-of select="translate(path,'/_- ','')"/></xsl:variable
    7777    <xsl:variable name="folderState"> 
    7878      <xsl:choose> 
     
    104104                <xsl:attribute name="class">root</xsl:attribute> 
    105105                <a href="{$setSelection}"> 
     106            <xsl:attribute name="href"> 
     107              <xsl:choose> 
     108                <xsl:when test="/bedework/page = 'eventList'"><xsl:value-of select="$setSelectionList"/></xsl:when> 
     109                <xsl:otherwise><xsl:value-of select="$setSelection"/></xsl:otherwise> 
     110              </xsl:choose> 
     111            </xsl:attribute> 
    106112                  <xsl:copy-of select="$bwStr-LCol-All"/> 
    107113                </a> 
    108114              </xsl:when> 
    109115              <xsl:otherwise> 
    110                 <a href="{$setSelection}&amp;virtualPath={$encVirtualPath}&amp;setappvar=curCollection({$name})"> 
     116                <a href="{$setSelection}"> 
     117                  <xsl:attribute name="href"> 
     118                    <xsl:choose> 
     119                      <xsl:when test="/bedework/page = 'eventList'"><xsl:value-of select="$setSelectionList"/>&amp;virtualPath=<xsl:value-of select="$encVirtualPath"/>&amp;setappvar=curCollection(<xsl:value-of select="$name"/>)</xsl:when> 
     120                      <xsl:otherwise><xsl:value-of select="$setSelection"/>&amp;virtualPath=<xsl:value-of select="$encVirtualPath"/>&amp;setappvar=curCollection(<xsl:value-of select="$name"/>)</xsl:otherwise> 
     121                    </xsl:choose> 
     122                  </xsl:attribute> 
    111123                  <xsl:value-of select="summary"/> 
    112124                </a>