Changeset 3498
- Timestamp:
- 03/05/12 17:19:09
- Files:
-
- trunk/deployment/resources/xsl/de_DE/default/errors.xsl (modified) (1 diff)
- trunk/deployment/resources/xsl/es_ES/default/errors.xsl (modified) (1 diff)
- trunk/deployment/webadmin/webapp/resources/default/default/default.xsl (modified) (2 diffs)
- trunk/deployment/webadmin/webapp/resources/default/default/strings.xsl (modified) (1 diff)
- trunk/deployment/webadmin/webapp/resources/es_ES/default/strings.xsl (modified) (1 diff)
- trunk/deployment/webadmin/webapp/resources/resources/bedeworkEventForm.js (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/themeSettings.xsl (modified) (2 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/views.xsl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/resources/xsl/de_DE/default/errors.xsl
r3220 r3498 278 278 To publish this event, you must move it to a public calendar. Please select a different calendar. 279 279 </xsl:when> 280 <xsl:when test="id='org.bedework.client.error.duplicateimage'"> 281 Image with that name already uploaded. 282 </xsl:when> 283 <xsl:when test="id='org.bedework.client.error.imageerror'"> 284 The file you attempted to upload is not a recognized image format. Use JPG, PNG, or GIF. 285 </xsl:when> 286 <xsl:when test="id='org.bedework.validation.error.toolarge'"> 287 The file you attempted to upload is too large: <em><xsl:value-of select="param[position() = 1]"/> bytes</em>. Max size allowed: <xsl:value-of select="param[position() = 2]"/> bytes. 288 </xsl:when> 280 289 281 290 <!-- Scheduling error codes are defined in CalfacadeException --> trunk/deployment/resources/xsl/es_ES/default/errors.xsl
r3220 r3498 278 278 To publish this event, you must move it to a public calendar. Please select a different calendar. 279 279 </xsl:when> 280 <xsl:when test="id='org.bedework.client.error.duplicateimage'"> 281 Image with that name already uploaded. 282 </xsl:when> 283 <xsl:when test="id='org.bedework.client.error.imageerror'"> 284 The file you attempted to upload is not a recognized image format. Use JPG, PNG, or GIF. 285 </xsl:when> 286 <xsl:when test="id='org.bedework.validation.error.toolarge'"> 287 The file you attempted to upload is too large: <em><xsl:value-of select="param[position() = 1]"/> bytes</em>. Max size allowed: <xsl:value-of select="param[position() = 2]"/> bytes. 288 </xsl:when> 280 289 281 290 <!-- Scheduling error codes are defined in CalfacadeException --> trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r3497 r3498 758 758 <ul id="errors"> 759 759 <xsl:for-each select="/bedework/error"> 760 <li><xsl:apply-templates select="."/></li> 760 <li> 761 <xsl:apply-templates select="."/> 762 <!-- Special cases for handling error conditions: --> 763 <xsl:if test="/bedework/error/id = 'org.bedework.client.error.duplicateimage'"> 764 <input type="checkbox" id="overwriteEventImage" onclick="setOverwriteImageField(this);"/><label for="overwriteEventImage"><xsl:copy-of select="$bwStr-AEEF-Overwrite"/></label><xsl:text> </xsl:text> 765 <!-- input type="checkbox" id="reuseEventImage"/><label for="reuseEventImage">Reuse</label>--> 766 </xsl:if> 767 </li> 761 768 </xsl:for-each> 762 769 </ul> … … 2579 2586 <xsl:text> </xsl:text> 2580 2587 <input type="file" name="eventImageUpload" id="eventImageUpload" size="45"/> 2581 <button name="eventImageUseExisting" id="eventImageUseExisting"><xsl:copy-of select="$bwStr-AEEF-UseExisting"/></button><br/> 2588 <input type="checkbox" name="replaceImage" id="replaceImage" value="true"/><label for="replaceImage"><xsl:copy-of select="$bwStr-AEEF-Overwrite"/></label> 2589 <!-- button name="eventImageUseExisting" id="eventImageUseExisting"><xsl:copy-of select="$bwStr-AEEF-UseExisting"/></button--><br/> 2582 2590 <div class="fieldInfoAlone"><xsl:copy-of select="$bwStr-AEEF-OptionalImageUpload"/></div> 2583 2591 </xsl:if> trunk/deployment/webadmin/webapp/resources/default/default/strings.xsl
r3497 r3498 257 257 <xsl:variable name="bwStr-AEEF-OptionalEventThumbImage">optional link to thumbnail for event lists, 80px wide</xsl:variable> 258 258 <xsl:variable name="bwStr-AEEF-UseExisting">Use existing...</xsl:variable> 259 <xsl:variable name="bwStr-AEEF-Overwrite">Overwrite</xsl:variable> 259 260 <xsl:variable name="bwStr-AEEF-OptionalImageUpload">Uploads can be JPG, PNG, or GIF and will overwrite the image and thumbnail URLs.</xsl:variable> 260 261 <xsl:variable name="bwStr-AEEF-Location">Location:</xsl:variable> trunk/deployment/webadmin/webapp/resources/es_ES/default/strings.xsl
r3497 r3498 257 257 <xsl:variable name="bwStr-AEEF-OptionalEventThumbImage">optional link to thumbnail for event lists, 80px wide</xsl:variable> 258 258 <xsl:variable name="bwStr-AEEF-UseExisting">Use existing...</xsl:variable> 259 <xsl:variable name="bwStr-AEEF-Overwrite">Overwrite</xsl:variable> 259 260 <xsl:variable name="bwStr-AEEF-OptionalImageUpload">Uploads can be JPG, PNG, or GIF and will overwrite the image and thumbnail URLs.</xsl:variable> 260 261 <xsl:variable name="bwStr-AEEF-Location">Localización:</xsl:variable> trunk/deployment/webadmin/webapp/resources/resources/bedeworkEventForm.js
r3487 r3498 769 769 formObj.sntext.value = message; 770 770 } 771 772 771 function setOverwriteImageField(chkBox) { 772 if(chkBox.checked) { 773 $("#replaceImage").attr('checked','checked'); 774 } else { 775 $("#replaceImage").removeAttr('checked'); 776 } 777 } 778 trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/themeSettings.xsl
r3491 r3498 57 57 subscriptions but (currently) has no hierarchy. View are maintained in the 58 58 "Calendar Suite" tab of the admin web client. --> 59 <xsl:variable name="useViewsNav"> false</xsl:variable>59 <xsl:variable name="useViewsNav">true</xsl:variable> 60 60 61 61 <!-- SUBSCRIPTIONS LISTING --> … … 65 65 the top level subscriptions will be shown with all folders closed. Generating 66 66 the subscriptions listing requires a second request to the server (an ajax call). --> 67 <xsl:variable name="useSubscriptionsNav"> true</xsl:variable>67 <xsl:variable name="useSubscriptionsNav">false</xsl:variable> 68 68 69 69 trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/views.xsl
r2837 r3498 32 32 <li> 33 33 <a href="{$setSelection}&viewName={$viewName}"> 34 <xsl:attribute name="href"> 35 <xsl:choose> 36 <xsl:when test="/bedework/page = 'eventList'"><xsl:value-of select="$setSelectionList"/>&viewName=<xsl:value-of select="$viewName"/></xsl:when> 37 <xsl:otherwise><xsl:value-of select="$setSelection"/>&viewName=<xsl:value-of select="$viewName"/></xsl:otherwise> 38 </xsl:choose> 39 </xsl:attribute> 34 40 <xsl:if test="$viewName = (/bedework/selectionState/view/name)"> 35 41 <xsl:attribute name="class">current</xsl:attribute>
