Changeset 3528

Show
Ignore:
Timestamp:
04/03/12 09:13:58
Author:
bleibson
Message:

Backport recent 3.8 bug-fixes to the submissions and admin clients to 3.7. Nearly all these fixes address issues that arose when events were submitted in the submissions client, then approved in the admin client.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • releases/bedework-3.7/deployment/webadmin/portlet/resources/default/default/default.xsl

    r3269 r3528  
    64866486  <xsl:template name="footer"> 
    64876487    <div id="footer"> 
    6488       <a href="http://www.bedework.org/">Bedework Website</a> | 
     6488      <a href="http://www.jasig.org/bedework">Bedework Website</a> | 
    64896489      <!-- Enable the following two items when debugging skins only --> 
    64906490      <a href="?noxslt=yes">show XML</a> | 
  • releases/bedework-3.7/deployment/webadmin/webapp/resources/default/default/default.css

    r3183 r3528  
    451451} 
    452452table.eventFormTable tr.optional input { 
    453   background-color: #eee; 
    454   color: black; 
    455453} 
    456454table.eventFormTable td.allField { 
     
    472470  font-size: 0.9em; 
    473471  font-style: italic; 
     472  color: #777; 
     473  background-color: transparent; 
     474} 
     475.fieldInfoAlone { 
     476        margin: 0 0 12px 140px; 
     477  font-size: 0.9em; 
     478  font-style: italic; 
     479  color: #777; 
     480  background-color: transparent; 
     481} 
     482.fieldInfoAlone button { 
     483        float: right; 
     484        margin: 0.5em 2em 1em 0; 
     485} 
     486label.interiorLabel { 
     487  display: block; 
     488  float: left; 
     489  width: 140px; 
     490} 
     491#remainingChars { 
     492        margin-left: 2em; 
     493} 
     494#eventFormImage { 
     495  margin-bottom: 0.5em; 
     496} 
     497#eventFormImage img { 
     498        margin-right: 4px; 
     499} 
     500#eventImageUseExisting { 
     501        margin-bottom: 0; 
    474502} 
    475503table.eventFormTable div.fieldInfo { 
     
    910938  font-size: 11px; 
    911939} 
     940#bedework table td { 
     941  vertical-align: top; 
     942} 
    912943table.common { 
    913944  width: 100%; 
     
    935966  color: black; 
    936967} 
    937 table.common th.commonHeader { 
     968#bedework table.common th.commonHeader { 
    938969  vertical-align: middle; 
    939970  background-color: #666; 
     
    11841215  display: inline; 
    11851216  padding-right: 2em; 
     1217} 
     1218#daysSetterBox { 
     1219        margin-left: 1em; 
    11861220} 
    11871221.bwEventListOtherGroupTags { 
  • releases/bedework-3.7/deployment/webadmin/webapp/resources/default/default/default.xsl

    r3376 r3528  
    5858  <xsl:variable name="resourcesRoot" select="/bedework/browserResourceRoot"/> 
    5959 
     60  <!-- Root context of uploaded event images --> 
     61  <xsl:variable name="bwEventImagePrefix">/pubcaldav</xsl:variable> 
     62   
    6063  <!-- URL of the XSL template directory --> 
    6164  <!-- The approot is an appropriate place to put 
     
    220223       not guaranteed to work in portals.  --> 
    221224  <xsl:variable name="portalFriendly">false</xsl:variable> 
     225   
     226        <!-- get the current date set by the user, if exists, else use now --> 
     227        <xsl:variable name="curListDate"> 
     228          <xsl:choose> 
     229            <xsl:when test="/bedework/appvar[key='curListDate']/value"><xsl:value-of select="/bedework/appvar[key='curListDate']/value"/></xsl:when> 
     230            <xsl:otherwise><xsl:value-of select="substring(/bedework/now/date,1,4)"/>-<xsl:value-of select="substring(/bedework/now/date,5,2)"/>-<xsl:value-of select="substring(/bedework/now/date,7,2)"/></xsl:otherwise> 
     231          </xsl:choose> 
     232        </xsl:variable> 
     233        <!-- get the current number of days set by the user, if exists, else use default --> 
     234  <xsl:variable name="curListDays"> 
     235    <xsl:choose> 
     236      <xsl:when test="/bedework/appvar[key='curListDays']/value"><xsl:value-of select="/bedework/appvar[key='curListDays']/value"/></xsl:when> 
     237      <xsl:otherwise><xsl:value-of select="/bedework/defaultdays"/></xsl:otherwise> 
     238    </xsl:choose> 
     239  </xsl:variable> 
    222240 
    223241  <!--==== MAIN TEMPLATE  ====--> 
     
    239257          </xsl:comment> 
    240258        </script> 
    241         <!-- Load jQuery when needed --> 
    242         <xsl:if test="/bedework/page='modEvent' or 
    243                       /bedework/page='modEventPending' or 
    244                       /bedework/page='modSubscription'"> 
    245           <!-- <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-1.2.6.min.js">&#160;</script> 
    246           <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-ui-1.5.2.min.js">&#160;</script>--> 
    247           <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-1.3.2.min.js">&#160;</script> 
    248           <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-ui-1.7.1.custom.min.js">&#160;</script> 
    249           <link rel="stylesheet" href="/bedework-common/javascript/jquery/css/custom-theme/jquery-ui-1.7.1.custom.css"/> 
    250           <link rel="stylesheet" href="/bedework-common/javascript/jquery/css/custom-theme/bedeworkJquery.css"/> 
    251         </xsl:if> 
     259        <!-- load jQuery  --> 
     260        <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-1.3.2.min.js">&#160;</script> 
     261        <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-ui-1.7.1.custom.min.js">&#160;</script> 
     262        <link rel="stylesheet" href="/bedework-common/javascript/jquery/css/custom-theme/jquery-ui-1.7.1.custom.css"/> 
     263        <link rel="stylesheet" href="/bedework-common/javascript/jquery/css/custom-theme/bedeworkJquery.css"/> 
     264        <!-- Global Javascript (every page): --> 
     265        <script type="text/javascript"> 
     266          <xsl:comment> 
     267            $(document).ready(function(){ 
     268              // focus first visible,enabled form element: 
     269              $(':input[type=text]:visible:enabled:first:not(.noFocus)').focus(); 
     270            }); 
     271          </xsl:comment> 
     272        </script> 
     273        <!-- conditional javascript and css --> 
    252274        <xsl:if test="/bedework/page='modEvent' or /bedework/page='modEventPending'"> 
    253275          <!-- import the internationalized strings for the javascript widgets --> 
     
    369391            $(document).ready(function(){ 
    370392 
    371                   <xsl:if test="/bedework/formElements/recurrenceId = ''"> 
     393                    <xsl:if test="/bedework/formElements/recurrenceId = ''"> 
    372394                initRXDates(); 
    373395              </xsl:if> 
     
    376398                initXProperties(); 
    377399                bwSetupDatePickers(); 
     400                 
     401                // trim the event description: 
     402                $("#description").val($.trim($("#description").val())); 
     403                 
     404                // limit the event description to maxPublicDescriptionLength as configured in cal.options.xml 
     405                $("#description").keyup(function(){   
     406                  var maxDescLength = parseInt(<xsl:value-of select="/bedework/formElements/form/descLength"/>);   
     407                  var desc = $(this).val();   
     408                  var remainingChars = maxDescLength - desc.length; 
     409                  if (remainingChars &lt; 0) { 
     410                    remainingChars = 0; 
     411                  } 
     412                  $("#remainingChars").html(remainingChars + " <xsl:value-of select="$bwStr-AEEF-CharsRemaining"/>");  
     413                  if(desc.length > maxDescLength){   
     414                    var truncDesc = desc.substr(0, maxDescLength);   
     415                    $(this).val(truncDesc);  
     416                  };   
     417                });   
     418                 
     419              </xsl:if> 
     420               
     421              <xsl:if test="/bedework/page='listEvents'"> 
     422                bwSetupListDatePicker(); 
    378423              </xsl:if> 
    379424                             
    380               focusFirstElement(); 
    381  
    382425              // If you wish to collapse specific topical areas, you can specify them here: 
    383426              // (note that this will be managed from the admin client in time) 
     
    391434              }); 
    392435 
     436            }); 
     437            </xsl:comment> 
     438          </script> 
     439        </xsl:if> 
     440        <xsl:if test="/bedework/page='eventList'"> 
     441          <!-- include the localized jQuery datepicker defaults --> 
     442          <xsl:call-template name="jqueryDatepickerDefaults"/> 
     443           
     444          <!-- now setup date and time pickers -->   
     445          <script type="text/javascript"> 
     446            <xsl:comment> 
     447            $(document).ready(function(){ 
     448              // startdate for list 
     449              $("#bwListWidgetStartDate").datepicker({ 
     450                defaultDate: new Date(<xsl:value-of select="substring(/bedework/now/date,1,4)"/>, <xsl:value-of select="number(substring(/bedework/now/date,5,2)) - 1"/>, <xsl:value-of select="substring(/bedework/now/date,7,2)"/>) 
     451              }); 
     452              $("#bwListWidgetStartDate").val('<xsl:value-of select="$curListDate"/>'); 
    393453            }); 
    394454            </xsl:comment> 
     
    432492        </xsl:if> 
    433493        <link rel="icon" type="image/ico" href="{$resourcesRoot}/resources/bedework.ico" /> 
    434         <script language="JavaScript" type="text/javascript"> 
    435           <xsl:comment> 
    436           <![CDATA[ 
    437           // places the cursor in the first available form element when the page is loaded 
    438           // (if a form exists on the page) 
    439           function focusFirstElement() { 
    440             if (window.document.forms[0]) { 
    441               for (i=0; i<window.document.forms[0].elements.length; i++) { 
    442                 if (window.document.forms[0].elements[i].type != "hidden" && 
    443                     window.document.forms[0].elements[i].type != "submit" && 
    444                     window.document.forms[0].elements[i].type != "reset" && 
    445                     window.document.forms[0].elements[i].type != "button" ) { 
    446                   window.document.forms[0].elements[i].focus(); 
    447                   break; 
    448                 } 
    449               } 
    450             } 
    451           }]]> 
    452           </xsl:comment> 
    453         </script> 
    454494      </head> 
    455495      <body> 
     
    752792      <ul id="errors"> 
    753793        <xsl:for-each select="/bedework/error"> 
    754           <li><xsl:apply-templates select="."/></li> 
     794          <li> 
     795            <xsl:apply-templates select="."/> 
     796                  <!-- Special cases for handling error conditions: --> 
     797                  <xsl:if test="/bedework/error/id = 'org.bedework.client.error.duplicateimage'"> 
     798              <input type="checkbox" id="overwriteEventImage" onclick="setOverwriteImageField(this);"/><label for="overwriteEventImage"><xsl:copy-of select="$bwStr-AEEF-Overwrite"/></label><xsl:text> </xsl:text> 
     799              <!-- input type="checkbox" id="reuseEventImage"/><label for="reuseEventImage">Reuse</label>--> 
     800                  </xsl:if> 
     801          </li> 
    755802        </xsl:for-each> 
    756803      </ul> 
     
    815862        <td> 
    816863          <a href="{$event-initUpdateEvent}"> 
     864            <xsl:attribute name="href"><xsl:value-of select="$event-initUpdateEvent"/>&amp;start=<xsl:value-of select="$curListDate"/>&amp;days=<xsl:value-of select="$curListDays"/>&amp;limitdays=true</xsl:attribute> 
    817865            <xsl:if test="not(/bedework/currentCalSuite/name)"> 
    818866              <xsl:attribute name="onclick">alert("<xsl:copy-of select="$bwStr-MMnu-YouMustBeOperating"/>");return false;</xsl:attribute> 
     
    10271075    <div id="bwEventListControls"> 
    10281076      <form name="calForm" id="bwManageEventListControls" method="post" action="{$event-initUpdateEvent}"> 
     1077        <label for="bwListWidgetStartDate"><xsl:copy-of select="$bwStr-EvLs-StartDate"/></label> 
     1078        <input id="bwListWidgetStartDate" class="noFocus" name="start" size="10" onchange="setListDate(this.form);"/> 
     1079        <input type="hidden" name="setappvar" id="curListDateHolder"/> 
     1080        <input type="hidden" name="limitdays" value="true"/> 
     1081        <span id="daysSetterBox"> 
     1082                <label for="days"><xsl:copy-of select="$bwStr-EvLs-Days"/></label> 
     1083                <xsl:text> </xsl:text> 
     1084                <!-- <xsl:value-of select="/bedework/defaultdays"/> --> 
     1085          <select id="days" name="days" onchange="setListDate(this.form);"> 
     1086                  <xsl:call-template name="buildListDays"/> 
     1087                </select> 
     1088                <input type="hidden" id="curListDaysHolder" name="setappvar"/> 
     1089              </span> 
     1090         
     1091        <!-- This block contains the original Show Active/All toggle.   
     1092             Uncomment this block to use, though it can be slow if working  
     1093             with large very large numbers of events.  
    10291094        <xsl:copy-of select="$bwStr-EvLs-Show"/> 
    10301095        <xsl:copy-of select="/bedework/formElements/form/listAllSwitchFalse/*"/> 
     
    10321097        <xsl:copy-of select="/bedework/formElements/form/listAllSwitchTrue/*"/> 
    10331098        <xsl:copy-of select="$bwStr-EvLs-All"/> 
     1099        --> 
    10341100      </form> 
    10351101 
     
    10411107          <option value="catFilter(none)"><xsl:copy-of select="$bwStr-EvLs-SelectCategory"/></option> 
    10421108          <xsl:for-each select="/bedework/events//event/categories//category[generate-id() = generate-id(key('catUid',uid)[1])]"> 
     1109            <xsl:sort order="ascending" select="value"/> 
    10431110            <xsl:variable name="uid" select="uid"/> 
    10441111            <option value="catFilter({$uid})"> 
     
    10501117          </xsl:for-each> 
    10511118        </select> 
     1119        <input type="hidden" name="start" value="{$curListDate}"/> 
     1120        <input type="hidden" name="limitdays" value="true"/> 
    10521121        <xsl:if test="/bedework/appvar[key='catFilter'] and /bedework/appvar[key='catFilter']/value != 'none'"> 
    10531122          <input type="submit" value="{$bwStr-EvLs-ClearFilter}" onclick="this.form.setappvar.selectedIndex = 0"/> 
     
    10561125    </div> 
    10571126    <xsl:call-template name="eventListCommon"/> 
     1127  </xsl:template> 
     1128   
     1129  <xsl:template name="buildListDays"> 
     1130    <xsl:param name="index">1</xsl:param> 
     1131    <xsl:variable name="max" select="/bedework/maxdays"/> 
     1132    <xsl:if test="number($index) &lt; number($max)"> 
     1133      <option name="listDays($index)"> 
     1134        <xsl:if test="$index = $curListDays"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if> 
     1135        <xsl:value-of select="$index"/> 
     1136      </option> 
     1137      <xsl:call-template name="buildListDays"> 
     1138        <xsl:with-param name="index"><xsl:value-of select="number($index)+1"/></xsl:with-param> 
     1139      </xsl:call-template> 
     1140    </xsl:if> 
    10581141  </xsl:template> 
    10591142 
     
    12491332    </xsl:if> 
    12501333 
    1251     <!-- if a submitted event has comments, display them --> 
    12521334    <xsl:if test="/bedework/page = 'modEventPending'"> 
     1335      <!-- if a submitted event has topical areas that match with  
     1336           those in the calendar suite, convert them --> 
     1337      <script type="text/javascript"> 
     1338      $(document).ready(function() { 
     1339        $("ul.aliasTree input:checked").trigger("onclick"); 
     1340      }); 
     1341      </script> 
     1342     
     1343      <!-- if a submitted event has comments, display them --> 
    12531344      <xsl:if test="form/xproperties/node()[name()='X-BEDEWORK-LOCATION' or name()='X-BEDEWORK-CONTACT' or name()='X-BEDEWORK-CATEGORIES' or name()='X-BEDEWORK-SUBMIT-COMMENT']"> 
    12541345        <script type="text/javascript"> 
     
    12741365            </a><xsl:text> </xsl:text> 
    12751366            (<a href="mailto:{$submitterEmail}?subject=[Event%20Submission] {$eventTitle}" title="Email {$submitterEmail}"> 
    1276               <img src="{$resourcesRoot}/resources/email.gif" border="0"/> 
     1367              <img src="{$resourcesRoot}/resources/email.gif" border="0" alt="*"/> 
    12771368              <xsl:copy-of select="$bwStr-AEEF-SendMsg"/> 
    12781369            </a>) 
     
    12981389      </xsl:choose> 
    12991390    </xsl:variable> 
    1300     <form name="eventForm" method="post" onsubmit="setEventFields(this,{$portalFriendly},'{$submitter}')"> 
     1391    <form name="eventForm" method="post" enctype="multipart/form-data" onsubmit="setEventFields(this,{$portalFriendly},'{$submitter}')"> 
    13011392      <xsl:choose> 
    13021393        <xsl:when test="/bedework/page = 'modEventPending'"> 
     
    15621653                  </xsl:if> 
    15631654                  <xsl:text> </xsl:text> 
    1564                   <img src="{$resourcesRoot}/resources/clockIcon.gif" width="16" height="15" border="0" id="bwStartClock"/> 
     1655                  <img src="{$resourcesRoot}/resources/clockIcon.gif" width="16" height="15" border="0" id="bwStartClock" alt="*"/> 
    15651656 
    15661657                  <select name="eventStartDate.tzid" id="startTzid" class="timezones"> 
     
    15831674              <xsl:choose> 
    15841675                <xsl:when test="form/end/type='E'"> 
    1585                   <input type="radio" name="eventEndType" id="bwEndDateTimeButton" value="E" checked="checked" onClick="changeClass('endDateTime','shown');changeClass('endDuration','invisible');"/> 
     1676                  <input type="radio" name="eventEndType" id="bwEndDateTimeButton" value="E" checked="checked" onclick="changeClass('endDateTime','shown');changeClass('endDuration','invisible');"/> 
    15861677                </xsl:when> 
    15871678                <xsl:otherwise> 
    1588                   <input type="radio" name="eventEndType" id="bwEndDateTimeButton" value="E" onClick="changeClass('endDateTime','shown');changeClass('endDuration','invisible');"/> 
     1679                  <input type="radio" name="eventEndType" id="bwEndDateTimeButton" value="E" onclick="changeClass('endDateTime','shown');changeClass('endDuration','invisible');"/> 
    15891680                </xsl:otherwise> 
    15901681              </xsl:choose> 
     
    16521743                    </xsl:if> 
    16531744                    <xsl:text> </xsl:text> 
    1654                     <img src="{$resourcesRoot}/resources/clockIcon.gif" width="16" height="15" border="0" id="bwEndClock"/> 
     1745                    <img src="{$resourcesRoot}/resources/clockIcon.gif" width="16" height="15" border="0" id="bwEndClock" alt="*"/> 
    16551746 
    16561747                    <select name="eventEndDate.tzid" id="endTzid" class="timezones"> 
     
    16761767                <xsl:choose> 
    16771768                  <xsl:when test="form/end/type='D'"> 
    1678                     <input type="radio" name="eventEndType" value="D" checked="checked" onClick="changeClass('endDateTime','invisible');changeClass('endDuration','shown');"/> 
     1769                    <input type="radio" name="eventEndType" value="D" checked="checked" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','shown');"/> 
    16791770                  </xsl:when> 
    16801771                  <xsl:otherwise> 
    1681                     <input type="radio" name="eventEndType" value="D" onClick="changeClass('endDateTime','invisible');changeClass('endDuration','shown');"/> 
     1772                    <input type="radio" name="eventEndType" value="D" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','shown');"/> 
    16821773                  </xsl:otherwise> 
    16831774                </xsl:choose> 
     
    17501841                <xsl:choose> 
    17511842                  <xsl:when test="form/end/type='N'"> 
    1752                     <input type="radio" name="eventEndType" value="N" checked="checked" onClick="changeClass('endDateTime','invisible');changeClass('endDuration','invisible');"/> 
     1843                    <input type="radio" name="eventEndType" value="N" checked="checked" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','invisible');"/> 
    17531844                  </xsl:when> 
    17541845                  <xsl:otherwise> 
    1755                     <input type="radio" name="eventEndType" value="N" onClick="changeClass('endDateTime','invisible');changeClass('endDuration','invisible');"/> 
     1846                    <input type="radio" name="eventEndType" value="N" onclick="changeClass('endDateTime','invisible');changeClass('endDuration','invisible');"/> 
    17561847                  </xsl:otherwise> 
    17571848                </xsl:choose> 
     
    21252216                            <xsl:copy-of select="$bwStr-AEEF-WeekOn"/> 
    21262217                          </p> 
    2127                           <p> 
    2128                             <div id="weekRecurFields"> 
    2129                               <xsl:call-template name="byDayChkBoxList"> 
    2130                                 <xsl:with-param name="name">byDayWeek</xsl:with-param> 
    2131                               </xsl:call-template> 
    2132                             </div> 
    2133                           </p> 
     2218                          <div id="weekRecurFields"> 
     2219                            <xsl:call-template name="byDayChkBoxList"> 
     2220                              <xsl:with-param name="name">byDayWeek</xsl:with-param> 
     2221                            </xsl:call-template> 
     2222                          </div> 
    21342223                          <p class="weekRecurLinks"> 
    21352224                            <a href="javascript:recurSelectWeekdays('weekRecurFields')"><xsl:copy-of select="$bwStr-AEEF-SelectWeekdays"/></a> | 
     
    21642253                            <div id="monthRecurFields1"> 
    21652254                              <xsl:copy-of select="$bwStr-AEEF-On"/> 
    2166                               <select name="bymonthposPos1" width="7em" onchange="changeClass('monthRecurFields2','shown')"> 
     2255                              <select name="bymonthposPos1" onchange="changeClass('monthRecurFields2','shown')"> 
    21672256                                <xsl:call-template name="recurrenceDayPosOptions"/> 
    21682257                              </select> 
     
    22022291                            <div id="yearRecurFields1"> 
    22032292                              <xsl:copy-of select="$bwStr-AEEF-On"/> 
    2204                               <select name="byyearposPos1" width="7em" onchange="changeClass('yearRecurFields2','shown')"> 
     2293                              <select name="byyearposPos1" onchange="changeClass('yearRecurFields2','shown')"> 
    22052294                                <xsl:call-template name="recurrenceDayPosOptions"/> 
    22062295                              </select> 
     
    23542443                          </select> 
    23552444                         <xsl:text> </xsl:text> 
    2356                          <img src="{$resourcesRoot}/resources/clockIcon.gif" width="16" height="15" border="0" alt="bwClock" id="bwRecExcClock"/> 
     2445                         <img src="{$resourcesRoot}/resources/clockIcon.gif" width="16" height="15" border="0" id="bwRecExcClock" alt="*"/> 
    23572446 
    23582447                        <select name="tzid" id="rdateTzid" class="timezones"> 
     
    24752564          </td> 
    24762565          <td> 
    2477             <textarea name="description" cols="55" rows="8"> 
     2566            <textarea name="description" id="description" cols="80" rows="8" placeholder="{$bwStr-AEEF-EnterPertientInfo}"> 
    24782567              <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 
    24792568              <xsl:value-of select="form/desc/textarea"/> 
     
    24822571            <div class="fieldInfo"> 
    24832572              <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 
    2484               <xsl:copy-of select="$bwStr-AEEF-EnterPertientInfo"/
    2485               <span class="maxCharNotice">(<xsl:value-of select="form/descLength"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-AEEF-CharsMax"/></span> 
     2573              <span class="maxCharNotice"><xsl:value-of select="form/descLength"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-AEEF-CharsMax"/></span
     2574              <span id="remainingChars">&#160;</span> 
    24862575            </div> 
    24872576            <xsl:if test="$canEdit = 'false'"> 
     
    24992588          </td> 
    25002589          <td> 
    2501             <input type="text" size="30" name="eventCost" class="edit"> 
     2590            <input type="text" size="80" name="eventCost" placeholder="{$bwStr-AEEF-OptionalPlaceToPurchaseTicks}"> 
    25022591              <xsl:attribute name="value"><xsl:value-of select="form/cost/input/@value"/></xsl:attribute> 
    25032592            </input> 
    2504             <xsl:text> </xsl:text> 
    2505             <span class="fieldInfo"><xsl:copy-of select="$bwStr-AEEF-OptionalPlaceToPurchaseTicks"/></span> 
    25062593          </td> 
    25072594        </tr> 
     
    25132600          </td> 
    25142601          <td> 
    2515             <input type="text" name="eventLink" size="80" class="edit"> 
     2602            <input type="text" name="eventLink" size="80" placeholder="{$bwStr-AEEF-OptionalMoreEventInfo}"> 
    25162603              <xsl:attribute name="value"><xsl:value-of select="form/link/input/@value"/></xsl:attribute> 
    25172604              <!-- xsl:if test="$canEdit = 'false'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if--> 
    25182605            </input> 
    2519             <xsl:text> </xsl:text> 
    2520             <span class="fieldInfo"><xsl:copy-of select="$bwStr-AEEF-OptionalMoreEventInfo"/></span> 
    25212606          </td> 
    25222607        </tr> 
    25232608        <!-- Image Url --> 
    2524         <tr class="optional"
     2609        <tr class="optional" id="bwImageUrl"
    25252610          <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 
    25262611          <td class="fieldName"> 
    2527             <xsl:copy-of select="$bwStr-AEEF-ImageURL"/> 
    2528           </td> 
    2529           <td> 
    2530             <input type="text" name="xBwImageHolder" value="" size="80" class="edit"> 
     2612            <xsl:copy-of select="$bwStr-AEEF-Image"/> 
     2613          </td> 
     2614          <td> 
     2615            <xsl:if test="form/xproperties/node()[name()='X-BEDEWORK-IMAGE'] or form/xproperties/node()[name()='X-BEDEWORK-THUMB-IMAGE']"> 
     2616              <xsl:variable name="imgPrefix"> 
     2617                <xsl:choose> 
     2618                  <xsl:when test="starts-with(form/xproperties/node()[name()='X-BEDEWORK-IMAGE'],'http')"></xsl:when> 
     2619                  <xsl:otherwise><xsl:value-of select="$bwEventImagePrefix"/></xsl:otherwise> 
     2620                </xsl:choose> 
     2621              </xsl:variable> 
     2622              <xsl:variable name="imgThumbPrefix"> 
     2623                <xsl:choose> 
     2624                  <xsl:when test="starts-with(form/xproperties/node()[name()='X-BEDEWORK-THUMB-IMAGE'],'http')"></xsl:when> 
     2625                  <xsl:otherwise><xsl:value-of select="$bwEventImagePrefix"/></xsl:otherwise> 
     2626                </xsl:choose> 
     2627              </xsl:variable> 
     2628              <div id="eventFormImage"> 
     2629                <xsl:if test="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']"> 
     2630                  <img> 
     2631                    <xsl:attribute name="src"><xsl:value-of select="$imgPrefix"/><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']"/></xsl:attribute> 
     2632                    <xsl:attribute name="alt"><xsl:value-of select="form/title/input/@value"/></xsl:attribute> 
     2633                  </img> 
     2634                </xsl:if> 
     2635                            <xsl:if test="form/xproperties/node()[name()='X-BEDEWORK-THUMB-IMAGE']"> 
     2636                              <img> 
     2637                                <xsl:attribute name="src"><xsl:value-of select="$imgThumbPrefix"/><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-THUMB-IMAGE']"/></xsl:attribute> 
     2638                                <xsl:attribute name="alt"><xsl:value-of select="form/title/input/@value"/></xsl:attribute> 
     2639                              </img> 
     2640                            </xsl:if> 
     2641                    </div> 
     2642                  </xsl:if> 
     2643            <label class="interiorLabel" for="xBwImageHolder"> 
     2644              <xsl:copy-of select="$bwStr-AEEF-ImageURL"/> 
     2645            </label> 
     2646            <xsl:text> </xsl:text> 
     2647            <input type="text" name="xBwImageHolder" id="xBwImageHolder" value="" size="60" placeholder="{$bwStr-AEEF-OptionalEventImage}"> 
    25312648              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
    25322649            </input> 
     2650            <br/> 
     2651            <label class="interiorLabel" for="xBwImageThumbHolder"> 
     2652              <xsl:copy-of select="$bwStr-AEEF-ImageThumbURL"/> 
     2653            </label> 
    25332654            <xsl:text> </xsl:text> 
    2534             <span class="fieldInfo"><xsl:copy-of select="$bwStr-AEEF-OptionalEventImage"/></span> 
     2655            <input type="text" name="xBwImageThumbHolder" id="xBwImageThumbHolder" value="" size="60" placeholder="{$bwStr-AEEF-OptionalEventThumbImage}"> 
     2656              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-THUMB-IMAGE']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
     2657            </input> 
     2658            <xsl:if test="/bedework/imageUploadDirectory"> 
     2659                    <br/> 
     2660                    <label class="interiorLabel" for="eventImageUpload"> 
     2661                      <xsl:copy-of select="$bwStr-AEEF-ImageUpload"/> 
     2662                    </label> 
     2663                    <xsl:text> </xsl:text> 
     2664                    <input type="file" name="eventImageUpload" id="eventImageUpload" size="45"/> 
     2665                    <input type="checkbox" name="replaceImage" id="replaceImage" value="true"/><label for="replaceImage"><xsl:copy-of select="$bwStr-AEEF-Overwrite"/></label> 
     2666                    <!-- button name="eventImageUseExisting" id="eventImageUseExisting"><xsl:copy-of select="$bwStr-AEEF-UseExisting"/></button--><br/> 
     2667                    <div class="fieldInfoAlone"> 
     2668                      <xsl:copy-of select="$bwStr-AEEF-OptionalImageUpload"/><br/> 
     2669                      <xsl:if test="/bedework/creating = 'false' and form/xproperties/node()[name()='X-BEDEWORK-IMAGE']"> 
     2670                        <button id="eventImageRemoveButton" onclick="removeEventImage(this.form.xBwImageHolder,this.form.xBwImageThumbHolder);return false;"><xsl:copy-of select="$bwStr-AEEF-RemoveImages"/></button> 
     2671                      </xsl:if> 
     2672                    </div> 
     2673                  </xsl:if> 
    25352674          </td> 
    25362675        </tr> 
     
    25452684              <xsl:if test="form/location/preferred/select/option"> 
    25462685                <select name="prefLocationId" id="bwPreferredLocationList"> 
     2686                  <xsl:if test="form/location/all/select/option/@selected and not(form/location/preferred/select/option/@selected)"> 
     2687                    <xsl:attribute name="class">invisible</xsl:attribute> 
     2688                  </xsl:if> 
    25472689                  <option value=""> 
    25482690                    <xsl:copy-of select="$bwStr-AEEF-SelectColon"/> 
     
    25522694              </xsl:if> 
    25532695              <select name="allLocationId" id="bwAllLocationList"> 
    2554                 <xsl:if test="form/location/preferred/select/option"> 
     2696                <xsl:if test="form/location/preferred/select/option and not(form/location/all/select/option/@selected and not(form/location/preferred/select/option/@selected))"> 
    25552697                  <xsl:attribute name="class">invisible</xsl:attribute> 
    25562698                </xsl:if> 
     
    25642706                   locations exist --> 
    25652707              <xsl:if test="form/location/preferred/select/option"> 
    2566                 <input type="radio" name="toggleLocationLists" value="preferred" checked="checked" onclick="changeClass('bwPreferredLocationList','shown');changeClass('bwAllLocationList','invisible');"/> 
     2708                <input type="radio" name="toggleLocationLists" value="preferred" onclick="changeClass('bwPreferredLocationList','shown');changeClass('bwAllLocationList','invisible');"> 
     2709                  <xsl:if test="form/location/preferred/select/option and not(form/location/all/select/option/@selected and not(form/location/preferred/select/option/@selected))"> 
     2710                    <xsl:attribute name="checked">checked</xsl:attribute> 
     2711                  </xsl:if> 
     2712                </input> 
    25672713                <xsl:copy-of select="$bwStr-AEEF-Preferred"/> 
    2568                 <input type="radio" name="toggleLocationLists" value="all" onclick="changeClass('bwPreferredLocationList','invisible');changeClass('bwAllLocationList','shown');"/> 
     2714                <input type="radio" name="toggleLocationLists" value="all" onclick="changeClass('bwPreferredLocationList','invisible');changeClass('bwAllLocationList','shown');"> 
     2715                  <xsl:if test="form/location/all/select/option/@selected and not(form/location/preferred/select/option/@selected)"> 
     2716                    <xsl:attribute name="checked">checked</xsl:attribute> 
     2717                  </xsl:if> 
     2718                </input> 
    25692719                <xsl:copy-of select="$bwStr-AEEF-All"/> 
    25702720              </xsl:if> 
     
    26212771              <xsl:if test="form/contact/preferred/select/option"> 
    26222772                <select name="prefContactId" id="bwPreferredContactList"> 
     2773                  <xsl:if test="form/contact/all/select/option/@selected and not(form/contact/preferred/select/option/@selected)"> 
     2774                    <xsl:attribute name="class">invisible</xsl:attribute> 
     2775                  </xsl:if> 
    26232776                  <option value=""> 
    26242777                    <xsl:copy-of select="$bwStr-AEEF-SelectColon"/> 
     
    26282781              </xsl:if> 
    26292782              <select name="allContactId" id="bwAllContactList"> 
    2630                 <xsl:if test="form/contact/preferred/select/option"> 
     2783                <xsl:if test="form/contact/preferred/select/option and not(form/contact/all/select/option/@selected and not(form/contact/preferred/select/option/@selected))"> 
    26312784                  <xsl:attribute name="class">invisible</xsl:attribute> 
    26322785                </xsl:if> 
     
    26402793                   contacts exist --> 
    26412794              <xsl:if test="form/contact/preferred/select/option"> 
    2642                 <input type="radio" name="toggleContactLists" value="preferred" checked="checked" onclick="changeClass('bwPreferredContactList','shown');changeClass('bwAllContactList','invisible');"/> 
     2795                <input type="radio" name="toggleContactLists" value="preferred" onclick="changeClass('bwPreferredContactList','shown');changeClass('bwAllContactList','invisible');"> 
     2796                  <xsl:if test="form/contact/preferred/select/option and not(form/contact/all/select/option/@selected and not(form/contact/preferred/select/option/@selected))"> 
     2797                    <xsl:attribute name="checked">checked</xsl:attribute> 
     2798                  </xsl:if> 
     2799                </input> 
    26432800                <xsl:copy-of select="$bwStr-AEEF-Preferred"/> 
    2644                 <input type="radio" name="toggleContactLists" value="all" onclick="changeClass('bwPreferredContactList','invisible');changeClass('bwAllContactList','shown');"/> 
     2801                <input type="radio" name="toggleContactLists" value="all" onclick="changeClass('bwPreferredContactList','invisible');changeClass('bwAllContactList','shown');"> 
     2802                  <xsl:if test="form/contact/all/select/option/@selected and not(form/contact/preferred/select/option/@selected)"> 
     2803                    <xsl:attribute name="checked">checked</xsl:attribute> 
     2804                  </xsl:if> 
     2805                </input> 
    26452806                <xsl:copy-of select="$bwStr-AEEF-All"/> 
    26462807              </xsl:if> 
     
    28873048              <xsl:attribute name="value"><xsl:value-of select="$virtualPath"/></xsl:attribute> 
    28883049              <xsl:if test="$virtualPath = /bedework/formElements/form/xproperties//X-BEDEWORK-ALIAS/values/text"><xsl:attribute name="checked"><xsl:value-of select="checked"/></xsl:attribute></xsl:if> 
     3050              <xsl:if test="path = /bedework/formElements/form/xproperties//X-BEDEWORK-SUBMIT-ALIAS/values/text"><xsl:attribute name="checked"><xsl:value-of select="checked"/></xsl:attribute></xsl:if> 
     3051              <xsl:if test="/bedework/formElements/form/xproperties//X-BEDEWORK-SUBMIT-ALIAS/values/text = substring-after(aliasUri,'bwcal://')"><xsl:attribute name="checked"><xsl:value-of select="checked"/></xsl:attribute></xsl:if> 
    28893052            </input> 
    28903053            <xsl:choose> 
    28913054              <xsl:when test="$virtualPath = /bedework/formElements/form/xproperties//X-BEDEWORK-ALIAS/values/text"> 
     3055                <strong><xsl:value-of select="summary"/></strong> 
     3056              </xsl:when> 
     3057              <xsl:when test="path = /bedework/formElements/form/xproperties//X-BEDEWORK-SUBMIT-ALIAS/values/text"> 
     3058                <strong><xsl:value-of select="summary"/></strong> 
     3059              </xsl:when> 
     3060              <xsl:when test="/bedework/formElements/form/xproperties//X-BEDEWORK-SUBMIT-ALIAS/values/text = substring-after(aliasUri,'bwcal://')"> 
    28923061                <strong><xsl:value-of select="summary"/></strong> 
    28933062              </xsl:when> 
     
    29163085    <xsl:param name="eventUrlPrefix"/> 
    29173086    <xsl:param name="canEdit"/> 
     3087     
     3088    <xsl:variable name="escapedTitle"><xsl:call-template name="escapeJson"><xsl:with-param name="string" select="eventTitle"/></xsl:call-template></xsl:variable> 
    29183089    <div class="submitBox"> 
    29193090      <xsl:choose> 
     
    29553126                </select> 
    29563127                <input type="submit" name="publishEvent" value="{$bwStr-SEBu-PublishEvent}"> 
    2957                   <xsl:attribute name="onclick">doPublishEvent(this.form.newCalPath.value,'<xsl:value-of select="$eventTitle"/>','<xsl:value-of select="$eventUrlPrefix"/>',this.form);changeClass('publishBox','invisible');</xsl:attribute> 
     3128                  <xsl:attribute name="onclick">doPublishEvent(this.form.newCalPath.value,"<xsl:value-of select="$escapedTitle"/>","<xsl:value-of select="$eventUrlPrefix"/>",this.form);changeClass('publishBox','invisible');</xsl:attribute> 
    29583129                </input> 
    29593130                <xsl:if test="$portalFriendly = 'false'"> 
     
    29723143              <input type="submit" name="updateSubmitEvent" value="{$bwStr-SEBu-UpdateEvent}"/> 
    29733144              <input type="submit" name="publishEvent" value="{$bwStr-SEBu-PublishEvent}"> 
    2974                 <xsl:attribute name="onclick">doPublishEvent('<xsl:value-of select="form/calendar/all/select/option/@value"/>','<xsl:value-of select="$eventTitle"/>','<xsl:value-of select="$eventUrlPrefix"/>',this.form);</xsl:attribute> 
     3145                <xsl:attribute name="onclick">doPublishEvent("<xsl:value-of select="form/calendar/all/select/option/@value"/>","<xsl:value-of select="$escapedTitle"/>","<xsl:value-of select="$eventUrlPrefix"/>",this.form);</xsl:attribute> 
    29753146              </input> 
    29763147              <input type="submit" name="cancelled" value="{$bwStr-SEBu-Cancel}"/> 
     
    30823253      <xsl:attribute name="id"><xsl:value-of select="$name"/>RecurFields<xsl:value-of select="$current"/></xsl:attribute> 
    30833254      <xsl:copy-of select="$bwStr-BuRF-And"/> 
    3084       <select width="12em"
     3255      <select
    30853256        <xsl:attribute name="name">by<xsl:value-of select="$name"/>posPos<xsl:value-of select="$current"/></xsl:attribute> 
    30863257        <xsl:if test="$current != $total"> 
     
    34813652          </td> 
    34823653          <td> 
    3483             <xsl:copy-of select="/bedework/formElements/form/name/*"/> 
     3654            <input type="text" name="contactName.value" size="40"> 
     3655              <xsl:attribute name="value"><xsl:value-of select="/bedework/formElements/form/name/input/@value"/></xsl:attribute> 
     3656            </input> 
     3657            <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MdCo-ContactName-Placeholder"/></span> 
    34843658          </td> 
    34853659        </tr> 
     
    34893663          </td> 
    34903664          <td> 
    3491             <xsl:copy-of select="/bedework/formElements/form/phone/*"/> 
     3665            <input type="text" name="contact.phone" size="40"> 
     3666              <xsl:attribute name="value"><xsl:value-of select="/bedework/formElements/form/phone/input/@value"/></xsl:attribute> 
     3667              <xsl:attribute name="placeholder"><xsl:value-of select="$bwStr-MdCo-ContactPhone-Placeholder"/></xsl:attribute> 
     3668            </input> 
    34923669            <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MdCo-Optional"/></span> 
    34933670          </td> 
     
    34983675          </td> 
    34993676          <td> 
    3500             <xsl:copy-of select="/bedework/formElements/form/link/*"/> 
     3677            <input type="text" name="contact.link" size="40"> 
     3678              <xsl:attribute name="value"><xsl:value-of select="/bedework/formElements/form/link/input/@value"/></xsl:attribute> 
     3679              <xsl:attribute name="placeholder"><xsl:value-of select="$bwStr-MdCo-ContactURL-Placeholder"/></xsl:attribute> 
     3680            </input> 
    35013681            <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MdCo-Optional"/></span> 
    35023682          </td> 
     
    35073687          </td> 
    35083688          <td> 
    3509             <xsl:copy-of select="/bedework/formElements/form/email/*"/> 
     3689            <input type="text" name="contact.email" size="40"> 
     3690              <xsl:attribute name="value"><xsl:value-of select="/bedework/formElements/form/email/input/@value"/></xsl:attribute> 
     3691            </input> 
    35103692            <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MdCo-Optional"/></span> 
    35113693          </td> 
     
    36893871          </td> 
    36903872          <td> 
    3691             <xsl:copy-of select="/bedework/formElements/form/address/*"/> 
     3873            <input type="text" name="locationAddress.value" size="80"> 
     3874              <xsl:attribute name="value"><xsl:value-of select="/bedework/formElements/form/address/input/@value"/></xsl:attribute> 
     3875            </input> 
     3876            <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MoLo-Address-Placeholder"/></span> 
    36923877          </td> 
    36933878        </tr> 
     
    36973882          </td> 
    36983883          <td> 
    3699             <xsl:copy-of select="/bedework/formElements/form/subaddress/*"/> 
     3884            <input type="text" name="locationSubaddress.value" size="80"> 
     3885              <xsl:attribute name="value"><xsl:value-of select="/bedework/formElements/form/subaddress/input/@value"/></xsl:attribute> 
     3886              <xsl:attribute name="placeholder"><xsl:value-of select="$bwStr-MoLo-SubAddress-Placeholder"/></xsl:attribute> 
     3887            </input> 
    37003888            <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MoLo-Optional"/></span> 
    37013889          </td> 
     
    37063894          </td> 
    37073895          <td> 
    3708             <xsl:copy-of select="/bedework/formElements/form/link/*"/> 
     3896            <input type="text" name="location.link" size="80"> 
     3897              <xsl:attribute name="value"><xsl:value-of select="/bedework/formElements/form/link/input/@value"/></xsl:attribute> 
     3898              <xsl:attribute name="placeholder"><xsl:value-of select="$bwStr-MoLo-LocationURL-Placeholder"/></xsl:attribute> 
     3899            </input> 
    37093900            <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MoLo-Optional"/></span> 
    37103901          </td> 
     
    42654456          <td> 
    42664457            <xsl:variable name="curCalName" select="name"/> 
    4267             <input name="calendar.name" value="{$curCalName}" size="40"/> 
     4458            <input name="calendar.name" value="{$curCalName}" size="40" onblur="setCalSummary(this.value, this.form['calendar.summary']);"/> 
    42684459          </td> 
    42694460        </tr> 
     
    54775668 
    54785669    <form name="delCalForm" action="{$subscriptions-delete}" method="post"> 
     5670      <input type="hidden" name="deleteContent" value="true"/> 
    54795671      <table class="eventFormTable"> 
    54805672        <tr> 
    5481           <th>Path:</th> 
     5673          <th><xsl:copy-of select="$bwStr-CuCa-Path"/></th> 
    54825674          <td> 
    54835675            <xsl:value-of select="path"/> 
     
    58266018        </tr> 
    58276019        <tr> 
    5828           <th><xsl:copy-of select="$bwStr-MdSP-Indexing"/></th> 
    5829           <td> 
    5830             <xsl:variable name="indexing" select="/bedework/system/indexing"/> 
    5831             <input value="{$indexing}" name="indexing" /> 
    5832             <div class="desc"> 
    5833               <xsl:copy-of select="$bwStr-MdSP-IndexingNote"/> 
    5834             </div> 
    5835           </td> 
    5836         </tr> 
    5837         <tr> 
    58386020          <th><xsl:copy-of select="$bwStr-MdSP-DefaultFBPeriod"/></th> 
    58396021          <td> 
     
    62946476            <xsl:variable name="preferredView" select="/bedework/prefs/preferredView"/> 
    62956477            <input type="text" name="preferredView" value="{$preferredView}" size="40"/> 
     6478          </td> 
     6479        </tr> 
     6480        <tr> 
     6481          <th> 
     6482            <xsl:copy-of select="$bwStr-CSPf-DefaultViewMode"/> 
     6483          </th> 
     6484          <td> 
     6485            <select name="defaultViewMode"> 
     6486              <option value="daily"> 
     6487                <xsl:if test="/bedework/prefs/defaultViewMode = 'daily'"> 
     6488                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6489                </xsl:if> 
     6490                <xsl:copy-of select="$bwStr-CSPf-DefaultViewModeDaily"/> 
     6491              </option> 
     6492              <option value="list"> 
     6493                <xsl:if test="/bedework/prefs/defaultViewMode = 'list'"> 
     6494                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6495                </xsl:if> 
     6496                <xsl:copy-of select="$bwStr-CSPf-DefaultViewModeList"/> 
     6497              </option> 
     6498              <option value="grid"> 
     6499                <xsl:if test="/bedework/prefs/defaultViewMode = 'grid'"> 
     6500                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6501                </xsl:if> 
     6502                <xsl:copy-of select="$bwStr-CSPf-DefaultViewModeGrid"/> 
     6503              </option> 
     6504            </select> 
    62966505          </td> 
    62976506        </tr> 
     
    64396648          </td> 
    64406649        </tr> 
     6650        <xsl:if test="/bedework/userInfo/superUser = 'true'"> 
     6651                <tr> 
     6652                  <th> 
     6653                    <xsl:copy-of select="$bwStr-CSPf-DefaultImageDirectory"/> 
     6654                  </th> 
     6655                  <td> 
     6656                    <input type="text" name="defaultImageDirectory" value="" size="40"> 
     6657                      <xsl:attribute name="value"><xsl:value-of select="/bedework/prefs/defaultImageDirectory"/></xsl:attribute> 
     6658                    </input> 
     6659                  </td> 
     6660                </tr> 
     6661                <tr> 
     6662            <th> 
     6663              <xsl:copy-of select="$bwStr-CSPf-MaxEntitySize"/> 
     6664            </th> 
     6665            <td> 
     6666              <input type="text" name="maxEntitySize" value="" size="40"> 
     6667                <xsl:attribute name="value"><xsl:value-of select="/bedework/prefs/maxEntitySize"/></xsl:attribute> 
     6668              </input> 
     6669            </td> 
     6670          </tr> 
     6671            </xsl:if> 
    64416672        <!-- 
    64426673        <tr> 
     
    73147545  <xsl:template name="footer"> 
    73157546    <div id="footer"> 
    7316       <a href="http://www.bedework.org/"><xsl:copy-of select="$bwStr-Foot-BedeworkWebsite"/></a> | 
     7547      <a href="http://www.jasig.org/bedework"><xsl:copy-of select="$bwStr-Foot-BedeworkWebsite"/></a> | 
    73177548      <!-- Enable the following two items when debugging skins only --> 
    73187549      <a href="?noxslt=yes"><xsl:copy-of select="$bwStr-Foot-ShowXML"/></a> | 
  • releases/bedework-3.7/deployment/webadmin/webapp/resources/default/default/strings.xsl

    r3188 r3528  
    101101  <xsl:variable name="bwStr-EvLs-SelectEvent">Select the event that you would like to update:</xsl:variable> 
    102102  <xsl:variable name="bwStr-EvLs-PageTitle">Add new event</xsl:variable> 
     103  <xsl:variable name="bwStr-EvLs-StartDate">Start Date:</xsl:variable> 
     104  <xsl:variable name="bwStr-EvLs-Days">Days:</xsl:variable> 
    103105  <xsl:variable name="bwStr-EvLs-Show">Show:</xsl:variable> 
    104106  <xsl:variable name="bwStr-EvLs-Active">Active</xsl:variable> 
     
    244246  <xsl:variable name="bwStr-AEEF-NoTransparent">no (transparent)</xsl:variable> 
    245247  <xsl:variable name="bwStr-AEEF-Description">Description:</xsl:variable> 
    246   <xsl:variable name="bwStr-AEEF-EnterPertientInfo">Enter all pertinent information, including the academic titles of all speakers and/or participants.</xsl:variable> 
     248  <xsl:variable name="bwStr-AEEF-EnterPertientInfo">Enter a brief description of the event</xsl:variable> 
    247249  <xsl:variable name="bwStr-AEEF-CharsMax">characters max.</xsl:variable> 
     250  <xsl:variable name="bwStr-AEEF-CharsRemaining">character(s) remaining.</xsl:variable> 
    248251  <xsl:variable name="bwStr-AEEF-Cost">Cost:</xsl:variable> 
    249   <xsl:variable name="bwStr-AEEF-OptionalPlaceToPurchaseTicks">(optional: if any, and place to purchase tickets)</xsl:variable> 
     252  <xsl:variable name="bwStr-AEEF-OptionalPlaceToPurchaseTicks">optional: if any, and place to purchase tickets</xsl:variable> 
    250253  <xsl:variable name="bwStr-AEEF-EventURL">Event URL:</xsl:variable> 
    251   <xsl:variable name="bwStr-AEEF-OptionalMoreEventInfo">(optional: for more information about the event)</xsl:variable> 
     254  <xsl:variable name="bwStr-AEEF-OptionalMoreEventInfo">optional link to more information about the event</xsl:variable> 
     255  <xsl:variable name="bwStr-AEEF-Image">Image:</xsl:variable> 
    252256  <xsl:variable name="bwStr-AEEF-ImageURL">Image URL:</xsl:variable> 
    253   <xsl:variable name="bwStr-AEEF-OptionalEventImage">(optional: to include an image with the event description)</xsl:variable> 
     257  <xsl:variable name="bwStr-AEEF-ImageThumbURL">Thumbnail URL:</xsl:variable> 
     258  <xsl:variable name="bwStr-AEEF-ImageUpload">-or- Upload image:</xsl:variable> 
     259  <xsl:variable name="bwStr-AEEF-OptionalEventImage">optional link to image for event description</xsl:variable> 
     260  <xsl:variable name="bwStr-AEEF-OptionalEventThumbImage">optional link to thumbnail for event lists, 80px wide</xsl:variable> 
     261  <xsl:variable name="bwStr-AEEF-UseExisting">Use existing...</xsl:variable> 
     262  <xsl:variable name="bwStr-AEEF-Overwrite">Overwrite</xsl:variable> 
     263  <xsl:variable name="bwStr-AEEF-OptionalImageUpload">Uploads can be JPG, PNG, or GIF and will overwrite the image and thumbnail URLs.</xsl:variable> 
     264  <xsl:variable name="bwStr-AEEF-RemoveImages">remove images</xsl:variable> 
    254265  <xsl:variable name="bwStr-AEEF-Location">Location:</xsl:variable> 
    255266  <xsl:variable name="bwStr-AEEF-Add">add</xsl:variable> 
     
    354365  <xsl:variable name="bwStr-MdCo-ContactInfo">Contact Information</xsl:variable> 
    355366  <xsl:variable name="bwStr-MdCo-ContactName">Contact (name):</xsl:variable> 
     367  <xsl:variable name="bwStr-MdCo-ContactName-Placeholder">e.g. name, group, or department</xsl:variable> 
    356368  <xsl:variable name="bwStr-MdCo-ContactPhone">Contact Phone Number:</xsl:variable> 
     369  <xsl:variable name="bwStr-MdCo-ContactPhone-Placeholder">e.g. 555-555-5555</xsl:variable> 
    357370  <xsl:variable name="bwStr-MdCo-ContactURL">Contact's URL:</xsl:variable> 
     371  <xsl:variable name="bwStr-MdCo-ContactURL-Placeholder">link to more information</xsl:variable> 
    358372  <xsl:variable name="bwStr-MdCo-ContactEmail">Contact Email Address:</xsl:variable> 
    359373  <xsl:variable name="bwStr-MdCo-Optional">(optional)</xsl:variable> 
     
    388402  <xsl:variable name="bwStr-MoLo-AddLocation">Add Location</xsl:variable> 
    389403  <xsl:variable name="bwStr-MoLo-UpdateLocation">Update Location</xsl:variable> 
    390   <xsl:variable name="bwStr-MoLo-Address">Address:</xsl:variable> 
     404  <xsl:variable name="bwStr-MoLo-Address">Primary Address:</xsl:variable> 
     405  <xsl:variable name="bwStr-MoLo-Address-Placeholder">include building and room when appropriate</xsl:variable> 
    391406  <xsl:variable name="bwStr-MoLo-SubAddress">Subaddress:</xsl:variable> 
     407  <xsl:variable name="bwStr-MoLo-SubAddress-Placeholder">street address, including city and state when appropriate</xsl:variable> 
    392408  <xsl:variable name="bwStr-MoLo-Optional">(optional)</xsl:variable> 
    393409  <xsl:variable name="bwStr-MoLo-LocationURL">Location's URL:</xsl:variable> 
     410  <xsl:variable name="bwStr-MoLo-LocationURL-Placeholder">link to more information or map</xsl:variable> 
    394411  <xsl:variable name="bwStr-MoLo-DeleteLocation">Delete Location</xsl:variable> 
    395412  <xsl:variable name="bwStr-MoLo-Cancel">Cancel</xsl:variable> 
     
    766783  <xsl:variable name="bwStr-CSPf-CalSuite">Calendar Suite:</xsl:variable> 
    767784  <xsl:variable name="bwStr-CSPf-PreferredView">Preferred view:</xsl:variable> 
     785  <xsl:variable name="bwStr-CSPf-DefaultViewMode">Preferred view mode:</xsl:variable> 
     786  <xsl:variable name="bwStr-CSPf-DefaultViewModeList">LIST (a list of discrete events from now into the future)</xsl:variable> 
     787  <xsl:variable name="bwStr-CSPf-DefaultViewModeDaily">DAILY (a list of events grouped by date showing entire view period)</xsl:variable> 
     788  <xsl:variable name="bwStr-CSPf-DefaultViewModeGrid">GRID (calendar grid - in week and month view periods)</xsl:variable> 
    768789  <xsl:variable name="bwStr-CSPf-PreferredViewPeriod">Preferred view period:</xsl:variable> 
    769790  <xsl:variable name="bwStr-CSPf-Day">day</xsl:variable> 
     
    784805  <xsl:variable name="bwStr-CSPf-Update">Update</xsl:variable> 
    785806  <xsl:variable name="bwStr-CSPf-Cancel">Cancel</xsl:variable> 
     807  <xsl:variable name="bwStr-CSPf-MaxEntitySize">Maximum size for file uploads (in bytes):</xsl:variable> 
     808  <xsl:variable name="bwStr-CSPf-DefaultImageDirectory">Default image directory:</xsl:variable> 
    786809 
    787810  <!--  xsl:template name="uploadTimezones" --> 
  • releases/bedework-3.7/deployment/webadmin/webapp/resources/es_ES/default/default.css

    r3184 r3528  
    451451} 
    452452table.eventFormTable tr.optional input { 
    453   background-color: #eee; 
    454   color: black; 
    455453} 
    456454table.eventFormTable td.allField { 
     
    472470  font-size: 0.9em; 
    473471  font-style: italic; 
     472  color: #777; 
     473  background-color: transparent; 
     474} 
     475.fieldInfoAlone { 
     476        margin: 0 0 12px 140px; 
     477  font-size: 0.9em; 
     478  font-style: italic; 
     479  color: #777; 
     480  background-color: transparent; 
     481} 
     482.fieldInfoAlone button { 
     483        float: right; 
     484        margin: 0.5em 2em 1em 0; 
     485} 
     486label.interiorLabel { 
     487  display: block; 
     488  float: left; 
     489  width: 140px; 
     490} 
     491#remainingChars { 
     492        margin-left: 2em; 
     493} 
     494#eventFormImage { 
     495  margin-bottom: 0.5em; 
     496} 
     497#eventFormImage img { 
     498        margin-right: 4px; 
     499} 
     500#eventImageUseExisting { 
     501        margin-bottom: 0; 
    474502} 
    475503table.eventFormTable div.fieldInfo { 
     
    910938  font-size: 11px; 
    911939} 
     940#bedework table td { 
     941  vertical-align: top; 
     942} 
    912943table.common { 
    913944  width: 100%; 
     
    935966  color: black; 
    936967} 
    937 table.common th.commonHeader { 
     968#bedework table.common th.commonHeader { 
    938969  vertical-align: middle; 
    939970  background-color: #666; 
     
    11841215  display: inline; 
    11851216  padding-right: 2em; 
     1217} 
     1218#daysSetterBox { 
     1219        margin-left: 1em; 
    11861220} 
    11871221.bwEventListOtherGroupTags { 
  • releases/bedework-3.7/deployment/webadmin/webapp/resources/es_ES/default/default.xsl

    r3377 r3528  
    5757    --> 
    5858  <xsl:variable name="resourcesRoot" select="/bedework/browserResourceRoot"/> 
     59 
     60  <!-- Root context of uploaded event images --> 
     61  <xsl:variable name="bwEventImagePrefix">/pubcaldav</xsl:variable> 
    5962 
    6063  <!-- URL of the XSL template directory --> 
     
    221224  <xsl:variable name="portalFriendly">false</xsl:variable> 
    222225 
     226        <!-- get the current date set by the user, if exists, else use now --> 
     227        <xsl:variable name="curListDate"> 
     228          <xsl:choose> 
     229            <xsl:when test="/bedework/appvar[key='curListDate']/value"><xsl:value-of select="/bedework/appvar[key='curListDate']/value"/></xsl:when> 
     230            <xsl:otherwise><xsl:value-of select="substring(/bedework/now/date,1,4)"/>-<xsl:value-of select="substring(/bedework/now/date,5,2)"/>-<xsl:value-of select="substring(/bedework/now/date,7,2)"/></xsl:otherwise> 
     231          </xsl:choose> 
     232        </xsl:variable> 
     233        <!-- get the current number of days set by the user, if exists, else use default --> 
     234  <xsl:variable name="curListDays"> 
     235    <xsl:choose> 
     236      <xsl:when test="/bedework/appvar[key='curListDays']/value"><xsl:value-of select="/bedework/appvar[key='curListDays']/value"/></xsl:when> 
     237      <xsl:otherwise><xsl:value-of select="/bedework/defaultdays"/></xsl:otherwise> 
     238    </xsl:choose> 
     239  </xsl:variable> 
     240 
    223241  <!--==== MAIN TEMPLATE  ====--> 
    224242  <xsl:template match="/"> 
     
    239257          </xsl:comment> 
    240258        </script> 
    241         <!-- Load jQuery when needed --> 
    242         <xsl:if test="/bedework/page='modEvent' or 
    243                       /bedework/page='modEventPending' or 
    244                       /bedework/page='modSubscription'"> 
    245           <!-- <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-1.2.6.min.js">&#160;</script> 
    246           <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-ui-1.5.2.min.js">&#160;</script>--> 
     259        <!-- load jQuery  --> 
    247260          <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-1.3.2.min.js">&#160;</script> 
    248261          <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-ui-1.7.1.custom.min.js">&#160;</script> 
    249262          <link rel="stylesheet" href="/bedework-common/javascript/jquery/css/custom-theme/jquery-ui-1.7.1.custom.css"/> 
    250263          <link rel="stylesheet" href="/bedework-common/javascript/jquery/css/custom-theme/bedeworkJquery.css"/> 
    251         </xsl:if> 
     264        <!-- Global Javascript (every page): --> 
     265        <script type="text/javascript"> 
     266          <xsl:comment> 
     267            $(document).ready(function(){ 
     268              // focus first visible,enabled form element: 
     269              $(':input[type=text]:visible:enabled:first:not(.noFocus)').focus(); 
     270            }); 
     271          </xsl:comment> 
     272        </script> 
     273        <!-- conditional javascript and css --> 
    252274        <xsl:if test="/bedework/page='modEvent' or /bedework/page='modEventPending'"> 
    253275          <!-- import the internationalized strings for the javascript widgets --> 
     
    376398                initXProperties(); 
    377399                bwSetupDatePickers(); 
     400                             
     401                // trim the event description: 
     402                $("#description").val($.trim($("#description").val())); 
     403                 
     404                // limit the event description to maxPublicDescriptionLength as configured in cal.options.xml 
     405                $("#description").keyup(function(){   
     406                  var maxDescLength = parseInt(<xsl:value-of select="/bedework/formElements/form/descLength"/>);   
     407                  var desc = $(this).val();   
     408                  var remainingChars = maxDescLength - desc.length; 
     409                  if (remainingChars &lt; 0) { 
     410                    remainingChars = 0; 
     411                  } 
     412                  $("#remainingChars").html(remainingChars + " <xsl:value-of select="$bwStr-AEEF-CharsRemaining"/>");  
     413                  if(desc.length > maxDescLength){   
     414                    var truncDesc = desc.substr(0, maxDescLength);   
     415                    $(this).val(truncDesc);  
     416                  };   
     417                });   
     418                 
     419              </xsl:if> 
     420 
     421              <xsl:if test="/bedework/page='listEvents'"> 
     422                bwSetupListDatePicker(); 
    378423              </xsl:if> 
    379424                             
    380               focusFirstElement(); 
    381  
    382425              // If you wish to collapse specific topical areas, you can specify them here: 
    383426              // (note that this will be managed from the admin client in time) 
     
    391434              }); 
    392435 
     436            }); 
     437            </xsl:comment> 
     438          </script> 
     439        </xsl:if> 
     440        <xsl:if test="/bedework/page='eventList'"> 
     441          <!-- include the localized jQuery datepicker defaults --> 
     442          <xsl:call-template name="jqueryDatepickerDefaults"/> 
     443           
     444          <!-- now setup date and time pickers -->   
     445          <script type="text/javascript"> 
     446            <xsl:comment> 
     447            $(document).ready(function(){ 
     448              // startdate for list 
     449              $("#bwListWidgetStartDate").datepicker({ 
     450                defaultDate: new Date(<xsl:value-of select="substring(/bedework/now/date,1,4)"/>, <xsl:value-of select="number(substring(/bedework/now/date,5,2)) - 1"/>, <xsl:value-of select="substring(/bedework/now/date,7,2)"/>) 
     451              }); 
     452              $("#bwListWidgetStartDate").val('<xsl:value-of select="$curListDate"/>'); 
    393453            }); 
    394454            </xsl:comment> 
     
    433493        </xsl:if> 
    434494        <link rel="icon" type="image/ico" href="{$resourcesRoot}/resources/bedework.ico" /> 
    435         <script language="JavaScript" type="text/javascript"> 
    436           <xsl:comment> 
    437           <![CDATA[ 
    438           // places the cursor in the first available form element when the page is loaded 
    439           // (if a form exists on the page) 
    440           function focusFirstElement() { 
    441             if (window.document.forms[0]) { 
    442               for (i=0; i<window.document.forms[0].elements.length; i++) { 
    443                 if (window.document.forms[0].elements[i].type != "hidden" && 
    444                     window.document.forms[0].elements[i].type != "submit" && 
    445                     window.document.forms[0].elements[i].type != "reset" && 
    446                     window.document.forms[0].elements[i].type != "button" ) { 
    447                   window.document.forms[0].elements[i].focus(); 
    448                   break; 
    449                 } 
    450               } 
    451             } 
    452           }]]> 
    453           </xsl:comment> 
    454         </script> 
    455495      </head> 
    456496      <body> 
     
    753793      <ul id="errors"> 
    754794        <xsl:for-each select="/bedework/error"> 
    755           <li><xsl:apply-templates select="."/></li> 
     795          <li> 
     796            <xsl:apply-templates select="."/> 
     797                  <!-- Special cases for handling error conditions: --> 
     798                  <xsl:if test="/bedework/error/id = 'org.bedework.client.error.duplicateimage'"> 
     799              <input type="checkbox" id="overwriteEventImage" onclick="setOverwriteImageField(this);"/><label for="overwriteEventImage"><xsl:copy-of select="$bwStr-AEEF-Overwrite"/></label><xsl:text> </xsl:text> 
     800              <!-- input type="checkbox" id="reuseEventImage"/><label for="reuseEventImage">Reuse</label>--> 
     801                  </xsl:if> 
     802          </li> 
    756803        </xsl:for-each> 
    757804      </ul> 
     
    816863        <td> 
    817864          <a href="{$event-initUpdateEvent}"> 
     865            <xsl:attribute name="href"><xsl:value-of select="$event-initUpdateEvent"/>&amp;start=<xsl:value-of select="$curListDate"/>&amp;days=<xsl:value-of select="$curListDays"/>&amp;limitdays=true</xsl:attribute> 
    818866            <xsl:if test="not(/bedework/currentCalSuite/name)"> 
    819867              <xsl:attribute name="onclick">alert("<xsl:copy-of select="$bwStr-MMnu-YouMustBeOperating"/>");return false;</xsl:attribute> 
     
    10281076    <div id="bwEventListControls"> 
    10291077      <form name="calForm" id="bwManageEventListControls" method="post" action="{$event-initUpdateEvent}"> 
     1078        <label for="bwListWidgetStartDate"><xsl:copy-of select="$bwStr-EvLs-StartDate"/></label> 
     1079        <input id="bwListWidgetStartDate" class="noFocus" name="start" size="10" onchange="setListDate(this.form);"/> 
     1080        <input type="hidden" name="setappvar" id="curListDateHolder"/> 
     1081        <input type="hidden" name="limitdays" value="true"/> 
     1082        <span id="daysSetterBox"> 
     1083                <label for="days"><xsl:copy-of select="$bwStr-EvLs-Days"/></label> 
     1084                <xsl:text> </xsl:text> 
     1085                <!-- <xsl:value-of select="/bedework/defaultdays"/> --> 
     1086          <select id="days" name="days" onchange="setListDate(this.form);"> 
     1087                  <xsl:call-template name="buildListDays"/> 
     1088                </select> 
     1089                <input type="hidden" id="curListDaysHolder" name="setappvar"/> 
     1090              </span> 
     1091         
     1092        <!-- This block contains the original Show Active/All toggle.   
     1093             Uncomment this block to use, though it can be slow if working  
     1094             with large very large numbers of events.  
    10301095        <xsl:copy-of select="$bwStr-EvLs-Show"/> 
    10311096        <xsl:copy-of select="/bedework/formElements/form/listAllSwitchFalse/*"/> 
     
    10331098        <xsl:copy-of select="/bedework/formElements/form/listAllSwitchTrue/*"/> 
    10341099        <xsl:copy-of select="$bwStr-EvLs-All"/> 
     1100        --> 
    10351101      </form> 
    10361102 
     
    10511117          </xsl:for-each> 
    10521118        </select> 
     1119        <input type="hidden" name="start" value="{$curListDate}"/> 
     1120        <input type="hidden" name="limitdays" value="true"/> 
    10531121        <xsl:if test="/bedework/appvar[key='catFilter'] and /bedework/appvar[key='catFilter']/value != 'none'"> 
    10541122          <input type="submit" value="{$bwStr-EvLs-ClearFilter}" onclick="this.form.setappvar.selectedIndex = 0"/> 
     
    10571125    </div> 
    10581126    <xsl:call-template name="eventListCommon"/> 
     1127  </xsl:template> 
     1128 
     1129  <xsl:template name="buildListDays"> 
     1130    <xsl:param name="index">1</xsl:param> 
     1131    <xsl:variable name="max" select="/bedework/maxdays"/> 
     1132    <xsl:if test="number($index) &lt; number($max)"> 
     1133      <option name="listDays($index)"> 
     1134        <xsl:if test="$index = $curListDays"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if> 
     1135        <xsl:value-of select="$index"/> 
     1136      </option> 
     1137      <xsl:call-template name="buildListDays"> 
     1138        <xsl:with-param name="index"><xsl:value-of select="number($index)+1"/></xsl:with-param> 
     1139      </xsl:call-template> 
     1140    </xsl:if> 
    10591141  </xsl:template> 
    10601142 
     
    12501332    </xsl:if> 
    12511333 
    1252     <!-- if a submitted event has comments, display them --> 
    12531334    <xsl:if test="/bedework/page = 'modEventPending'"> 
     1335      <!-- if a submitted event has topical areas that match with  
     1336           those in the calendar suite, convert them --> 
     1337      <script type="text/javascript"> 
     1338      $(document).ready(function() { 
     1339        $("ul.aliasTree input:checked").trigger("onclick"); 
     1340      }); 
     1341      </script> 
     1342     
     1343      <!-- if a submitted event has comments, display them --> 
    12541344      <xsl:if test="form/xproperties/node()[name()='X-BEDEWORK-LOCATION' or name()='X-BEDEWORK-CONTACT' or name()='X-BEDEWORK-CATEGORIES' or name()='X-BEDEWORK-SUBMIT-COMMENT']"> 
    12551345        <script type="text/javascript"> 
     
    12991389      </xsl:choose> 
    13001390    </xsl:variable> 
    1301     <form name="eventForm" method="post" onsubmit="setEventFields(this,{$portalFriendly},'{$submitter}')"> 
     1391    <form name="eventForm" method="post" enctype="multipart/form-data" onsubmit="setEventFields(this,{$portalFriendly},'{$submitter}')"> 
    13021392      <xsl:choose> 
    13031393        <xsl:when test="/bedework/page = 'modEventPending'"> 
     
    24762566          </td> 
    24772567          <td> 
    2478             <textarea name="description" cols="55" rows="8"> 
     2568            <textarea name="description" id="description" cols="80" rows="8" placeholder="{$bwStr-AEEF-EnterPertientInfo}"> 
    24792569              <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 
    24802570              <xsl:value-of select="form/desc/textarea"/> 
     
    24832573            <div class="fieldInfo"> 
    24842574              <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 
    2485               <xsl:copy-of select="$bwStr-AEEF-EnterPertientInfo"/
    2486               <span class="maxCharNotice">(<xsl:value-of select="form/descLength"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-AEEF-CharsMax"/></span> 
     2575              <span class="maxCharNotice"><xsl:value-of select="form/descLength"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-AEEF-CharsMax"/></span
     2576              <span id="remainingChars">&#160;</span> 
    24872577            </div> 
    24882578            <xsl:if test="$canEdit = 'false'"> 
     
    25002590          </td> 
    25012591          <td> 
    2502             <input type="text" size="30" name="eventCost" class="edit"> 
     2592            <input type="text" size="80" name="eventCost" placeholder="{$bwStr-AEEF-OptionalPlaceToPurchaseTicks}"> 
    25032593              <xsl:attribute name="value"><xsl:value-of select="form/cost/input/@value"/></xsl:attribute> 
    25042594            </input> 
    2505             <xsl:text> </xsl:text> 
    2506             <span class="fieldInfo"><xsl:copy-of select="$bwStr-AEEF-OptionalPlaceToPurchaseTicks"/></span> 
    25072595          </td> 
    25082596        </tr> 
     
    25142602          </td> 
    25152603          <td> 
    2516             <input type="text" name="eventLink" size="80" class="edit"> 
     2604            <input type="text" name="eventLink" size="80" placeholder="{$bwStr-AEEF-OptionalMoreEventInfo}"> 
    25172605              <xsl:attribute name="value"><xsl:value-of select="form/link/input/@value"/></xsl:attribute> 
    2518               <xsl:if test="$canEdit = 'false'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if
     2606              <!-- xsl:if test="$canEdit = 'false'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if--
    25192607            </input> 
    2520             <xsl:text> </xsl:text> 
    2521             <span class="fieldInfo"><xsl:copy-of select="$bwStr-AEEF-OptionalMoreEventInfo"/></span> 
    25222608          </td> 
    25232609        </tr> 
    25242610        <!-- Image Url --> 
    2525         <tr class="optional"
     2611        <tr class="optional" id="bwImageUrl"
    25262612          <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 
    25272613          <td class="fieldName"> 
    2528             <xsl:copy-of select="$bwStr-AEEF-ImageURL"/> 
    2529           </td> 
    2530           <td> 
    2531             <input type="text" name="xBwImageHolder" value="" size="80" class="edit"> 
     2614            <xsl:copy-of select="$bwStr-AEEF-Image"/> 
     2615          </td> 
     2616          <td> 
     2617            <xsl:if test="form/xproperties/node()[name()='X-BEDEWORK-IMAGE'] or form/xproperties/node()[name()='X-BEDEWORK-THUMB-IMAGE']"> 
     2618              <xsl:variable name="imgPrefix"> 
     2619                <xsl:choose> 
     2620                  <xsl:when test="starts-with(form/xproperties/node()[name()='X-BEDEWORK-IMAGE'],'http')"></xsl:when> 
     2621                  <xsl:otherwise><xsl:value-of select="$bwEventImagePrefix"/></xsl:otherwise> 
     2622                </xsl:choose> 
     2623              </xsl:variable> 
     2624              <xsl:variable name="imgThumbPrefix"> 
     2625                <xsl:choose> 
     2626                  <xsl:when test="starts-with(form/xproperties/node()[name()='X-BEDEWORK-THUMB-IMAGE'],'http')"></xsl:when> 
     2627                  <xsl:otherwise><xsl:value-of select="$bwEventImagePrefix"/></xsl:otherwise> 
     2628                </xsl:choose> 
     2629              </xsl:variable> 
     2630              <div id="eventFormImage"> 
     2631                <xsl:if test="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']"> 
     2632                  <img> 
     2633                    <xsl:attribute name="src"><xsl:value-of select="$imgPrefix"/><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']"/></xsl:attribute> 
     2634                    <xsl:attribute name="alt"><xsl:value-of select="form/title/input/@value"/></xsl:attribute> 
     2635                  </img> 
     2636                </xsl:if> 
     2637                            <xsl:if test="form/xproperties/node()[name()='X-BEDEWORK-THUMB-IMAGE']"> 
     2638                              <img> 
     2639                                <xsl:attribute name="src"><xsl:value-of select="$imgThumbPrefix"/><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-THUMB-IMAGE']"/></xsl:attribute> 
     2640                                <xsl:attribute name="alt"><xsl:value-of select="form/title/input/@value"/></xsl:attribute> 
     2641                              </img> 
     2642                            </xsl:if> 
     2643                    </div> 
     2644                  </xsl:if> 
     2645            <label class="interiorLabel" for="xBwImageHolder"> 
     2646              <xsl:copy-of select="$bwStr-AEEF-ImageURL"/> 
     2647            </label> 
     2648            <xsl:text> </xsl:text> 
     2649            <input type="text" name="xBwImageHolder" id="xBwImageHolder" value="" size="60" placeholder="{$bwStr-AEEF-OptionalEventImage}"> 
    25322650              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
    25332651            </input> 
     2652            <br/> 
     2653            <label class="interiorLabel" for="xBwImageThumbHolder"> 
     2654              <xsl:copy-of select="$bwStr-AEEF-ImageThumbURL"/> 
     2655            </label> 
    25342656            <xsl:text> </xsl:text> 
    2535             <span class="fieldInfo"><xsl:copy-of select="$bwStr-AEEF-OptionalEventImage"/></span> 
     2657            <input type="text" name="xBwImageThumbHolder" id="xBwImageThumbHolder" value="" size="60" placeholder="{$bwStr-AEEF-OptionalEventThumbImage}"> 
     2658              <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-THUMB-IMAGE']/values/text" disable-output-escaping="yes"/></xsl:attribute> 
     2659            </input> 
     2660            <xsl:if test="/bedework/imageUploadDirectory"> 
     2661            <br/> 
     2662            <label class="interiorLabel" for="eventImageUpload"> 
     2663              <xsl:copy-of select="$bwStr-AEEF-ImageUpload"/> 
     2664            </label> 
     2665            <xsl:text> </xsl:text> 
     2666            <input type="file" name="eventImageUpload" id="eventImageUpload" size="45"/> 
     2667                    <input type="checkbox" name="replaceImage" id="replaceImage" value="true"/><label for="replaceImage"><xsl:copy-of select="$bwStr-AEEF-Overwrite"/></label> 
     2668                    <!-- button name="eventImageUseExisting" id="eventImageUseExisting"><xsl:copy-of select="$bwStr-AEEF-UseExisting"/></button--><br/> 
     2669                    <div class="fieldInfoAlone"> 
     2670                      <xsl:copy-of select="$bwStr-AEEF-OptionalImageUpload"/><br/> 
     2671                      <xsl:if test="/bedework/creating = 'false' and form/xproperties/node()[name()='X-BEDEWORK-IMAGE']"> 
     2672                        <button id="eventImageRemoveButton" onclick="removeEventImage(this.form.xBwImageHolder,this.form.xBwImageThumbHolder);return false;"><xsl:copy-of select="$bwStr-AEEF-RemoveImages"/></button> 
     2673                      </xsl:if> 
     2674                    </div> 
     2675                  </xsl:if> 
    25362676          </td> 
    25372677        </tr> 
     
    28883028              <xsl:attribute name="value"><xsl:value-of select="$virtualPath"/></xsl:attribute> 
    28893029              <xsl:if test="$virtualPath = /bedework/formElements/form/xproperties//X-BEDEWORK-ALIAS/values/text"><xsl:attribute name="checked"><xsl:value-of select="checked"/></xsl:attribute></xsl:if> 
     3030              <xsl:if test="path = /bedework/formElements/form/xproperties//X-BEDEWORK-SUBMIT-ALIAS/values/text"><xsl:attribute name="checked"><xsl:value-of select="checked"/></xsl:attribute></xsl:if> 
     3031              <xsl:if test="/bedework/formElements/form/xproperties//X-BEDEWORK-SUBMIT-ALIAS/values/text = substring-after(aliasUri,'bwcal://')"><xsl:attribute name="checked"><xsl:value-of select="checked"/></xsl:attribute></xsl:if> 
    28903032            </input> 
    28913033            <xsl:choose> 
    28923034              <xsl:when test="$virtualPath = /bedework/formElements/form/xproperties//X-BEDEWORK-ALIAS/values/text"> 
     3035                <strong><xsl:value-of select="summary"/></strong> 
     3036              </xsl:when> 
     3037              <xsl:when test="path = /bedework/formElements/form/xproperties//X-BEDEWORK-SUBMIT-ALIAS/values/text"> 
     3038                <strong><xsl:value-of select="summary"/></strong> 
     3039              </xsl:when> 
     3040              <xsl:when test="/bedework/formElements/form/xproperties//X-BEDEWORK-SUBMIT-ALIAS/values/text = substring-after(aliasUri,'bwcal://')"> 
    28933041                <strong><xsl:value-of select="summary"/></strong> 
    28943042              </xsl:when> 
     
    34823630          </td> 
    34833631          <td> 
    3484             <xsl:copy-of select="/bedework/formElements/form/name/*"/> 
     3632            <input type="text" name="contactName.value" size="40"> 
     3633              <xsl:attribute name="value"><xsl:value-of select="/bedework/formElements/form/name/input/@value"/></xsl:attribute> 
     3634            </input> 
     3635            <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MdCo-ContactName-Placeholder"/></span> 
    34853636          </td> 
    34863637        </tr> 
     
    34903641          </td> 
    34913642          <td> 
    3492             <xsl:copy-of select="/bedework/formElements/form/phone/*"/> 
     3643            <input type="text" name="contact.phone" size="40"> 
     3644              <xsl:attribute name="value"><xsl:value-of select="/bedework/formElements/form/phone/input/@value"/></xsl:attribute> 
     3645              <xsl:attribute name="placeholder"><xsl:value-of select="$bwStr-MdCo-ContactPhone-Placeholder"/></xsl:attribute> 
     3646            </input> 
    34933647            <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MdCo-Optional"/></span> 
    34943648          </td> 
     
    34993653          </td> 
    35003654          <td> 
    3501             <xsl:copy-of select="/bedework/formElements/form/link/*"/> 
     3655            <input type="text" name="contact.link" size="40"> 
     3656              <xsl:attribute name="value"><xsl:value-of select="/bedework/formElements/form/link/input/@value"/></xsl:attribute> 
     3657              <xsl:attribute name="placeholder"><xsl:value-of select="$bwStr-MdCo-ContactURL-Placeholder"/></xsl:attribute> 
     3658            </input> 
    35023659            <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MdCo-Optional"/></span> 
    35033660          </td> 
     
    35083665          </td> 
    35093666          <td> 
    3510             <xsl:copy-of select="/bedework/formElements/form/email/*"/> 
     3667            <input type="text" name="contact.email" size="40"> 
     3668              <xsl:attribute name="value"><xsl:value-of select="/bedework/formElements/form/email/input/@value"/></xsl:attribute> 
     3669            </input> 
    35113670            <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MdCo-Optional"/></span> 
    35123671          </td> 
     
    36903849          </td> 
    36913850          <td> 
    3692             <xsl:copy-of select="/bedework/formElements/form/address/*"/> 
     3851            <input type="text" name="locationAddress.value" size="80"> 
     3852              <xsl:attribute name="value"><xsl:value-of select="/bedework/formElements/form/address/input/@value"/></xsl:attribute> 
     3853            </input> 
     3854            <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MoLo-Address-Placeholder"/></span> 
    36933855          </td> 
    36943856        </tr> 
     
    36983860          </td> 
    36993861          <td> 
    3700             <xsl:copy-of select="/bedework/formElements/form/subaddress/*"/> 
     3862            <input type="text" name="locationSubaddress.value" size="80"> 
     3863              <xsl:attribute name="value"><xsl:value-of select="/bedework/formElements/form/subaddress/input/@value"/></xsl:attribute> 
     3864              <xsl:attribute name="placeholder"><xsl:value-of select="$bwStr-MoLo-SubAddress-Placeholder"/></xsl:attribute> 
     3865            </input> 
    37013866            <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MoLo-Optional"/></span> 
    37023867          </td> 
     
    37073872          </td> 
    37083873          <td> 
    3709             <xsl:copy-of select="/bedework/formElements/form/link/*"/> 
     3874            <input type="text" name="location.link" size="80"> 
     3875              <xsl:attribute name="value"><xsl:value-of select="/bedework/formElements/form/link/input/@value"/></xsl:attribute> 
     3876              <xsl:attribute name="placeholder"><xsl:value-of select="$bwStr-MoLo-LocationURL-Placeholder"/></xsl:attribute> 
     3877            </input> 
    37103878            <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MoLo-Optional"/></span> 
    37113879          </td> 
     
    42664434          <td> 
    42674435            <xsl:variable name="curCalName" select="name"/> 
    4268             <input name="calendar.name" value="{$curCalName}" size="40"/> 
     4436            <input name="calendar.name" value="{$curCalName}" size="40" onblur="setCalSummary(this.value, this.form['calendar.summary']);"/> 
    42694437          </td> 
    42704438        </tr> 
     
    54785646 
    54795647    <form name="delCalForm" action="{$subscriptions-delete}" method="post"> 
     5648      <input type="hidden" name="deleteContent" value="true"/> 
    54805649      <table class="eventFormTable"> 
    54815650        <tr> 
    5482           <th>Path:</th> 
     5651          <th><xsl:copy-of select="$bwStr-CuCa-Path"/></th> 
    54835652          <td> 
    54845653            <xsl:value-of select="path"/> 
     
    58275996        </tr> 
    58285997        <tr> 
    5829           <th><xsl:copy-of select="$bwStr-MdSP-Indexing"/></th> 
    5830           <td> 
    5831             <xsl:variable name="indexing" select="/bedework/system/indexing"/> 
    5832             <input value="{$indexing}" name="indexing" /> 
    5833             <div class="desc"> 
    5834               <xsl:copy-of select="$bwStr-MdSP-IndexingNote"/> 
    5835             </div> 
    5836           </td> 
    5837         </tr> 
    5838         <tr> 
    58395998          <th><xsl:copy-of select="$bwStr-MdSP-DefaultFBPeriod"/></th> 
    58405999          <td> 
     
    62956454            <xsl:variable name="preferredView" select="/bedework/prefs/preferredView"/> 
    62966455            <input type="text" name="preferredView" value="{$preferredView}" size="40"/> 
     6456          </td> 
     6457        </tr> 
     6458        <tr> 
     6459          <th> 
     6460            <xsl:copy-of select="$bwStr-CSPf-DefaultViewMode"/> 
     6461          </th> 
     6462          <td> 
     6463            <select name="defaultViewMode"> 
     6464              <option value="daily"> 
     6465                <xsl:if test="/bedework/prefs/defaultViewMode = 'daily'"> 
     6466                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6467                </xsl:if> 
     6468                <xsl:copy-of select="$bwStr-CSPf-DefaultViewModeDaily"/> 
     6469              </option> 
     6470              <option value="list"> 
     6471                <xsl:if test="/bedework/prefs/defaultViewMode = 'list'"> 
     6472                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6473                </xsl:if> 
     6474                <xsl:copy-of select="$bwStr-CSPf-DefaultViewModeList"/> 
     6475              </option> 
     6476              <option value="grid"> 
     6477                <xsl:if test="/bedework/prefs/defaultViewMode = 'grid'"> 
     6478                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6479                </xsl:if> 
     6480                <xsl:copy-of select="$bwStr-CSPf-DefaultViewModeGrid"/> 
     6481              </option> 
     6482            </select> 
    62976483          </td> 
    62986484        </tr> 
     
    64406626          </td> 
    64416627        </tr> 
     6628        <xsl:if test="/bedework/userInfo/superUser = 'true'"> 
     6629          <tr> 
     6630            <th> 
     6631              <xsl:copy-of select="$bwStr-CSPf-DefaultImageDirectory"/> 
     6632            </th> 
     6633            <td> 
     6634              <input type="text" name="defaultImageDirectory" value="" size="40"> 
     6635                <xsl:attribute name="value"><xsl:value-of select="/bedework/prefs/defaultImageDirectory"/></xsl:attribute> 
     6636              </input> 
     6637            </td> 
     6638          </tr> 
     6639                <tr> 
     6640            <th> 
     6641              <xsl:copy-of select="$bwStr-CSPf-MaxEntitySize"/> 
     6642            </th> 
     6643            <td> 
     6644              <input type="text" name="maxEntitySize" value="" size="40"> 
     6645                <xsl:attribute name="value"><xsl:value-of select="/bedework/prefs/maxEntitySize"/></xsl:attribute> 
     6646              </input> 
     6647            </td> 
     6648          </tr> 
     6649            </xsl:if> 
    64426650        <!-- 
    64436651        <tr> 
     
    72587466            <xsl:choose> 
    72597467              <xsl:when test="event/start/longdate != event/end/longdate"> 
    7260                 - <xsl:value-of select="event/start/longdate"/> 
     7468                - <xsl:value-of select="event/end/longdate"/> 
    72617469                <xsl:text> </xsl:text> 
    72627470                <xsl:value-of select="event/end/time"/> 
     
    73157523  <xsl:template name="footer"> 
    73167524    <div id="footer"> 
    7317       <a href="http://www.bedework.org/"><xsl:copy-of select="$bwStr-Foot-BedeworkWebsite"/></a> | 
     7525      <a href="http://www.jasig.org/bedework"><xsl:copy-of select="$bwStr-Foot-BedeworkWebsite"/></a> | 
    73187526      <!-- Enable the following two items when debugging skins only --> 
    73197527      <a href="?noxslt=yes"><xsl:copy-of select="$bwStr-Foot-ShowXML"/></a> | 
  • releases/bedework-3.7/deployment/webadmin/webapp/resources/es_ES/default/strings.xsl

    r3188 r3528  
    101101  <xsl:variable name="bwStr-EvLs-SelectEvent">Seleccione el evento que desearía actualizar:</xsl:variable> 
    102102  <xsl:variable name="bwStr-EvLs-PageTitle">Añadir nuevo evento</xsl:variable> 
     103  <xsl:variable name="bwStr-EvLs-StartDate">Start Date:</xsl:variable> 
     104  <xsl:variable name="bwStr-EvLs-Days">Days:</xsl:variable> 
    103105  <xsl:variable name="bwStr-EvLs-Show">Mostrar:</xsl:variable> 
    104106  <xsl:variable name="bwStr-EvLs-Active">Activo</xsl:variable> 
     
    244246  <xsl:variable name="bwStr-AEEF-NoTransparent">no (transparente)</xsl:variable> 
    245247  <xsl:variable name="bwStr-AEEF-Description">Descripción:</xsl:variable> 
    246   <xsl:variable name="bwStr-AEEF-EnterPertientInfo">Introduzca toda la información pertinente, incluyendo los títulos académicos de todos los vocales y/o participantes.</xsl:variable> 
     248  <xsl:variable name="bwStr-AEEF-EnterPertientInfo">Introduzca toda la información pertinente</xsl:variable> 
    247249  <xsl:variable name="bwStr-AEEF-CharsMax">caracteres max.)</xsl:variable> 
     250  <xsl:variable name="bwStr-AEEF-CharsRemaining">caracter(es) remanente.</xsl:variable> 
    248251  <xsl:variable name="bwStr-AEEF-Cost">Coste:</xsl:variable> 
    249   <xsl:variable name="bwStr-AEEF-OptionalPlaceToPurchaseTicks">(opcional: si lo hay, y el lugar para obtener las entradas)</xsl:variable> 
     252  <xsl:variable name="bwStr-AEEF-OptionalPlaceToPurchaseTicks">opcional: si lo hay, y el lugar para obtener las entradas</xsl:variable> 
    250253  <xsl:variable name="bwStr-AEEF-EventURL">URL del evento:</xsl:variable> 
    251   <xsl:variable name="bwStr-AEEF-OptionalMoreEventInfo">(opcional: para más información sobre el evento)</xsl:variable> 
     254  <xsl:variable name="bwStr-AEEF-OptionalMoreEventInfo">opcional: para más información sobre el evento</xsl:variable> 
     255  <xsl:variable name="bwStr-AEEF-Image">Imagen:</xsl:variable> 
    252256  <xsl:variable name="bwStr-AEEF-ImageURL">URL de la imagen:</xsl:variable> 
    253   <xsl:variable name="bwStr-AEEF-OptionalEventImage">(opcional: para incluir una imagen con la descripción del evento)</xsl:variable> 
     257  <xsl:variable name="bwStr-AEEF-ImageThumbURL">URL de la thumbnail:</xsl:variable> 
     258  <xsl:variable name="bwStr-AEEF-ImageUpload">-o- Cargar la imagen:</xsl:variable> 
     259  <xsl:variable name="bwStr-AEEF-OptionalEventImage">opcional: para incluir una imagen con la descripción del evento</xsl:variable> 
     260  <xsl:variable name="bwStr-AEEF-OptionalEventThumbImage">optional link to thumbnail for event lists, 80px wide</xsl:variable> 
     261  <xsl:variable name="bwStr-AEEF-UseExisting">Use existing...</xsl:variable> 
     262  <xsl:variable name="bwStr-AEEF-Overwrite">Overwrite</xsl:variable> 
     263  <xsl:variable name="bwStr-AEEF-OptionalImageUpload">Uploads can be JPG, PNG, or GIF and will overwrite the image and thumbnail URLs.</xsl:variable> 
     264  <xsl:variable name="bwStr-AEEF-RemoveImages">remove images</xsl:variable> 
    254265  <xsl:variable name="bwStr-AEEF-Location">Localización:</xsl:variable> 
    255266  <xsl:variable name="bwStr-AEEF-Add">añadir</xsl:variable> 
     
    354365  <xsl:variable name="bwStr-MdCo-ContactInfo">Información del contacto</xsl:variable> 
    355366  <xsl:variable name="bwStr-MdCo-ContactName">Contacto (nombre):</xsl:variable> 
     367  <xsl:variable name="bwStr-MdCo-ContactName-Placeholder">e.g. name, group, or department</xsl:variable> 
    356368  <xsl:variable name="bwStr-MdCo-ContactPhone">Número de teléfono del contacto:</xsl:variable> 
     369  <xsl:variable name="bwStr-MdCo-ContactPhone-Placeholder">e.g. 555-555-5555</xsl:variable> 
    357370  <xsl:variable name="bwStr-MdCo-ContactURL">URL del contacto:</xsl:variable> 
     371  <xsl:variable name="bwStr-MdCo-ContactURL-Placeholder">link to more information</xsl:variable> 
    358372  <xsl:variable name="bwStr-MdCo-ContactEmail">Dirección de Email del contacto:</xsl:variable> 
    359373  <xsl:variable name="bwStr-MdCo-Optional">(opcional)</xsl:variable> 
     
    389403  <xsl:variable name="bwStr-MoLo-UpdateLocation">Actualizar localización</xsl:variable> 
    390404  <xsl:variable name="bwStr-MoLo-Address">Dirección:</xsl:variable> 
     405  <xsl:variable name="bwStr-MoLo-Address-Placeholder">include building and room when appropriate</xsl:variable> 
    391406  <xsl:variable name="bwStr-MoLo-SubAddress">Subdirección:</xsl:variable> 
     407  <xsl:variable name="bwStr-MoLo-SubAddress-Placeholder">street address, including city and state when appropriate</xsl:variable> 
    392408  <xsl:variable name="bwStr-MoLo-Optional">(opcional)</xsl:variable> 
    393409  <xsl:variable name="bwStr-MoLo-LocationURL">URL de la localización:</xsl:variable> 
     410  <xsl:variable name="bwStr-MoLo-LocationURL-Placeholder">link to more information or map</xsl:variable> 
    394411  <xsl:variable name="bwStr-MoLo-DeleteLocation">Borrar localización</xsl:variable> 
    395412  <xsl:variable name="bwStr-MoLo-Cancel">Cancelar</xsl:variable> 
     
    766783  <xsl:variable name="bwStr-CSPf-CalSuite">Calendar Suite:</xsl:variable> 
    767784  <xsl:variable name="bwStr-CSPf-PreferredView">Vista preferida:</xsl:variable> 
     785  <xsl:variable name="bwStr-CSPf-DefaultViewMode">Modo de vista preferida:</xsl:variable> 
     786  <xsl:variable name="bwStr-CSPf-DefaultViewModeList">LIST (a list of discrete events from now into the future)</xsl:variable> 
     787  <xsl:variable name="bwStr-CSPf-DefaultViewModeDaily">DAILY (a list of events grouped by date showing entire view period)</xsl:variable> 
     788  <xsl:variable name="bwStr-CSPf-DefaultViewModeGrid">GRID (calendar grid - in week and month view periods)</xsl:variable> 
    768789  <xsl:variable name="bwStr-CSPf-PreferredViewPeriod">Periodo de vista preferida:</xsl:variable> 
    769790  <xsl:variable name="bwStr-CSPf-Day">día</xsl:variable> 
     
    784805  <xsl:variable name="bwStr-CSPf-Update">Actualizar</xsl:variable> 
    785806  <xsl:variable name="bwStr-CSPf-Cancel">Cancelar</xsl:variable> 
     807  <xsl:variable name="bwStr-CSPf-MaxEntitySize">Maximum size for file uploads (in bytes):</xsl:variable> 
     808  <xsl:variable name="bwStr-CSPf-DefaultImageDirectory">Default image directory:</xsl:variable> 
    786809 
    787810  <!--  xsl:template name="uploadTimezones" --> 
  • releases/bedework-3.7/deployment/webadmin/webapp/resources/resources/bedework.js

    r2991 r3528  
    299299  } 
    300300} 
     301// set the calendar summary to the calendar name in the form if summary is empty 
     302function setCalSummary(val,summaryField) { 
     303  if (summaryField.value == '') { 
     304    summaryField.value = val;   
     305  } 
     306} 
     307// setup the event list dates  
     308function setListDate(formObj) { 
     309  $("#curListDateHolder").val("curListDate(" + formObj.start.value + ")"); 
     310  $("#curListDaysHolder").val("curListDays(" + formObj.days.value + ")"); 
     311  formObj.submit(); 
     312} 
  • releases/bedework-3.7/deployment/webadmin/webapp/resources/resources/bedeworkEventForm.js

    r3204 r3528  
    357357                   formObj["xBwImageHolder"].value,true); 
    358358  } 
    359  
     359   
     360  //X-BEDEWORK-THUMB-IMAGE: 
     361  if (formObj["xBwImageThumbHolder"] && formObj["xBwImageThumbHolder"].value != '') { 
     362    bwXProps.update(bwXPropertyThumbImage,[],formObj["xBwImageThumbHolder"].value,true); 
     363  } 
     364   
    360365  // X-BEDEWORK-SUBMITTEDBY 
    361366  bwXProps.update(bwXPropertySubmittedBy,[],submitter,true); 
     
    363368  // commit all xproperties back to the form 
    364369  bwXProps.generate(formObj); 
     370} 
     371function removeEventImage(imgField,thumbField) { 
     372  bwXProps.remove(bwXPropertyImage); 
     373  bwXProps.remove(bwXPropertyThumbImage); 
     374  imgField.value = ""; 
     375  thumbField.value = ""; 
     376  $("#eventFormImage").hide(); 
     377  $("#eventImageRemoveButton").hide(); 
    365378} 
    366379function toggleBedeworkXProperty(xprop,displayName,value,checked) { 
     
    764777  formObj.sntext.value = message; 
    765778} 
    766  
    767  
     779function setOverwriteImageField(chkBox) { 
     780  if(chkBox.checked) { 
     781    $("#replaceImage").attr('checked','checked'); 
     782  } else { 
     783    $("#replaceImage").removeAttr('checked'); 
     784  } 
     785
     786 
  • releases/bedework-3.7/deployment/websubmit/webapp/resources/demoskins/default/default/default.xsl

    r3376 r3528  
    957957          </tr> 
    958958          <!--  Status  --> 
    959           <tr> 
     959          <!-- <tr> 
    960960            <td class="fieldname"> 
    961961              <xsl:copy-of select="$bwStr-FoEl-Status"/> 
     
    975975              <xsl:copy-of select="$bwStr-FoEl-Canceled"/> 
    976976            </td> 
    977           </tr> 
     977          </tr> --> 
    978978          <!-- Cost --> 
    979979          <tr> 
     
    13271327          </xsl:when> 
    13281328          <xsl:otherwise> 
    1329             <xsl:variable name="virtualPath">/user<xsl:for-each select="ancestor-or-self::calendar/name">/<xsl:value-of select="."/></xsl:for-each></xsl:variable> 
     1329            <xsl:variable name="virtualPath"><xsl:for-each select="ancestor-or-self::calendar/name">/<xsl:value-of select="."/></xsl:for-each></xsl:variable> 
    13301330            <xsl:variable name="displayName" select="summary"/> 
    13311331            <input type="checkbox" name="alias" onclick="toggleBedeworkXProperty('X-BEDEWORK-SUBMIT-ALIAS','{$displayName}','{$virtualPath}',this.checked)"> 
     
    17101710  <xsl:template name="footer"> 
    17111711    <div id="footer"> 
    1712       <xsl:copy-of select="$bwStr-Foot-BasedOnThe"/><xsl:text> </xsl:text><a href="http://www.bedework.org/"><xsl:copy-of select="$bwStr-Foot-BedeworkCalendarSystem"/></a> 
     1712      <xsl:copy-of select="$bwStr-Foot-BasedOnThe"/><xsl:text> </xsl:text><a href="http://www.jasig.org/bedework"><xsl:copy-of select="$bwStr-Foot-BedeworkCalendarSystem"/></a> 
    17131713    </div> 
    17141714    <div id="subfoot"> 
    1715       <a href="http://www.bedework.org/"><xsl:copy-of select="$bwStr-Foot-BedeworkWebsite"/></a> | 
     1715      <a href="http://www.jasig.org/bedework"><xsl:copy-of select="$bwStr-Foot-BedeworkWebsite"/></a> | 
    17161716      <a href="?noxslt=yes"><xsl:copy-of select="$bwStr-Foot-ShowXML"/></a> | 
    17171717      <a href="?refreshXslt=yes"><xsl:copy-of select="$bwStr-Foot-RefreshXSLT"/></a> 
  • releases/bedework-3.7/deployment/websubmit/webapp/resources/demoskins/es_ES/default/default.xsl

    r3377 r3528  
    17101710  <xsl:template name="footer"> 
    17111711    <div id="footer"> 
    1712       <xsl:copy-of select="$bwStr-Foot-BasedOnThe"/><xsl:text> </xsl:text><a href="http://www.bedework.org/"><xsl:copy-of select="$bwStr-Foot-BedeworkCalendarSystem"/></a> 
     1712      <xsl:copy-of select="$bwStr-Foot-BasedOnThe"/><xsl:text> </xsl:text><a href="http://www.jasig.org/bedework"><xsl:copy-of select="$bwStr-Foot-BedeworkCalendarSystem"/></a> 
    17131713    </div> 
    17141714    <div id="subfoot"> 
    1715       <a href="http://www.bedework.org/"><xsl:copy-of select="$bwStr-Foot-BedeworkWebsite"/></a> | 
     1715      <a href="http://www.jasig.org/bedework"><xsl:copy-of select="$bwStr-Foot-BedeworkWebsite"/></a> | 
    17161716      <a href="?noxslt=yes"><xsl:copy-of select="$bwStr-Foot-ShowXML"/></a> | 
    17171717      <a href="?refreshXslt=yes"><xsl:copy-of select="$bwStr-Foot-RefreshXSLT"/></a>