Changeset 2013 for WAeUP_SRP/trunk/skins
- Timestamp:
- 12 Jul 2007, 16:12:23 (17 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 5 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/hall_delete.py
r1566 r2013 19 19 from Products.CMFCore.utils import getToolByName 20 20 here = context 21 if context.portal_type == "University":22 here = context.academics23 21 24 22 ti = getToolByName(here, 'portal_types').getTypeInfo(here.portal_type) -
WAeUP_SRP/trunk/skins/waeup_custom/folder_delete.py
r1366 r2013 13 13 """ 14 14 15 import logging 16 logger = logging.getLogger('Skins.folder_delete') 17 member_id = str(context.portal_membership.getAuthenticatedMember()) 18 15 19 from Products.CMFCore.utils import getToolByName 16 20 here = context 17 if context.portal_type == "University": 18 here = context.academics 21 22 #if context.portal_type == "University": 23 # here = context.academics 19 24 20 25 ti = getToolByName(here, 'portal_types').getTypeInfo(here.portal_type) 21 26 meth_id = ti.queryMethodID('view', 'folder_contents') 22 27 ret_url = here.absolute_url() + '/' + meth_id 28 23 29 24 30 -
WAeUP_SRP/trunk/skins/waeup_default/waeup_document_create_do.py
r1724 r2013 10 10 from Products.CMFCore.utils import getToolByName 11 11 request = context.REQUEST 12 if type_name in ("StudyLevel","StudentStudyLevel"): 12 13 if type_name in ("StudyLevel","StudentStudyLevel","WAeUPDocument"): 13 14 id = datamodel.get('code') 14 15 else: -
WAeUP_SRP/trunk/skins/waeup_default/waeup_edit_form.pt
r1783 r2013 13 13 <metal:block define-macro="edit_form"> 14 14 <metal:block use-macro=template> 15 16 17 <metal:block fill-slot="style_slot"> 18 <link rel="Stylesheet" type="text/css" href="" 19 tal:attributes="href string:${base_url}document.css" /> 20 21 <metal:block define-macro="widgets_javascript"> 22 23 <tal:block condition="python:modules['Products.CPSUtil.integration'].isProductPresent('Products.FCKeditor')"> 24 <script type="text/javascript"> 25 var popup_editor_form = 'popup_fckeditor_form'; 26 var width = 640; 27 var height = 520; 28 </script> 29 </tal:block> 30 31 <script type="text/javascript"> 32 function popup_rte(input_id, label_edit) { 33 var args, value; 34 value = document.getElementById(input_id).value; 35 args = '?input_id='+input_id+'&label_edit='+escape(label_edit); 36 str_window_features = 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,dependent=1,width=' + width + ',height=' + height; 37 popup = window.open(popup_editor_form + args, input_id, str_window_features); 38 if (!popup.opener) { 39 popup.opener = window; 40 } 41 return false; 42 } 43 </script> 44 </metal:block> 45 </metal:block> 46 15 47 16 48 <metal:block fill-slot="header"> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r1996 r2013 76 76 info['clear_doc'].edit(mapping = {'cleared_date': current,}) 77 77 wftool.doActionFor(info['student'],'clear_and_validate') 78 psm = "Clearance and eligibility record is validated and andstudent is cleared!"78 psm = "Clearance and eligibility record is validated and student is cleared!" 79 79 elif clear_and_validate_button and info['review_state'] == "cleared_and_validated": 80 80 psm = "This student is already cleared!"
Note: See TracChangeset for help on using the changeset viewer.