Changeset 2445

Show
Ignore:
Timestamp:
12/11/09 11:38:19
Author:
johnsa
Message:

public clients: restructured departmental theme

Files:

Legend:

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

    r2350 r2445  
    6767  <!-- ================================= --> 
    6868 
    69   <!-- URL of resources common to all bedework apps (javascript, images) --> 
    70   <xsl:variable name="resourceCommons">../../../bedework-common</xsl:variable> 
    71  
    7269  <!-- DEFINE INCLUDES --> 
    73   <!-- cannot use the resourceCommons variable in xsl:include paths --> 
    7470  <xsl:include href="../../../bedework-common/default/default/errors.xsl"/> 
    7571  <xsl:include href="../../../bedework-common/default/default/messages.xsl"/> 
    7672  <xsl:include href="../../../bedework-common/default/default/util.xsl"/> 
    7773  <xsl:include href="./strings.xsl"/> 
    78    
     74 
    7975 
    8076  <!-- DEFINE GLOBAL CONSTANTS --> 
     
    133129        <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> 
    134130        <!-- load css --> 
    135         <link rel="stylesheet" href="{$resourcesRoot}/default/default/soe.css"/> 
    136         <link rel="stylesheet" href="{$resourcesRoot}/default/default/subColors.css"/> 
    137         <link rel="stylesheet" type="text/css" media="print" href="{$resourcesRoot}/default/default/print.css" /> 
     131        <link rel="stylesheet" href="{$resourcesRoot}/default/default/defaultTheme/css/soe.css"/> 
     132        <link rel="stylesheet" href="../../../bedework-common/default/default/subColors.css"/> 
    138133        <!-- load javascript --> 
    139134        <!-- load javascript --> 
     
    143138          <link rel="stylesheet" href="/bedework-common/javascript/jquery/css/custom-theme/jquery-ui-1.7.1.custom.css"/> 
    144139          <link rel="stylesheet" href="/bedework-common/javascript/jquery/css/custom-theme/bedeworkJquery.css"/> 
    145           <script type="text/javascript" src="{$resourcesRoot}/resources/javascript/bedework.js">&#160;</script> 
     140          <script type="text/javascript" src="{$resourcesRoot}/default/default/defaultTheme/javascript/bedework.js">&#160;</script> 
    146141          <xsl:if test="/bedework/page='displayCalendarForExport'"> 
    147142            <script type="text/javascript"> 
     
    151146                dateFormat: "yy-mm-dd", 
    152147                showOn: "both", 
    153                 buttonImage: "<xsl:value-of select='$resourcesRoot'/>/images/calIcon.gif", 
     148                buttonImage: "<xsl:value-of select='$resourcesRoot'/>/default/default/defaultTheme/images/calIcon.gif", 
    154149                buttonImageOnly: true, 
    155150                gotoCurrent: true, 
     
    167162        </xsl:if> 
    168163        <!-- address bar icon --> 
    169         <link rel="icon" type="image/ico" href="{$resourcesRoot}/images/bedework.ico" /> 
     164        <link rel="icon" type="image/ico" href="{$resourcesRoot}/default/default/defaultTheme/images/bedework.ico" /> 
    170165      </head> 
    171166      <body> 
     
    250245    <table width="100%" border="0" cellpadding="0" cellspacing="0" id="logoTable"> 
    251246      <tr> 
    252         <td colspan="3" id="logoCell"><a href="/bedework/"><img src="{$resourcesRoot}/images/bedeworkLogoGreen.gif" width="292" height="75" border="0" alt="Bedework"/></a></td> 
     247        <td colspan="3" id="logoCell"><a href="/bedework/"><img src="{$resourcesRoot}/default/default/defaultTheme/images/bedeworkLogoGreen.gif" width="292" height="75" border="0" alt="Bedework"/></a></td> 
    253248        <td colspan="2" id="schoolLinksCell"> 
    254249          <h2><xsl:copy-of select="$bwStr-HdBr-SchoolOfEngineering"/></h2> 
     
    299294        <td class="rssPrint"> 
    300295          <a href="javascript:window.print()" title="{$bwStr-HdBr-PrintThisView}"> 
    301             <img alt="print this view" src="{$resourcesRoot}/images/std-print-icon.gif" width="20" height="14" border="0"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-HdBr-Print"/> 
     296            <img alt="print this view" src="{$resourcesRoot}/default/default/defaultTheme/images/std-print-icon.gif" width="20" height="14" border="0"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-HdBr-Print"/> 
    302297          </a> 
    303298          <a class="rss" href="{$listEvents}&amp;setappvar=summaryMode(details)&amp;skinName=rss-list&amp;days=3" title="{$bwStr-HdBr-RSSFeed}"><xsl:copy-of select="$bwStr-HdBr-RSS"/></a> 
     
    345340      <tr> 
    346341        <td class="leftCell"> 
    347           <a id="prevViewPeriod" href="{$setViewPeriod}&amp;date={$prevdate}"><img src="{$resourcesRoot}/images/std-arrow-left.gif" alt="previous" width="13" height="16" class="prevImg" border="0"/></a> 
    348           <a id="nextViewPeriod" href="{$setViewPeriod}&amp;date={$nextdate}"><img src="{$resourcesRoot}/images/std-arrow-right.gif" alt="next" width="13" height="16" class="nextImg" border="0"/></a> 
     342          <a id="prevViewPeriod" href="{$setViewPeriod}&amp;date={$prevdate}"><img src="{$resourcesRoot}/default/default/defaultTheme/images/std-arrow-left.gif" alt="previous" width="13" height="16" class="prevImg" border="0"/></a> 
     343          <a id="nextViewPeriod" href="{$setViewPeriod}&amp;date={$nextdate}"><img src="{$resourcesRoot}/default/default/defaultTheme/images/std-arrow-right.gif" alt="next" width="13" height="16" class="nextImg" border="0"/></a> 
    349344          <xsl:choose> 
    350345            <xsl:when test="/bedework/periodname='Year'"> 
     
    364359        <td class="todayButton"> 
    365360          <a href="{$setViewPeriod}&amp;viewType=todayView&amp;date={$curdate}"> 
    366             <img src="{$resourcesRoot}/images/std-button-today-off.gif" width="54" height="22" border="0" alt="Go to Today" align="left"/> 
     361            <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-button-today-off.gif" width="54" height="22" border="0" alt="Go to Today" align="left"/> 
    367362          </a> 
    368363        </td> 
     
    483478            <xsl:choose> 
    484479              <xsl:when test="/bedework/periodname='Day' or /bedework/page='eventList'"> 
    485                 <img src="{$resourcesRoot}/images/std-button-listview-off.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 
     480                <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-button-listview-off.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 
    486481              </xsl:when> 
    487482              <xsl:when test="/bedework/periodname='Year'"> 
    488                 <img src="{$resourcesRoot}/images/std-button-calview-off.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 
     483                <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-button-calview-off.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 
    489484              </xsl:when> 
    490485              <xsl:when test="/bedework/periodname='Month'"> 
     
    492487                  <xsl:when test="/bedework/appvar[key='monthViewMode']/value='list'"> 
    493488                    <a href="{$setup}&amp;setappvar=monthViewMode(cal)" title="{$bwStr-SrcB-ToggleListCalView}"> 
    494                       <img src="{$resourcesRoot}/images/std-button-calview.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 
     489                      <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-button-calview.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 
    495490                    </a> 
    496491                  </xsl:when> 
    497492                  <xsl:otherwise> 
    498493                    <a href="{$setup}&amp;setappvar=monthViewMode(list)" title="{$bwStr-SrcB-ToggleListCalView}"> 
    499                       <img src="{$resourcesRoot}/images/std-button-listview.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 
     494                      <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-button-listview.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 
    500495                    </a> 
    501496                  </xsl:otherwise> 
     
    506501                  <xsl:when test="/bedework/appvar[key='weekViewMode']/value='list'"> 
    507502                    <a href="{$setup}&amp;setappvar=weekViewMode(cal)" title="{$bwStr-SrcB-ToggleListCalView}"> 
    508                       <img src="{$resourcesRoot}/images/std-button-calview.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 
     503                      <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-button-calview.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 
    509504                    </a> 
    510505                  </xsl:when> 
    511506                  <xsl:otherwise> 
    512507                    <a href="{$setup}&amp;setappvar=weekViewMode(list)" title="{$bwStr-SrcB-ToggleListCalView}"> 
    513                       <img src="{$resourcesRoot}/images/std-button-listview.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 
     508                      <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-button-listview.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 
    514509                    </a> 
    515510                  </xsl:otherwise> 
     
    522517                  <xsl:when test="/bedework/appvar[key='listEventsSummaryMode']/value='details'"> 
    523518                    <a href="{$listEvents}&amp;setappvar=listEventsSummaryMode(summary)" title="{$bwStr-SrcB-ToggleSummDetView}"> 
    524                       <img src="{$resourcesRoot}/images/std-button-summary.gif" width="62" height="21" border="0" alt="{$bwStr-SrcB-ToggleSummDetView}"/> 
     519                      <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-button-summary.gif" width="62" height="21" border="0" alt="{$bwStr-SrcB-ToggleSummDetView}"/> 
    525520                    </a> 
    526521                  </xsl:when> 
    527522                  <xsl:otherwise> 
    528523                    <a href="{$listEvents}&amp;setappvar=listEventsSummaryMode(details)" title="{$bwStr-SrcB-ToggleSummDetView}"> 
    529                       <img src="{$resourcesRoot}/images/std-button-details.gif" width="62" height="21" border="0" alt="{$bwStr-SrcB-ToggleSummDetView}"/> 
     524                      <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-button-details.gif" width="62" height="21" border="0" alt="{$bwStr-SrcB-ToggleSummDetView}"/> 
    530525                    </a> 
    531526                  </xsl:otherwise> 
     
    541536                <xsl:choose> 
    542537                  <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> 
    543                     <img src="{$resourcesRoot}/images/std-button-summary-off.gif" width="62" height="21" border="0" alt="only summaries of events supported in this view"/> 
     538                    <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-button-summary-off.gif" width="62" height="21" border="0" alt="only summaries of events supported in this view"/> 
    544539                  </xsl:when> 
    545540                  <xsl:otherwise> 
    546                     <img src="{$resourcesRoot}/images/std-button-details-off.gif" width="62" height="21" border="0" alt="only summaries of events supported in this view"/> 
     541                    <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-button-details-off.gif" width="62" height="21" border="0" alt="only summaries of events supported in this view"/> 
    547542                  </xsl:otherwise> 
    548543                </xsl:choose> 
     
    552547                  <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> 
    553548                    <a href="{$setup}&amp;setappvar=summaryMode(summary)" title="{$bwStr-SrcB-ToggleSummDetView}"> 
    554                       <img src="{$resourcesRoot}/images/std-button-summary.gif" width="62" height="21" border="0" alt="{$bwStr-SrcB-ToggleSummDetView}"/> 
     549                      <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-button-summary.gif" width="62" height="21" border="0" alt="{$bwStr-SrcB-ToggleSummDetView}"/> 
    555550                    </a> 
    556551                  </xsl:when> 
    557552                  <xsl:otherwise> 
    558553                    <a href="{$setup}&amp;setappvar=summaryMode(details)" title="{$bwStr-SrcB-ToggleSummDetView}"> 
    559                       <img src="{$resourcesRoot}/images/std-button-details.gif" width="62" height="21" border="0" alt="{$bwStr-SrcB-ToggleSummDetView}"/> 
     554                      <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-button-details.gif" width="62" height="21" border="0" alt="{$bwStr-SrcB-ToggleSummDetView}"/> 
    560555                    </a> 
    561556                  </xsl:otherwise> 
     
    567562                <xsl:attribute name="href"><xsl:value-of select="$listEvents"/></xsl:attribute> 
    568563              </xsl:if> 
    569               <img src="{$resourcesRoot}/images/std-button-refresh.gif" width="70" height="21" border="0" alt="refresh view"/> 
     564              <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-button-refresh.gif" width="70" height="21" border="0" alt="refresh view"/> 
    570565            </a> 
    571566          </td> 
     
    734729          <div id="eventIcons"> 
    735730            <a href="{$privateCal}/event/addEventRef.do?calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}" title="{$bwStr-SgEv-AddEventToMyCalendar}" target="myCalendar"> 
    736               <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/> 
     731              <img class="addref" src="{$resourcesRoot}/default/default/defaultTheme/images/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/> 
    737732              <xsl:copy-of select="$bwStr-SgEv-AddToMyCalendar"/> 
    738733            </a> 
    739734            <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 
    740735            <a href="{$export}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="{$bwStr-SgEv-DownloadEvent}"> 
    741               <img src="{$resourcesRoot}/images/std-ical_icon.gif" width="20" height="26" border="0" alt="Download this event"/> 
     736              <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-ical_icon.gif" width="20" height="26" border="0" alt="Download this event"/> 
    742737             <xsl:copy-of select="$bwStr-SgEv-Download"/></a> 
    743738          </div> 
     
    10561051                <td class="icons"> 
    10571052                  <a href="{$privateCal}/event/addEventRef.do?calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar"> 
    1058                     <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="Add event to MyCalendar"/> 
     1053                    <img class="addref" src="{$resourcesRoot}/default/default/defaultTheme/images/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="Add event to MyCalendar"/> 
    10591054                  </a> 
    10601055                  <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 
    10611056                  <a href="{$export}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="{$bwStr-LsVw-DownloadEvent}"> 
    1062                     <img src="{$resourcesRoot}/images/std-ical_icon_small.gif" width="12" height="16" border="0" alt="{$bwStr-LsVw-DownloadEvent}"/> 
     1057                    <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-ical_icon_small.gif" width="12" height="16" border="0" alt="{$bwStr-LsVw-DownloadEvent}"/> 
    10631058                  </a> 
    10641059                </td> 
     
    11151110                <xsl:text> </xsl:text> 
    11161111                <a href="{$privateCal}/event/addEventRef.do?calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar"> 
    1117                   <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="Add event to MyCalendar"/> 
     1112                  <img class="addref" src="{$resourcesRoot}/default/default/defaultTheme/images/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="Add event to MyCalendar"/> 
    11181113                </a> 
    11191114                <xsl:text> </xsl:text> 
    11201115                <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 
    11211116                <a href="{$export}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="{$bwStr-LsEv-DownloadEvent}"> 
    1122                   <img src="{$resourcesRoot}/images/std-ical_icon_small.gif" width="12" height="16" border="0" alt="{$bwStr-LsEv-DownloadEvent}"/> 
     1117                  <img src="{$resourcesRoot}/default/default/defaultTheme/images/std-ical_icon_small.gif" width="12" height="16" border="0" alt="{$bwStr-LsEv-DownloadEvent}"/> 
    11231118                </a> 
    11241119 
     
    14641459      <span class="exportCalLink"> 
    14651460        <a href="{$calendar-fetchForExport}&amp;calPath={$calPath}&amp;virtualPath={$virtualPath}" title="export calendar as iCal"> 
    1466           <img src="{$resourcesRoot}/images/calIconExport-sm.gif" width="13" height="13" alt="export calendar" border="0"/> 
     1461          <img src="{$resourcesRoot}/default/default/defaultTheme/images/calIconExport-sm.gif" width="13" height="13" alt="export calendar" border="0"/> 
    14671462        </a> 
    14681463      </span> 
     
    16141609          <td class="relevance"> 
    16151610            <xsl:value-of select="ceiling(number(score)*100)"/>% 
    1616             <img src="{$resourcesRoot}/images/spacer.gif" height="4" class="searchRelevance"> 
     1611            <img src="{$resourcesRoot}/default/default/defaultTheme/images/spacer.gif" height="4" class="searchRelevance"> 
    16171612              <xsl:attribute name="width"><xsl:value-of select="ceiling((number(score)*100) div 1.5)"/></xsl:attribute> 
    16181613            </img>