storePickUp.jsp

70 lines | 3.455 kB Blame History Raw Download
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ page session="false" %>		


<script src="<c:url value="/resources/js/ckeditor/ckeditor.js" />"></script>
                 
                 <div class="control-group">
                        <label class="required"><strong><s:message code="module.shipping.storePickUp.address" text="Pick up address that will be displayed to the client"/></strong></label>
	                        <div class="controls">
			                        <span class="help-inline">
			                        	<c:if test="${address!=null}">
			                        		<span id="identifiererrors" class="error"><s:message code="module.shipping.storePickUp.address.message" text="Pick up address is a required field"/></span>
			                        	</c:if>
			                        </span>
	                        		<br/>
	                        		
	                        		<textarea cols="30" id="integrationKeys['note']" name="integrationKeys['note']">
                        				<c:out value="${configuration.integrationKeys['note']}"/>
                        			</textarea>
	                        		
			                        <script type="text/javascript">
									//<![CDATA[
			
										CKEDITOR.replace("integrationKeys['note']",
										{
											skin : 'office2003',
											toolbar : 
											[
												['Source','-','Save','NewPage','Preview'], 
												['Cut','Copy','Paste','PasteText','-','Print'], 
												['Undo','Redo','-','Find','-','SelectAll','RemoveFormat'], '/', 
												['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], 
												['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'], 
												['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], 
												['Link','Unlink','Anchor'], 
												['Image','Flash','Table','HorizontalRule','SpecialChar','PageBreak'], '/', 
												['Styles','Format','Font','FontSize'], ['TextColor','BGColor'], 
												['Maximize', 'ShowBlocks'] 
											],
											
											filebrowserWindowWidth : '720',
			        						filebrowserWindowHeight : '740',
											filebrowserImageBrowseUrl :    '<c:url value="/admin/content/fileBrowser.html"/>'
											
			
										});
			
									//]]>
									</script>	                        		
	                        		
	                        		
	                        </div>

                  </div>
                  
                   <div class="control-group">
                        <label class="required"><s:message code="module.shipping.storePickUp.price" text="Price for store pick up in numeric format (usually 0)"/></label>
	                        <div class="controls">
	                        		<form:input cssClass="input-large highlight" path="integrationKeys['price']" />
	                        </div>
	                        <span class="help-inline">
	                        	<c:if test="${price!=null}">
	                        	<span id="identifiererrors" class="error"><s:message code="module.shipping.storePickUp.price.message" text="Price for store pick up is required (in numeric format)"/></span>
	                        	</c:if>
	                        </span>
                  </div>