- Timestamp:
- 8 Nov 2006, 08:32:36 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 added
- 1 deleted
- 10 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/student_application_fe.xml
r785 r788 80 80 <property name="readonly_layout_modes"> 81 81 </property> 82 <property name="hidden_layout_modes"> create</property>82 <property name="hidden_layout_modes"></property> 83 83 <property name="hidden_readonly_layout_modes"/> 84 84 </widget> -
WAeUP_SRP/trunk/profiles/default/layouts/student_clearance.xml
r770 r788 1 1 <?xml version="1.0"?> 2 2 <object name="student_clearance" meta_type="CPS Layout"> 3 <property name="layout_create_method"> </property>3 <property name="layout_create_method">layout_enter_access_code</property> 4 4 <property name="layout_edit_method"></property> 5 5 <property name="layout_view_method"></property> 6 <property name="style_prefix">layout_ waeup_</property>6 <property name="style_prefix">layout_clearance_</property> 7 7 <property name="flexible_widgets"/> 8 8 <property name="validate_values_expr"></property> … … 15 15 <property name="label_edit">Accepted by Institution</property> 16 16 <property name="readonly_layout_modes"/> 17 <property name="hidden_layout_modes"/> 17 <property name="hidden_layout_modes"> 18 <element value="create"/> 19 </property> 18 20 <property name="hidden_readonly_layout_modes"/> 19 21 <property name="size_max">204800</property> … … 30 32 <property name="label_edit">Acceptance Letter </property> 31 33 <property name="readonly_layout_modes"/> 32 <property name="hidden_layout_modes"/> 34 <property name="hidden_layout_modes"> 35 <element value="create"/> 36 </property> 33 37 <property name="hidden_readonly_layout_modes"/> 34 38 <property name="size_max">204800</property> … … 47 51 name="help">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> 48 52 <property name="readonly_layout_modes"/> 49 <property name="hidden_layout_modes"/> 53 <property name="hidden_layout_modes"> 54 <element value="create"/> 55 </property> 50 56 <property name="hidden_readonly_layout_modes"/> 51 57 </widget> … … 58 64 <property name="label_edit">Age Declaration</property> 59 65 <property name="readonly_layout_modes"/> 60 <property name="hidden_layout_modes"/> 66 <property name="hidden_layout_modes"> 67 <element value="create"/> 68 </property> 61 69 <property name="hidden_readonly_layout_modes"/> 62 70 <property name="size_max">204800</property> … … 73 81 <property name="label_edit">Exam Date</property> 74 82 <property name="readonly_layout_modes"/> 75 <property name="hidden_layout_modes"/> 83 <property name="hidden_layout_modes"> 84 <element value="create"/> 85 </property> 76 86 <property name="hidden_readonly_layout_modes"/> 77 87 </widget> … … 86 96 name="help">Fullname as it appears on certificate/result</property> 87 97 <property name="readonly_layout_modes"/> 88 <property name="hidden_layout_modes"/> 98 <property name="hidden_layout_modes"> 99 <element value="create"/> 100 </property> 89 101 <property name="hidden_readonly_layout_modes"/> 90 102 </widget> … … 97 109 <property name="label_edit">Exam Number</property> 98 110 <property name="readonly_layout_modes"/> 99 <property name="hidden_layout_modes"/> 111 <property name="hidden_layout_modes"> 112 <element value="create"/> 113 </property> 100 114 <property name="hidden_readonly_layout_modes"/> 101 115 </widget> … … 108 122 <property name="label_edit">Scan of Advanced Level Result</property> 109 123 <property name="readonly_layout_modes"/> 110 <property name="hidden_layout_modes"/> 124 <property name="hidden_layout_modes"> 125 <element value="create"/> 126 </property> 111 127 <property name="hidden_readonly_layout_modes"/> 112 128 <property name="size_max">204800</property> … … 123 139 <property name="label_edit">Birth Certificate</property> 124 140 <property name="readonly_layout_modes"/> 125 <property name="hidden_layout_modes"/> 141 <property name="hidden_layout_modes"> 142 <element value="create"/> 143 </property> 126 144 <property name="hidden_readonly_layout_modes"/> 127 145 <property name="size_max">204800</property> … … 138 156 <property name="label_edit">Day of Birth</property> 139 157 <property name="readonly_layout_modes"/> 140 <property name="hidden_layout_modes"/> 158 <property name="hidden_layout_modes"> 159 <element value="create"/> 160 </property> 141 161 <property name="hidden_readonly_layout_modes"/> 142 162 </widget> … … 149 169 <property name="label_edit">Certificateficate</property> 150 170 <property name="readonly_layout_modes"/> 151 <property name="hidden_layout_modes"/> 171 <property name="hidden_layout_modes"> 172 <element value="create"/> 173 </property> 152 174 <property name="hidden_readonly_layout_modes"/> 153 175 <property name="size_max">204800</property> … … 166 188 <element value="edit"/> 167 189 </property> 168 <property name="hidden_layout_modes"> 169 <element value="create"/> 170 </property> 190 <property name="hidden_layout_modes" /> 171 191 <property name="hidden_readonly_layout_modes"/> 172 192 <property name="prefix">CLR</property> … … 180 200 <property name="label_edit">Credential</property> 181 201 <property name="readonly_layout_modes"/> 182 <property name="hidden_layout_modes"/> 202 <property name="hidden_layout_modes"> 203 <element value="create"/> 204 </property> 183 205 <property name="hidden_readonly_layout_modes"/> 184 206 <property name="size_max">204800</property> … … 197 219 name="help">Tick this box if you wish to defer admission till next session.</property> 198 220 <property name="readonly_layout_modes"/> 199 <property name="hidden_layout_modes"/> 221 <property name="hidden_layout_modes"> 222 <element value="create"/> 223 </property> 200 224 <property name="hidden_readonly_layout_modes"/> 201 225 </widget> … … 208 232 <property name="label_edit">Email</property> 209 233 <property name="readonly_layout_modes"/> 210 <property name="hidden_layout_modes"/> 234 <property name="hidden_layout_modes"> 235 <element value="create"/> 236 </property> 211 237 <property name="hidden_readonly_layout_modes"/> 212 238 </widget> … … 219 245 <property name="label_edit">Entry Date</property> 220 246 <property name="readonly_layout_modes"/> 221 <property name="hidden_layout_modes"/> 247 <property name="hidden_layout_modes"> 248 <element value="create"/> 249 </property> 222 250 <property name="hidden_readonly_layout_modes"/> 223 251 </widget> … … 230 258 <property name="label_edit">Entry Session</property> 231 259 <property name="readonly_layout_modes"/> 232 <property name="hidden_layout_modes"/> 260 <property name="hidden_layout_modes"> 261 <element value="create"/> 262 </property> 233 263 <property name="hidden_readonly_layout_modes"/> 234 264 </widget> … … 241 271 <property name="label_edit">Evidence of Name</property> 242 272 <property name="readonly_layout_modes"/> 243 <property name="hidden_layout_modes"/> 273 <property name="hidden_layout_modes"> 274 <element value="create"/> 275 </property> 244 276 <property name="hidden_readonly_layout_modes"/> 245 277 <property name="size_max">204800</property> … … 256 288 <property name="label_edit">Former Matric/RegNo</property> 257 289 <property name="readonly_layout_modes"/> 258 <property name="hidden_layout_modes"/> 290 <property name="hidden_layout_modes"> 291 <element value="create"/> 292 </property> 259 293 <property name="hidden_readonly_layout_modes"/> 260 294 </widget> … … 267 301 <property name="label_edit">First Choice</property> 268 302 <property name="readonly_layout_modes"/> 269 <property name="hidden_layout_modes"/> 303 <property name="hidden_layout_modes"> 304 <element value="create"/> 305 </property> 270 306 <property name="hidden_readonly_layout_modes"/> 271 307 </widget> … … 278 314 <property name="label_edit">Exam Date</property> 279 315 <property name="readonly_layout_modes"/> 280 <property name="hidden_layout_modes"/> 316 <property name="hidden_layout_modes"> 317 <element value="create"/> 318 </property> 281 319 <property name="hidden_readonly_layout_modes"/> 282 320 </widget> … … 291 329 name="help">Fullname as it appears on certificate/result</property> 292 330 <property name="readonly_layout_modes"/> 293 <property name="hidden_layout_modes"/> 331 <property name="hidden_layout_modes"> 332 <element value="create"/> 333 </property> 294 334 <property name="hidden_readonly_layout_modes"/> 295 335 </widget> … … 302 342 <property name="label_edit">Exam Number</property> 303 343 <property name="readonly_layout_modes"/> 304 <property name="hidden_layout_modes"/> 344 <property name="hidden_layout_modes"> 345 <element value="create"/> 346 </property> 305 347 <property name="hidden_readonly_layout_modes"/> 306 348 </widget> … … 313 355 <property name="label_edit">Scan of First Sitting Result</property> 314 356 <property name="readonly_layout_modes"/> 315 <property name="hidden_layout_modes"/> 357 <property name="hidden_layout_modes"> 358 <element value="create"/> 359 </property> 316 360 <property name="hidden_readonly_layout_modes"/> 317 361 <property name="size_max">204800</property> … … 328 372 <property name="label_edit">Exam Type</property> 329 373 <property name="readonly_layout_modes"/> 330 <property name="hidden_layout_modes"/> 374 <property name="hidden_layout_modes"> 375 <element value="create"/> 376 </property> 331 377 <property name="hidden_readonly_layout_modes"/> 332 378 <property name="vocabulary">exam_types</property> … … 340 386 <property name="label_edit">Discipline</property> 341 387 <property name="readonly_layout_modes"/> 342 <property name="hidden_layout_modes"/> 388 <property name="hidden_layout_modes"> 389 <element value="create"/> 390 </property> 343 391 <property name="hidden_readonly_layout_modes"/> 344 392 </widget> … … 351 399 <property name="label_edit">Higher Qualification Grade</property> 352 400 <property name="readonly_layout_modes"/> 353 <property name="hidden_layout_modes"/> 401 <property name="hidden_layout_modes"> 402 <element value="create"/> 403 </property> 354 404 <property name="hidden_readonly_layout_modes"/> 355 405 <property name="vocabulary">high_grade</property> … … 363 413 <property name="label_edit">Matric Number</property> 364 414 <property name="readonly_layout_modes"/> 365 <property name="hidden_layout_modes"/> 415 <property name="hidden_layout_modes"> 416 <element value="create"/> 417 </property> 366 418 <property name="hidden_readonly_layout_modes"/> 367 419 </widget> … … 374 426 <property name="label_edit">Scan of Higher Qualification Result</property> 375 427 <property name="readonly_layout_modes"/> 376 <property name="hidden_layout_modes"/> 428 <property name="hidden_layout_modes"> 429 <element value="create"/> 430 </property> 377 431 <property name="hidden_readonly_layout_modes"/> 378 432 <property name="size_max">204800</property> … … 389 443 <property name="label_edit">School Attended</property> 390 444 <property name="readonly_layout_modes"/> 391 <property name="hidden_layout_modes"/> 445 <property name="hidden_layout_modes"> 446 <element value="create"/> 447 </property> 392 448 <property name="hidden_readonly_layout_modes"/> 393 449 </widget> … … 400 456 <property name="label_edit">Session Obtained</property> 401 457 <property name="readonly_layout_modes"/> 402 <property name="hidden_layout_modes"/> 458 <property name="hidden_layout_modes"> 459 <element value="create"/> 460 </property> 403 461 <property name="hidden_readonly_layout_modes"/> 404 462 </widget> … … 411 469 <property name="label_edit">Higher Qualification</property> 412 470 <property name="readonly_layout_modes"/> 413 <property name="hidden_layout_modes"/> 471 <property name="hidden_layout_modes"> 472 <element value="create"/> 473 </property> 414 474 <property name="hidden_readonly_layout_modes"/> 415 475 <property name="vocabulary">high_qual</property> … … 423 483 <property name="label_edit">JAMB Letter</property> 424 484 <property name="readonly_layout_modes"/> 425 <property name="hidden_layout_modes"/> 485 <property name="hidden_layout_modes"> 486 <element value="create"/> 487 </property> 426 488 <property name="hidden_readonly_layout_modes"/> 427 489 <property name="size_max">204800</property> … … 438 500 <property name="label_edit">JAMB Slip</property> 439 501 <property name="readonly_layout_modes"/> 440 <property name="hidden_layout_modes"/> 502 <property name="hidden_layout_modes"> 503 <element value="create"/> 504 </property> 441 505 <property name="hidden_readonly_layout_modes"/> 442 506 <property name="size_max">204800</property> … … 453 517 <property name="label_edit">Local Government Area</property> 454 518 <property name="readonly_layout_modes"/> 455 <property name="hidden_layout_modes"/> 519 <property name="hidden_layout_modes"> 520 <element value="create"/> 521 </property> 456 522 <property name="hidden_readonly_layout_modes"/> 457 523 <property name="vocabulary">local_gov_areas</property> … … 465 531 <property name="label_edit">LGA Identification</property> 466 532 <property name="readonly_layout_modes"/> 467 <property name="hidden_layout_modes"/> 533 <property name="hidden_layout_modes"> 534 <element value="create"/> 535 </property> 468 536 <property name="hidden_readonly_layout_modes"/> 469 537 <property name="size_max">204800</property> … … 480 548 <property name="label_edit">Matriculation Number</property> 481 549 <property name="readonly_layout_modes"/> 482 <property name="hidden_layout_modes"/> 550 <property name="hidden_layout_modes"> 551 <element value="create"/> 552 </property> 483 553 <property name="hidden_readonly_layout_modes"/> 484 554 <property name="display_width">10</property> … … 493 563 <property name="label_edit">Nationality</property> 494 564 <property name="readonly_layout_modes"/> 495 <property name="hidden_layout_modes"/> 565 <property name="hidden_layout_modes"> 566 <element value="create"/> 567 </property> 496 568 <property name="hidden_readonly_layout_modes"/> 497 569 <property name="vocabulary">states</property> … … 505 577 <property name="label_edit">Referee Letter</property> 506 578 <property name="readonly_layout_modes"/> 507 <property name="hidden_layout_modes"/> 579 <property name="hidden_layout_modes"> 580 <element value="create"/> 581 </property> 508 582 <property name="hidden_readonly_layout_modes"/> 509 583 <property name="size_max">204800</property> … … 520 594 <property name="label_edit">Result Statement</property> 521 595 <property name="readonly_layout_modes"/> 522 <property name="hidden_layout_modes"/> 596 <property name="hidden_layout_modes"> 597 <element value="create"/> 598 </property> 523 599 <property name="hidden_readonly_layout_modes"/> 524 600 <property name="size_max">204800</property> … … 535 611 <property name="label_edit">Second Choice</property> 536 612 <property name="readonly_layout_modes"/> 537 <property name="hidden_layout_modes"/> 613 <property name="hidden_layout_modes"> 614 <element value="create"/> 615 </property> 538 616 <property name="hidden_readonly_layout_modes"/> 539 617 </widget> … … 546 624 <property name="label_edit">Exam Date</property> 547 625 <property name="readonly_layout_modes"/> 548 <property name="hidden_layout_modes"/> 626 <property name="hidden_layout_modes"> 627 <element value="create"/> 628 </property> 549 629 <property name="hidden_readonly_layout_modes"/> 550 630 </widget> … … 559 639 name="help">Fullname as it appears on certificate/result</property> 560 640 <property name="readonly_layout_modes"/> 561 <property name="hidden_layout_modes"/> 641 <property name="hidden_layout_modes"> 642 <element value="create"/> 643 </property> 562 644 <property name="hidden_readonly_layout_modes"/> 563 645 </widget> … … 570 652 <property name="label_edit">Exam Number</property> 571 653 <property name="readonly_layout_modes"/> 572 <property name="hidden_layout_modes"/> 654 <property name="hidden_layout_modes"> 655 <element value="create"/> 656 </property> 573 657 <property name="hidden_readonly_layout_modes"/> 574 658 </widget> … … 581 665 <property name="label_edit">Scan of Second Sitting Result</property> 582 666 <property name="readonly_layout_modes"/> 583 <property name="hidden_layout_modes"/> 667 <property name="hidden_layout_modes"> 668 <element value="create"/> 669 </property> 584 670 <property name="hidden_readonly_layout_modes"/> 585 671 <property name="size_max">204800</property> … … 596 682 <property name="label_edit">Exam Type</property> 597 683 <property name="readonly_layout_modes"/> 598 <property name="hidden_layout_modes"/> 684 <property name="hidden_layout_modes"> 685 <element value="create"/> 686 </property> 599 687 <property name="hidden_readonly_layout_modes"/> 600 688 <property name="vocabulary">exam_types</property> … … 608 696 <property name="label_edit">Statutory Declaration of Good Conduct</property> 609 697 <property name="readonly_layout_modes"/> 610 <property name="hidden_layout_modes"/> 698 <property name="hidden_layout_modes"> 699 <element value="create"/> 700 </property> 611 701 <property name="hidden_readonly_layout_modes"/> 612 702 <property name="size_max">204800</property> … … 623 713 <property name="label_edit">Supplementary Addmission</property> 624 714 <property name="readonly_layout_modes"/> 625 <property name="hidden_layout_modes"/> 715 <property name="hidden_layout_modes"> 716 <element value="create"/> 717 </property> 626 718 <property name="hidden_readonly_layout_modes"/> 627 719 </widget> … … 634 726 <property name="label_edit">Former UNIBEN Student</property> 635 727 <property name="readonly_layout_modes"/> 636 <property name="hidden_layout_modes"/> 728 <property name="hidden_layout_modes"> 729 <element value="create"/> 730 </property> 637 731 <property name="hidden_readonly_layout_modes"/> 638 732 </widget> -
WAeUP_SRP/trunk/profiles/default/layouts/student_clearance_fe.xml
r775 r788 1 1 <?xml version="1.0"?> 2 2 <object name="student_clearance" meta_type="CPS Layout"> 3 <property name="layout_create_method"> </property>3 <property name="layout_create_method">layout_enter_access_code</property> 4 4 <property name="layout_edit_method"></property> 5 5 <property name="layout_view_method"></property> 6 <property name="style_prefix">layout_ waeup_</property>6 <property name="style_prefix">layout_clearance_</property> 7 7 <property name="flexible_widgets"/> 8 8 <property name="validate_values_expr"></property> … … 12 12 <element value="acc_inst"/> 13 13 </property> 14 15 14 <property name="label">Accepted by Institution</property> 16 15 <property name="label_edit">Accepted by Institution</property> 17 16 <property name="readonly_layout_modes"/> 18 <property name="hidden_layout_modes"/> 17 <property name="hidden_layout_modes"> 18 <element value="create"/> 19 </property> 19 20 <property name="hidden_readonly_layout_modes"/> 20 21 <property name="size_max">204800</property> … … 28 29 <element value="acc_let"/> 29 30 </property> 30 31 31 <property name="label">Acceptance Letter </property> 32 32 <property name="label_edit">Acceptance Letter </property> 33 33 <property name="readonly_layout_modes"/> 34 <property name="hidden_layout_modes"/> 34 <property name="hidden_layout_modes"> 35 <element value="create"/> 36 </property> 35 37 <property name="hidden_readonly_layout_modes"/> 36 38 <property name="size_max">204800</property> … … 49 51 name="help">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> 50 52 <property name="readonly_layout_modes"/> 51 <property name="hidden_layout_modes"/> 53 <property name="hidden_layout_modes"> 54 <element value="create"/> 55 </property> 52 56 <property name="hidden_readonly_layout_modes"/> 53 57 </widget> … … 57 61 <element value="age_dec"/> 58 62 </property> 59 60 63 <property name="label">Age Declaration</property> 61 64 <property name="label_edit">Age Declaration</property> 62 65 <property name="readonly_layout_modes"/> 63 <property name="hidden_layout_modes"/> 66 <property name="hidden_layout_modes"> 67 <element value="create"/> 68 </property> 64 69 <property name="hidden_readonly_layout_modes"/> 65 70 <property name="size_max">204800</property> … … 76 81 <property name="label_edit">Exam Date</property> 77 82 <property name="readonly_layout_modes"/> 78 <property name="hidden_layout_modes"/> 83 <property name="hidden_layout_modes"> 84 <element value="create"/> 85 </property> 79 86 <property name="hidden_readonly_layout_modes"/> 80 87 </widget> … … 89 96 name="help">Fullname as it appears on certificate/result</property> 90 97 <property name="readonly_layout_modes"/> 91 <property name="hidden_layout_modes"/> 98 <property name="hidden_layout_modes"> 99 <element value="create"/> 100 </property> 92 101 <property name="hidden_readonly_layout_modes"/> 93 102 </widget> … … 100 109 <property name="label_edit">Exam Number</property> 101 110 <property name="readonly_layout_modes"/> 102 <property name="hidden_layout_modes"/> 111 <property name="hidden_layout_modes"> 112 <element value="create"/> 113 </property> 103 114 <property name="hidden_readonly_layout_modes"/> 104 115 </widget> … … 108 119 <element value="alr_scan"/> 109 120 </property> 110 111 121 <property name="label">Scan of Advanced Level Result</property> 112 122 <property name="label_edit">Scan of Advanced Level Result</property> 113 123 <property name="readonly_layout_modes"/> 114 <property name="hidden_layout_modes"/> 124 <property name="hidden_layout_modes"> 125 <element value="create"/> 126 </property> 115 127 <property name="hidden_readonly_layout_modes"/> 116 128 <property name="size_max">204800</property> … … 124 136 <element value="birth_certificate"/> 125 137 </property> 126 127 138 <property name="label">Birth Certificate</property> 128 139 <property name="label_edit">Birth Certificate</property> 129 140 <property name="readonly_layout_modes"/> 130 <property name="hidden_layout_modes"/> 141 <property name="hidden_layout_modes"> 142 <element value="create"/> 143 </property> 131 144 <property name="hidden_readonly_layout_modes"/> 132 145 <property name="size_max">204800</property> … … 143 156 <property name="label_edit">Day of Birth</property> 144 157 <property name="readonly_layout_modes"/> 145 <property name="hidden_layout_modes"/> 158 <property name="hidden_layout_modes"> 159 <element value="create"/> 160 </property> 146 161 <property name="hidden_readonly_layout_modes"/> 147 162 </widget> … … 151 166 <element value="cert"/> 152 167 </property> 153 154 168 <property name="label">Certificateficate</property> 155 169 <property name="label_edit">Certificateficate</property> 156 170 <property name="readonly_layout_modes"/> 157 <property name="hidden_layout_modes"/> 171 <property name="hidden_layout_modes"> 172 <element value="create"/> 173 </property> 158 174 <property name="hidden_readonly_layout_modes"/> 159 175 <property name="size_max">204800</property> … … 172 188 <element value="edit"/> 173 189 </property> 174 <property name="hidden_layout_modes"> 175 <element value="create"/> 176 </property> 190 <property name="hidden_layout_modes" /> 177 191 <property name="hidden_readonly_layout_modes"/> 178 192 <property name="prefix">CLR</property> … … 183 197 <element value="cred"/> 184 198 </property> 185 186 199 <property name="label">Credential</property> 187 200 <property name="label_edit">Credential</property> 188 201 <property name="readonly_layout_modes"/> 189 <property name="hidden_layout_modes"/> 202 <property name="hidden_layout_modes"> 203 <element value="create"/> 204 </property> 190 205 <property name="hidden_readonly_layout_modes"/> 191 206 <property name="size_max">204800</property> … … 204 219 name="help">Tick this box if you wish to defer admission till next session.</property> 205 220 <property name="readonly_layout_modes"/> 206 <property name="hidden_layout_modes"/> 221 <property name="hidden_layout_modes"> 222 <element value="create"/> 223 </property> 207 224 <property name="hidden_readonly_layout_modes"/> 208 225 </widget> … … 215 232 <property name="label_edit">Email</property> 216 233 <property name="readonly_layout_modes"/> 217 <property name="hidden_layout_modes"/> 234 <property name="hidden_layout_modes"> 235 <element value="create"/> 236 </property> 218 237 <property name="hidden_readonly_layout_modes"/> 219 238 </widget> … … 226 245 <property name="label_edit">Entry Date</property> 227 246 <property name="readonly_layout_modes"/> 228 <property name="hidden_layout_modes"/> 247 <property name="hidden_layout_modes"> 248 <element value="create"/> 249 </property> 229 250 <property name="hidden_readonly_layout_modes"/> 230 251 </widget> … … 237 258 <property name="label_edit">Entry Session</property> 238 259 <property name="readonly_layout_modes"/> 239 <property name="hidden_layout_modes"/> 260 <property name="hidden_layout_modes"> 261 <element value="create"/> 262 </property> 240 263 <property name="hidden_readonly_layout_modes"/> 241 264 </widget> … … 245 268 <element value="evid"/> 246 269 </property> 247 248 270 <property name="label">Evidence of Name</property> 249 271 <property name="label_edit">Evidence of Name</property> 250 272 <property name="readonly_layout_modes"/> 251 <property name="hidden_layout_modes"/> 273 <property name="hidden_layout_modes"> 274 <element value="create"/> 275 </property> 252 276 <property name="hidden_readonly_layout_modes"/> 253 277 <property name="size_max">204800</property> … … 264 288 <property name="label_edit">Former Matric/RegNo</property> 265 289 <property name="readonly_layout_modes"/> 266 <property name="hidden_layout_modes"/> 290 <property name="hidden_layout_modes"> 291 <element value="create"/> 292 </property> 267 293 <property name="hidden_readonly_layout_modes"/> 268 294 </widget> … … 275 301 <property name="label_edit">First Choice</property> 276 302 <property name="readonly_layout_modes"/> 277 <property name="hidden_layout_modes"/> 303 <property name="hidden_layout_modes"> 304 <element value="create"/> 305 </property> 278 306 <property name="hidden_readonly_layout_modes"/> 279 307 </widget> … … 286 314 <property name="label_edit">Exam Date</property> 287 315 <property name="readonly_layout_modes"/> 288 <property name="hidden_layout_modes"/> 316 <property name="hidden_layout_modes"> 317 <element value="create"/> 318 </property> 289 319 <property name="hidden_readonly_layout_modes"/> 290 320 </widget> … … 299 329 name="help">Fullname as it appears on certificate/result</property> 300 330 <property name="readonly_layout_modes"/> 301 <property name="hidden_layout_modes"/> 331 <property name="hidden_layout_modes"> 332 <element value="create"/> 333 </property> 302 334 <property name="hidden_readonly_layout_modes"/> 303 335 </widget> … … 310 342 <property name="label_edit">Exam Number</property> 311 343 <property name="readonly_layout_modes"/> 312 <property name="hidden_layout_modes"/> 344 <property name="hidden_layout_modes"> 345 <element value="create"/> 346 </property> 313 347 <property name="hidden_readonly_layout_modes"/> 314 348 </widget> … … 318 352 <element value="fst_sit_scan"/> 319 353 </property> 320 321 354 <property name="label">Scan of First Sitting Result</property> 322 355 <property name="label_edit">Scan of First Sitting Result</property> 323 356 <property name="readonly_layout_modes"/> 324 <property name="hidden_layout_modes"/> 357 <property name="hidden_layout_modes"> 358 <element value="create"/> 359 </property> 325 360 <property name="hidden_readonly_layout_modes"/> 326 361 <property name="size_max">204800</property> … … 337 372 <property name="label_edit">Exam Type</property> 338 373 <property name="readonly_layout_modes"/> 339 <property name="hidden_layout_modes"/> 374 <property name="hidden_layout_modes"> 375 <element value="create"/> 376 </property> 340 377 <property name="hidden_readonly_layout_modes"/> 341 378 <property name="vocabulary">exam_types</property> … … 349 386 <property name="label_edit">Discipline</property> 350 387 <property name="readonly_layout_modes"/> 351 <property name="hidden_layout_modes"/> 388 <property name="hidden_layout_modes"> 389 <element value="create"/> 390 </property> 352 391 <property name="hidden_readonly_layout_modes"/> 353 392 </widget> … … 360 399 <property name="label_edit">Higher Qualification Grade</property> 361 400 <property name="readonly_layout_modes"/> 362 <property name="hidden_layout_modes"/> 401 <property name="hidden_layout_modes"> 402 <element value="create"/> 403 </property> 363 404 <property name="hidden_readonly_layout_modes"/> 364 405 <property name="vocabulary">high_grade</property> … … 372 413 <property name="label_edit">Matric Number</property> 373 414 <property name="readonly_layout_modes"/> 374 <property name="hidden_layout_modes"/> 415 <property name="hidden_layout_modes"> 416 <element value="create"/> 417 </property> 375 418 <property name="hidden_readonly_layout_modes"/> 376 419 </widget> … … 380 423 <element value="hq_scan"/> 381 424 </property> 382 383 425 <property name="label">Scan of Higher Qualification Result</property> 384 426 <property name="label_edit">Scan of Higher Qualification Result</property> 385 427 <property name="readonly_layout_modes"/> 386 <property name="hidden_layout_modes"/> 428 <property name="hidden_layout_modes"> 429 <element value="create"/> 430 </property> 387 431 <property name="hidden_readonly_layout_modes"/> 388 432 <property name="size_max">204800</property> … … 399 443 <property name="label_edit">School Attended</property> 400 444 <property name="readonly_layout_modes"/> 401 <property name="hidden_layout_modes"/> 445 <property name="hidden_layout_modes"> 446 <element value="create"/> 447 </property> 402 448 <property name="hidden_readonly_layout_modes"/> 403 449 </widget> … … 410 456 <property name="label_edit">Session Obtained</property> 411 457 <property name="readonly_layout_modes"/> 412 <property name="hidden_layout_modes"/> 458 <property name="hidden_layout_modes"> 459 <element value="create"/> 460 </property> 413 461 <property name="hidden_readonly_layout_modes"/> 414 462 </widget> … … 421 469 <property name="label_edit">Higher Qualification</property> 422 470 <property name="readonly_layout_modes"/> 423 <property name="hidden_layout_modes"/> 471 <property name="hidden_layout_modes"> 472 <element value="create"/> 473 </property> 424 474 <property name="hidden_readonly_layout_modes"/> 425 475 <property name="vocabulary">high_qual</property> … … 430 480 <element value="jamb_let"/> 431 481 </property> 432 433 482 <property name="label">JAMB Letter</property> 434 483 <property name="label_edit">JAMB Letter</property> 435 484 <property name="readonly_layout_modes"/> 436 <property name="hidden_layout_modes"/> 485 <property name="hidden_layout_modes"> 486 <element value="create"/> 487 </property> 437 488 <property name="hidden_readonly_layout_modes"/> 438 489 <property name="size_max">204800</property> … … 446 497 <element value="jamb_slip"/> 447 498 </property> 448 449 499 <property name="label">JAMB Slip</property> 450 500 <property name="label_edit">JAMB Slip</property> 451 501 <property name="readonly_layout_modes"/> 452 <property name="hidden_layout_modes"/> 502 <property name="hidden_layout_modes"> 503 <element value="create"/> 504 </property> 453 505 <property name="hidden_readonly_layout_modes"/> 454 506 <property name="size_max">204800</property> … … 465 517 <property name="label_edit">Local Government Area</property> 466 518 <property name="readonly_layout_modes"/> 467 <property name="hidden_layout_modes"/> 519 <property name="hidden_layout_modes"> 520 <element value="create"/> 521 </property> 468 522 <property name="hidden_readonly_layout_modes"/> 469 523 <property name="vocabulary">local_gov_areas</property> … … 474 528 <element value="lga_ident"/> 475 529 </property> 476 477 530 <property name="label">LGA Identification</property> 478 531 <property name="label_edit">LGA Identification</property> 479 532 <property name="readonly_layout_modes"/> 480 <property name="hidden_layout_modes"/> 533 <property name="hidden_layout_modes"> 534 <element value="create"/> 535 </property> 481 536 <property name="hidden_readonly_layout_modes"/> 482 537 <property name="size_max">204800</property> … … 493 548 <property name="label_edit">Matriculation Number</property> 494 549 <property name="readonly_layout_modes"/> 495 <property name="hidden_layout_modes"/> 550 <property name="hidden_layout_modes"> 551 <element value="create"/> 552 </property> 496 553 <property name="hidden_readonly_layout_modes"/> 497 554 <property name="display_width">10</property> … … 506 563 <property name="label_edit">Nationality</property> 507 564 <property name="readonly_layout_modes"/> 508 <property name="hidden_layout_modes"/> 565 <property name="hidden_layout_modes"> 566 <element value="create"/> 567 </property> 509 568 <property name="hidden_readonly_layout_modes"/> 510 569 <property name="vocabulary">states</property> … … 515 574 <element value="ref_let"/> 516 575 </property> 517 518 576 <property name="label">Referee Letter</property> 519 577 <property name="label_edit">Referee Letter</property> 520 578 <property name="readonly_layout_modes"/> 521 <property name="hidden_layout_modes"/> 579 <property name="hidden_layout_modes"> 580 <element value="create"/> 581 </property> 522 582 <property name="hidden_readonly_layout_modes"/> 523 583 <property name="size_max">204800</property> … … 531 591 <element value="res_stat"/> 532 592 </property> 533 534 593 <property name="label">Result Statement</property> 535 594 <property name="label_edit">Result Statement</property> 536 595 <property name="readonly_layout_modes"/> 537 <property name="hidden_layout_modes"/> 596 <property name="hidden_layout_modes"> 597 <element value="create"/> 598 </property> 538 599 <property name="hidden_readonly_layout_modes"/> 539 600 <property name="size_max">204800</property> … … 550 611 <property name="label_edit">Second Choice</property> 551 612 <property name="readonly_layout_modes"/> 552 <property name="hidden_layout_modes"/> 613 <property name="hidden_layout_modes"> 614 <element value="create"/> 615 </property> 553 616 <property name="hidden_readonly_layout_modes"/> 554 617 </widget> … … 561 624 <property name="label_edit">Exam Date</property> 562 625 <property name="readonly_layout_modes"/> 563 <property name="hidden_layout_modes"/> 626 <property name="hidden_layout_modes"> 627 <element value="create"/> 628 </property> 564 629 <property name="hidden_readonly_layout_modes"/> 565 630 </widget> … … 574 639 name="help">Fullname as it appears on certificate/result</property> 575 640 <property name="readonly_layout_modes"/> 576 <property name="hidden_layout_modes"/> 641 <property name="hidden_layout_modes"> 642 <element value="create"/> 643 </property> 577 644 <property name="hidden_readonly_layout_modes"/> 578 645 </widget> … … 585 652 <property name="label_edit">Exam Number</property> 586 653 <property name="readonly_layout_modes"/> 587 <property name="hidden_layout_modes"/> 654 <property name="hidden_layout_modes"> 655 <element value="create"/> 656 </property> 588 657 <property name="hidden_readonly_layout_modes"/> 589 658 </widget> … … 593 662 <element value="scd_sit_scan"/> 594 663 </property> 595 596 664 <property name="label">Scan of Second Sitting Result</property> 597 665 <property name="label_edit">Scan of Second Sitting Result</property> 598 666 <property name="readonly_layout_modes"/> 599 <property name="hidden_layout_modes"/> 667 <property name="hidden_layout_modes"> 668 <element value="create"/> 669 </property> 600 670 <property name="hidden_readonly_layout_modes"/> 601 671 <property name="size_max">204800</property> … … 612 682 <property name="label_edit">Exam Type</property> 613 683 <property name="readonly_layout_modes"/> 614 <property name="hidden_layout_modes"/> 684 <property name="hidden_layout_modes"> 685 <element value="create"/> 686 </property> 615 687 <property name="hidden_readonly_layout_modes"/> 616 688 <property name="vocabulary">exam_types</property> … … 621 693 <element value="stat_dec"/> 622 694 </property> 623 624 695 <property name="label">Statutory Declaration of Good Conduct</property> 625 696 <property name="label_edit">Statutory Declaration of Good Conduct</property> 626 697 <property name="readonly_layout_modes"/> 627 <property name="hidden_layout_modes"/> 698 <property name="hidden_layout_modes"> 699 <element value="create"/> 700 </property> 628 701 <property name="hidden_readonly_layout_modes"/> 629 702 <property name="size_max">204800</property> … … 640 713 <property name="label_edit">Supplementary Addmission</property> 641 714 <property name="readonly_layout_modes"/> 642 <property name="hidden_layout_modes"/> 715 <property name="hidden_layout_modes"> 716 <element value="create"/> 717 </property> 643 718 <property name="hidden_readonly_layout_modes"/> 644 719 </widget> … … 651 726 <property name="label_edit">Former UNIBEN Student</property> 652 727 <property name="readonly_layout_modes"/> 653 <property name="hidden_layout_modes"/> 728 <property name="hidden_layout_modes"> 729 <element value="create"/> 730 </property> 654 731 <property name="hidden_readonly_layout_modes"/> 655 732 </widget> 656 733 <table> 657 734 <row> 735 <cell name="matric_no"/> 736 </row> 737 <row> 738 <cell name="clr_ac_pin"/> 739 </row> 740 <row> 741 <cell name="entry_date"/> 742 </row> 743 <row> 744 <cell name="entry_session"/> 745 </row> 746 <row> 658 747 <cell name="birthday"/> 659 748 </row> … … 666 755 <row> 667 756 <cell name="email"/> 757 </row> 758 <row> 759 <cell name="fst_sit_fname"/> 760 </row> 761 <row> 762 <cell name="fst_sit_no"/> 763 </row> 764 <row> 765 <cell name="fst_sit_date"/> 766 </row> 767 <row> 768 <cell name="fst_sit_type"/> 769 </row> 770 <row> 771 <cell name="fst_sit_scan"/> 772 </row> 773 <row> 774 <cell name="scd_sit_fname"/> 775 </row> 776 <row> 777 <cell name="scd_sit_no"/> 778 </row> 779 <row> 780 <cell name="scd_sit_date"/> 781 </row> 782 <row> 783 <cell name="scd_sit_type"/> 784 </row> 785 <row> 786 <cell name="scd_sit_scan"/> 787 </row> 788 <row> 789 <cell name="alr_fname"/> 790 </row> 791 <row> 792 <cell name="alr_no"/> 793 </row> 794 <row> 795 <cell name="alr_date"/> 796 </row> 797 <row> 798 <cell name="alr_scan"/> 799 </row> 800 <row> 801 <cell name="hq_type"/> 802 </row> 803 <row> 804 <cell name="hq_grade"/> 805 </row> 806 <row> 807 <cell name="hq_school"/> 808 </row> 809 <row> 810 <cell name="hq_matric_no"/> 811 </row> 812 <row> 813 <cell name="hq_session"/> 814 </row> 815 <row> 816 <cell name="hq_disc"/> 817 </row> 818 <row> 819 <cell name="hq_scan"/> 820 </row> 821 <row> 822 <cell name="birth_certificate"/> 823 </row> 824 <row> 825 <cell name="lga_ident"/> 826 </row> 827 <row> 828 <cell name="acc_let"/> 829 </row> 830 <row> 831 <cell name="jamb_slip"/> 832 </row> 833 <row> 834 <cell name="cert"/> 835 </row> 836 <row> 837 <cell name="evid"/> 838 </row> 839 <row> 840 <cell name="jamb_let"/> 841 </row> 842 <row> 843 <cell name="res_stat"/> 844 </row> 845 <row> 846 <cell name="ref_let"/> 847 </row> 848 <row> 849 <cell name="cred"/> 850 </row> 851 <row> 852 <cell name="stat_dec"/> 853 </row> 854 <row> 855 <cell name="age_dec"/> 856 </row> 857 <row> 858 <cell name="acc_inst"/> 859 </row> 860 <row> 861 <cell name="fst_ch"/> 862 </row> 863 <row> 864 <cell name="scd_ch"/> 865 </row> 866 <row> 867 <cell name="sup_adm"/> 868 </row> 869 <row> 870 <cell name="uniben"/> 871 </row> 872 <row> 873 <cell name="form_matric_no"/> 874 </row> 875 <row> 876 <cell name="def_adm"/> 877 </row> 878 <row> 879 <cell name="acknow"/> 668 880 </row> 669 881 </table> -
WAeUP_SRP/trunk/skins/waeup_custom/cpsdocument_edit.py
r716 r788 35 35 # (We don't call getEditableContent here, validate does it when needed.) 36 36 info = context.getStudentInfo() 37 if info and info['is_student']:38 return37 ##if info and info['is_student']: 38 ## return 39 39 doc = context.getContent() 40 40 is_valid, ds = doc.validate(request=REQUEST, proxy=context, cluster=cluster, -
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r785 r788 56 56 da = {} 57 57 pin = request.get('pin') 58 email = request.get('email') 58 59 app_doc = info['app_doc'] 59 60 da['app_ac_pin'] = pin 61 da['app_email'] = email 60 62 da['app_ac_date'] = current 61 63 app_doc.edit(mapping = da) -
WAeUP_SRP/trunk/skins/waeup_student/application_edit.py
r784 r788 5 5 ##bind script=script 6 6 ##bind subpath=traverse_subpath 7 ##parameters=REQUEST, cluster=None, cpsdocument_edit_and_view_button=None, action=None7 ##parameters=REQUEST,proceed=None, cpsdocument_edit_button=None, action=None 8 8 ##title= 9 9 # $Id$ … … 17 17 18 18 # Until ajax posts directly to its own script... 19 if 'ajax_edit' in REQUEST.form:20 return context.cpsdocument_edit_ajax(REQUEST, cluster=cluster)19 ##if 'ajax_edit' in REQUEST.form: 20 ## return context.cpsdocument_edit_ajax(REQUEST, cluster=cluster) 21 21 22 22 # Check flexible controls … … 33 33 clear_doc = info['clear_doc'] 34 34 state = context.getStudentInfo()['review_state'] 35 36 if context.portal_type == "Student": 37 if app_doc.passport is None: 38 is_valid, ds = app_doc.validate(request=REQUEST, 39 proxy=app_doc, 40 layout_id = "student_application_fe", 41 layout_mode = 'edit', 42 use_session=True) 43 action = "/application_edit" 44 if is_valid: 45 if app_doc.passport is not None: 46 psm = 'You successfully uploaded your passport image.' 47 args = {'apply_button': 'Apply',} 48 else: 49 psm = "You didn't upload a passport image." 50 args = {} 51 else: 52 psm = 'psm_content_error' 53 args = getFormUidUrlArg(REQUEST) 54 elif 'apply_admission' not in REQUEST.form: 55 is_valid, ds = app_doc.validate(request=REQUEST, 56 proxy=app_doc, 57 layout_id = "student_application_fe", 58 layout_mode = 'edit', 59 use_session=True) 60 action = "/application_edit" 61 if is_valid: 62 args = {} 63 if 'apply_admission' not in REQUEST.form: 64 args = {'apply_button': 'Apply',} 65 psm = 'You successfully uploaded your passport image.' 66 else: 67 psm = 'You applied for admission.' 68 else: 69 args = getFormUidUrlArg(REQUEST) 70 psm = 'psm_content_error' 71 else: 72 psm = '' 73 args = {} 74 if info['review_state'] == "student_created": 75 student.content_status_modify(workflow_action="apply_for_admission") 76 wftool.doActionFor(app,'close',dest_container= app) 77 psm = 'You applied for admission.' 78 action = "/application_view" 79 elif info['review_state'] == "admitted": 80 student.content_status_modify(workflow_action="enter_clearance_pin") 81 #wftool.doActionFor(info['clear'],'open',dest_container=info['clear']) 82 app_doc = info['app_doc'] 83 dc = {} 84 dc['email'] = app_doc.app_email 85 info['clear_doc'].edit(mapping = dc) 86 wftool.doActionFor(app,'close',dest_container= app) 87 psm = 'You successfully started the clearance process.' 88 action = "/clearance_edit" 89 else: 90 action = "/clearance_view" 91 92 else: 93 is_valid, ds = app_doc.validate(request=REQUEST, proxy=context, cluster=cluster, 35 is_valid, ds = app_doc.validate(request=REQUEST, 36 schema_id = 'student_application', 37 layout_id = 'student_application_fe', 38 proxy=app, 94 39 use_session=True) 95 40 96 if action is None: 97 ti = app.getTypeInfo() 98 action = ti.queryMethodID('edit', 'cpsdocument_edit_form') 99 action = '/' + action 100 41 psm = "" 42 args = {} 43 action = "/application_edit_view" 44 if cpsdocument_edit_button: 101 45 if is_valid: 102 comments = REQUEST.get('comments') 103 context.cpsdocument_notify_modification(comments=comments) 104 if cpsdocument_edit_and_view_button is not None: 105 action = '' 106 psm = 'psm_content_changed' 107 args = {} 46 if app_doc.passport is not None: 47 args['proceed'] = 'Continue to Clearance' 48 psm = 'You successfully uploaded your passport image.' 49 else: 50 psm = "You didn't upload a passport image." 51 elif proceed: 52 if is_valid: 53 action = "/request_clearance" 108 54 else: 109 55 psm = 'psm_content_error' 110 args = getFormUidUrlArg(REQUEST)111 112 56 args['portal_status_message'] = psm 113 url = context.absolute_url() + action + '?' + urlencode(args)57 url = app.absolute_url() + action + '?' + urlencode(args) 114 58 REQUEST.RESPONSE.redirect(url) -
WAeUP_SRP/trunk/skins/waeup_student/check_admission.py
r785 r788 5 5 """ 6 6 import DateTime 7 from urllib import urlencode 7 8 current = DateTime.DateTime() 8 9 pr = context.portal_registration 9 10 11 10 type_name = 'StudentApplication' 12 11 ti = context.portal_types[type_name] … … 45 44 elif psm == 'valid': 46 45 s_id = ds.get('s_id') 46 email = ds.get('app_email') 47 47 student = getattr(context.campus.students, s_id) 48 48 review_state = wf.getInfoFor(student,'review_state',None) … … 51 51 return redirect(url) 52 52 pin = str(ds.get('app_ac_pin')) 53 return redirect("%s/logged_in?__ac_name=%s&__ac_password=%s&pin=%s" 54 % (context.absolute_url(),s_id,pin.split('-')[2],pin)) 55 return 53 args = {} 54 args['__ac_name'] = s_id 55 args['__ac_password'] = pin.split('-')[2] 56 args['pin'] = pin 57 args['email'] = email 58 url = "%s/logged_in?%s" % (context.absolute_url(),urlencode(args)) 59 return redirect(url) -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_view.pt
r786 r788 1 1 <tal:block define=" 2 2 info context/getStudentInfo; 3 re s python:info['clear_doc'].renderEditDetailed(request=request,4 schema_id='student_clearance',5 layout_id='student_clearance_fe',6 layout_mode='edit',);7 rendered_main python: res[0];3 rendered_main python:info['clear_doc'].render(request=request, 4 layout_mode = 'edit', 5 schema_id='student_clearance', 6 layout_id='student_clearance_fe', 7 layout_mode='edit',); 8 8 form_action string:clearance_edit; 9 9 edition python:True; 10 creation python:False; 10 11 metadata nothing; 11 12 "> 12 13 <metal:block define-macro="edit_form"> 13 14 <metal:block use-macro="here/content_lib_master/macros/master"> 15 <metal:block fill-slot="style_slot"> 16 <link rel="Stylesheet" type="text/css" href="" 17 tal:attributes="href string:${base_url}document.css" /> 14 18 19 <metal:block define-macro="widgets_javascript"> 20 <!-- XXX this has to move to CPSSchemas --> 21 <style type="text/css" 22 tal:content="string:@import url(${base_url}calendar-win2k-1.css);"></style> 23 <script type="text/javascript" src="calendar.js" 24 tal:attributes="src string:${base_url}calendar.js"></script> 25 <script type="text/javascript" src="lang/calendar-en.js" 26 tal:define="local cpsmcat/getSelectedLanguage" 27 tal:attributes="src string:${base_url}lang/calendar-${local}.js"></script> 28 <script type="text/javascript" src="calendar-setup.js" 29 tal:attributes="src string:${base_url}calendar-setup.js"></script> 30 <script type="text/javascript" src="prototype.js" 31 tal:attributes="src string:${base_url}prototype.js"></script> 32 <script type="text/javascript" src="effects.js" 33 tal:attributes="src string:${base_url}effects.js"></script> 34 <script type="text/javascript" src="controls.js" 35 tal:attributes="src string:${base_url}controls.js"></script> 36 <script type="text/javascript" src="cpsdocument.js" 37 tal:attributes="src string:${base_url}cpsdocument.js"></script> 38 <tal:block condition="python:modules['Products.CPSUtil.integration'].isProductPresent('Products.FCKeditor')"> 39 <script type="text/javascript"> 40 var popup_editor_form = 'popup_fckeditor_form'; 41 var width = 640; 42 var height = 520; 43 </script> 44 </tal:block> 45 <tal:block condition="python:modules['Products.CPSUtil.integration'].isProductPresent('Products.Epoz')"> 46 <script type="text/javascript"> 47 var popup_editor_form = 'popup_rte_form'; 48 var width = 640; 49 var height = 480; 50 </script> 51 </tal:block> 52 <script type="text/javascript"> 53 function popup_rte(input_id, label_edit) { 54 var args, value; 55 value = document.getElementById(input_id).value; 56 args = '?input_id='+input_id+'&label_edit='+escape(label_edit); 57 str_window_features = 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,dependent=1,width=' + width + ',height=' + height; 58 popup = window.open(popup_editor_form + args, input_id, str_window_features); 59 if (!popup.opener) { 60 popup.opener = window; 61 } 62 return false; 63 } 64 </script> 65 </metal:block> 66 </metal:block> 15 67 16 <metal:block fill-slot="header"> 17 <h3> 18 Edit your Clearance Data! 19 </h3> 20 </metal:block> 68 <h1> Edit your clearance Data</h1> 21 69 22 70 <metal:block fill-slot="main"> … … 28 76 <tal:block define="getFormUidHtml nocall:modules/Products.CPSDocument.utils/getFormUidHtml" 29 77 replace="structure python:getFormUidHtml(request)"/> 30 31 78 <input type="hidden" id="button_placeholder" name="button_placeholder" value="" /> 32 79 <div id="rendered_main" tal:content="structure rendered_main"> … … 34 81 </div> 35 82 </div> 36 37 83 <metal:block use-macro="here/cpsdocument_edit_buttons/macros/buttons"/> 38 84 </div> 39 85 </form> 86 <div id="ajax_psm" style="display:none"> 87 ajax feedback 88 </div> 40 89 </metal:block> 41 90 -
WAeUP_SRP/trunk/skins/waeup_student/clearance_pin_form.pt
r766 r788 20 20 <ul> 21 21 <li>Buy a Clearance Scratch Card.</li> 22 <li>Enter your JAMB registration number and the Clearance PIN above.</li>23 <li>Upload your passport picture.</li>24 22 <li>Apply</li> 25 23 </ul> -
WAeUP_SRP/trunk/skins/waeup_student/defer_view.pt
r785 r788 30 30 <table tal:define="sc python: info['course_doc']"> 31 31 <tr> 32 <td tal:content="sc/title" /> <td>ID: <span tal:content="sc/study_course" /></td> 33 </tr> 34 <tr> 32 35 <td tal:content="sc/title" /> <td tal:content="sc/study_course" /> 33 36 </tr> 34 37 </table> 35 <span tal:condition="python:0" tal:omit-tag=""36 tal:content="structure python: info['course_doc'].render(proxy=info['course_doc'],37 layout_mode='view_student_course',38 layout_id='student_study_course')"39 />40 38 41 39 <form action="." method="post" class="group" … … 51 49 (cpsmcat('confirm that you defer'), )" 52 50 /> 53 <input type="submit" name=" request_clearance:method"54 class="context" value=" request Clearance"51 <input type="submit" name="application_edit:method" 52 class="context" value="upload Passport" 55 53 /> 56 54 </td> -
WAeUP_SRP/trunk/skins/waeup_student/layout_application_edit.pt
r710 r788 6 6 ds options/datastructure; 7 7 dm ds/getDataModel; 8 formaction options/formaction|string: student_edit;8 formaction options/formaction|string:application_edit; 9 9 creation creation|nothing; 10 10 metadata metadata|nothing; … … 12 12 ti python:type_name and getattr(here.portal_types,type_name,None) or getattr(here.portal_types,here.portal_type,None); 13 13 cpsmcat nocall:here/translation_service; 14 apply request/apply_button|nothing;14 proceed options/proceed|nothing; 15 15 widgets python:context.getRenderedWidgets(layout); 16 16 "> … … 121 121 id="cpsdocument_edit_button" 122 122 tal:condition="not:creation" /> 123 <input type="submit" class="standalone" name=" apply_admission"123 <input type="submit" class="standalone" name="proceed" 124 124 value="apply for admission" 125 125 id="cpsdocument_edit_and_view_button" 126 tal:condition=" apply"127 tal:attributes="value apply"/>126 tal:condition="proceed" 127 tal:attributes="value proceed"/> 128 128 <input type="submit" 129 129 class="standalone" -
WAeUP_SRP/trunk/skins/waeup_student/student_index.py
r785 r788 33 33 return redirect("%s/application_view" % student.absolute_url()) 34 34 elif state in ('application_pin_entered',): 35 return redirect("%s/application_edit" % student.absolute_url())35 return redirect("%s/application_edit" % info['app'].absolute_url()) 36 36 elif state in ('admitted',): 37 37 return redirect("%s/defer_view" % student.absolute_url())
Note: See TracChangeset for help on using the changeset viewer.