Changeset 2059
- Timestamp:
- 02/11/09 19:16:24
- Files:
-
- trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl (modified) (3 diffs)
- trunk/deployment/webuser/webapp/resources/demoskins/resources/bedeworkAttendees.js (modified) (1 diff)
- trunk/deployment/webuser/webapp/resources/demoskins/resources/bedeworkEventForm.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r2057 r2059 944 944 <xsl:template name="actionIcons"> 945 945 <xsl:param name="startDate"/> 946 <xsl:param name="startTime"/> 946 947 <xsl:param name="actionIconsId"/> 948 <xsl:variable name="dateTime"> 949 <xsl:choose> 950 <xsl:when test="$startTime != ''"><xsl:value-of select="$startDate"/>T<xsl:value-of select="$startTime"/></xsl:when> 951 <xsl:otherwise><xsl:value-of select="$startDate"/></xsl:otherwise> 952 </xsl:choose> 953 </xsl:variable> 947 954 <br/> 948 955 <div id="{$actionIconsId}" class="invisible"> 949 <a href="{$initEvent}&entityType=event&startdate={$ startDate}" title="add event" onclick="javascript:changeClass('{$actionIconsId}','invisible')">956 <a href="{$initEvent}&entityType=event&startdate={$dateTime}" title="add event" onclick="javascript:changeClass('{$actionIconsId}','invisible')"> 950 957 <img src="{$resourcesRoot}/resources/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="add event"/> 951 958 add event 952 959 </a> 953 <a href="{$event-initMeeting}&entityType=event&schedule=request&startdate={$ startDate}" title="schedule a meeting" onclick="javascript:changeClass('{$actionIconsId}','invisible')">960 <a href="{$event-initMeeting}&entityType=event&schedule=request&startdate={$dateTime}" title="schedule a meeting" onclick="javascript:changeClass('{$actionIconsId}','invisible')"> 954 961 <img src="{$resourcesRoot}/resources/std-icalMeeting-icon-small.gif" width="12" height="16" border="0" alt="schedule meeting"/> 955 962 schedule meeting 956 963 </a> 957 <a href="{$initEvent}&entityType=task&startdate={$ startDate}" title="add task" onclick="javascript:changeClass('{$actionIconsId}','invisible')">964 <a href="{$initEvent}&entityType=task&startdate={$dateTime}" title="add task" onclick="javascript:changeClass('{$actionIconsId}','invisible')"> 958 965 <img src="{$resourcesRoot}/resources/std-icalTask-icon-small.gif" width="12" height="16" border="0" alt="add task"/> 959 966 add task 960 967 </a> 961 <a href="{$event-initMeeting}&entityType=task&schedule=request&startdate={$ startDate}" title="schedule a task" onclick="javascript:changeClass('{$actionIconsId}','invisible')">968 <a href="{$event-initMeeting}&entityType=task&schedule=request&startdate={$dateTime}" title="schedule a task" onclick="javascript:changeClass('{$actionIconsId}','invisible')"> 962 969 <img src="{$resourcesRoot}/resources/std-icalSchTask-icon-small.gif" width="12" height="16" border="0" alt="schedule task"/> 963 970 schedule task … … 998 1005 <xsl:with-param name="actionIconsId"><xsl:value-of select="$actionIconsId"/></xsl:with-param> 999 1006 <xsl:with-param name="startDate"><xsl:value-of select="$date"/></xsl:with-param> 1007 <xsl:with-param name="startTime"><xsl:value-of select="/bedework/now/twodigithour24"/>0000</xsl:with-param> 1000 1008 </xsl:call-template> 1001 1009 </div> … … 1246 1254 <xsl:with-param name="actionIconsId"><xsl:value-of select="$actionIconsId"/></xsl:with-param> 1247 1255 <xsl:with-param name="startDate"><xsl:value-of select="$dayDate"/></xsl:with-param> 1256 <xsl:with-param name="startTime"><xsl:value-of select="/bedework/now/twodigithour24"/>0000</xsl:with-param> 1248 1257 </xsl:call-template> 1249 1258 </div> trunk/deployment/webuser/webapp/resources/demoskins/resources/bedeworkAttendees.js
r2050 r2059 1 var carddavUrl = " http://localhost:8080/ucarddav/find";1 var carddavUrl = "/ucarddav/find"; 2 2 3 3 var options = { trunk/deployment/webuser/webapp/resources/demoskins/resources/bedeworkEventForm.js
r1967 r2059 33 33 34 34 var rdateDeleteStr = "remove"; 35 var timezoneUrl = "/tzsvr/?names"; 35 36 36 37 // ======================================================================== … … 594 595 } 595 596 596 597 598 597 function setTimezones(timezones) { 598 var tzList = timezones.split(/\n|\r/); 599 //alert(tzList[0]); 600 } 601 602 /* jQuery initialization */ 603 jQuery(document).ready(function($) { 604 // get the timezones from the timezone server 605 $.ajax({ 606 type: "GET", 607 url: timezoneUrl, 608 dataType: "text", 609 success: function(text){ 610 setTimezones(text); 611 } 612 }); 613 }); 614
