Changeset 847 for WAeUP_SRP/trunk
- Timestamp:
- 11 Nov 2006, 21:59:08 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/cpsdocument_edit_form.pt
r844 r847 14 14 <metal:block define-macro="edit_form"> 15 15 <metal:block use-macro="here/content_lib_master/macros/master"> 16 <metal:block fill-slot="style_slot">17 <link rel="Stylesheet" type="text/css" href=""18 tal:attributes="href string:${base_url}document.css" />19 20 <metal:block define-macro="widgets_javascript">21 <!-- XXX this has to move to CPSSchemas -->22 <style type="text/css"23 tal:content="string:@import url(${base_url}calendar-win2k-1.css);"></style>24 <script type="text/javascript" src="calendar.js"25 tal:attributes="src string:${base_url}calendar.js"></script>26 <script type="text/javascript" src="lang/calendar-en.js"27 tal:define="local cpsmcat/getSelectedLanguage"28 tal:attributes="src string:${base_url}lang/calendar-${local}.js"></script>29 <script type="text/javascript" src="calendar-setup.js"30 tal:attributes="src string:${base_url}calendar-setup.js"></script>31 <script type="text/javascript" src="prototype.js"32 tal:attributes="src string:${base_url}prototype.js"></script>33 <script type="text/javascript" src="effects.js"34 tal:attributes="src string:${base_url}effects.js"></script>35 <script type="text/javascript" src="controls.js"36 tal:attributes="src string:${base_url}controls.js"></script>37 <script type="text/javascript" src="cpsdocument.js"38 tal:attributes="src string:${base_url}cpsdocument.js"></script>39 <tal:block condition="python:modules['Products.CPSUtil.integration'].isProductPresent('Products.FCKeditor')">40 <script type="text/javascript">41 var popup_editor_form = 'popup_fckeditor_form';42 var width = 640;43 var height = 520;44 </script>45 </tal:block>46 <tal:block condition="python:modules['Products.CPSUtil.integration'].isProductPresent('Products.Epoz')">47 <script type="text/javascript">48 var popup_editor_form = 'popup_rte_form';49 var width = 640;50 var height = 480;51 </script>52 </tal:block>53 <script type="text/javascript">54 function popup_rte(input_id, label_edit) {55 var args, value;56 value = document.getElementById(input_id).value;57 args = '?input_id='+input_id+'&label_edit='+escape(label_edit);58 str_window_features = 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,dependent=1,width=' + width + ',height=' + height;59 popup = window.open(popup_editor_form + args, input_id, str_window_features);60 if (!popup.opener) {61 popup.opener = window;62 }63 return false;64 }65 </script>66 </metal:block>67 </metal:block>68 16 69 17 … … 144 92 </div> 145 93 </form> 146 <div id="ajax_psm" style="display:none">147 ajax feedback148 </div>149 94 </metal:block> 150 95 -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r845 r847 55 55 else: 56 56 args = getFormUidUrlArg(REQUEST) 57 psm = "Please correct Your errors."57 psm = "Please correct your errors." 58 58 args['portal_status_message'] = psm 59 59 if args: -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_manager.py
r845 r847 55 55 else: 56 56 args = getFormUidUrlArg(REQUEST) 57 psm = "Please correct Your errors."57 psm = "Please correct your errors." 58 58 args['portal_status_message'] = psm 59 59 if args:
Note: See TracChangeset for help on using the changeset viewer.