Changeset 3184

Show
Ignore:
Timestamp:
02/17/11 08:22:36
Author:
johnsa
Message:

web clients

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • releases/bedework-3.7/deployment/resources/javascript/bedework/bedeworkAccess.js

    r3044 r3184  
    2929 
    3030// ======================================================================== 
    31 //   Language and customization 
    32 //   These should come from values in the header or included as a separate cutomization 
    33 //   file. 
     31//   Default strings are English (en_US).  Tranlations are found in  
     32//   the sibling directory lang/ and are included as overrides based on the localeSettings.xsl 
     33//   file for each web client (that uses a localeSettings file, e.g. the personal  
     34//   and public web clients 
    3435 
    3536var authenticatedStr = "authenticated"; 
  • releases/bedework-3.7/deployment/webadmin/webapp/resources/es_ES/default/default.css

    r3156 r3184  
    11521152  background-color: transparent; 
    11531153} 
     1154.aliasTree input { 
     1155        margin-left: 6px; 
     1156} 
    11541157img.folderForAliasTree { 
    11551158  padding: 0.5em 0.2em 0 0.5em; 
     
    13031306  background-color: inherit; 
    13041307} 
     1308div#footer a:hover { 
     1309 color: #444; 
     1310 background-color: transparent; 
     1311} 
  • releases/bedework-3.7/deployment/webadmin/webapp/resources/es_ES/default/default.xsl

    r3156 r3184  
    225225        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> 
    226226        <link rel="stylesheet" href="{$resourcesRoot}/default/default/default.css"/> 
    227         <link rel="stylesheet" href="{$resourcesRoot}/default/default/subColors.css"/> 
     227        <link rel="stylesheet" href="/bedework-common/default/default/subColors.css"/> 
    228228        <!-- set globals that must be passed in from the XSLT --> 
    229229        <script type="text/javascript"> 
     
    367367              </xsl:for-each> 
    368368            } 
     369 
     370            $(document).ready(function(){ 
     371 
     372                  <xsl:if test="/bedework/formElements/recurrenceId = ''"> 
     373                initRXDates(); 
     374              </xsl:if> 
     375               
     376              <xsl:if test="/bedework/page='modEvent' or /bedework/page='modEventPending'"> 
     377                initXProperties(); 
     378                bwSetupDatePickers(); 
     379              </xsl:if> 
     380                             
     381              focusFirstElement(); 
     382 
     383              // If you wish to collapse specific topical areas, you can specify them here: 
     384              // (note that this will be managed from the admin client in time) 
     385              // $("ul.aliasTree > li:eq(4) > ul").hide();             
     386              // $("ul.aliasTree > li:eq(11) > ul").hide();            
     387              // $("ul.aliasTree > li:eq(13) > ul").hide();  
     388              $("ul.aliasTree > li > img.folderForAliasTree").attr("src", '<xsl:value-of select="$resourcesRoot"/>/resources/catExpander.gif'); 
     389              $("ul.aliasTree > li > img.folderForAliasTree").css("cursor","pointer"); 
     390              $("ul.aliasTree > li > img.folderForAliasTree").click(function(){ 
     391                $(this).next("ul.aliasTree > li > ul").slideToggle("slow"); 
     392              }); 
     393 
     394            }); 
    369395            </xsl:comment> 
    370396          </script> 
     
    429455      </head> 
    430456      <body> 
    431         <xsl:choose> 
    432           <xsl:when test="/bedework/page='modEvent' or /bedework/page='modEventPending'"> 
    433             <xsl:attribute name="onload"><xsl:if test="/bedework/formElements/recurrenceId = ''">initRXDates();</xsl:if>initXProperties();focusFirstElement();bwSetupDatePickers();</xsl:attribute> 
    434           </xsl:when> 
    435           <xsl:otherwise> 
    436             <xsl:attribute name="onload">focusFirstElement();</xsl:attribute> 
    437           </xsl:otherwise> 
    438         </xsl:choose> 
    439457        <div id="bedework"><!-- main wrapper div to keep styles encapsulated --> 
    440458        <xsl:choose> 
     
    12461264            '<xsl:for-each select="form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-ALIAS']/values/text"><xsl:call-template name="escapeApos"><xsl:with-param name="str"><xsl:call-template name="substring-afterLastInstanceOf"><xsl:with-param name="string" select="."/><xsl:with-param name="char">/</xsl:with-param></xsl:call-template></xsl:with-param></xsl:call-template><br/></xsl:for-each>', 
    12471265            '<xsl:call-template name="escapeApos"><xsl:with-param name="str" select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text"/></xsl:call-template>', 
    1248             '<xsl:call-template name="escapeApos"><xsl:with-param name="str" select="form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text"/></xsl:call-template>'); 
     1266            '<xsl:call-template name="escapeJson"><xsl:with-param name="string" select="form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text"/></xsl:call-template>'); 
    12491267        </script> 
    12501268 
     
    24952513          <td> 
    24962514            <input type="text" name="xBwImageHolder" value="" size="80" class="edit"> 
    2497               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text"/></xsl:attribute> 
     2515              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
    24982516            </input> 
    24992517            <xsl:text> </xsl:text> 
  • releases/bedework-3.7/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/strings.xsl

    r2837 r3184  
    5454  <xsl:variable name="bwStr-Deadline-Title">Deadlines</xsl:variable> 
    5555  <xsl:variable name="bwStr-Deadline-NoEvents">There are no deadlines in this time period or view</xsl:variable> 
    56  
    5756 
    5857  <!--  xsl:template name="tabs" --> 
  • releases/bedework-3.7/deployment/webpublic/webapp/resources/demoskins/MainCampus/es_ES/default/bwclassic.xsl

    r2837 r3184  
     1<?xml version="1.0" encoding="UTF-8"?> 
    12<!--  
    23    Licensed to Jasig under one or more contributor license 
     
    1718    under the License. 
    1819--> 
    19 <?xml version="1.0" encoding="UTF-8"?> 
    2020<xsl:stylesheet version="1.0" 
    2121  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  • releases/bedework-3.7/deployment/webpublic/webapp/resources/demoskins/MainCampus/es_ES/default/cleanXml.xsl

    r2837 r3184  
    11<?xml version="1.0" encoding="UTF-8"?> 
    2 <!-- *********************************************** 
     2<!--  
    33    Licensed to Jasig under one or more contributor license 
    44    agreements. See the NOTICE file distributed with this work 
  • releases/bedework-3.7/deployment/webpublic/webapp/resources/demoskins/MainCampus/es_ES/default/globals.xsl

    r2837 r3184  
    6262  <xsl:variable name="privateCal">/ucal</xsl:variable> 
    6363  <xsl:variable name="feeder">/feeder</xsl:variable> 
    64   <xsl:variable name="urlbuilder">/urlbuilder</xsl:variable> 
    6564  <xsl:variable name="prevdate" select="/bedework/previousdate" /> 
    6665  <xsl:variable name="nextdate" select="/bedework/nextdate" /> 
  • releases/bedework-3.7/deployment/webpublic/webapp/resources/demoskins/MainCampus/es_ES/strings.xsl

    r2837 r3184  
    5454  <xsl:variable name="bwStr-Deadline-Title">Fechas límite</xsl:variable> 
    5555  <xsl:variable name="bwStr-Deadline-NoEvents">No hay fechas límite en este intervalo de tiempo o en esta vista</xsl:variable> 
    56  
    5756 
    5857  <!--  xsl:template name="tabs" --> 
     
    150149  <xsl:variable name="bwStr-SgEv-Ends">Finaliza</xsl:variable> 
    151150  <xsl:variable name="bwStr-SgEv-DueBy">Gracias a</xsl:variable> 
    152 <!--  <xsl:variable name="bwStr-SgEv-DueBy">Due By</xsl:variable> --> 
    153151  <xsl:variable name="bwStr-SgEv-AddToMyCalendar">añadir a mi agenda</xsl:variable> 
    154152  <xsl:variable name="bwStr-SgEv-AddEventToMyCalendar">Añadir a MyCalendar</xsl:variable> 
  • releases/bedework-3.7/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bwclassicTheme/css/blue.css

    r2847 r3184  
    306306} 
    307307#navigationBarTable td { 
    308   vertical-align: top
     308  vertical-align: middle
    309309} 
    310310#navigationBarTable form { 
     
    317317} 
    318318#navigationBarTable td.todayButton { 
    319   padding: 1em 1em 0 1em; 
     319  padding: 0 1em; 
    320320} 
    321321#navigationBarTable td.gotoForm { 
    322   padding: 1em 0.5em 0 0; 
     322  padding: 0 0.5em 0 0; 
     323
     324#navigationBarTable button { 
     325  padding: 0 4px 2px 4px; 
    323326} 
    324327#navigationBarTable td.leftCell { 
  • releases/bedework-3.7/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bwclassicTheme/css/green.css

    r2847 r3184  
    310310} 
    311311#navigationBarTable td { 
    312   vertical-align: top
     312  vertical-align: middle
    313313} 
    314314#navigationBarTable form { 
     
    321321} 
    322322#navigationBarTable td.todayButton { 
    323   padding: 1em 1em 0 1em; 
     323  padding: 0 1em; 
    324324} 
    325325#navigationBarTable td.gotoForm { 
    326   padding: 1em 0.5em 0 0; 
     326  padding: 0 0.5em 0 0; 
     327
     328#navigationBarTable button { 
     329  padding: 0 4px 2px 4px; 
    327330} 
    328331#navigationBarTable td.leftCell { 
  • releases/bedework-3.7/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bwclassicTheme/css/red.css

    r2847 r3184  
    310310} 
    311311#navigationBarTable td { 
    312   vertical-align: top
     312  vertical-align: middle
    313313} 
    314314#navigationBarTable form { 
     
    321321} 
    322322#navigationBarTable td.todayButton { 
    323   padding: 1em 1em 0 1em; 
     323  padding: 0 1em; 
    324324} 
    325325#navigationBarTable td.gotoForm { 
    326   padding: 1em 0.5em 0 0; 
     326  padding: 0 0.5em 0 0; 
     327
     328#navigationBarTable button { 
     329  padding: 0 4px 2px 4px; 
    327330} 
    328331#navigationBarTable td.leftCell { 
  • releases/bedework-3.7/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bwclassicTheme/navigation.xsl

    r2837 r3184  
    8282        </td> 
    8383        <td class="todayButton"> 
    84           <a href="{$setViewPeriod}&amp;viewType=todayView&amp;date={$curdate}"> 
    85             <img src="{$resourcesRoot}/images/std-button-today-off.gif" width="54" height="22" border="0" alt="Go to Today" align="left"/> 
    86           </a
     84          <button type="button" onclick="window.location='{$setViewPeriod}&amp;viewType=todayView&amp;date={$curdate}'"> 
     85            <xsl:value-of select="$bwStr-Navi-Today"/> 
     86          </button
    8787        </td> 
    8888        <td align="right" class="gotoForm"> 
  • releases/bedework-3.7/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/globals.xsl

    r2840 r3184  
    5454  <xsl:variable name="mailEvent" select="/bedework/urlPrefixes/mail/mailEvent" /> 
    5555  <xsl:variable name="stats" select="/bedework/urlPrefixes/stats/stats" /> 
     56  <xsl:variable name="showPage" select="/bedework/urlPrefixes/misc/showPage" /> 
    5657 
    5758  <!-- URL of the web application - includes web context --> 
  • releases/bedework-3.7/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/themes/bwclassicTheme/event.xsl

    r2840 r3184  
    3535    </xsl:variable> 
    3636    <h2 class="{$statusClass}"> 
    37       <a id="linkToEvent" href="javascript:showLink('{$urlPrefix}/event/eventView.do?calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}')" title="{$bwStr-SgEv-GenerateLinkToThisEvent}"> 
     37      <a id="linkToEvent" href="javascript:showLink('{$urlPrefix}/event/eventView.do?calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}','{$bwStr-SgEv-EventLink}')" title="{$bwStr-SgEv-GenerateLinkToThisEvent}"> 
    3838        <xsl:copy-of select="$bwStr-SgEv-LinkToThisEvent"/> 
    3939      </a> 
  • releases/bedework-3.7/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/themes/bwclassicTheme/javascript/bedework.js

    r2850 r3184  
    3535  formObj["eventEndDate.day"].value = endDate.getDate(); 
    3636} 
    37 function showLink(urlString) { 
     37function showLink(urlString,title) { 
    3838  var linkWindow = window.open("", "linkWindow", "width=1100,height=100,scrollbars=yes,resizable=yes,alwaysRaised=yes,menubar=no,toolbar=no"); 
    3939  linkWindow.document.open(); 
    40   linkWindow.document.writeln('<html><head><title>Event Link</title>'); 
     40  linkWindow.document.writeln('<html><head><title>' + title + '</title>'); 
    4141  linkWindow.document.writeln('<style type="text/css">body{padding: 1em; font-size: 12px; font-family: Arial,sans-serif;}th{text-align: left;}td{padding-left: 2em;}</style></head>'); 
    42   linkWindow.document.writeln('<body onload="document.getElementById(\'linkField\').select()"><strong>Event Link:</strong><br/>'); 
     42  linkWindow.document.writeln('<body onload="document.getElementById(\'linkField\').select()"><strong>' + title + '</strong><br/>'); 
    4343  linkWindow.document.writeln('<input type="text" value="' + urlString + '" size="170" id="linkField"/>'); 
    4444  linkWindow.document.writeln('</body></html>'); 
  • releases/bedework-3.7/deployment/websubmit/webapp/resources/demoskins/es_ES/default/default.xsl

    r3155 r3184  
    999999            <td class="fieldval"> 
    10001000              <input type="text" name="xBwImageHolder" size="30" value=""> 
    1001                 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text"/></xsl:attribute> 
     1001                <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
    10021002              </input> 
    10031003              <xsl:text> </xsl:text> 
     
    10271027            <label for="commentLocationAddress"><xsl:copy-of select="$bwStr-FoEl-Address"/><xsl:text> </xsl:text></label> 
    10281028            <input type="text" name="commentLocationAddress" id="bwCommentLocationAddress"> 
    1029               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/values/text"/></xsl:attribute> 
     1029              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
    10301030            </input> 
    10311031          </p> 
     
    10331033            <label for="commentLocationSubaddress"><em><xsl:copy-of select="$bwStr-FoEl-SubAddress"/></em> </label> 
    10341034            <input type="text" name="commentLocationSubaddress" id="commentLocationSubaddress"> 
    1035               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-SUBADDRESS']"/></xsl:attribute> 
     1035              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-SUBADDRESS']" disable-output-escaping="yes"/></xsl:attribute> 
    10361036            </input> 
    10371037            <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> 
     
    10401040            <label for="commentLocationURL"><em><xsl:copy-of select="$bwStr-FoEl-URL"/></em> </label> 
    10411041            <input type="text" name="commentLocationURL" id="commentLocationURL"> 
    1042               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']"/></xsl:attribute> 
     1042              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']" disable-output-escaping="yes"/></xsl:attribute> 
    10431043            </input> 
    10441044            <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> 
     
    10661066            <label for="commentContactName"><xsl:copy-of select="$bwStr-FoEl-OrganizationName"/><xsl:text> </xsl:text> </label> 
    10671067            <input type="text" name="commentContactName" id="bwCommentContactName" size="40"> 
    1068               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/values/text"/></xsl:attribute> 
     1068              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
    10691069            </input> 
    10701070            <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-PleaseLimitContacts"/></span> 
     
    10731073            <label for="commentContactPhone"><em><xsl:copy-of select="$bwStr-FoEl-Phone"/></em> </label> 
    10741074            <input type="text" name="commentContactPhone"> 
    1075               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-PHONE']"/></xsl:attribute> 
     1075              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-PHONE']" disable-output-escaping="yes"/></xsl:attribute> 
    10761076            </input> 
    10771077            <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> 
     
    10801080            <label for="commentContactURL"><em><xsl:copy-of select="$bwStr-FoEl-URL"/></em> </label> 
    10811081            <input type="text" name="commentContactURL"> 
    1082               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']"/></xsl:attribute> 
     1082              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']" disable-output-escaping="yes"/></xsl:attribute> 
    10831083            </input> 
    10841084            <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> 
     
    10871087            <label for="commentContactEmail"><em><xsl:copy-of select="$bwStr-FoEl-Email"/></em> </label> 
    10881088            <input type="text" name="commentContactEmail"> 
    1089               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-EMAIL']"/></xsl:attribute> 
     1089              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-EMAIL']" disable-output-escaping="yes"/></xsl:attribute> 
    10901090            </input> 
    10911091            <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> 
     
    11131113            <label for="commentCategories"><xsl:copy-of select="$bwStr-FoEl-TypeOfEvent"/><xsl:text> </xsl:text></label> 
    11141114            <input type="text" name="commentCategories" size="80"> 
    1115               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text"/></xsl:attribute> 
     1115              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
    11161116            </input> 
    11171117          </p> 
     
    11541154            <label for="commentCategories">Category suggestion: </label> 
    11551155            <input type="text" name="commentCategories" size="30"> 
    1156               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text"/></xsl:attribute> 
     1156              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
    11571157            </input> 
    11581158          </p> 
     
    11851185          <!-- note: don't remove the #160 from the textarea or browsers will see it as a closed tag when empty --> 
    11861186           <textarea name="commentNotes" cols="60" rows="4"><!-- 
    1187            --><xsl:value-of select="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text)"/><!-- 
    1188            --><xsl:if test="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text) = ''">&#160;</xsl:if><!-- 
     1187           --><xsl:value-of select="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text)" disable-output-escaping="yes"/><!-- 
     1188           --><xsl:if test="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text) = ''"><xsl:text> </xsl:text></xsl:if><!-- 
    11891189           --></textarea> 
    11901190          </p> 
  • releases/bedework-3.7/deployment/websubmit/webapp/resources/demoskins/es_ES/default/strings.xsl

    r3155 r3184  
    11<?xml version="1.0" encoding="UTF-8"?> 
     2<!--  
     3    Licensed to Jasig under one or more contributor license 
     4    agreements. See the NOTICE file distributed with this work 
     5    for additional information regarding copyright ownership. 
     6    Jasig licenses this file to you under the Apache License, 
     7    Version 2.0 (the "License"); you may not use this file 
     8    except in compliance with the License. You may obtain a 
     9    copy of the License at: 
     10     
     11    http://www.apache.org/licenses/LICENSE-2.0 
     12     
     13    Unless required by applicable law or agreed to in writing, 
     14    software distributed under the License is distributed on 
     15    an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 
     16    KIND, either express or implied. See the License for the 
     17    specific language governing permissions and limitations 
     18    under the License. 
     19--> 
    220<xsl:stylesheet 
    321  version="1.0" 
  • releases/bedework-3.7/deployment/webuser/webapp/resources/demoskins/es_ES/strings.xsl

    r3134 r3184  
    617617 
    618618  <!--  xsl:template match="currentCalendar" mode="modCalendar --> 
    619   <xsl:variable name="bwStr-CuCa-ModifySubscription">Modificar Suscripción</xsl:variable> 
    620619  <xsl:variable name="bwStr-CuCa-ModifySubscription">Modificar Subscripción</xsl:variable> 
    621620  <xsl:variable name="bwStr-CuCa-ModifyFolder">Modificar Carpeta</xsl:variable> 
  • trunk/deployment/webadmin/webapp/resources/es_ES/default/default.css

    r3156 r3184  
    11521152  background-color: transparent; 
    11531153} 
     1154.aliasTree input { 
     1155        margin-left: 6px; 
     1156} 
    11541157img.folderForAliasTree { 
    11551158  padding: 0.5em 0.2em 0 0.5em; 
     
    13031306  background-color: inherit; 
    13041307} 
     1308div#footer a:hover { 
     1309 color: #444; 
     1310 background-color: transparent; 
     1311} 
  • trunk/deployment/webadmin/webapp/resources/es_ES/default/default.xsl

    r3156 r3184  
    225225        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> 
    226226        <link rel="stylesheet" href="{$resourcesRoot}/default/default/default.css"/> 
    227         <link rel="stylesheet" href="{$resourcesRoot}/default/default/subColors.css"/> 
     227        <link rel="stylesheet" href="/bedework-common/default/default/subColors.css"/> 
    228228        <!-- set globals that must be passed in from the XSLT --> 
    229229        <script type="text/javascript"> 
     
    367367              </xsl:for-each> 
    368368            } 
     369 
     370            $(document).ready(function(){ 
     371 
     372                  <xsl:if test="/bedework/formElements/recurrenceId = ''"> 
     373                initRXDates(); 
     374              </xsl:if> 
     375               
     376              <xsl:if test="/bedework/page='modEvent' or /bedework/page='modEventPending'"> 
     377                initXProperties(); 
     378                bwSetupDatePickers(); 
     379              </xsl:if> 
     380                             
     381              focusFirstElement(); 
     382 
     383              // If you wish to collapse specific topical areas, you can specify them here: 
     384              // (note that this will be managed from the admin client in time) 
     385              // $("ul.aliasTree > li:eq(4) > ul").hide();             
     386              // $("ul.aliasTree > li:eq(11) > ul").hide();            
     387              // $("ul.aliasTree > li:eq(13) > ul").hide();  
     388              $("ul.aliasTree > li > img.folderForAliasTree").attr("src", '<xsl:value-of select="$resourcesRoot"/>/resources/catExpander.gif'); 
     389              $("ul.aliasTree > li > img.folderForAliasTree").css("cursor","pointer"); 
     390              $("ul.aliasTree > li > img.folderForAliasTree").click(function(){ 
     391                $(this).next("ul.aliasTree > li > ul").slideToggle("slow"); 
     392              }); 
     393 
     394            }); 
    369395            </xsl:comment> 
    370396          </script> 
     
    429455      </head> 
    430456      <body> 
    431         <xsl:choose> 
    432           <xsl:when test="/bedework/page='modEvent' or /bedework/page='modEventPending'"> 
    433             <xsl:attribute name="onload"><xsl:if test="/bedework/formElements/recurrenceId = ''">initRXDates();</xsl:if>initXProperties();focusFirstElement();bwSetupDatePickers();</xsl:attribute> 
    434           </xsl:when> 
    435           <xsl:otherwise> 
    436             <xsl:attribute name="onload">focusFirstElement();</xsl:attribute> 
    437           </xsl:otherwise> 
    438         </xsl:choose> 
    439457        <div id="bedework"><!-- main wrapper div to keep styles encapsulated --> 
    440458        <xsl:choose> 
     
    12461264            '<xsl:for-each select="form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-ALIAS']/values/text"><xsl:call-template name="escapeApos"><xsl:with-param name="str"><xsl:call-template name="substring-afterLastInstanceOf"><xsl:with-param name="string" select="."/><xsl:with-param name="char">/</xsl:with-param></xsl:call-template></xsl:with-param></xsl:call-template><br/></xsl:for-each>', 
    12471265            '<xsl:call-template name="escapeApos"><xsl:with-param name="str" select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text"/></xsl:call-template>', 
    1248             '<xsl:call-template name="escapeApos"><xsl:with-param name="str" select="form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text"/></xsl:call-template>'); 
     1266            '<xsl:call-template name="escapeJson"><xsl:with-param name="string" select="form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text"/></xsl:call-template>'); 
    12491267        </script> 
    12501268 
     
    24952513          <td> 
    24962514            <input type="text" name="xBwImageHolder" value="" size="80" class="edit"> 
    2497               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text"/></xsl:attribute> 
     2515              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
    24982516            </input> 
    24992517            <xsl:text> </xsl:text> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/strings.xsl

    r2837 r3184  
    5454  <xsl:variable name="bwStr-Deadline-Title">Deadlines</xsl:variable> 
    5555  <xsl:variable name="bwStr-Deadline-NoEvents">There are no deadlines in this time period or view</xsl:variable> 
    56  
    5756 
    5857  <!--  xsl:template name="tabs" --> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/es_ES/default/bwclassic.xsl

    r2837 r3184  
     1<?xml version="1.0" encoding="UTF-8"?> 
    12<!--  
    23    Licensed to Jasig under one or more contributor license 
     
    1718    under the License. 
    1819--> 
    19 <?xml version="1.0" encoding="UTF-8"?> 
    2020<xsl:stylesheet version="1.0" 
    2121  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/es_ES/default/cleanXml.xsl

    r2837 r3184  
    11<?xml version="1.0" encoding="UTF-8"?> 
    2 <!-- *********************************************** 
     2<!--  
    33    Licensed to Jasig under one or more contributor license 
    44    agreements. See the NOTICE file distributed with this work 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/es_ES/default/globals.xsl

    r2837 r3184  
    6262  <xsl:variable name="privateCal">/ucal</xsl:variable> 
    6363  <xsl:variable name="feeder">/feeder</xsl:variable> 
    64   <xsl:variable name="urlbuilder">/urlbuilder</xsl:variable> 
    6564  <xsl:variable name="prevdate" select="/bedework/previousdate" /> 
    6665  <xsl:variable name="nextdate" select="/bedework/nextdate" /> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/es_ES/strings.xsl

    r2837 r3184  
    5454  <xsl:variable name="bwStr-Deadline-Title">Fechas límite</xsl:variable> 
    5555  <xsl:variable name="bwStr-Deadline-NoEvents">No hay fechas límite en este intervalo de tiempo o en esta vista</xsl:variable> 
    56  
    5756 
    5857  <!--  xsl:template name="tabs" --> 
     
    150149  <xsl:variable name="bwStr-SgEv-Ends">Finaliza</xsl:variable> 
    151150  <xsl:variable name="bwStr-SgEv-DueBy">Gracias a</xsl:variable> 
    152 <!--  <xsl:variable name="bwStr-SgEv-DueBy">Due By</xsl:variable> --> 
    153151  <xsl:variable name="bwStr-SgEv-AddToMyCalendar">añadir a mi agenda</xsl:variable> 
    154152  <xsl:variable name="bwStr-SgEv-AddEventToMyCalendar">Añadir a MyCalendar</xsl:variable> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bwclassicTheme/css/blue.css

    r2847 r3184  
    306306} 
    307307#navigationBarTable td { 
    308   vertical-align: top
     308  vertical-align: middle
    309309} 
    310310#navigationBarTable form { 
     
    317317} 
    318318#navigationBarTable td.todayButton { 
    319   padding: 1em 1em 0 1em; 
     319  padding: 0 1em; 
    320320} 
    321321#navigationBarTable td.gotoForm { 
    322   padding: 1em 0.5em 0 0; 
     322  padding: 0 0.5em 0 0; 
     323
     324#navigationBarTable button { 
     325  padding: 0 4px 2px 4px; 
    323326} 
    324327#navigationBarTable td.leftCell { 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bwclassicTheme/css/green.css

    r2847 r3184  
    310310} 
    311311#navigationBarTable td { 
    312   vertical-align: top
     312  vertical-align: middle
    313313} 
    314314#navigationBarTable form { 
     
    321321} 
    322322#navigationBarTable td.todayButton { 
    323   padding: 1em 1em 0 1em; 
     323  padding: 0 1em; 
    324324} 
    325325#navigationBarTable td.gotoForm { 
    326   padding: 1em 0.5em 0 0; 
     326  padding: 0 0.5em 0 0; 
     327
     328#navigationBarTable button { 
     329  padding: 0 4px 2px 4px; 
    327330} 
    328331#navigationBarTable td.leftCell { 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bwclassicTheme/css/red.css

    r2847 r3184  
    310310} 
    311311#navigationBarTable td { 
    312   vertical-align: top
     312  vertical-align: middle
    313313} 
    314314#navigationBarTable form { 
     
    321321} 
    322322#navigationBarTable td.todayButton { 
    323   padding: 1em 1em 0 1em; 
     323  padding: 0 1em; 
    324324} 
    325325#navigationBarTable td.gotoForm { 
    326   padding: 1em 0.5em 0 0; 
     326  padding: 0 0.5em 0 0; 
     327
     328#navigationBarTable button { 
     329  padding: 0 4px 2px 4px; 
    327330} 
    328331#navigationBarTable td.leftCell { 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bwclassicTheme/navigation.xsl

    r2837 r3184  
    8282        </td> 
    8383        <td class="todayButton"> 
    84           <a href="{$setViewPeriod}&amp;viewType=todayView&amp;date={$curdate}"> 
    85             <img src="{$resourcesRoot}/images/std-button-today-off.gif" width="54" height="22" border="0" alt="Go to Today" align="left"/> 
    86           </a
     84          <button type="button" onclick="window.location='{$setViewPeriod}&amp;viewType=todayView&amp;date={$curdate}'"> 
     85            <xsl:value-of select="$bwStr-Navi-Today"/> 
     86          </button
    8787        </td> 
    8888        <td align="right" class="gotoForm"> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/globals.xsl

    r2840 r3184  
    5454  <xsl:variable name="mailEvent" select="/bedework/urlPrefixes/mail/mailEvent" /> 
    5555  <xsl:variable name="stats" select="/bedework/urlPrefixes/stats/stats" /> 
     56  <xsl:variable name="showPage" select="/bedework/urlPrefixes/misc/showPage" /> 
    5657 
    5758  <!-- URL of the web application - includes web context --> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/themes/bwclassicTheme/event.xsl

    r2840 r3184  
    3535    </xsl:variable> 
    3636    <h2 class="{$statusClass}"> 
    37       <a id="linkToEvent" href="javascript:showLink('{$urlPrefix}/event/eventView.do?calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}')" title="{$bwStr-SgEv-GenerateLinkToThisEvent}"> 
     37      <a id="linkToEvent" href="javascript:showLink('{$urlPrefix}/event/eventView.do?calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}','{$bwStr-SgEv-EventLink}')" title="{$bwStr-SgEv-GenerateLinkToThisEvent}"> 
    3838        <xsl:copy-of select="$bwStr-SgEv-LinkToThisEvent"/> 
    3939      </a> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/themes/bwclassicTheme/javascript/bedework.js

    r2850 r3184  
    3535  formObj["eventEndDate.day"].value = endDate.getDate(); 
    3636} 
    37 function showLink(urlString) { 
     37function showLink(urlString,title) { 
    3838  var linkWindow = window.open("", "linkWindow", "width=1100,height=100,scrollbars=yes,resizable=yes,alwaysRaised=yes,menubar=no,toolbar=no"); 
    3939  linkWindow.document.open(); 
    40   linkWindow.document.writeln('<html><head><title>Event Link</title>'); 
     40  linkWindow.document.writeln('<html><head><title>' + title + '</title>'); 
    4141  linkWindow.document.writeln('<style type="text/css">body{padding: 1em; font-size: 12px; font-family: Arial,sans-serif;}th{text-align: left;}td{padding-left: 2em;}</style></head>'); 
    42   linkWindow.document.writeln('<body onload="document.getElementById(\'linkField\').select()"><strong>Event Link:</strong><br/>'); 
     42  linkWindow.document.writeln('<body onload="document.getElementById(\'linkField\').select()"><strong>' + title + '</strong><br/>'); 
    4343  linkWindow.document.writeln('<input type="text" value="' + urlString + '" size="170" id="linkField"/>'); 
    4444  linkWindow.document.writeln('</body></html>'); 
  • trunk/deployment/websubmit/webapp/resources/demoskins/es_ES/default/default.xsl

    r3155 r3184  
    999999            <td class="fieldval"> 
    10001000              <input type="text" name="xBwImageHolder" size="30" value=""> 
    1001                 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text"/></xsl:attribute> 
     1001                <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
    10021002              </input> 
    10031003              <xsl:text> </xsl:text> 
     
    10271027            <label for="commentLocationAddress"><xsl:copy-of select="$bwStr-FoEl-Address"/><xsl:text> </xsl:text></label> 
    10281028            <input type="text" name="commentLocationAddress" id="bwCommentLocationAddress"> 
    1029               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/values/text"/></xsl:attribute> 
     1029              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
    10301030            </input> 
    10311031          </p> 
     
    10331033            <label for="commentLocationSubaddress"><em><xsl:copy-of select="$bwStr-FoEl-SubAddress"/></em> </label> 
    10341034            <input type="text" name="commentLocationSubaddress" id="commentLocationSubaddress"> 
    1035               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-SUBADDRESS']"/></xsl:attribute> 
     1035              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-SUBADDRESS']" disable-output-escaping="yes"/></xsl:attribute> 
    10361036            </input> 
    10371037            <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> 
     
    10401040            <label for="commentLocationURL"><em><xsl:copy-of select="$bwStr-FoEl-URL"/></em> </label> 
    10411041            <input type="text" name="commentLocationURL" id="commentLocationURL"> 
    1042               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']"/></xsl:attribute> 
     1042              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']" disable-output-escaping="yes"/></xsl:attribute> 
    10431043            </input> 
    10441044            <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> 
     
    10661066            <label for="commentContactName"><xsl:copy-of select="$bwStr-FoEl-OrganizationName"/><xsl:text> </xsl:text> </label> 
    10671067            <input type="text" name="commentContactName" id="bwCommentContactName" size="40"> 
    1068               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/values/text"/></xsl:attribute> 
     1068              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
    10691069            </input> 
    10701070            <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-PleaseLimitContacts"/></span> 
     
    10731073            <label for="commentContactPhone"><em><xsl:copy-of select="$bwStr-FoEl-Phone"/></em> </label> 
    10741074            <input type="text" name="commentContactPhone"> 
    1075               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-PHONE']"/></xsl:attribute> 
     1075              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-PHONE']" disable-output-escaping="yes"/></xsl:attribute> 
    10761076            </input> 
    10771077            <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> 
     
    10801080            <label for="commentContactURL"><em><xsl:copy-of select="$bwStr-FoEl-URL"/></em> </label> 
    10811081            <input type="text" name="commentContactURL"> 
    1082               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']"/></xsl:attribute> 
     1082              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']" disable-output-escaping="yes"/></xsl:attribute> 
    10831083            </input> 
    10841084            <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> 
     
    10871087            <label for="commentContactEmail"><em><xsl:copy-of select="$bwStr-FoEl-Email"/></em> </label> 
    10881088            <input type="text" name="commentContactEmail"> 
    1089               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-EMAIL']"/></xsl:attribute> 
     1089              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-EMAIL']" disable-output-escaping="yes"/></xsl:attribute> 
    10901090            </input> 
    10911091            <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> 
     
    11131113            <label for="commentCategories"><xsl:copy-of select="$bwStr-FoEl-TypeOfEvent"/><xsl:text> </xsl:text></label> 
    11141114            <input type="text" name="commentCategories" size="80"> 
    1115               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text"/></xsl:attribute> 
     1115              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
    11161116            </input> 
    11171117          </p> 
     
    11541154            <label for="commentCategories">Category suggestion: </label> 
    11551155            <input type="text" name="commentCategories" size="30"> 
    1156               <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text"/></xsl:attribute> 
     1156              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
    11571157            </input> 
    11581158          </p> 
     
    11851185          <!-- note: don't remove the #160 from the textarea or browsers will see it as a closed tag when empty --> 
    11861186           <textarea name="commentNotes" cols="60" rows="4"><!-- 
    1187            --><xsl:value-of select="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text)"/><!-- 
    1188            --><xsl:if test="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text) = ''">&#160;</xsl:if><!-- 
     1187           --><xsl:value-of select="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text)" disable-output-escaping="yes"/><!-- 
     1188           --><xsl:if test="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text) = ''"><xsl:text> </xsl:text></xsl:if><!-- 
    11891189           --></textarea> 
    11901190          </p> 
  • trunk/deployment/websubmit/webapp/resources/demoskins/es_ES/default/strings.xsl

    r3155 r3184  
    11<?xml version="1.0" encoding="UTF-8"?> 
     2<!--  
     3    Licensed to Jasig under one or more contributor license 
     4    agreements. See the NOTICE file distributed with this work 
     5    for additional information regarding copyright ownership. 
     6    Jasig licenses this file to you under the Apache License, 
     7    Version 2.0 (the "License"); you may not use this file 
     8    except in compliance with the License. You may obtain a 
     9    copy of the License at: 
     10     
     11    http://www.apache.org/licenses/LICENSE-2.0 
     12     
     13    Unless required by applicable law or agreed to in writing, 
     14    software distributed under the License is distributed on 
     15    an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 
     16    KIND, either express or implied. See the License for the 
     17    specific language governing permissions and limitations 
     18    under the License. 
     19--> 
    220<xsl:stylesheet 
    321  version="1.0" 
  • trunk/deployment/webuser/webapp/resources/demoskins/es_ES/strings.xsl

    r3133 r3184  
    617617 
    618618  <!--  xsl:template match="currentCalendar" mode="modCalendar --> 
    619   <xsl:variable name="bwStr-CuCa-ModifySubscription">Modificar Suscripción</xsl:variable> 
    620619  <xsl:variable name="bwStr-CuCa-ModifySubscription">Modificar Subscripción</xsl:variable> 
    621620  <xsl:variable name="bwStr-CuCa-ModifyFolder">Modificar Carpeta</xsl:variable>