Changeset 2340 for WAeUP_SRP/base/skins
- Timestamp:
- 10 Oct 2007, 14:08:36 (17 years ago)
- Location:
- WAeUP_SRP/base/skins
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/cps_custom/cpsdocument_edit_form.pt
r2217 r2340 11 11 <link rel="Stylesheet" type="text/css" href="" 12 12 tal:attributes="href string:${base_url}document.css" /> 13 14 <metal:block define-macro="widgets_javascript">15 <!-- XXX this has to move to CPSSchemas -->16 <style type="text/css"17 tal:content="string:@import url(${base_url}calendar-win2k-1.css);"></style>18 <script type="text/javascript" src="calendar.js"19 tal:attributes="src string:${base_url}calendar.js"></script>20 <script type="text/javascript" src="lang/calendar-en.js"21 tal:define="local cpsmcat/getSelectedLanguage"22 tal:attributes="src string:${base_url}lang/calendar-${local}.js"></script>23 <script type="text/javascript" src="calendar-setup.js"24 tal:attributes="src string:${base_url}calendar-setup.js"></script>25 <script type="text/javascript" src="prototype.js"26 tal:attributes="src string:${base_url}prototype.js"></script>27 <script type="text/javascript" src="effects.js"28 tal:attributes="src string:${base_url}effects.js"></script>29 <script type="text/javascript" src="controls.js"30 tal:attributes="src string:${base_url}controls.js"></script>31 <script type="text/javascript" src="cpsdocument.js"32 tal:attributes="src string:${base_url}cpsdocument.js"></script>33 <tal:block condition="python:modules['Products.CPSUtil.integration'].isProductPresent('Products.FCKeditor')">34 <script type="text/javascript">35 var popup_editor_form = 'popup_fckeditor_form';36 var width = 640;37 var height = 520;38 </script>39 </tal:block>40 <tal:block condition="python:modules['Products.CPSUtil.integration'].isProductPresent('Products.Epoz')">41 <script type="text/javascript">42 var popup_editor_form = 'popup_rte_form';43 var width = 640;44 var height = 480;45 </script>46 </tal:block>47 <script type="text/javascript">48 function popup_rte(input_id, label_edit) {49 var args, value;50 value = document.getElementById(input_id).value;51 args = '?input_id='+input_id+'&label_edit='+escape(label_edit);52 str_window_features = 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,dependent=1,width=' + width + ',height=' + height;53 popup = window.open(popup_editor_form + args, input_id, str_window_features);54 if (!popup.opener) {55 popup.opener = window;56 }57 return false;58 }59 </script>60 </metal:block>61 13 </metal:block> 62 14 … … 69 21 tal:content="type_info/Title">Type Title</tal:block> 70 22 </h3> 71 <h 1tal:condition="not:creation">23 <h3 tal:condition="not:creation"> 72 24 <tal:block condition="python: edition and not metadata" 73 25 i18n:translate="">Edit <span id="page_title" i18n:name="title" … … 75 27 <tal:block tal:condition="metadata" 76 28 i18n:translate="">Metadata of <span i18n:name="title" tal:content="here/title_or_id">Page Title</span></tal:block> 77 </h 1>29 </h3> 78 30 </metal:block> 79 31 -
WAeUP_SRP/base/skins/waeup_design/default.css.dtml
r2310 r2340 789 789 790 790 791 792 <dtml-comment> 793 794 The read star is not really necessary! 795 791 796 .required { 792 797 padding-right: 0.5em; 793 798 background: <dtml-var requiredField>; 794 799 } 800 </dtml-comment> 795 801 796 802 .error { -
WAeUP_SRP/base/skins/waeup_design/stylesheet_properties.props
r2277 r2340 54 54 groupBorder:string=0px none transparent 55 55 requiredField:string=url(required.png) right no-repeat 56 56 57 57 58 inputFont:string=100% Arial, sans-serif, Verdana, Helvetica -
WAeUP_SRP/base/skins/waeup_student/apply_admission.py
r2328 r2340 86 86 headings = {} 87 87 headings['pume'] = 'Apply for Post UME Screening Test (2007/2008)! ' 88 headings['pde'] = 'Apply for Post DE Screening Test (2007/2008)! '88 headings['pde'] = 'Apply for Post DE Screening Test (2007/2008)! ' 89 89 headings['prence'] = 'Apply for Pre-NCE Programme (2007/2008)! ' 90 90 headings['pce'] = 'Apply for PCE Screening (2007/2008)! ' … … 112 112 info['heading_slip'] = headings_slip[screening_type] 113 113 layout = "application_%s" % screening_type 114 without_reg_no = screening_type in ('prence',) 114 without_reg_no = screening_type in ('prence',) 115 115 else: 116 116 return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
Note: See TracChangeset for help on using the changeset viewer.