Changeset 291
- Timestamp:
- 03/17/06 15:10:28
- Files:
-
- trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.css (modified) (4 diffs)
- trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl (modified) (38 diffs)
- trunk/calendar3/deployment/webuser/webapp/resources/demoskins/resources/includes.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.css
r276 r291 224 224 #tabsTable .centerCell { 225 225 text-align: left; 226 background : url( images/std-tab-space.gif);226 background : url(../../resources/std-tab-space.gif); 227 227 font-size: 0.8em; 228 228 white-space: nowrap; … … 234 234 } 235 235 #tabsTable .rightCell { 236 background : url( images/std-tab-space.gif);236 background : url(../../resources/std-tab-space.gif); 237 237 padding-right: 0.5em; 238 238 } … … 383 383 background-color: white; 384 384 } 385 #clock { 386 position: relative; 387 } 388 .shown { 389 display: inline; 390 } 391 .invisible { 392 display: none; 393 } 394 .hidden { 395 visibility: hidden; 396 } 385 397 form#subscriptions { 386 398 margin: 0; … … 416 428 } 417 429 #calPageTable ul.calendarTree li.folder { 418 list-style-image: url(../../ images/demo/catIcon.gif);430 list-style-image: url(../../resources/catIcon.gif); 419 431 padding-top: 0.25em; 420 432 padding-bottom: 0.25em; 421 433 } 422 434 #calPageTable ul.calendarTree li.calendar { 423 list-style-image: url(../../ images/demo/calIcon-sm.gif);435 list-style-image: url(../../resources/calIcon-sm.gif); 424 436 } 425 437 #calPageTable td.infoCell { trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r286 r291 95 95 <xsl:when test="/bedework/appvar[key='sidebar']/value='closed'"> 96 96 <td id="sideBarClosed"> 97 <img src="{$resourcesRoot}/ images/demo/spacer.gif" width="1" height="1" border="0" alt="*"/>97 <img src="{$resourcesRoot}/resources/spacer.gif" width="1" height="1" border="0" alt="*"/> 98 98 </td> 99 99 </xsl:when> … … 187 187 <xsl:template name="headSection"> 188 188 <title>Bedework: Personal Calendar Client</title> 189 <meta name="robots" content="noindex,nofollow"/> 189 190 <link rel="stylesheet" href="{$resourcesRoot}/default/default/default.css"/> 190 <meta name="robots" content="noindex,nofollow"/>191 191 <link rel="stylesheet" type="text/css" media="print" href="{$resourcesRoot}/default/default/print.css" /> 192 < !--<link rel="icon" type="image/ico" href="{}/favicon.ico" />-->193 < script language="JavaScript">194 // launches new browser window with print-friendly version of page when195 // print icon is clicked196 function launchPrintWindow(URL) {197 printWindow = window.open(URL, "printWindow", "width=640,height=500,scrollbars=yes,resizable=yes,alwaysRaised=yes,menubar=yes,toolbar=yes");198 window.printWindow.focus();199 }200 </ script>192 <link rel="icon" type="image/ico" href="{$resourcesRoot}/resources/bedework.ico" /> 193 <xsl:if test="/bedework/page='addEvent' or /bedework/page='editEvent'"> 194 <script type="text/javascript" src="{$resourcesRoot}/resources/includes.js"></script> 195 <script type="text/javascript" src="{$resourcesRoot}/resources/bwClock.js"></script> 196 <link rel="stylesheet" href="{$resourcesRoot}/resources/bwClock.css"/> 197 <script type="text/javascript" src="{$resourcesRoot}/resources/dynCalendarWidget.js"></script> 198 <link rel="stylesheet" href="{$resourcesRoot}/resources/dynCalendarWidget.css"/> 199 <script type="text/javascript" src="{$resourcesRoot}/resources/browserSniffer.js"></script> 200 </xsl:if> 201 201 </xsl:template> 202 202 … … 209 209 <table width="100%" border="0" cellpadding="0" cellspacing="0" id="logoTable"> 210 210 <tr> 211 <td colspan="3" id="logoCell"><a href="http://www.bedework.org/"><img src="{$resourcesRoot}/ images/demo/bedeworkLogo.gif" width="292" height="75" border="0" alt="Bedework"/></a></td>211 <td colspan="3" id="logoCell"><a href="http://www.bedework.org/"><img src="{$resourcesRoot}/resources/bedeworkLogo.gif" width="292" height="75" border="0" alt="Bedework"/></a></td> 212 212 <td colspan="2" id="schoolLinksCell"> 213 213 <h2>Personal Calendar</h2> … … 223 223 <table width="100%" border="0" cellpadding="0" cellspacing="0"> 224 224 <tr> 225 <td width="50%"><img alt="" src="{$resourcesRoot}/ images/demo/metacal-topBorder.gif" width="100%" height="23" border="0"/></td>226 <td><img src="{$resourcesRoot}/ images/demo/metacal-topTitlePersonal.gif" width="221" height="23" border="0" alt="Bedework Personal Events Calendar"/></td>227 <td width="50%"><img alt="" src="{$resourcesRoot}/ images/demo/metacal-topBorder.gif" width="100%" height="23" border="0"/></td>225 <td width="50%"><img alt="" src="{$resourcesRoot}/resources/metacal-topBorder.gif" width="100%" height="23" border="0"/></td> 226 <td><img src="{$resourcesRoot}/resources/metacal-topTitlePersonal.gif" width="221" height="23" border="0" alt="Bedework Personal Events Calendar"/></td> 227 <td width="50%"><img alt="" src="{$resourcesRoot}/resources/metacal-topBorder.gif" width="100%" height="23" border="0"/></td> 228 228 </tr> 229 229 </table> … … 233 233 <xsl:when test="/bedework/appvar[key='sidebar']/value='closed'"> 234 234 <a href="?setappvar=sidebar(opened)"> 235 <img alt="open sidebar" src="{$resourcesRoot}/ images/demo/std-sidebaropen-icon.gif" width="13" height="13" border="0" align="left"/>235 <img alt="open sidebar" src="{$resourcesRoot}/resources/std-sidebaropen-icon.gif" width="13" height="13" border="0" align="left"/> 236 236 </a> 237 237 </xsl:when> 238 238 <xsl:otherwise> 239 239 <a href="?setappvar=sidebar(closed)"> 240 <img alt="close sidebar" src="{$resourcesRoot}/ images/demo/std-sidebarclose-icon.gif" width="13" height="13" border="0" align="left"/>240 <img alt="close sidebar" src="{$resourcesRoot}/resources/std-sidebarclose-icon.gif" width="13" height="13" border="0" align="left"/> 241 241 </a> 242 242 </xsl:otherwise> … … 275 275 <xsl:choose> 276 276 <xsl:when test="/bedework/periodname='Day'"> 277 <a href="{$setViewPeriod}?viewType=dayView&date={$curdate}"><img src="{$resourcesRoot}/ images/demo/std-tab-day-on.gif" width="91" height="20" border="0" alt="DAY"/></a>277 <a href="{$setViewPeriod}?viewType=dayView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-day-on.gif" width="91" height="20" border="0" alt="DAY"/></a> 278 278 </xsl:when> 279 279 <xsl:otherwise> 280 <a href="{$setViewPeriod}?viewType=dayView&date={$curdate}"><img src="{$resourcesRoot}/ images/demo/std-tab-day-off.gif" width="91" height="20" border="0" alt="DAY"/></a>280 <a href="{$setViewPeriod}?viewType=dayView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-day-off.gif" width="91" height="20" border="0" alt="DAY"/></a> 281 281 </xsl:otherwise> 282 282 </xsl:choose> … … 285 285 <xsl:choose> 286 286 <xsl:when test="/bedework/periodname='Week' or /bedework/periodname=''"> 287 <a href="{$setViewPeriod}?viewType=weekView&date={$curdate}"><img src="{$resourcesRoot}/ images/demo/std-tab-week-on.gif" width="92" height="20" border="0" alt="WEEK"/></a>287 <a href="{$setViewPeriod}?viewType=weekView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-week-on.gif" width="92" height="20" border="0" alt="WEEK"/></a> 288 288 </xsl:when> 289 289 <xsl:otherwise> 290 <a href="{$setViewPeriod}?viewType=weekView&date={$curdate}"><img src="{$resourcesRoot}/ images/demo/std-tab-week-off.gif" width="92" height="20" border="0" alt="WEEK"/></a>290 <a href="{$setViewPeriod}?viewType=weekView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-week-off.gif" width="92" height="20" border="0" alt="WEEK"/></a> 291 291 </xsl:otherwise> 292 292 </xsl:choose> … … 295 295 <xsl:choose> 296 296 <xsl:when test="/bedework/periodname='Month'"> 297 <a href="{$setViewPeriod}?viewType=monthView&date={$curdate}"><img src="{$resourcesRoot}/ images/demo/std-tab-month-on.gif" width="90" height="20" border="0" alt="MONTH"/></a>297 <a href="{$setViewPeriod}?viewType=monthView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-month-on.gif" width="90" height="20" border="0" alt="MONTH"/></a> 298 298 </xsl:when> 299 299 <xsl:otherwise> 300 <a href="{$setViewPeriod}?viewType=monthView&date={$curdate}"><img src="{$resourcesRoot}/ images/demo/std-tab-month-off.gif" width="90" height="20" border="0" alt="MONTH"/></a>300 <a href="{$setViewPeriod}?viewType=monthView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-month-off.gif" width="90" height="20" border="0" alt="MONTH"/></a> 301 301 </xsl:otherwise> 302 302 </xsl:choose> … … 305 305 <xsl:choose> 306 306 <xsl:when test="/bedework/periodname='Year'"> 307 <a href="{$setViewPeriod}?viewType=yearView&date={$curdate}"><img src="{$resourcesRoot}/ images/demo/std-tab-year-on.gif" width="92" height="20" border="0" alt="YEAR"/></a>307 <a href="{$setViewPeriod}?viewType=yearView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-year-on.gif" width="92" height="20" border="0" alt="YEAR"/></a> 308 308 </xsl:when> 309 309 <xsl:otherwise> 310 <a href="{$setViewPeriod}?viewType=yearView&date={$curdate}"><img src="{$resourcesRoot}/ images/demo/std-tab-year-off.gif" width="92" height="20" border="0" alt="YEAR"/></a>310 <a href="{$setViewPeriod}?viewType=yearView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-year-off.gif" width="92" height="20" border="0" alt="YEAR"/></a> 311 311 </xsl:otherwise> 312 312 </xsl:choose> … … 317 317 <td class="rssPrint"> 318 318 <a href="javascript:window.print()" title="print this view"> 319 <img alt="print this view" src="{$resourcesRoot}/ images/demo/std-print-icon.gif" width="20" height="14" border="0"/> print319 <img alt="print this view" src="{$resourcesRoot}/resources/std-print-icon.gif" width="20" height="14" border="0"/> print 320 320 </a> 321 321 <a class="rss" href="{$setSelection}?calId=&setappvar=summaryMode(details)&skinName=rss" title="RSS feed">RSS</a> … … 332 332 <tr> 333 333 <td> 334 <a href="{$setViewPeriod}?viewType=dayView&date={$curdate}"><img src="{$resourcesRoot}/ images/demo/std-tab-day-off.gif" width="91" height="20" border="0" alt="DAY"/></a>334 <a href="{$setViewPeriod}?viewType=dayView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-day-off.gif" width="91" height="20" border="0" alt="DAY"/></a> 335 335 </td> 336 336 <td> 337 <a href="{$setViewPeriod}?viewType=weekView&date={$curdate}"><img src="{$resourcesRoot}/ images/demo/std-tab-week-off.gif" width="92" height="20" border="0" alt="WEEK"/></a>337 <a href="{$setViewPeriod}?viewType=weekView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-week-off.gif" width="92" height="20" border="0" alt="WEEK"/></a> 338 338 </td> 339 339 <td> 340 <a href="{$setViewPeriod}?viewType=monthView&date={$curdate}"><img src="{$resourcesRoot}/ images/demo/std-tab-month-off.gif" width="90" height="20" border="0" alt="MONTH"/></a>340 <a href="{$setViewPeriod}?viewType=monthView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-month-off.gif" width="90" height="20" border="0" alt="MONTH"/></a> 341 341 </td> 342 342 <td> 343 <a href="{$setViewPeriod}?viewType=yearView&date={$curdate}"><img src="{$resourcesRoot}/ images/demo/std-tab-year-off.gif" width="92" height="20" border="0" alt="YEAR"/></a>343 <a href="{$setViewPeriod}?viewType=yearView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-year-off.gif" width="92" height="20" border="0" alt="YEAR"/></a> 344 344 </td> 345 345 <td class="centerCell"> … … 359 359 <tr> 360 360 <td class="leftCell"> 361 <a href="{$setViewPeriod}?date={$prevdate}"><img src="{$resourcesRoot}/ images/demo/std-arrow-left.gif" alt="previous" width="13" height="16" class="prevImg" border="0"/></a>362 <a href="{$setViewPeriod}?date={$nextdate}"><img src="{$resourcesRoot}/ images/demo/std-arrow-right.gif" alt="next" width="13" height="16" class="nextImg" border="0"/></a>361 <a href="{$setViewPeriod}?date={$prevdate}"><img src="{$resourcesRoot}/resources/std-arrow-left.gif" alt="previous" width="13" height="16" class="prevImg" border="0"/></a> 362 <a href="{$setViewPeriod}?date={$nextdate}"><img src="{$resourcesRoot}/resources/std-arrow-right.gif" alt="next" width="13" height="16" class="nextImg" border="0"/></a> 363 363 <xsl:choose> 364 364 <xsl:when test="/bedework/periodname='Day'"> … … 437 437 <td class="todayButton"> 438 438 <a href="{$setViewPeriod}?viewType=todayView&date={$curdate}"> 439 <img src="{$resourcesRoot}/ images/demo/std-button-today-off.gif" width="54" height="22" border="0" alt="Go to Today" align="left"/>439 <img src="{$resourcesRoot}/resources/std-button-today-off.gif" width="54" height="22" border="0" alt="Go to Today" align="left"/> 440 440 </a> 441 441 </td> … … 490 490 <xsl:choose> 491 491 <xsl:when test="/bedework/periodname='Day'"> 492 <img src="{$resourcesRoot}/ images/demo/std-button-listview-off.gif" width="46" height="21" border="0" alt="toggle list/calendar view"/>492 <img src="{$resourcesRoot}/resources/std-button-listview-off.gif" width="46" height="21" border="0" alt="toggle list/calendar view"/> 493 493 </xsl:when> 494 494 <xsl:when test="/bedework/periodname='Year'"> 495 <img src="{$resourcesRoot}/ images/demo/std-button-calview-off.gif" width="46" height="21" border="0" alt="toggle list/calendar view"/>495 <img src="{$resourcesRoot}/resources/std-button-calview-off.gif" width="46" height="21" border="0" alt="toggle list/calendar view"/> 496 496 </xsl:when> 497 497 <xsl:when test="/bedework/periodname='Month'"> … … 499 499 <xsl:when test="/bedework/appvar[key='monthViewMode']/value='list'"> 500 500 <a href="{$setup}?setappvar=monthViewMode(cal)" title="toggle list/calendar view"> 501 <img src="{$resourcesRoot}/ images/demo/std-button-calview.gif" width="46" height="21" border="0" alt="toggle list/calendar view"/>501 <img src="{$resourcesRoot}/resources/std-button-calview.gif" width="46" height="21" border="0" alt="toggle list/calendar view"/> 502 502 </a> 503 503 </xsl:when> 504 504 <xsl:otherwise> 505 505 <a href="{$setup}?setappvar=monthViewMode(list)" title="toggle list/calendar view"> 506 <img src="{$resourcesRoot}/ images/demo/std-button-listview.gif" width="46" height="21" border="0" alt="toggle list/calendar view"/>506 <img src="{$resourcesRoot}/resources/std-button-listview.gif" width="46" height="21" border="0" alt="toggle list/calendar view"/> 507 507 </a> 508 508 </xsl:otherwise> … … 513 513 <xsl:when test="/bedework/appvar[key='weekViewMode']/value='list'"> 514 514 <a href="{$setup}?setappvar=weekViewMode(cal)" title="toggle list/calendar view"> 515 <img src="{$resourcesRoot}/ images/demo/std-button-calview.gif" width="46" height="21" border="0" alt="toggle list/calendar view"/>515 <img src="{$resourcesRoot}/resources/std-button-calview.gif" width="46" height="21" border="0" alt="toggle list/calendar view"/> 516 516 </a> 517 517 </xsl:when> 518 518 <xsl:otherwise> 519 519 <a href="{$setup}?setappvar=weekViewMode(list)" title="toggle list/calendar view"> 520 <img src="{$resourcesRoot}/ images/demo/std-button-listview.gif" width="46" height="21" border="0" alt="toggle list/calendar view"/>520 <img src="{$resourcesRoot}/resources/std-button-listview.gif" width="46" height="21" border="0" alt="toggle list/calendar view"/> 521 521 </a> 522 522 </xsl:otherwise> … … 534 534 <xsl:choose> 535 535 <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> 536 <img src="{$resourcesRoot}/ images/demo/std-button-summary-off.gif" width="62" height="21" border="0" alt="only summaries of events supported in this view"/>536 <img src="{$resourcesRoot}/resources/std-button-summary-off.gif" width="62" height="21" border="0" alt="only summaries of events supported in this view"/> 537 537 </xsl:when> 538 538 <xsl:otherwise> 539 <img src="{$resourcesRoot}/ images/demo/std-button-details-off.gif" width="62" height="21" border="0" alt="only summaries of events supported in this view"/>539 <img src="{$resourcesRoot}/resources/std-button-details-off.gif" width="62" height="21" border="0" alt="only summaries of events supported in this view"/> 540 540 </xsl:otherwise> 541 541 </xsl:choose> … … 545 545 <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> 546 546 <a href="{$setup}?setappvar=summaryMode(summary)" title="toggle summary/detailed view"> 547 <img src="{$resourcesRoot}/ images/demo/std-button-summary.gif" width="62" height="21" border="0" alt="toggle summary/detailed view"/>547 <img src="{$resourcesRoot}/resources/std-button-summary.gif" width="62" height="21" border="0" alt="toggle summary/detailed view"/> 548 548 </a> 549 549 </xsl:when> 550 550 <xsl:otherwise> 551 551 <a href="{$setup}?setappvar=summaryMode(details)" title="toggle summary/detailed view"> 552 <img src="{$resourcesRoot}/ images/demo/std-button-details.gif" width="62" height="21" border="0" alt="toggle summary/detailed view"/>552 <img src="{$resourcesRoot}/resources/std-button-details.gif" width="62" height="21" border="0" alt="toggle summary/detailed view"/> 553 553 </a> 554 554 </xsl:otherwise> … … 556 556 </xsl:otherwise> 557 557 </xsl:choose> 558 <a href="setup.do"><img src="{$resourcesRoot}/ images/demo/std-button-refresh.gif" width="70" height="21" border="0" alt="refresh view"/></a>558 <a href="setup.do"><img src="{$resourcesRoot}/resources/std-button-refresh.gif" width="70" height="21" border="0" alt="refresh view"/></a> 559 559 </td> 560 560 </tr> … … 1069 1069 <xsl:variable name="icalName" select="concat($guid,'.ics')"/> 1070 1070 <a href="{$eventView}?subid={$subscriptionId}&&nocache=no&skinName=ical&contentType=text/calendar&contentName={$icalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 1071 <img src="{$resourcesRoot}/ images/demo/std-ical-icon.gif" width="20" height="26" border="0" align="left" alt="Download this event"/>1071 <img src="{$resourcesRoot}/resources/std-ical-icon.gif" width="20" height="26" border="0" align="left" alt="Download this event"/> 1072 1072 </a><!-- <br /> 1073 1073 [<a href="">help</a>] --> … … 1182 1182 </tr> 1183 1183 <tr> 1184 <td class="field Name">1184 <td class="fieldname"> 1185 1185 Date & Time: 1186 1186 </td> 1187 <td >1187 <td class="fieldval"> 1188 1188 <!-- Set the timefields class for the first load of the page; 1189 1189 subsequent changes will take place using javascript without a … … 1191 1191 <xsl:variable name="timeFieldsClass"> 1192 1192 <xsl:choose> 1193 <xsl:when test="/bedework admin/formElements/form/allDay/input/@checked='checked'">invisible</xsl:when>1193 <xsl:when test="/bedework/formElements/form/allDay/input/@checked='checked'">invisible</xsl:when> 1194 1194 <xsl:otherwise>timeFields</xsl:otherwise> 1195 1195 </xsl:choose> 1196 1196 </xsl:variable> 1197 1197 <xsl:choose> 1198 <xsl:when test="/bedework admin/formElements/form/allDay/input/@checked='checked'">1198 <xsl:when test="/bedework/formElements/form/allDay/input/@checked='checked'"> 1199 1199 <input type="checkbox" name="allDayFlag" onclick="swapAllDayEvent(this)" value="on" checked="checked"/> 1200 1200 <input type="hidden" name="eventStartDate.dateOnly" value="on" id="allDayStartDateField"/> … … 1212 1212 <div class="dateFields"> 1213 1213 <span class="startDateLabel">Date </span> 1214 <xsl:copy-of select="/bedework admin/formElements/form/start/month/*"/>1215 <xsl:copy-of select="/bedework admin/formElements/form/start/day/*"/>1214 <xsl:copy-of select="/bedework/formElements/form/start/month/*"/> 1215 <xsl:copy-of select="/bedework/formElements/form/start/day/*"/> 1216 1216 <xsl:choose> 1217 <xsl:when test="/bedework admin/creating = 'true'">1218 <xsl:copy-of select="/bedework admin/formElements/form/start/year/*"/>1217 <xsl:when test="/bedework/creating = 'true'"> 1218 <xsl:copy-of select="/bedework/formElements/form/start/year/*"/> 1219 1219 </xsl:when> 1220 1220 <xsl:otherwise> 1221 <xsl:copy-of select="/bedework admin/formElements/form/start/yearText/*"/>1221 <xsl:copy-of select="/bedework/formElements/form/start/yearText/*"/> 1222 1222 </xsl:otherwise> 1223 1223 </xsl:choose> … … 1231 1231 <div class="{$timeFieldsClass}" id="startTimeFields"> 1232 1232 <span id="calWidgetStartTimeHider" class="show"> 1233 <xsl:copy-of select="/bedework admin/formElements/form/start/hour/*"/>1234 <xsl:copy-of select="/bedework admin/formElements/form/start/minute/*"/>1235 <xsl:if test="/bedework admin/formElements/form/start/ampm">1236 <xsl:copy-of select="/bedework admin/formElements/form/start/ampm/*"/>1233 <xsl:copy-of select="/bedework/formElements/form/start/hour/*"/> 1234 <xsl:copy-of select="/bedework/formElements/form/start/minute/*"/> 1235 <xsl:if test="/bedework/formElements/form/start/ampm"> 1236 <xsl:copy-of select="/bedework/formElements/form/start/ampm/*"/> 1237 1237 </xsl:if> 1238 1238 <xsl:text> </xsl:text> … … 1244 1244 <strong>End:</strong> 1245 1245 <xsl:choose> 1246 <xsl:when test="/bedework admin/formElements/form/end/type='E'">1246 <xsl:when test="/bedework/formElements/form/end/type='E'"> 1247 1247 <input type="radio" name="eventEndType" value="E" checked="checked" onClick="changeClass('endDateTime','shown');changeClass('endDuration','invisible');"/> 1248 1248 </xsl:when> … … 1254 1254 <xsl:variable name="endDateTimeClass"> 1255 1255 <xsl:choose> 1256 <xsl:when test="/bedework admin/formElements/form/end/type='E'">shown</xsl:when>1256 <xsl:when test="/bedework/formElements/form/end/type='E'">shown</xsl:when> 1257 1257 <xsl:otherwise>invisible</xsl:otherwise> 1258 1258 </xsl:choose> … … 1260 1260 <div class="{$endDateTimeClass}" id="endDateTime"> 1261 1261 <div class="dateFields"> 1262 <xsl:copy-of select="/bedework admin/formElements/form/end/dateTime/month/*"/>1263 <xsl:copy-of select="/bedework admin/formElements/form/end/dateTime/day/*"/>1262 <xsl:copy-of select="/bedework/formElements/form/end/dateTime/month/*"/> 1263 <xsl:copy-of select="/bedework/formElements/form/end/dateTime/day/*"/> 1264 1264 <xsl:choose> 1265 <xsl:when test="/bedework admin/creating = 'true'">1266 <xsl:copy-of select="/bedework admin/formElements/form/end/dateTime/year/*"/>1265 <xsl:when test="/bedework/creating = 'true'"> 1266 <xsl:copy-of select="/bedework/formElements/form/end/dateTime/year/*"/> 1267 1267 </xsl:when> 1268 1268 <xsl:otherwise> 1269 <xsl:copy-of select="/bedework admin/formElements/form/end/dateTime/yearText/*"/>1269 <xsl:copy-of select="/bedework/formElements/form/end/dateTime/yearText/*"/> 1270 1270 </xsl:otherwise> 1271 1271 </xsl:choose> … … 1279 1279 <div class="{$timeFieldsClass}" id="endTimeFields"> 1280 1280 <span id="calWidgetEndTimeHider" class="show"> 1281 <xsl:copy-of select="/bedework admin/formElements/form/end/dateTime/hour/*"/>1282 <xsl:copy-of select="/bedework admin/formElements/form/end/dateTime/minute/*"/>1283 <xsl:if test="/bedework admin/formElements/form/end/dateTime/ampm">1284 <xsl:copy-of select="/bedework admin/formElements/form/end/dateTime/ampm/*"/>1281 <xsl:copy-of select="/bedework/formElements/form/end/dateTime/hour/*"/> 1282 <xsl:copy-of select="/bedework/formElements/form/end/dateTime/minute/*"/> 1283 <xsl:if test="/bedework/formElements/form/end/dateTime/ampm"> 1284 <xsl:copy-of select="/bedework/formElements/form/end/dateTime/ampm/*"/> 1285 1285 </xsl:if> 1286 1286 <xsl:text> </xsl:text> … … 1294 1294 <div class="dateFields"> 1295 1295 <xsl:choose> 1296 <xsl:when test="/bedework admin/formElements/form/end/type='D'">1296 <xsl:when test="/bedework/formElements/form/end/type='D'"> 1297 1297 <input type="radio" name="eventEndType" value="D" checked="checked" onClick="changeClass('endDateTime','invisible');changeClass('endDuration','shown');"/> 1298 1298 </xsl:when> … … 1304 1304 <xsl:variable name="endDurationClass"> 1305 1305 <xsl:choose> 1306 <xsl:when test="/bedework admin/formElements/form/end/type='D'">shown</xsl:when>1306 <xsl:when test="/bedework/formElements/form/end/type='D'">shown</xsl:when> 1307 1307 <xsl:otherwise>invisible</xsl:otherwise> 1308 1308 </xsl:choose> … … 1310 1310 <xsl:variable name="durationHrMinClass"> 1311 1311 <xsl:choose> 1312 <xsl:when test="/bedework admin/formElements/form/allDay/input/@checked='checked'">invisible</xsl:when>1312 <xsl:when test="/bedework/formElements/form/allDay/input/@checked='checked'">invisible</xsl:when> 1313 1313 <xsl:otherwise>shown</xsl:otherwise> 1314 1314 </xsl:choose> … … 1316 1316 <div class="{$endDurationClass}" id="endDuration"> 1317 1317 <xsl:choose> 1318 <xsl:when test="/bedework admin/formElements/form/end/duration/weeks/input/@value = '0'">1318 <xsl:when test="/bedework/formElements/form/end/duration/weeks/input/@value = '0'"> 1319 1319 <!-- we are using day, hour, minute format --> 1320 1320 <!-- must send either no week value or week value of 0 (zero) --> 1321 1321 <div class="durationBox"> 1322 1322 <input type="radio" name="eventDuration.type" value="daytime" onclick="swapDurationType('daytime')" checked="checked"/> 1323 <xsl:variable name="daysStr" select="/bedework admin/formElements/form/end/duration/days/input/@value"/>1323 <xsl:variable name="daysStr" select="/bedework/formElements/form/end/duration/days/input/@value"/> 1324 1324 <input type="text" name="eventDuration.daysStr" size="2" value="{$daysStr}" id="durationDays"/>days 1325 1325 <span id="durationHrMin" class="{$durationHrMinClass}"> 1326 <xsl:variable name="hoursStr" select="/bedework admin/formElements/form/end/duration/hours/input/@value"/>1326 <xsl:variable name="hoursStr" select="/bedework/formElements/form/end/duration/hours/input/@value"/> 1327 1327 <input type="text" name="eventDuration.hoursStr" size="2" value="{$hoursStr}" id="durationHours"/>hours 1328 <xsl:variable name="minutesStr" select="/bedework admin/formElements/form/end/duration/minutes/input/@value"/>1328 <xsl:variable name="minutesStr" select="/bedework/formElements/form/end/duration/minutes/input/@value"/> 1329 1329 <input type="text" name="eventDuration.minutesStr" size="2" value="{$minutesStr}" id="durationMinutes"/>minutes 1330 1330 </span> … … 1333 1333 <div class="durationBox"> 1334 1334 <input type="radio" name="eventDuration.type" value="weeks" onclick="swapDurationType('week')"/> 1335 <xsl:variable name="weeksStr" select="/bedework admin/formElements/form/end/duration/weeks/input/@value"/>1335 <xsl:variable name="weeksStr" select="/bedework/formElements/form/end/duration/weeks/input/@value"/> 1336 1336 <input type="text" name="eventDuration.weeksStr" size="2" value="{$weeksStr}" id="durationWeeks" disabled="true"/>weeks 1337 1337 </div> … … 1341 1341 <div class="durationBox"> 1342 1342 <input type="radio" name="eventDuration.type" value="daytime" onclick="swapDurationType('daytime')"/> 1343 <xsl:variable name="daysStr" select="/bedework admin/formElements/form/end/duration/days/input/@value"/>1343 <xsl:variable name="daysStr" select="/bedework/formElements/form/end/duration/days/input/@value"/> 1344 1344 <input type="text" name="eventDuration.daysStr" size="2" value="{$daysStr}" id="durationDays" disabled="true"/>days 1345 1345 <span id="durationHrMin" class="{$durationHrMinClass}"> 1346 <xsl:variable name="hoursStr" select="/bedework admin/formElements/form/end/duration/hours/input/@value"/>1346 <xsl:variable name="hoursStr" select="/bedework/formElements/form/end/duration/hours/input/@value"/> 1347 1347 <input type="text" name="eventDuration.hoursStr" size="2" value="{$hoursStr}" id="durationHours" disabled="true"/>hours 1348 <xsl:variable name="minutesStr" select="/bedework admin/formElements/form/end/duration/minutes/input/@value"/>1348 <xsl:variable name="minutesStr" select="/bedework/formElements/form/end/duration/minutes/input/@value"/> 1349 1349 <input type="text" name="eventDuration.minutesStr" size="2" value="{$minutesStr}" id="durationMinutes" disabled="true"/>minutes 1350 1350 </span> … … 1353 1353 <div class="durationBox"> 1354 1354 <input type="radio" name="eventDuration.type" value="weeks" onclick="swapDurationType('week')" checked="checked"/> 1355 <xsl:variable name="weeksStr" select="/bedework admin/formElements/form/end/duration/weeks/input/@value"/>1355 <xsl:variable name="weeksStr" select="/bedework/formElements/form/end/duration/weeks/input/@value"/> 1356 1356 <input type="text" name="eventDuration.weeksStr" size="2" value="{$weeksStr}" id="durationWeeks"/>weeks 1357 1357 </div> … … 1362 1362 <div class="dateFields" id="noDuration"> 1363 1363 <xsl:choose> 1364 <xsl:when test="/bedework admin/formElements/form/end/type='N'">1364 <xsl:when test="/bedework/formElements/form/end/type='N'"> 1365 1365 <input type="radio" name="eventEndType" value="N" checked="checked" onClick="changeClass('endDateTime','invisible');changeClass('endDuration','invisible');"/> 1366 1366 </xsl:when> … … 1376 1376 <!-- Status --> 1377 1377 <tr> 1378 <td class="field Name">1378 <td class="fieldname"> 1379 1379 Status: 1380 1380 </td> 1381 <td >1381 <td class="fieldval"> 1382 1382 <xsl:choose> 1383 <xsl:when test="/bedework admin/formElements/form/status = 'TENTATIVE'">1383 <xsl:when test="/bedework/formElements/form/status = 'TENTATIVE'"> 1384 1384 <input type="radio" name="event.status" value="CONFIRMED"/>confirmed <input type="radio" name="event.status" value="TENTATIVE" checked="checked"/>tentative <input type="radio" name="event.status" value="CANCELLED"/>cancelled 1385 1385 </xsl:when> 1386 <xsl:when test="/bedework admin/formElements/form/status = 'CANCELLED'">1386 <xsl:when test="/bedework/formElements/form/status = 'CANCELLED'"> 1387 1387 <input type="radio" name="event.status" value="CONFIRMED"/>confirmed <input type="radio" name="event.status" value="TENTATIVE"/>tentative <input type="radio" name="event.status" value="CANCELLED" checked="checked"/>cancelled 1388 1388 </xsl:when> … … 1913 1913 <tr> 1914 1914 <td class="leftCell"> 1915 <a href="http://www.bedework.org/">Bedework Calendar</a> 1915 <a href="http://www.bedework.org/">Bedework Calendar</a> | 1916 <a href="/ucal/showMain.rdo?refreshXslt=yes">refresh XSLT</a> 1916 1917 </td> 1917 1918 <td class="rightCell"> trunk/calendar3/deployment/webuser/webapp/resources/demoskins/resources/includes.js
r289 r291 48 48 } 49 49 50 // launches new browser window with print-friendly version of page when 51 // print icon is clicked 52 function launchPrintWindow(URL) { 53 printWindow = window.open(URL, "printWindow", "width=640,height=500,scrollbars=yes,resizable=yes,alwaysRaised=yes,menubar=yes,toolbar=yes"); 54 window.printWindow.focus(); 55 } 56 50 57 function startDateCalWidgetCallback(date, month, year) { 51 58 if (String(month).length == 1) { … … 54 61 if (String(date).length == 1) { 55 62 date = '0' + date; 56 } 63 } 57 64 today = new Date(); 58 65 if (year < today.getFullYear()) { … … 70 77 if (String(date).length == 1) { 71 78 date = '0' + date; 72 } 79 } 73 80 today = new Date(); 74 81 if (year < today.getFullYear()) {
