Changeset 2344 for WAeUP_SRP/base
- Timestamp:
- 10 Oct 2007, 21:33:35 (17 years ago)
- Location:
- WAeUP_SRP/base
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Widgets.py
r2342 r2344 1387 1387 do = 0 1388 1388 err ='You are not a Student. PIN neither checked nor used.' 1389 s_logger.info('%s tried to use scratch card %s' % ( s_id,pin_str))1389 s_logger.info('%s tried to use scratch card %s' % (member_id,pin_str)) 1390 1390 elif len(b) > 1 and b.find('-') > -1: 1391 1391 do = 0 … … 1744 1744 if not os.path.exists(base_path): 1745 1745 os.mkdir(base_path) 1746 full_path = os.path.join(base_path, file _name)1746 full_path = os.path.join(base_path, filename) 1747 1747 pict = open(full_path,"w") 1748 1748 fileupload.seek(0) … … 1786 1786 id_field = "" 1787 1787 show_image = False 1788 1788 1789 1789 def getImageInfo(self, datastructure): ###( 1790 1790 """Get the file info from the datastructure.""" -
WAeUP_SRP/base/skins/waeup_layout/widget_passport_render.pt
r2243 r2344 22 22 </span> 23 23 <tal:block condition="python: mode == 'edit'"> 24 <metal:block use-macro="here/widget_file_render/macros/file_size_max_view" />24 25 25 <metal:block define-macro="image_title_edit"> 26 26 <span tal:condition="python:0"> … … 31 31 <img tal:condition="python:not empty_file and not session_file" 32 32 tal:replace="structure image_tag" /> 33 33 34 <metal:block define-macro="image_edit"> 34 35 <metal:block use-macro="here/widget_file_render/macros/file_edit"> … … 45 46 </metal:block> 46 47 </metal:block> 48 <metal:block use-macro="here/widget_file_render/macros/file_size_max_view" /> 49 47 50 </tal:block> 48 51 </tal:block>
Note: See TracChangeset for help on using the changeset viewer.