Changeset 126

Show
Ignore:
Timestamp:
02/09/06 13:59:24
Author:
johnsa
Message:

changed public skin image references to reflect where images are now located for demo stylesheet

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/default.xsl

    r122 r126  
    162162    <table width="100%" border="0" cellpadding="0" cellspacing="0" id="logoTable"> 
    163163      <tr> 
    164         <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> 
     164        <td colspan="3" id="logoCell"><a href="http://www.bedework.org/"><img src="{$resourcesRoot}/images/bedeworkLogo.gif" width="292" height="75" border="0" alt="Bedework"/></a></td> 
    165165        <td colspan="2" id="schoolLinksCell"> 
    166     <h2>Public Calendar</h2> 
     166          <h2>Public Calendar</h2> 
    167167          <a href="{$privateCal}">Personal Calendar</a> | 
    168168          <a href="http://www.yourschoolhere.edu">School Home</a> | 
     
    171171            Example Calendar Help 
    172172          </a> 
    173           </td> 
     173        </td> 
    174174      </tr> 
    175175    </table> 
    176176    <table width="100%" border="0" cellpadding="0" cellspacing="0"> 
    177177      <tr> 
    178         <td><img alt="" src="{$resourcesRoot}/images/demo/std-title-left.gif" width="8" height="16" border="0"/></td> 
    179         <td width="50%"><img alt="" src="{$resourcesRoot}/images/demo/std-title-space.gif" width="100%" height="16" border="0"/></td> 
    180         <td><img src="{$resourcesRoot}/images/demo/std-title.gif" width="485" height="16" border="0" alt="Calendar of Events"/></td> 
    181         <td width="50%"><img alt="" src="{$resourcesRoot}/images/demo/std-title-space.gif" width="100%" height="16" border="0"/></td> 
    182         <td><img alt="" src="{$resourcesRoot}/images/demo/std-title-right.gif" width="9" height="16" border="0"/></td> 
     178        <td><img alt="" src="{$resourcesRoot}/images/std-title-left.gif" width="8" height="16" border="0"/></td> 
     179        <td width="50%"><img alt="" src="{$resourcesRoot}/images/std-title-space.gif" width="100%" height="16" border="0"/></td> 
     180        <td><img src="{$resourcesRoot}/images/std-title.gif" width="485" height="16" border="0" alt="Calendar of Events"/></td> 
     181        <td width="50%"><img alt="" src="{$resourcesRoot}/images/std-title-space.gif" width="100%" height="16" border="0"/></td> 
     182        <td><img alt="" src="{$resourcesRoot}/images/std-title-right.gif" width="9" height="16" border="0"/></td> 
    183183      </tr> 
    184184    </table> 
    185185    <table width="100%" border="0" cellpadding="0" cellspacing="0" id="dateBarTable"> 
    186186      <tr> 
    187         <td width="50" class="imgCell"><img alt="*" src="{$resourcesRoot}/images/demo/spacer.gif" width="50" height="14" border="0"/></td> 
     187        <td width="50" class="imgCell"><img alt="*" src="{$resourcesRoot}/images/spacer.gif" width="50" height="14" border="0"/></td> 
    188188        <td align="center" width="100%"> 
    189189          <xsl:value-of select="/bedework/firstday/longdate"/> 
     
    195195        <td width="50" class="imgCell"> 
    196196          <a href="javascript:window.print()" title="print this view"> 
    197             <img alt="print this view" src="{$resourcesRoot}/images/demo/std-print-icon.gif" width="20" height="14" border="0"/> 
     197            <img alt="print this view" src="{$resourcesRoot}/images/std-print-icon.gif" width="20" height="14" border="0"/> 
    198198          </a> 
    199199          <a class="rss" href="{$setSelection}?calId=&amp;setappvar=summaryMode(details)&amp;skinName=rss" title="RSS feed">RSS</a> 
     
    221221              <xsl:choose> 
    222222                <xsl:when test="/bedework/periodname='Day'"> 
    223                   <a href="{$setViewPeriod}?viewType=dayView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/demo/std-tab-day-on.gif" width="91" height="20" border="0" alt="DAY"/></a> 
     223                  <a href="{$setViewPeriod}?viewType=dayView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-day-on.gif" width="91" height="20" border="0" alt="DAY"/></a> 
    224224                </xsl:when> 
    225225                <xsl:otherwise> 
    226                   <a href="{$setViewPeriod}?viewType=dayView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/demo/std-tab-day-off.gif" width="91" height="20" border="0" alt="DAY"/></a> 
     226                  <a href="{$setViewPeriod}?viewType=dayView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-day-off.gif" width="91" height="20" border="0" alt="DAY"/></a> 
    227227                </xsl:otherwise> 
    228228              </xsl:choose> 
     
    231231              <xsl:choose> 
    232232                <xsl:when test="/bedework/periodname='Week' or /bedework/periodname=''"> 
    233                   <a href="{$setViewPeriod}?viewType=weekView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/demo/std-tab-week-on.gif" width="92" height="20" border="0" alt="WEEK"/></a> 
     233                  <a href="{$setViewPeriod}?viewType=weekView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-week-on.gif" width="92" height="20" border="0" alt="WEEK"/></a> 
    234234                 </xsl:when> 
    235235                <xsl:otherwise> 
    236                   <a href="{$setViewPeriod}?viewType=weekView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/demo/std-tab-week-off.gif" width="92" height="20" border="0" alt="WEEK"/></a> 
     236                  <a href="{$setViewPeriod}?viewType=weekView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-week-off.gif" width="92" height="20" border="0" alt="WEEK"/></a> 
    237237                 </xsl:otherwise> 
    238238              </xsl:choose> 
     
    241241              <xsl:choose> 
    242242                <xsl:when test="/bedework/periodname='Month'"> 
    243                   <a href="{$setViewPeriod}?viewType=monthView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/demo/std-tab-month-on.gif" width="90" height="20" border="0" alt="MONTH"/></a> 
     243                  <a href="{$setViewPeriod}?viewType=monthView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-month-on.gif" width="90" height="20" border="0" alt="MONTH"/></a> 
    244244                </xsl:when> 
    245245                <xsl:otherwise> 
    246                   <a href="{$setViewPeriod}?viewType=monthView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/demo/std-tab-month-off.gif" width="90" height="20" border="0" alt="MONTH"/></a> 
     246                  <a href="{$setViewPeriod}?viewType=monthView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-month-off.gif" width="90" height="20" border="0" alt="MONTH"/></a> 
    247247                </xsl:otherwise> 
    248248              </xsl:choose> 
     
    251251              <xsl:choose> 
    252252                <xsl:when test="/bedework/periodname='Year'"> 
    253                   <a href="{$setViewPeriod}?viewType=yearView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/demo/std-tab-year-on.gif" width="92" height="20" border="0" alt="YEAR"/></a> 
     253                  <a href="{$setViewPeriod}?viewType=yearView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-year-on.gif" width="92" height="20" border="0" alt="YEAR"/></a> 
    254254                </xsl:when> 
    255255                <xsl:otherwise> 
    256                   <a href="{$setViewPeriod}?viewType=yearView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/demo/std-tab-year-off.gif" width="92" height="20" border="0" alt="YEAR"/></a> 
     256                  <a href="{$setViewPeriod}?viewType=yearView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-year-off.gif" width="92" height="20" border="0" alt="YEAR"/></a> 
    257257                </xsl:otherwise> 
    258258              </xsl:choose> 
     
    261261              <xsl:choose> 
    262262                <xsl:when test="/bedework/periodname='Day'"> 
    263                   <img src="{$resourcesRoot}/images/demo/std-button-listview-off.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/> 
     263                  <img src="{$resourcesRoot}/images/std-button-listview-off.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/> 
    264264                </xsl:when> 
    265265                <xsl:when test="/bedework/periodname='Year'"> 
    266                   <img src="{$resourcesRoot}/images/demo/std-button-calview-off.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/> 
     266                  <img src="{$resourcesRoot}/images/std-button-calview-off.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/> 
    267267                </xsl:when> 
    268268                <xsl:when test="/bedework/periodname='Month'"> 
     
    270270                    <xsl:when test="/bedework/appvar[key='monthViewMode']/value='list'"> 
    271271                      <a href="{$setup}?setappvar=monthViewMode(cal)" title="toggle list/calendar view"> 
    272                         <img src="{$resourcesRoot}/images/demo/std-button-calview.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/> 
     272                        <img src="{$resourcesRoot}/images/std-button-calview.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/> 
    273273                      </a> 
    274274                    </xsl:when> 
    275275                    <xsl:otherwise> 
    276276                      <a href="{$setup}?setappvar=monthViewMode(list)" title="toggle list/calendar view"> 
    277                         <img src="{$resourcesRoot}/images/demo/std-button-listview.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/> 
     277                        <img src="{$resourcesRoot}/images/std-button-listview.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/> 
    278278                      </a> 
    279279                    </xsl:otherwise> 
     
    284284                    <xsl:when test="/bedework/appvar[key='weekViewMode']/value='list'"> 
    285285                      <a href="{$setup}?setappvar=weekViewMode(cal)" title="toggle list/calendar view"> 
    286                         <img src="{$resourcesRoot}/images/demo/std-button-calview.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/> 
     286                        <img src="{$resourcesRoot}/images/std-button-calview.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/> 
    287287                      </a> 
    288288                    </xsl:when> 
    289289                    <xsl:otherwise> 
    290290                      <a href="{$setup}?setappvar=weekViewMode(list)" title="toggle list/calendar view"> 
    291                         <img src="{$resourcesRoot}/images/demo/std-button-listview.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/> 
     291                        <img src="{$resourcesRoot}/images/std-button-listview.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/> 
    292292                      </a> 
    293293                    </xsl:otherwise> 
     
    305305                  <xsl:choose> 
    306306                    <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> 
    307                       <img src="{$resourcesRoot}/images/demo/std-button-summary-off.gif" width="67" height="20" border="0" alt="only summaries of events supported in this view"/> 
     307                      <img src="{$resourcesRoot}/images/std-button-summary-off.gif" width="67" height="20" border="0" alt="only summaries of events supported in this view"/> 
    308308                    </xsl:when> 
    309309                    <xsl:otherwise> 
    310                       <img src="{$resourcesRoot}/images/demo/std-button-details-off.gif" width="67" height="20" border="0" alt="only summaries of events supported in this view"/> 
     310                      <img src="{$resourcesRoot}/images/std-button-details-off.gif" width="67" height="20" border="0" alt="only summaries of events supported in this view"/> 
    311311                    </xsl:otherwise> 
    312312                  </xsl:choose> 
     
    316316                    <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> 
    317317                      <a href="{$setup}?setappvar=summaryMode(summary)" title="toggle summary/detailed view"> 
    318                         <img src="{$resourcesRoot}/images/demo/std-button-summary.gif" width="67" height="20" border="0" alt="toggle summary/detailed view"/> 
     318                        <img src="{$resourcesRoot}/images/std-button-summary.gif" width="67" height="20" border="0" alt="toggle summary/detailed view"/> 
    319319                      </a> 
    320320                    </xsl:when> 
    321321                    <xsl:otherwise> 
    322322                      <a href="{$setup}?setappvar=summaryMode(details)" title="toggle summary/detailed view"> 
    323                         <img src="{$resourcesRoot}/images/demo/std-button-details.gif" width="67" height="20" border="0" alt="toggle summary/detailed view"/> 
     323                        <img src="{$resourcesRoot}/images/std-button-details.gif" width="67" height="20" border="0" alt="toggle summary/detailed view"/> 
    324324                      </a> 
    325325                    </xsl:otherwise> 
     
    329329            </td> 
    330330            <td class="rightCell"> 
    331               <a href="setup.do"><img src="{$resourcesRoot}/images/demo/std-button-refresh.gif" width="69" height="20" border="0" alt="refresh view"/></a> 
     331              <a href="setup.do"><img src="{$resourcesRoot}/images/std-button-refresh.gif" width="69" height="20" border="0" alt="refresh view"/></a> 
    332332            </td> 
    333333          </tr> 
     
    338338          <tr> 
    339339            <td> 
    340               <a href="{$setViewPeriod}?viewType=dayView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/demo/std-tab-day-off.gif" width="91" height="20" border="0" alt="DAY"/></a> 
     340              <a href="{$setViewPeriod}?viewType=dayView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-day-off.gif" width="91" height="20" border="0" alt="DAY"/></a> 
    341341            </td> 
    342342            <td> 
    343               <a href="{$setViewPeriod}?viewType=weekView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/demo/std-tab-week-off.gif" width="92" height="20" border="0" alt="WEEK"/></a> 
     343              <a href="{$setViewPeriod}?viewType=weekView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-week-off.gif" width="92" height="20" border="0" alt="WEEK"/></a> 
    344344            </td> 
    345345            <td> 
    346               <a href="{$setViewPeriod}?viewType=monthView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/demo/std-tab-month-off.gif" width="90" height="20" border="0" alt="MONTH"/></a> 
     346              <a href="{$setViewPeriod}?viewType=monthView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-month-off.gif" width="90" height="20" border="0" alt="MONTH"/></a> 
    347347            </td> 
    348348            <td> 
    349               <a href="{$setViewPeriod}?viewType=yearView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/demo/std-tab-year-off.gif" width="92" height="20" border="0" alt="YEAR"/></a> 
     349              <a href="{$setViewPeriod}?viewType=yearView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-year-off.gif" width="92" height="20" border="0" alt="YEAR"/></a> 
    350350            </td> 
    351351            <td class="centerCell"> 
     
    375375      <tr> 
    376376        <td class="leftCell"> 
    377           <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> 
    378           <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> 
     377          <a href="{$setViewPeriod}?date={$prevdate}"><img src="{$resourcesRoot}/images/std-arrow-left.gif" alt="previous" width="13" height="16" class="prevImg" border="0"/></a> 
     378          <a href="{$setViewPeriod}?date={$nextdate}"><img src="{$resourcesRoot}/images/std-arrow-right.gif" alt="next" width="13" height="16" class="nextImg" border="0"/></a> 
    379379          <xsl:choose> 
    380380            <xsl:when test="/bedework/periodname='Day'"> 
     
    453453        <td class="todayButton"> 
    454454          <a href="{$setViewPeriod}?viewType=todayView&amp;date={$curdate}"> 
    455             <img src="{$resourcesRoot}/images/demo/std-button-today-off.gif" width="54" height="22" border="0" alt="Go to Today" align="left"/> 
     455            <img src="{$resourcesRoot}/images/std-button-today-off.gif" width="54" height="22" border="0" alt="Go to Today" align="left"/> 
    456456          </a> 
    457457        </td> 
     
    533533          <xsl:variable name="recurrenceId" select="recurrenceId"/> 
    534534          <a href="{$privateCal}/addEventRef.do?eventId={$id}" title="Add event to MyCalendar" target="myCalendar"> 
    535             <img class="addref" src="{$resourcesRoot}/images/demo/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/> 
     535            <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/> 
    536536          </a> 
    537537          <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 
    538538          <a href="{$export}?subid={$subscriptionId}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
    539             <img src="{$resourcesRoot}/images/demo/std-ical_icon.gif" width="20" height="26" border="0" alt="Download this event"/> 
     539            <img src="{$resourcesRoot}/images/std-ical_icon.gif" width="20" height="26" border="0" alt="Download this event"/> 
    540540          </a> 
    541541        </th> 
     
    767767                  <variable name="confId" select="/bedework/confirmationid"/> 
    768768                  <a href="{$privateCal}/addEventRef.do?eventId={$id}" title="Add event to MyCalendar" target="myCalendar"> 
    769                     <img class="addref" src="{$resourcesRoot}/images/demo/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="Add event to MyCalendar"/> 
     769                    <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="Add event to MyCalendar"/> 
    770770                  </a> 
    771771                  <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 
    772772                  <a href="{$export}?subid={$subscriptionId}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
    773                     <img src="{$resourcesRoot}/images/demo/std-ical_icon_small.gif" width="12" height="16" border="0" alt="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"/> 
     773                    <img src="{$resourcesRoot}/images/std-ical_icon_small.gif" width="12" height="16" border="0" alt="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"/> 
    774774                  </a> 
    775775                </td>