Changeset 1923

Show
Ignore:
Timestamp:
09/09/08 15:36:14
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.1/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

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