Changeset 1239

Show
Ignore:
Timestamp:
01/19/07 11:32:41
Author:
johnsa
Message:

web clients rdate forms:

- bring admin rdate form up to

date with personal client

- conditionally send dateOnly parameter

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webadmin/webapp/resources/default/default/default.xsl

    r1237 r1239  
    19511951      </div> 
    19521952      <div id="bwClockCover"> 
     1953        &#160; 
    19531954        <!-- this is a special effect div used simply to cover the pixelated edge 
    19541955             where the clock meets the clock box title --></div> 
     
    19621963        <div id="bwClockTime"> 
    19631964          select time 
     1965        </div> 
     1966        <div id="bwClockSwitch"> 
     1967          switch 
    19641968        </div> 
    19651969        <div id="bwClockCloseText"> 
     
    20222026            <div class="dateStartEndBox" id="rdatesFormFields"> 
    20232027              <div class="dateFields"> 
    2024                 <input name="datetime" 
     2028                <input name="eventRdate.date" 
    20252029                       dojoType="dropdowndatepicker" 
    20262030                       formatLength="medium" 
     
    20902094              <br/> 
    20912095              <!-- dateonly (anniversary) event: this is temporary - should be determined by the main event --> 
    2092               <input type="checkbox" name="dateOnly" id="rdateDateOnly" onclick="swapRdateAllDay(this)" value="off"/> 
     2096              <input type="checkbox" name="dateOnly" id="rdateDateOnly" onclick="swapRdateAllDay(this)" value="on"/> 
    20932097              all day 
    20942098              <!-- floating event: no timezone (and not UTC) --> 
    2095               <input type="checkbox" name="floating" id="rdateFloating" onclick="swapRdateFloatingTime(this)" value="off"/> 
     2099              <input type="checkbox" name="floating" id="rdateFloating" onclick="swapRdateFloatingTime(this)" value="on"/> 
    20962100              floating 
    20972101              <!-- store time as coordinated universal time (UTC) --> 
    2098               <input type="checkbox" name="storeUTC" id="rdateStoreUTC" onclick="swapRdateStoreUTC(this)" value="off"/> 
     2102              <input type="checkbox" name="storeUTC" id="rdateStoreUTC" onclick="swapRdateStoreUTC(this)" value="on"/> 
    20992103              store as UTC 
    21002104            </div> 
     
    21162120                  </td> 
    21172121                  <td class="trash"> 
    2118                     <xsl:variable name="datetime"><xsl:value-of select="fourdigityear"/><xsl:value-of select="twodigitmonth"/><xsl:value-of select="twodigitday"/>T<xsl:value-of select="twodigithour"/><xsl:value-of select="twodigitminute"/>00</xsl:variable> 
     2122                    <xsl:variable name="datetime"><xsl:value-of select="unformatted"/></xsl:variable> 
    21192123                    <xsl:variable name="tzid" select="timezone/id"/> 
    2120                     <xsl:variable name="dateOnly" select="allday"/
     2124                    <xsl:variable name="dateOnly"><xsl:if test="dateOnly = 'true'">&amp;dateOnly=true</xsl:if></xsl:variable
    21212125                    <xsl:variable name="floating"><xsl:if test="floating = 'true'">&amp;floating=true</xsl:if></xsl:variable> 
    21222126                    <xsl:variable name="storeUTC"><xsl:if test="utc = 'true'">&amp;storeUTC=true</xsl:if></xsl:variable> 
    2123                     <a href="{$event-setRdate}&amp;datetime={$datetime}&amp;tzid={$tzid}{$floating}{$storeUTC}&amp;delete=true" title="remove"> 
     2127                    <a href="{$event-setRdate}&amp;datetime={$datetime}&amp;tzid={$tzid}{$dateOnly}{$floating}{$storeUTC}&amp;delete=true" title="remove"> 
    21242128                      <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> 
    21252129                    </a> 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r1238 r1239  
    30353035                    <xsl:variable name="datetime"><xsl:value-of select="unformatted"/></xsl:variable> 
    30363036                    <xsl:variable name="tzid" select="timezone/id"/> 
    3037                     <xsl:variable name="dateOnly" select="allday"/
     3037                    <xsl:variable name="dateOnly"><xsl:if test="dateOnly = 'true'">&amp;dateOnly=true</xsl:if></xsl:variable
    30383038                    <xsl:variable name="floating"><xsl:if test="floating = 'true'">&amp;floating=true</xsl:if></xsl:variable> 
    30393039                    <xsl:variable name="storeUTC"><xsl:if test="utc = 'true'">&amp;storeUTC=true</xsl:if></xsl:variable> 
    3040                     <a href="{$event-setRdate}&amp;datetime={$datetime}&amp;tzid={$tzid}&amp;dateOnly={$dateOnly}{$floating}{$storeUTC}&amp;delete=true" title="remove"> 
     3040                    <a href="{$event-setRdate}&amp;datetime={$datetime}&amp;tzid={$tzid}{$dateOnly}{$floating}{$storeUTC}&amp;delete=true" title="remove"> 
    30413041                      <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> 
    30423042                    </a>