Changeset 423


Ignore:
Timestamp:
25 Aug 2006, 17:19:21 (18 years ago)
Author:
joachim
Message:

addopted studentimport to new schemas,

Location:
WAeUP_SRP/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Students.py

    r422 r423  
    2323def generateStudentId():
    2424    import random
    25     r = random.random()
    26     return "%c%d" % (r.choice('ABCDEFGIJHKLMNOPQRSTUVWXYZ'),r.randint(99999,1000000))
     25    r = random
     26    return "%c%d" % (r.choice('ABCDEFGHKLMNPQRSTUVWXY'),r.randint(99999,1000000))
    2727   
    2828   
     
    5959        for s in l:
    6060            matrics.append(s.getObject().getContent().matric_no)
     61        print matrics
    6162        l = self.portal_catalog({'meta_type': "Certificate"})
    6263        certs = {}
     
    167168                tr_count = 0
    168169            tr_count += 1
     170        return self.REQUEST.RESPONSE.redirect("%s" % self.REQUEST.get('URL1'))
    169171        return self.students.academics_contents()
    170172    ###)
     
    391393###)
    392394
     395class StudentClearance(CPSDocument): ###(
     396    """
     397    WAeUP Student container for the various student data
     398    """
     399    meta_type = 'StudentClearance'
     400    portal_type = meta_type
     401    security = ClassSecurityInfo()
     402
     403    security.declareProtected(View,"Title")
     404    def Title(self):
     405        """compose title"""
     406        content = self.getContent()
     407        #return "Clearance Data for %s %s" % (content.firstname,content.lastname)
     408        return "Clearance Data"
     409
     410
     411InitializeClass(StudentClearance)
     412
     413def addStudentClearance(container, id, REQUEST=None, **kw):
     414    """Add a Students personal data."""
     415    ob = StudentClearance(id, **kw)
     416    return CPSBase_adder(container, ob, REQUEST=REQUEST)
     417
     418###)
     419
    393420class StudentStudyCourse(CPSDocument): ###(
    394421    """
     
    415442###)
    416443
    417 class StudentEligibility(CPSDocument): ###(
     444class StudentAdmission(CPSDocument): ###(
    418445    """
    419446    WAeUP Student container for the various student data
    420447    """
    421     meta_type = 'StudentEligibility'
    422     portal_type = meta_type
    423     security = ClassSecurityInfo()
    424 
    425     security.declareProtected(View,"Title")
    426     def Title(self):
    427         """compose title"""
    428         return "Eligibility Data"
    429 
    430 
    431 InitializeClass(StudentEligibility)
    432 
    433 def addStudentEligibility(container, id, REQUEST=None, **kw):
     448    meta_type = 'StudentAdmission'
     449    portal_type = meta_type
     450    security = ClassSecurityInfo()
     451
     452    security.declareProtected(View,"Title")
     453    def Title(self):
     454        """compose title"""
     455        return "Admission Data"
     456
     457
     458InitializeClass(StudentAdmission)
     459
     460def addStudentAdmission(container, id, REQUEST=None, **kw):
    434461    """Add a Students eligibility data."""
    435     ob = StudentEligibility(id, **kw)
     462    ob = StudentAdmission(id, **kw)
    436463    return CPSBase_adder(container, ob, REQUEST=REQUEST)
    437464
  • WAeUP_SRP/trunk/__init__.py

    r362 r423  
    2929from Products.WAeUP_SRP.Students import Student, addStudent
    3030from Products.WAeUP_SRP.Students import StudentStudyCourse, addStudentStudyCourse
     31from Products.WAeUP_SRP.Students import StudentAdmission, addStudentAdmission
     32from Products.WAeUP_SRP.Students import StudentClearance, addStudentClearance
    3133from Products.WAeUP_SRP.Students import StudentPersonal, addStudentPersonal
    32 from Products.WAeUP_SRP.Students import StudentEligibility, addStudentEligibility
    3334from Products.WAeUP_SRP.Students import StudentDocuments, addStudentDocuments
    3435from Products.WAeUP_SRP.Students import Jamb, addJamb
     
    5455    Student,
    5556    StudentStudyCourse,
     57    StudentAdmission,
     58    StudentClearance,
    5659    StudentPersonal,
    57     StudentEligibility,
    5860    StudentDocuments,
    5961    Jamb,
     
    7779    addStudent,
    7880    addStudentStudyCourse,
     81    addStudentAdmission,
     82    addStudentClearance,
    7983    addStudentPersonal,
    80     addStudentEligibility,
    8184    addStudentDocuments,
    8285    addJamb,
     
    100103    {}, # Student,
    101104    {}, # StudentStudyCourse,
     105    {}, # StudentAdmission,
     106    {}, # StudentClearance,
     107    {}, # StudentAdmission,
     108    {}, # StudentClearance,
    102109    {}, # StudentPersonal,
    103     {}, # StudentEligibility,
    104110    {}, # StudentDocuments,
    105111    {}, # Jamb,
  • WAeUP_SRP/trunk/profiles/default/layouts/student_personal.xml

    r421 r423  
    77 <property name="flexible_widgets"/>
    88 <property name="validate_values_expr"></property>
    9 
     9 <widget name="campus_address" meta_type="String Widget">
     10  <property name="title">Campus Address</property>
     11  <property name="fields">
     12   <element value="campus_address"/>
     13  </property>
     14  <property name="label">Campus Address</property>
     15  <property name="label_edit">Campus Address</property>
     16  <property name="readonly_layout_modes"/>
     17  <property name="hidden_layout_modes"/>
     18  <property name="hidden_readonly_layout_modes"/>
     19 </widget>
     20 <widget name="disabled" meta_type="Boolean Widget">
     21  <property name="title">Disabled</property>
     22  <property name="fields">
     23   <element value="disabled"/>
     24  </property>
     25  <property name="readonly_layout_modes"/>
     26  <property name="hidden_layout_modes"/>
     27  <property name="hidden_readonly_layout_modes"/>
     28  <property name="label_false">yes</property>
     29  <property name="label_true">no</property>
     30 </widget>
    1031 <widget name="firstname" meta_type="String Widget">
    1132  <property name="title">First Name</property>
     
    2041  <property name="hidden_readonly_layout_modes"/>
    2142 </widget>
    22 
    23 
     43 <widget name="for_lga" meta_type="String Widget">
     44  <property name="title">Foreign Student Local Government Area</property>
     45  <property name="fields">
     46   <element value="for_lga"/>
     47  </property>
     48  <property name="label">Foreign Student Local Government Area</property>
     49  <property name="label_edit">Foreign Student Local Government Area</property>
     50  <property name="readonly_layout_modes"/>
     51  <property name="hidden_layout_modes"/>
     52  <property name="hidden_readonly_layout_modes"/>
     53 </widget>
     54 <widget name="for_state" meta_type="String Widget">
     55  <property name="title">Foreign Student State</property>
     56  <property name="fields">
     57   <element value="for_state"/>
     58  </property>
     59  <property name="label">Foreign Student State</property>
     60  <property name="label_edit">Foreign Student State</property>
     61  <property name="readonly_layout_modes"/>
     62  <property name="hidden_layout_modes"/>
     63  <property name="hidden_readonly_layout_modes"/>
     64 </widget>
     65 <widget name="for_state_old" meta_type="Select Widget">
     66  <property name="title">Foreign Student State</property>
     67  <property name="fields">
     68   <element value="for_state"/>
     69  </property>
     70  <property name="label">Foreign Student State</property>
     71  <property name="label_edit">Foreign Student State</property>
     72  <property name="readonly_layout_modes"/>
     73  <property name="hidden_layout_modes"/>
     74  <property name="hidden_readonly_layout_modes"/>
     75  <property name="vocabulary">states</property>
     76 </widget>
     77 <widget name="former_surname" meta_type="String Widget">
     78  <property name="title">Former Surname</property>
     79  <property name="fields">
     80   <element value="former_surname"/>
     81  </property>
     82  <property name="label">Former Surname</property>
     83  <property name="label_edit">Former Surname</property>
     84  <property name="readonly_layout_modes"/>
     85  <property name="hidden_layout_modes"/>
     86  <property name="hidden_readonly_layout_modes"/>
     87 </widget>
     88 <widget name="fst_best_lang" meta_type="String Widget">
     89  <property name="title">First Best Language</property>
     90  <property name="fields">
     91   <element value="fst_best_lang"/>
     92  </property>
     93  <property name="label">First Best Language</property>
     94  <property name="label_edit">First Best Language</property>
     95  <property name="readonly_layout_modes"/>
     96  <property name="hidden_layout_modes"/>
     97  <property name="hidden_readonly_layout_modes"/>
     98 </widget>
     99 <widget name="hall" meta_type="String Widget">
     100  <property name="title">Residence Hall on Campus</property>
     101  <property name="fields">
     102   <element value="hall"/>
     103  </property>
     104  <property name="label">Residence Hall on Campus</property>
     105  <property name="label_edit">Residence Hall on Campus</property>
     106  <property name="readonly_layout_modes"/>
     107  <property name="hidden_layout_modes"/>
     108  <property name="hidden_readonly_layout_modes"/>
     109 </widget>
     110 <widget name="lastname" meta_type="String Widget">
     111  <property name="title">Lastname</property>
     112  <property name="fields">
     113   <element value="lastname"/>
     114  </property>
     115  <property name="label">Lastname</property>
     116  <property name="label_edit">Lastname</property>
     117  <property name="readonly_layout_modes"/>
     118  <property name="hidden_layout_modes"/>
     119  <property name="hidden_readonly_layout_modes"/>
     120 </widget>
     121 <widget name="marit_stat" meta_type="Boolean Widget">
     122  <property name="title">Marital Status</property>
     123  <property name="fields">
     124   <element value="marit_stat"/>
     125  </property>
     126  <property name="label">Marital Status</property>
     127  <property name="label_edit">Marital Status</property>
     128  <property name="readonly_layout_modes"/>
     129  <property name="hidden_layout_modes"/>
     130  <property name="hidden_readonly_layout_modes"/>
     131  <property name="label_false">singe</property>
     132  <property name="label_true">married</property>
     133 </widget>
    24134 <widget name="middlename" meta_type="String Widget">
    25135  <property name="title">Middle Name</property>
     
    33143  <property name="hidden_readonly_layout_modes"/>
    34144 </widget>
    35 
    36  <widget name="lastname" meta_type="String Widget">
    37   <property name="title">Lastname</property>
    38   <property name="fields">
    39    <element value="lastname"/>
    40   </property>
    41   <property name="label">Lastname</property>
    42   <property name="label_edit">Lastname</property>
    43   <property name="readonly_layout_modes"/>
    44   <property name="hidden_layout_modes"/>
    45   <property name="hidden_readonly_layout_modes"/>
    46  </widget>
    47 
    48   <widget name="former_surname" meta_type="String Widget">
    49   <property name="title">Former Surname</property>
    50   <property name="fields">
    51    <element value="former_surname"/>
    52   </property>
    53   <property name="label">Former Surname</property>
    54   <property name="label_edit">Former Surname</property>
    55   <property name="readonly_layout_modes"/>
    56   <property name="hidden_layout_modes"/>
    57   <property name="hidden_readonly_layout_modes"/>
    58  </widget>
    59 
    60 
     145 <widget name="mother_tongue" meta_type="String Widget">
     146  <property name="title">Mother Tongue</property>
     147  <property name="fields">
     148   <element value="mother_tongue"/>
     149  </property>
     150  <property name="label">Mother Tongue</property>
     151  <property name="label_edit">Mother Tongue</property>
     152  <property name="readonly_layout_modes"/>
     153  <property name="hidden_layout_modes"/>
     154  <property name="hidden_readonly_layout_modes"/>
     155 </widget>
     156 <widget name="next_kin_address" meta_type="String Widget">
     157  <property name="title">Next of Kin Address</property>
     158  <property name="fields">
     159   <element value="next_kin_address"/>
     160  </property>
     161  <property name="label">Next of Kin Address</property>
     162  <property name="label_edit">Next of Kin Address</property>
     163  <property name="readonly_layout_modes"/>
     164  <property name="hidden_layout_modes"/>
     165  <property name="hidden_readonly_layout_modes"/>
     166 </widget>
     167 <widget name="next_kin_city" meta_type="String Widget">
     168  <property name="title">Next of Kin City</property>
     169  <property name="fields">
     170   <element value="next_kin_city"/>
     171  </property>
     172  <property name="label">Next of Kin City</property>
     173  <property name="label_edit">Next of Kin City</property>
     174  <property name="readonly_layout_modes"/>
     175  <property name="hidden_layout_modes"/>
     176  <property name="hidden_readonly_layout_modes"/>
     177 </widget>
     178 <widget name="next_kin_email" meta_type="String Widget">
     179  <property name="title">Next of Kin Email</property>
     180  <property name="fields">
     181   <element value="next_kin_email"/>
     182  </property>
     183  <property name="label">Next of Kin Email</property>
     184  <property name="label_edit">Next of Kin Email</property>
     185  <property name="readonly_layout_modes"/>
     186  <property name="hidden_layout_modes"/>
     187  <property name="hidden_readonly_layout_modes"/>
     188 </widget>
     189 <widget name="next_kin_firstname" meta_type="String Widget">
     190  <property name="title">Next of Kin Firstname</property>
     191  <property name="fields">
     192   <element value="next_kin_firstname"/>
     193  </property>
     194  <property name="label">Next of Kin Firstname</property>
     195  <property name="label_edit">Next of Kin Firstname</property>
     196  <property name="readonly_layout_modes"/>
     197  <property name="hidden_layout_modes"/>
     198  <property name="hidden_readonly_layout_modes"/>
     199 </widget>
     200 <widget name="next_kin_lastname" meta_type="String Widget">
     201  <property name="title">Next of Kin Lastname</property>
     202  <property name="fields">
     203   <element value="next_kin_lastname"/>
     204  </property>
     205  <property name="label">Next of Kin Lastname</property>
     206  <property name="label_edit">Next of Kin Lastname</property>
     207  <property name="readonly_layout_modes"/>
     208  <property name="hidden_layout_modes"/>
     209  <property name="hidden_readonly_layout_modes"/>
     210 </widget>
     211 <widget name="next_kin_middlename" meta_type="String Widget">
     212  <property name="title">Next of Kin Middlename</property>
     213  <property name="fields">
     214   <element value="next_kin_middlename"/>
     215  </property>
     216  <property name="label">Next of Kin Middlename</property>
     217  <property name="label_edit">Next of Kin Middlename</property>
     218  <property name="readonly_layout_modes"/>
     219  <property name="hidden_layout_modes"/>
     220  <property name="hidden_readonly_layout_modes"/>
     221 </widget>
     222 <widget name="next_kin_phone" meta_type="String Widget">
     223  <property name="title">Next of Kin Phone</property>
     224  <property name="fields">
     225   <element value="next_kin_phone"/>
     226  </property>
     227  <property name="label">Next of Kin Phone</property>
     228  <property name="label_edit">Next of Kin Phone</property>
     229  <property name="readonly_layout_modes"/>
     230  <property name="hidden_layout_modes"/>
     231  <property name="hidden_readonly_layout_modes"/>
     232 </widget>
     233 <widget name="next_kin_relation" meta_type="String Widget">
     234  <property name="title">Next of Kin Relationship</property>
     235  <property name="fields">
     236   <element value="next_kin_relation"/>
     237  </property>
     238  <property name="label">Next of Kin Relationship</property>
     239  <property name="label_edit">Next of Kin Relationship</property>
     240  <property name="readonly_layout_modes"/>
     241  <property name="hidden_layout_modes"/>
     242  <property name="hidden_readonly_layout_modes"/>
     243 </widget>
     244 <widget name="next_kin_state" meta_type="String Widget">
     245  <property name="title">Next of Kin State</property>
     246  <property name="fields">
     247   <element value="next_kin_state"/>
     248  </property>
     249  <property name="label">Next of Kin State</property>
     250  <property name="label_edit">Next of Kin State</property>
     251  <property name="readonly_layout_modes"/>
     252  <property name="hidden_layout_modes"/>
     253  <property name="hidden_readonly_layout_modes"/>
     254 </widget>
     255 <widget name="notes" meta_type="Text Widget">
     256  <property name="title">Notes</property>
     257  <property name="fields">
     258   <element value="notes"/>
     259  </property>
     260  <property name="label">Notes</property>
     261  <property name="label_edit">Notes</property>
     262  <property name="readonly_layout_modes"/>
     263  <property name="hidden_layout_modes"/>
     264  <property name="hidden_readonly_layout_modes"/>
     265 </widget>
     266 <widget name="perm_address" meta_type="String Widget">
     267  <property name="title">Permanent Address</property>
     268  <property name="fields">
     269   <element value="perm_address"/>
     270  </property>
     271  <property name="label">Permanent Address</property>
     272  <property name="label_edit">Permanent Address</property>
     273  <property name="readonly_layout_modes"/>
     274  <property name="hidden_layout_modes"/>
     275  <property name="hidden_readonly_layout_modes"/>
     276 </widget>
     277 <widget name="perm_city" meta_type="String Widget">
     278  <property name="title">City</property>
     279  <property name="fields">
     280   <element value="perm_city"/>
     281  </property>
     282  <property name="label">City</property>
     283  <property name="label_edit">City</property>
     284  <property name="readonly_layout_modes"/>
     285  <property name="hidden_layout_modes"/>
     286  <property name="hidden_readonly_layout_modes"/>
     287 </widget>
     288 <widget name="phone" meta_type="String Widget">
     289  <property name="title">Phone</property>
     290  <property name="fields">
     291   <element value="phone"/>
     292  </property>
     293  <property name="label">Phone</property>
     294  <property name="label_edit">Phone</property>
     295  <property name="readonly_layout_modes"/>
     296  <property name="hidden_layout_modes"/>
     297  <property name="hidden_readonly_layout_modes"/>
     298 </widget>
     299 <widget name="religion" meta_type="Select Widget">
     300  <property name="title">Religion</property>
     301  <property name="fields">
     302   <element value="religion"/>
     303  </property>
     304  <property name="label">Religion</property>
     305  <property name="label_edit">Religion</property>
     306  <property name="readonly_layout_modes"/>
     307  <property name="hidden_layout_modes"/>
     308  <property name="hidden_readonly_layout_modes"/>
     309  <property name="vocabulary">religion</property>
     310 </widget>
     311 <widget name="scd_best_lang" meta_type="String Widget">
     312  <property name="title">Second Best Language</property>
     313  <property name="fields">
     314   <element value="scd_best_lang"/>
     315  </property>
     316  <property name="label">Second Best Language</property>
     317  <property name="label_edit">Second Best Language</property>
     318  <property name="readonly_layout_modes"/>
     319  <property name="hidden_layout_modes"/>
     320  <property name="hidden_readonly_layout_modes"/>
     321 </widget>
    61322 <widget name="sex" meta_type="Boolean Widget">
    62323  <property name="title">Sex</property>
     
    72333  <property name="label_true">female</property>
    73334 </widget>
    74 
    75 
    76  <widget name="for_lga" meta_type="String Widget">
    77   <property name="title">Foreign Student Local Government Area</property>
    78   <property name="fields">
    79    <element value="for_lga"/>
    80   </property>
    81   <property name="label">Foreign Student Local Government Area</property>
    82   <property name="label_edit">Foreign Student Local Government Area</property>
    83   <property name="readonly_layout_modes"/>
    84   <property name="hidden_layout_modes"/>
    85   <property name="hidden_readonly_layout_modes"/>
    86  </widget>
    87 
    88  <widget name="for_state" meta_type="Select Widget">
    89   <property name="title">Foreign Student State</property>
    90   <property name="fields">
    91    <element value="for_state"/>
    92   </property>
    93   <property name="label">Foreign Student State</property>
    94   <property name="label_edit">Foreign Student State</property>
    95   <property name="readonly_layout_modes"/>
    96   <property name="hidden_layout_modes"/>
    97   <property name="hidden_readonly_layout_modes"/>
    98   <property name="vocabulary">states</property>
    99  </widget>
    100 
    101  <widget name="marit_stat" meta_type="Boolean Widget">
    102   <property name="title">Marital Status</property>
    103   <property name="fields">
    104    <element value="marit_stat"/>
    105   </property>
    106   <property name="label">Marital Status</property>
    107   <property name="label_edit">Marital Status</property>
    108   <property name="readonly_layout_modes"/>
    109   <property name="hidden_layout_modes"/>
    110   <property name="hidden_readonly_layout_modes"/>
    111   <property name="label_false">singe</property>
    112   <property name="label_true">married</property>
    113  </widget>
    114 
    115  <widget name="religion" meta_type="Select Widget">
    116   <property name="title">Religion</property>
    117   <property name="fields">
    118    <element value="religion"/>
    119   </property>
    120   <property name="label">Religion</property>
    121   <property name="label_edit">Religion</property>
    122   <property name="readonly_layout_modes"/>
    123   <property name="hidden_layout_modes"/>
    124   <property name="hidden_readonly_layout_modes"/>
    125   <property name="vocabulary">religion</property>
    126  </widget>
    127 
    128  <widget name="perm_address" meta_type="String Widget">
    129   <property name="title">Permanent Address</property>
    130   <property name="fields">
    131    <element value="perm_address"/>
    132   </property>
    133   <property name="label">Permanent Address</property>
    134   <property name="label_edit">Permanent Address</property>
    135   <property name="readonly_layout_modes"/>
    136   <property name="hidden_layout_modes"/>
    137   <property name="hidden_readonly_layout_modes"/>
    138  </widget>
    139 
    140  <widget name="perm_city" meta_type="String Widget">
    141   <property name="title">City</property>
    142   <property name="fields">
    143    <element value="perm_city"/>
    144   </property>
    145   <property name="label">City</property>
    146   <property name="label_edit">City</property>
    147   <property name="readonly_layout_modes"/>
    148   <property name="hidden_layout_modes"/>
    149   <property name="hidden_readonly_layout_modes"/>
    150  </widget>
    151 
    152  <widget name="campus_address" meta_type="String Widget">
    153   <property name="title">Campus Address</property>
    154   <property name="fields">
    155    <element value="campus_address"/>
    156   </property>
    157   <property name="label">Campus Address</property>
    158   <property name="label_edit">Campus Address</property>
    159   <property name="readonly_layout_modes"/>
    160   <property name="hidden_layout_modes"/>
    161   <property name="hidden_readonly_layout_modes"/>
    162  </widget>
    163 
    164  <widget name="phone" meta_type="String Widget">
    165   <property name="title">Phone</property>
    166   <property name="fields">
    167    <element value="phone"/>
    168   </property>
    169   <property name="label">Phone</property>
    170   <property name="label_edit">Phone</property>
    171   <property name="readonly_layout_modes"/>
    172   <property name="hidden_layout_modes"/>
    173   <property name="hidden_readonly_layout_modes"/>
    174  </widget>
    175 
    176 
    177  <widget name="next_kin_firstname" meta_type="String Widget">
    178   <property name="title">Next of Kin Firstname</property>
    179   <property name="fields">
    180    <element value="next_kin_firstname"/>
    181   </property>
    182   <property name="label">Next of Kin Firstname</property>
    183   <property name="label_edit">Next of Kin Firstname</property>
    184   <property name="readonly_layout_modes"/>
    185   <property name="hidden_layout_modes"/>
    186   <property name="hidden_readonly_layout_modes"/>
    187  </widget>
    188 
    189 
    190  <widget name="next_kin_middlename" meta_type="String Widget">
    191   <property name="title">Next of Kin Middlename</property>
    192   <property name="fields">
    193    <element value="next_kin_middlename"/>
    194   </property>
    195   <property name="label">Next of Kin Middlename</property>
    196   <property name="label_edit">Next of Kin Middlename</property>
    197   <property name="readonly_layout_modes"/>
    198   <property name="hidden_layout_modes"/>
    199   <property name="hidden_readonly_layout_modes"/>
    200  </widget>
    201 
    202 
    203  <widget name="next_kin_lastname" meta_type="String Widget">
    204   <property name="title">Next of Kin Lastname</property>
    205   <property name="fields">
    206    <element value="next_kin_lastname"/>
    207   </property>
    208   <property name="label">Next of Kin Lastname</property>
    209   <property name="label_edit">Next of Kin Lastname</property>
    210   <property name="readonly_layout_modes"/>
    211   <property name="hidden_layout_modes"/>
    212   <property name="hidden_readonly_layout_modes"/>
    213  </widget>
    214 
    215 
    216  <widget name="next_kin_relation" meta_type="String Widget">
    217   <property name="title">Next of Kin Relationship</property>
    218   <property name="fields">
    219    <element value="next_kin_relation"/>
    220   </property>
    221   <property name="label">Next of Kin Relationship</property>
    222   <property name="label_edit">Next of Kin Relationship</property>
    223   <property name="readonly_layout_modes"/>
    224   <property name="hidden_layout_modes"/>
    225   <property name="hidden_readonly_layout_modes"/>
    226  </widget>
    227 
    228 
    229  <widget name="next_kin_address" meta_type="String Widget">
    230   <property name="title">Next of Kin Address</property>
    231   <property name="fields">
    232    <element value="next_kin_address"/>
    233   </property>
    234   <property name="label">Next of Kin Address</property>
    235   <property name="label_edit">Next of Kin Address</property>
    236   <property name="readonly_layout_modes"/>
    237   <property name="hidden_layout_modes"/>
    238   <property name="hidden_readonly_layout_modes"/>
    239  </widget>
    240 
    241 
    242  <widget name="next_kin_city" meta_type="String Widget">
    243   <property name="title">Next of Kin City</property>
    244   <property name="fields">
    245    <element value="next_kin_city"/>
    246   </property>
    247   <property name="label">Next of Kin City</property>
    248   <property name="label_edit">Next of Kin City</property>
    249   <property name="readonly_layout_modes"/>
    250   <property name="hidden_layout_modes"/>
    251   <property name="hidden_readonly_layout_modes"/>
    252  </widget>
    253 
    254 
    255  <widget name="next_kin_state" meta_type="String Widget">
    256   <property name="title">Next of Kin State</property>
    257   <property name="fields">
    258    <element value="next_kin_state"/>
    259   </property>
    260   <property name="label">Next of Kin State</property>
    261   <property name="label_edit">Next of Kin State</property>
    262   <property name="readonly_layout_modes"/>
    263   <property name="hidden_layout_modes"/>
    264   <property name="hidden_readonly_layout_modes"/>
    265  </widget>
    266 
    267  <widget name="next_kin_email" meta_type="String Widget">
    268   <property name="title">Next of Kin Email</property>
    269   <property name="fields">
    270    <element value="next_kin_email"/>
    271   </property>
    272   <property name="label">Next of Kin Email</property>
    273   <property name="label_edit">Next of Kin Email</property>
    274   <property name="readonly_layout_modes"/>
    275   <property name="hidden_layout_modes"/>
    276   <property name="hidden_readonly_layout_modes"/>
    277  </widget>
    278 
    279  <widget name="next_kin_phone" meta_type="String Widget">
    280   <property name="title">Next of Kin Phone</property>
    281   <property name="fields">
    282    <element value="next_kin_phone"/>
    283   </property>
    284   <property name="label">Next of Kin Phone</property>
    285   <property name="label_edit">Next of Kin Phone</property>
    286   <property name="readonly_layout_modes"/>
    287   <property name="hidden_layout_modes"/>
    288   <property name="hidden_readonly_layout_modes"/>
    289  </widget>
    290 
    291 
     335 <widget name="sponsor_address" meta_type="String Widget">
     336  <property name="title">Sponsor Address</property>
     337  <property name="fields">
     338   <element value="sponsor_address"/>
     339  </property>
     340  <property name="label">Sponsor Address</property>
     341  <property name="label_edit">Sponsor Address</property>
     342  <property name="readonly_layout_modes"/>
     343  <property name="hidden_layout_modes"/>
     344  <property name="hidden_readonly_layout_modes"/>
     345 </widget>
     346 <widget name="sponsor_city" meta_type="String Widget">
     347  <property name="title">Sponsor City</property>
     348  <property name="fields">
     349   <element value="sponsor_city"/>
     350  </property>
     351  <property name="label">Sponsor City</property>
     352  <property name="label_edit">Sponsor City</property>
     353  <property name="readonly_layout_modes"/>
     354  <property name="hidden_layout_modes"/>
     355  <property name="hidden_readonly_layout_modes"/>
     356 </widget>
     357 <widget name="sponsor_email" meta_type="String Widget">
     358  <property name="title">Sponsor Email</property>
     359  <property name="fields">
     360   <element value="sponsor_email"/>
     361  </property>
     362  <property name="label">Sponsor Email</property>
     363  <property name="label_edit">Sponsor Email</property>
     364  <property name="readonly_layout_modes"/>
     365  <property name="hidden_layout_modes"/>
     366  <property name="hidden_readonly_layout_modes"/>
     367 </widget>
    292368 <widget name="sponsor_firstname" meta_type="String Widget">
    293369  <property name="title">Sponsor Firstname</property>
     
    301377  <property name="hidden_readonly_layout_modes"/>
    302378 </widget>
    303 
    304  <field name="sponsor_middlename" meta_type="CPS String Field"/>
    305 
     379 <widget name="sponsor_lastname" meta_type="String Widget">
     380  <property name="title">Sponsor Lastname</property>
     381  <property name="fields">
     382   <element value="sponsor_lastname"/>
     383  </property>
     384  <property name="label">Sponsor Lastname</property>
     385  <property name="label_edit">Sponsor Lastname</property>
     386  <property name="readonly_layout_modes"/>
     387  <property name="hidden_layout_modes"/>
     388  <property name="hidden_readonly_layout_modes"/>
     389 </widget>
    306390 <widget name="sponsor_middlename" meta_type="String Widget">
    307391  <property name="title">Sponsor Middlename</property>
     
    315399  <property name="hidden_readonly_layout_modes"/>
    316400 </widget>
    317 
    318 
    319  <widget name="sponsor_lastname" meta_type="String Widget">
    320   <property name="title">Sponsor Lastname</property>
    321   <property name="fields">
    322    <element value="sponsor_lastname"/>
    323   </property>
    324   <property name="label">Sponsor Lastname</property>
    325   <property name="label_edit">Sponsor Lastname</property>
    326   <property name="readonly_layout_modes"/>
    327   <property name="hidden_layout_modes"/>
    328   <property name="hidden_readonly_layout_modes"/>
    329  </widget>
    330 
    331 
    332  <widget name="sponsor_address" meta_type="String Widget">
    333   <property name="title">Sponsor Address</property>
    334   <property name="fields">
    335    <element value="sponsor_address"/>
    336   </property>
    337   <property name="label">Sponsor Address</property>
    338   <property name="label_edit">Sponsor Address</property>
    339   <property name="readonly_layout_modes"/>
    340   <property name="hidden_layout_modes"/>
    341   <property name="hidden_readonly_layout_modes"/>
    342  </widget>
    343 
    344 
    345  <widget name="sponsor_city" meta_type="String Widget">
    346   <property name="title">Sponsor City</property>
    347   <property name="fields">
    348    <element value="sponsor_city"/>
    349   </property>
    350   <property name="label">Sponsor City</property>
    351   <property name="label_edit">Sponsor City</property>
    352   <property name="readonly_layout_modes"/>
    353   <property name="hidden_layout_modes"/>
    354   <property name="hidden_readonly_layout_modes"/>
    355  </widget>
    356 
    357 
     401 <widget name="sponsor_phone" meta_type="String Widget">
     402  <property name="title">Sponsor Phone</property>
     403  <property name="fields">
     404   <element value="sponsor_phone"/>
     405  </property>
     406  <property name="label">Sponsor Phone</property>
     407  <property name="label_edit">Sponsor Phone</property>
     408  <property name="readonly_layout_modes"/>
     409  <property name="hidden_layout_modes"/>
     410  <property name="hidden_readonly_layout_modes"/>
     411 </widget>
    358412 <widget name="sponsor_state" meta_type="String Widget">
    359413  <property name="title">Sponsor State</property>
     
    367421  <property name="hidden_readonly_layout_modes"/>
    368422 </widget>
    369 
    370  <widget name="sponsor_email" meta_type="String Widget">
    371   <property name="title">Sponsor Email</property>
    372   <property name="fields">
    373    <element value="sponsor_email"/>
    374   </property>
    375   <property name="label">Sponsor Email</property>
    376   <property name="label_edit">Sponsor Email</property>
    377   <property name="readonly_layout_modes"/>
    378   <property name="hidden_layout_modes"/>
    379   <property name="hidden_readonly_layout_modes"/>
    380  </widget>
    381 
    382  <widget name="sponsor_phone" meta_type="String Widget">
    383   <property name="title">Sponsor Phone</property>
    384   <property name="fields">
    385    <element value="sponsor_phone"/>
    386   </property>
    387   <property name="label">Sponsor Phone</property>
    388   <property name="label_edit">Sponsor Phone</property>
    389   <property name="readonly_layout_modes"/>
    390   <property name="hidden_layout_modes"/>
    391   <property name="hidden_readonly_layout_modes"/>
    392  </widget>
    393 
    394 
    395  <widget name="fst_best_lang" meta_type="String Widget">
    396   <property name="title">First Best Language</property>
    397   <property name="fields">
    398    <element value="fst_best_lang"/>
    399   </property>
    400   <property name="label">First Best Language</property>
    401   <property name="label_edit">First Best Language</property>
    402   <property name="readonly_layout_modes"/>
    403   <property name="hidden_layout_modes"/>
    404   <property name="hidden_readonly_layout_modes"/>
    405  </widget>
    406 
    407 
    408  <widget name="scd_best_lang" meta_type="String Widget">
    409   <property name="title">Second Best Language</property>
    410   <property name="fields">
    411    <element value="scd_best_lang"/>
    412   </property>
    413   <property name="label">Second Best Language</property>
    414   <property name="label_edit">Second Best Language</property>
    415   <property name="readonly_layout_modes"/>
    416   <property name="hidden_layout_modes"/>
    417   <property name="hidden_readonly_layout_modes"/>
    418  </widget>
    419 
    420 
    421  <widget name="mother_tongue" meta_type="String Widget">
    422   <property name="title">Mother Tongue</property>
    423   <property name="fields">
    424    <element value="mother_tongue"/>
    425   </property>
    426   <property name="label">Mother Tongue</property>
    427   <property name="label_edit">Mother Tongue</property>
    428   <property name="readonly_layout_modes"/>
    429   <property name="hidden_layout_modes"/>
    430   <property name="hidden_readonly_layout_modes"/>
    431  </widget>
    432 
    433  <widget name="hall" meta_type="String Widget">
    434   <property name="title">Residence Hall on Campus</property>
    435   <property name="fields">
    436    <element value="hall"/>
    437   </property>
    438   <property name="label">Residence Hall on Campus</property>
    439   <property name="label_edit">Residence Hall on Campus</property>
    440   <property name="readonly_layout_modes"/>
    441   <property name="hidden_layout_modes"/>
    442   <property name="hidden_readonly_layout_modes"/>
    443  </widget>
    444 
    445  <widget name="disabled" meta_type="Boolean Widget">
    446   <property name="title">Disabled</property>
    447   <property name="fields">
    448    <element value="disabled"/>
    449   </property>
    450   <property name="label"></property>
    451   <property name="label_edit"></property>
    452   <property name="readonly_layout_modes"/>
    453   <property name="hidden_layout_modes"/>
    454   <property name="hidden_readonly_layout_modes"/>
    455   <property name="label_false">yes</property>
    456   <property name="label_true">no</property>
    457  </widget>
    458 
    459  <widget name="notes" meta_type="Text Widget">
    460   <property name="title">Notes</property>
    461   <property name="fields">
    462    <element value="notes"/>
    463   </property>
    464   <property name="label">Notes</property>
    465   <property name="label_edit">Notes</property>
    466   <property name="readonly_layout_modes"/>
    467   <property name="hidden_layout_modes"/>
    468   <property name="hidden_readonly_layout_modes"/>
    469  </widget>
    470 
    471423 <table>
    472424  <row>
     
    578530   <cell name="notes"/>
    579531  </row>
    580 
    581532 </table>
    582533</object>
  • WAeUP_SRP/trunk/profiles/default/vocabularies.xml

    r290 r423  
    1414 <object name="range50" meta_type="CPS Vocabulary"/>
    1515 <object name="semester_voc" meta_type="CPS Vocabulary"/>
     16 <object name="local_gov_areas" meta_type="CPS Vocabulary"/>
    1617 </object>
  • WAeUP_SRP/trunk/profiles/default/vocabularies/local_gov_areas.xml

    r421 r423  
    677677    <item key="ondo_owo" msgid="">Ondo / Owo</item>
    678678    <item key="osun_atakumosa" msgid="">Osun / Atakumosa</item>
    679     <item key="osun_atakumosa_east"_selected>osun_atakumosa_east" msgid=""></item>
     679    <item key="osun_atakumosa_east" msgid="">Osun / Atakumosa East</item>
    680680    <item key="osun_ayeda-ade" msgid="">Osun / Ayeda-Ade</item>
    681681    <item key="osun_ayedire" msgid="">Osun / Ayedire</item>
Note: See TracChangeset for help on using the changeset viewer.