Changeset 1922

Show
Ignore:
Timestamp:
09/09/08 15:35:51
Author:
douglm
Message:

Fix setting of user timezone. A user can specify the default timezone in the preferences

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • releases/bedework-3.4.1.1a/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r1885 r1922  
    70137013            </select> 
    70147014          </td> 
    7015         </tr><!-- as you add skins, update this list and set the selected flag 
     7015        <tr> 
     7016          <th>Default timezone:</th> 
     7017          <td> 
     7018            <xsl:variable name="tzid" select="/bedework/prefs/tzid"/> 
     7019 
     7020            <select name="defaultTzid"> 
     7021              <option value="-1">select timezone...</option> 
     7022              <xsl:for-each select="/bedework/timezones/timezone"> 
     7023                <option> 
     7024                  <xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute> 
     7025                  <xsl:if test="/bedework/prefs/defaultTzid = id"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if> 
     7026                  <xsl:value-of select="name"/> 
     7027                </option> 
     7028              </xsl:for-each> 
     7029            </select> 
     7030 
     7031            <div class="desc"> 
     7032              Default timezone id for date/time values. This should normally be your local timezone. 
     7033            </div> 
     7034          </td> 
     7035        </tr> 
     7036        <!-- as you add skins, update this list and set the selected flag 
    70167037                 as required; hide if not in use --> 
    70177038        <!--<tr>