- Timestamp:
- 12 Nov 2006, 21:21:07 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/student_clearance.xml
r844 r852 41 41 <property name="allow_resize">True</property> 42 42 </widget> 43 <widget name="acknow" meta_type="Boolean Widget">44 <property name="title">Acknowledgement</property>45 <property name="fields">46 <element value="acknow"/>47 </property>48 <property name="label">Acknowledgement</property>49 <property name="label_edit">Acknowledgement</property>50 <property51 name="description">I hereby acknowledge by ticking this check box that if it is discovered at any time that i do not possess any of the qualifications which i claim to have obtained, i will be expelled from the University and shall not be re-admitted for the same or any other programme, even if i have upgraded my previous qualifications or possess additional qualifications.</property>52 <property name="readonly_layout_modes"/>53 <property name="hidden_layout_modes">54 <element value="create"/>55 </property>56 <property name="hidden_readonly_layout_modes"/>57 <property name="render_format">checkbox</property>58 </widget>59 43 <widget name="age_dec" meta_type="Image Widget"> 60 44 <property name="title">Age Declaration</property> -
WAeUP_SRP/trunk/profiles/default/layouts/student_clearance_fe.xml
r851 r852 41 41 <property name="allow_resize">True</property> 42 42 </widget> 43 <widget name="acknow" meta_type="Boolean Widget">44 <property name="title">Acknowledgement</property>45 <property name="fields">46 <element value="acknow"/>47 </property>48 <property name="label">Acknowledgement</property>49 <property name="label_edit">Acknowledgement</property>50 <property51 name="description">I hereby acknowledge by ticking this check box that if it is discovered at any time that i do not possess any of the qualifications which i claim to have obtained, i will be expelled from the University and shall not be re-admitted for the same or any other programme, even if i have upgraded my previous qualifications or possess additional qualifications.</property>52 <property name="readonly_layout_modes"/>53 <property name="hidden_layout_modes">54 <element value="create"/>55 </property>56 <property name="hidden_readonly_layout_modes"/>57 <property name="render_format">checkbox</property>58 </widget>59 43 <widget name="age_dec" meta_type="Image Widget"> 60 44 <property name="title">Age Declaration</property> -
WAeUP_SRP/trunk/profiles/default/schemas/student_clearance.xml
r807 r852 67 67 68 68 <field name="def_adm" meta_type="CPS Boolean Field"/> 69 <field name="acknow" meta_type="CPS Boolean Field"/>70 69 71 70 </object> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r851 r852 47 47 if cpsdocument_edit_button: 48 48 psm = 'Content changed.' 49 if ds.get('acknow'):50 args['final_submit'] = "Finally Submit"51 49 elif cpsdocument_edit_and_view_button: 52 50 if acknowledge: 53 51 wftool.doActionFor(info['clear'],'close') 54 52 wftool.doActionFor(info['student'],'request_clearance') 55 return REQUEST.RESPONSE.redirect("%s/ student_index" % info['url'])56 psm = "You didn't check the Acknowledgementbox"53 return REQUEST.RESPONSE.redirect("%s/clearance_view" % info['url']) 54 psm = "You must tick the Acknowledgement Check Box before submission!" 57 55 else: 58 56 psm = "Please correct your errors." -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt
r851 r852 39 39 </div> 40 40 </div> 41 <table class="layoutDefault" summary="Form layout"> 42 <tr class="even ajaxtd"> 43 <th colspan="5" align="left">I hereby acknowledge by ticking this check box 44 that if it is discovered at any time that i do not possess any of the 45 qualifications which i claim to have obtained, i will be expelled from the 46 University and shall not be re-admitted for the same or any other programme, 47 even if i have upgraded my previous qualifications or possess additional 48 qualifications. 49 </th> 50 </tr> 51 <tr> 52 <div class="" id="acknowledge"> 53 <td valign="top" width="80"> 54 <div class="label"> 55 <label>Acknowledgement</label>: 56 </div> 57 <button type="button" class="tooltipControl" 58 onclick="toggleElementVisibility('acknow_help')"> ? </button> 59 </td> 60 <td valign="top"> 61 <span class="field"> 62 <input type="checkbox" value="True" 63 name="acknowledge" /> 64 </span> 65 <div class="tooltipArea" 66 style="visibility: hidden;" 67 id="acknow_help" 68 onclick="showElement(false, 'acknow_help')"> 69 I hereby acknowledge by ticking this check box that if it is 70 discovered at any time that i do not possess any of the qualifications 71 which i claim to have obtained, i will be expelled from the University 72 and shall not be re-admitted for the same or any other programme, even 73 if i have upgraded my previous qualifications or possess additional 74 qualifications. 75 </div> 76 </td> 77 </div> 78 </tr> 79 </table> 80 <input type="submit" class="standalone" 81 name="cpsdocument_edit_button" 82 value="Save & Return later" 83 id="cpsdocument_edit_button" 84 tal:condition="not:creation" /> 85 <input type="submit" class="standalone" 86 name="cpsdocument_edit_and_view_button" 87 value="Save & Submit" 88 id="cpsdocument_edit_and_view_button" 89 tal:condition="not:creation" /> 41 42 <div> 43 44 <input type="checkbox" value="True" name="acknowledge" /> 45 46 I hereby acknowledge by ticking this check box 47 that, if it is discovered at any time that I do not possess any of the 48 qualifications which I claim to have obtained, I will be expelled from the 49 University and shall not be re-admitted for the same or any other programme, 50 even if I have upgraded my previous qualifications or possess additional 51 qualifications. 52 53 54 </div> 55 56 <br /> 57 58 <input type="submit" class="standalone" 59 name="cpsdocument_edit_button" 60 value="Save & Return later" 61 id="cpsdocument_edit_button" 62 tal:condition="not:creation" /> 63 <input type="submit" class="standalone" 64 name="cpsdocument_edit_and_view_button" 65 value="Save & Submit" 66 id="cpsdocument_edit_and_view_button" 67 tal:condition="not:creation" /> 90 68 </form> 91 69 <div id="ajax_psm" style="display:none">
Note: See TracChangeset for help on using the changeset viewer.