Index: /WAeUP-SRP/trunk/__init__.py
===================================================================
--- /WAeUP-SRP/trunk/__init__.py	(revision 273)
+++ /WAeUP-SRP/trunk/__init__.py	(revision 274)
@@ -14,23 +14,23 @@
 import PatchCPSDefaultImportExport
 
-import Products.WAeUP.WAeUPPermissions
-from Products.WAeUP.University import University, addUniversity
-from Products.WAeUP.Accommodation import AccoFolder, addAccoFolder
-from Products.WAeUP.Accommodation import Accommodation, addAccommodation
-#from Products.WAeUP.Academics import SCFolder, addSCFolder
-from Products.WAeUP.Academics import Certificate, addCertificate
-from Products.WAeUP.Academics import CertificateCourse, addCertificateCourse
-from Products.WAeUP.Academics import Faculty, addFaculty
-from Products.WAeUP.Academics import Department, addDepartment
-from Products.WAeUP.Academics import Course, addCourse
-from Products.WAeUP.Academics import CourseTicket, addCourseTicket
-from Products.WAeUP.Academics import CertificateCourse, addCertificateCourse
-from Products.WAeUP.Students import Student, addStudent
-from Products.WAeUP.Students import StudentPersonal, addStudentPersonal
-from Products.WAeUP.Students import StudentEligibility, addStudentEligibility
-from Products.WAeUP.Students import StudentDocuments, addStudentDocuments
-from Products.WAeUP.Students import Jamb, addJamb
-from Products.WAeUP.Students import StudyLevel, addStudyLevel
-from Products.WAeUP.Students import Semester, addSemester
+import Products.WAeUP_SRP.WAeUPPermissions
+from Products.WAeUP_SRP.University import University, addUniversity
+from Products.WAeUP_SRP.Accommodation import AccoFolder, addAccoFolder
+from Products.WAeUP_SRP.Accommodation import Accommodation, addAccommodation
+#from Products.WAeUP_SRP.Academics import SCFolder, addSCFolder
+from Products.WAeUP_SRP.Academics import Certificate, addCertificate
+from Products.WAeUP_SRP.Academics import CertificateCourse, addCertificateCourse
+from Products.WAeUP_SRP.Academics import Faculty, addFaculty
+from Products.WAeUP_SRP.Academics import Department, addDepartment
+from Products.WAeUP_SRP.Academics import Course, addCourse
+from Products.WAeUP_SRP.Academics import CourseTicket, addCourseTicket
+from Products.WAeUP_SRP.Academics import CertificateCourse, addCertificateCourse
+from Products.WAeUP_SRP.Students import Student, addStudent
+from Products.WAeUP_SRP.Students import StudentPersonal, addStudentPersonal
+from Products.WAeUP_SRP.Students import StudentEligibility, addStudentEligibility
+from Products.WAeUP_SRP.Students import StudentDocuments, addStudentDocuments
+from Products.WAeUP_SRP.Students import Jamb, addJamb
+from Products.WAeUP_SRP.Students import StudyLevel, addStudyLevel
+from Products.WAeUP_SRP.Students import Semester, addSemester
 
 
@@ -113,8 +113,8 @@
     profile_registry.registerProfile(
         'default',
-        'WAeUP',
+        'WAeUP_SRP',
         "The WestAfrican e-University Project",
         'profiles/default',
-        'WAeUP',
+        'WAeUP_SRP',
         EXTENSION,
         for_=ICPSSite)
Index: /WAeUP-SRP/trunk/exportimport.py
===================================================================
--- /WAeUP-SRP/trunk/exportimport.py	(revision 273)
+++ /WAeUP-SRP/trunk/exportimport.py	(revision 274)
@@ -30,5 +30,5 @@
 from Products.GenericSetup.interfaces import IBody
 from Products.GenericSetup.interfaces import ISetupEnviron
-from Products.WAeUP.interfaces import IWAeUPTool
+from Products.WAeUP_SRP.interfaces import IWAeUPTool
 import Globals
 p_home = Globals.package_home(globals())
Index: /WAeUP-SRP/trunk/interfaces.py
===================================================================
--- /WAeUP-SRP/trunk/interfaces.py	(revision 273)
+++ /WAeUP-SRP/trunk/interfaces.py	(revision 274)
@@ -14,4 +14,4 @@
 
 class IWAeUPTool(Interface):
-    """WAeUP.
+    """WAeUP_SRP
     """
Index: /WAeUP-SRP/trunk/profiles/default/export_steps.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/export_steps.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/export_steps.xml	(revision 274)
@@ -2,7 +2,7 @@
 <export-steps>
  <export-step id="waeup"
-              handler="Products.WAeUP.exportimport.exportWAeUP"
+              handler="Products.WAeUP_SRP.exportimport.exportWAeUP"
               title="WAeUP">
-  Export WAeUP and it's configuration.
+  Export WAeUP_SRP and it's configuration.
  </export-step>
 </export-steps>
Index: /WAeUP-SRP/trunk/profiles/default/import_steps.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/import_steps.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/import_steps.xml	(revision 274)
@@ -2,8 +2,8 @@
 <import-steps>
  <import-step id="waeup" version="20060115-01"
-              handler="Products.WAeUP.exportimport.importWAeUP"
+              handler="Products.WAeUP_SRP.exportimport.importWAeUP"
               title="WAeUP">
   <dependency step="toolset" />
-  Import WAeUP and its configuration.
+  Import WAeUP_SRP and its configuration.
  </import-step>
 </import-steps>
Index: /WAeUP-SRP/trunk/profiles/default/skins.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/skins.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/skins.xml	(revision 274)
@@ -4,9 +4,9 @@
    request_varname="portal_skin">
  <object name="waeup_default" meta_type="Filesystem Directory View"
-    directory="WAeUP/skins/waeup_default"/>
+    directory="WAeUP_SRP/skins/waeup_default"/>
  <object name="waeup_faculty" meta_type="Filesystem Directory View"
-    directory="WAeUP/skins/waeup_faculty"/>
+    directory="WAeUP_SRP/skins/waeup_faculty"/>
  <object name="waeup_student" meta_type="Filesystem Directory View"
-    directory="WAeUP/skins/waeup_student"/>
+    directory="WAeUP_SRP/skins/waeup_student"/>
  <skin-path name="CPSSkins">
   <layer name="waeup_default" insert-after="custom"/>
Index: /WAeUP-SRP/trunk/profiles/default/types/AccoFolder.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/AccoFolder.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/AccoFolder.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon"></property>
  <property name="content_meta_type">AccoFolder</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addAccoFolder</property>
  <property name="immediate_view">folder_view</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/Accommodation.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/Accommodation.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/Accommodation.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon">student.gif</property>
  <property name="content_meta_type">Accommodation</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addAccommodation</property>
  <property name="immediate_view">cpsdocument_view</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/Certificate.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/Certificate.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/Certificate.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon"></property>
  <property name="content_meta_type">Certificate</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addCertificate</property>
  <property name="immediate_view">folder_view</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/CertificateCourse.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/CertificateCourse.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/CertificateCourse.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon"></property>
  <property name="content_meta_type">CertificateCourse</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addCertificateCourse</property>
  <property name="immediate_view">cpsdocument_view</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/Course.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/Course.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/Course.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon">student.gif</property>
  <property name="content_meta_type">Course</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addCourse</property>
  <property name="immediate_view">cpsdocument_view</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/CourseTicket.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/CourseTicket.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/CourseTicket.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon"></property>
  <property name="content_meta_type">CourseTicket</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addCourseTicket</property>
  <property name="immediate_view">cpsdocument_view</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/Department.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/Department.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/Department.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon"></property>
  <property name="content_meta_type">Department</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addDepartment</property>
  <property name="immediate_view">folder_view</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/Faculty.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/Faculty.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/Faculty.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon"></property>
  <property name="content_meta_type">Faculty</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addFaculty</property>
  <property name="immediate_view">folder_view</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/Jamb.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/Jamb.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/Jamb.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon"></property>
  <property name="content_meta_type">Jamb</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addJamb</property>
  <property name="immediate_view">cpsdocument_view</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/Semester.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/Semester.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/Semester.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon"></property>
  <property name="content_meta_type">Semester</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addSemester</property>
  <property name="immediate_view">folder_view</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/Student.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/Student.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/Student.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon">student.gif</property>
  <property name="content_meta_type">Student</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addStudent</property>
  <property name="immediate_view">folder_view</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/StudentDocuments.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/StudentDocuments.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/StudentDocuments.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon"></property>
  <property name="content_meta_type">StudentDocuments</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addStudentDocuments</property>
  <property name="immediate_view">temporary_view_all</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/StudentEligibility.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/StudentEligibility.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/StudentEligibility.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon"></property>
  <property name="content_meta_type">StudentEligibility</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addStudentEligibility</property>
  <property name="immediate_view">temporary_view_all</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/StudentPersonal.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/StudentPersonal.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/StudentPersonal.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon"></property>
  <property name="content_meta_type">StudentPersonal</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addStudentPersonal</property>
  <property name="immediate_view">temporary_view_all</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/StudyLevel.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/StudyLevel.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/StudyLevel.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon"></property>
  <property name="content_meta_type">StudyLevel</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addStudyLevel</property>
  <property name="immediate_view">folder_view</property>
Index: /WAeUP-SRP/trunk/profiles/default/types/University.xml
===================================================================
--- /WAeUP-SRP/trunk/profiles/default/types/University.xml	(revision 273)
+++ /WAeUP-SRP/trunk/profiles/default/types/University.xml	(revision 274)
@@ -6,5 +6,5 @@
  <property name="content_icon">students_folder.gif</property>
  <property name="content_meta_type">University</property>
- <property name="product">WAeUP</property>
+ <property name="product">WAeUP_SRP</property>
  <property name="factory">addUniversity</property>
  <property name="immediate_view">university_view_all</property>
Index: eUP-SRP/trunk/skins/waeup_default/getWAeUPLayouts.py
===================================================================
--- /WAeUP-SRP/trunk/skins/waeup_default/getWAeUPLayouts.py	(revision 273)
+++ 	(revision )
@@ -1,2430 +1,0 @@
-#-*- mode: python; mode: fold -*-
-##parameters=
-# $Id$
-"""Return custom layouts types."""
-
-##def widget(type = 'String Widget',
-##            'data': {
-##                'title': '',
-##                'fields': ('nr_of_floors',),
-##                'is_required': True,
-##                'label': 'Nr of Floors ',
-##                'label_edit': 'Nr of Floors',
-##                'description': '',
-##                'help': 'Number of floors per block',
-##                'is_i18n': False,
-##                'readonly_layout_modes': [],
-##                'hidden_layout_modes': [],
-##                'hidden_readonly_layout_modes': [],
-##                'hidden_empty': 0,
-##                'hidden_if_expr': '',
-##                'widget_mode_expr': '',
-##                'css_class': '',
-##                'css_class_expr': '',
-##                'javascript_expr': '',
-##                'vocabulary': 'range5',
-##                'translated': False,
-##            },
-##        },
-
-Heading = { ###(
-         'type': 'Heading Widget',
-         'data': {
-                'fields': ['heading'],
-                'level': 1,
-                'is_i18n': 0,
-                'is_required': 1,
-                'label_edit': 'Headline',
-                'help': 'Short Headline',
-                'display_width': 40,
-                'size_max': 200,
-            },
-        }###)
-
-Text = { ###(
-            'type': 'Text Widget',
-            'data': {
-                'fields': ['text'],
-                'is_i18n': 1,
-                'label_edit': 'Text',
-                'label': 'Text',
-                'help': 'Short Description',
-                'css_class': 'description',
-                'width': 72,
-                'height': 5,
-                'render_format': 'text',
-                'hidden_layout_modes': (),
-            },
-        }###)
-
-Title = { ###(
-         'type': 'String Widget',
-         'data': {
-                'fields': ['Title'],
-                'is_i18n': 0,
-                'is_required': 1,
-                'label': 'Title',
-                'label_edit': 'Title',
-                'display_width': 40,
-                'size_max': 200,
-            },
-        }###)
-
-sc_id = { ###(
-        'type': 'String Widget',
-        'data': {
-                'title': 'SC ID',
-                'fields': ('sc_id'),
-                'is_required': False,
-                'label': 'Card Serial Number ',
-                'label_edit': 'Card Serial Number',
-                'description': 'Card Serial Number ',
-                'help': 'This can be found on the bottom right of the reverse side of your Scratch Card',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': 'python:1',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            }
-        }
-###)
-
-sc_pin = { ###(
-         'type': 'Scratchcard Pin Widget',
-         'data': {
-                'title': 'SC PIN',
-                'fields': ('sc_pin'),
-                'is_required': True,
-                'label': 'enter  PIN',
-                'label_edit': 'Enter an Accommodation PIN',
-                'description': '',
-                'help': 'Please enter a PIN valid for Accomodation booking',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-            },
-        }
-###)
-
-sc_value = { ###(
-         'type': 'Float Widget',
-         'data': {
-                'title': 'Scratch card value',
-                'fields': ('sc_value',),
-                'is_required': True,
-                'label': 'SC Value',
-                'label_edit': 'Scratcard Value',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-            },
-        }
-###)
-
-Description = { ###(
-            'type': 'Text Widget',
-            'data': {
-                'fields': ['Description'],
-                'is_i18n': 1,
-                'label_edit': 'Description',
-                'label': 'Description',
-                'css_class': 'description',
-                'width': 72,
-                'height': 5,
-                'render_format': 'text',
-                'hidden_layout_modes': (),
-            },
-        }###)
-
-common_layout = {###(
-    'widgets': {
-        'LanguageSelector': {
-            'type': 'Document Language Select Widget',
-            'data': {
-                'fields': ['Language'],
-            },
-        },
-        'Title': Title,
-        'Description': Description,
-        'LanguageSelectorCreation': {
-            'type': 'Select Widget',
-            'data': {
-                'title': 'Language',
-                'fields': ('Language',),
-                'is_required': 0,
-                'label': 'label_language',
-                'label_edit': 'label_language',
-                'description': '',
-                'help': '',
-                'is_i18n': 0,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': ('create','edit', 'view'),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': 0,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'vocabulary': 'language_voc',
-            },
-        },
-    },
-    'layout': {
-        'style_prefix': 'layout_waeup_',
-        'rows': [
-            #[{'widget_id': 'LanguageSelector'}],
-            [{'widget_id': 'Title'},],
-            [{'widget_id': 'Description'},],
-            #[{'widget_id': 'LanguageSelectorCreation'}],
-            ],
-        },
-    }
-#
-###)
-
-firstname = { ###(
-            'type': 'String Widget',
-            'data': {
-                'title': 'First Name',
-                'fields': ('firstname',),
-                'is_required': False,
-                'label': 'First Name',
-                'label_edit': 'First Name',
-                'description': 'First Name',
-                'help': '',
-                'is_i18n': False,
-                'display_width': 40,
-                },
-            }
-
-###)
-
-middlename = { ###(
-            'type': 'String Widget',
-            'data': {
-                'title': '',
-                'fields': ('middlename',),
-                'is_required': False,
-                'label': 'Middle Name',
-                'label_edit': 'Middle Name',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': True,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 40,
-                'size_max': 0,
-                },
-            }
-
-###)
-
-lastname = { ###(
-            'type': 'String Widget',
-            'data': {
-                'title': '',
-                'fields': ('lastname',),
-                'is_required': False,
-                'label': 'Surname',
-                'label_edit': 'Surname',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 40,
-                'size_max': 0,
-            },
-        }
-
-###)
-
-email = { ###(
-            'type': 'Email Widget',
-            'data': {
-                'title': 'Email',
-                'fields': ('email',),
-                'is_required': True,
-                'label': 'Email',
-                'label_edit': 'Email',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'display_width': 40,
-                },
-            }
-###)
-
-sex = { ###(
-            'type': 'Boolean Widget',
-            'data': {
-                'title': '',
-                'fields': ('sex',),
-                'is_required': False,
-                'label': 'Sex',
-                'label_edit': 'Sex',
-                'label_false': 'male',
-                'label_true': 'female',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 20,
-                'size_max': 0,
-            }
-        }
-
-###)
-
-pw = { ###(
-            'type': 'Password Widget',
-            'data': {
-                'title': 'Password',
-                'fields': ('pw',),
-                'is_required': False,
-                'label': 'New Password',
-                'label_edit': 'New Password',
-                'description': '',
-                'help': 'Enter a New Password',
-                'is_i18n': 0,
-                'readonly_layout_modes': [],
-                'hidden_layout_modes': [],
-                'hidden_readonly_layout_modes': [],
-                'hidden_empty': 0,
-                'hidden_if_expr': '',
-                'widget_mode_expr': '',
-                'css_class': '',
-                'css_class_expr': '',
-                'javascript_expr': '',
-                'display_width': 12,
-                'size_max': 8,
-                'password_widget': '',
-                'check_lower': 0,
-                'check_upper': 0,
-                'check_digit': 0,
-                'check_extra': 0,
-                'size_min': 5,
-            },
-        }###)
-
-rpw = { ###(
-            'type': 'Password Widget',
-            'data': {
-                'title': 'confirm Password',
-                'fields': ('rpw',),
-                'is_required': False,
-                'label': 'Confirm Password',
-                'label_edit': 'Confirm Password',
-                'description': '',
-                'help': 'Confirm the New Password',
-                'is_i18n': False,
-                'display_width': 12,
-                'size_max': 8,
-                'password_widget': 'pw',
-                'check_lower': 0,
-                'check_upper': 0,
-                'check_digit': 0,
-                'check_extra': 0,
-                'size_min': 5,
-                },
-            }###)
-
-username_hidden = { ###(
-            'type': 'String Widget',
-            'data': {
-                'title': 'Username',
-                'fields': ('username',),
-                'hidden_layout_modes': ['create',],
-                },
-            }
-
-###)
-
-student_layout = { ###(
-    'widgets': {
-        'jamb_is_admitted': {
-            'type': 'Boolean Widget',
-            'data': {
-                'title': 'JAMB Admission',
-                'fields': ('jamb_is_admitted',),
-                'is_required': False,
-                'label': 'JAMB Admission',
-                'label_edit': 'JAMB Admission',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },
-
-        'faculty': {
-            'type': 'String Widget',
-            'data': {
-                'title': 'Faculty',
-                'fields': ('faculty',),
-                'is_required': False,
-                'label': 'Faculty',
-                'label_edit': 'Faculty',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },
-        'accommodation': {
-            'type': 'String Widget',
-            'data': {
-                'title': 'Accommodation',
-                'fields': ('accommodation',),
-                'is_required': False,
-                'label': 'Accommodation',
-                'label_edit': 'Accommodation',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },
-        'accommodation_sc_id': { ###(
-            'type': 'String Widget',
-            'data': {
-                'title': 'Accommodation SC ID',
-                'fields': ('accommodation_sc_id',),
-                'is_required': False,
-                'label': 'Accommodation SC ID',
-                'label_edit': 'Accommodation SC ID',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'accommodation_sc_pin': { ###(
-            'type': 'String Widget',
-            'data': {
-                'title': 'Accommodation SC PIN',
-                'fields': ('accommodation_sc_pin',),
-                'is_required': False,
-                'label': 'Accommodation SC PIN',
-                'label_edit': 'Accommodation SC PIN',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'accommodation_sc_value': { ###(
-            'type': 'Float Widget',
-            'data': {
-                'title': 'Accommodation SC Value',
-                'fields': ('accommodation_sc_value',),
-                'is_required': False,
-                'label': 'Accommodation SC Value',
-                'label_edit': 'Accommodation SC Value',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'accommodation_date': { ###(
-            'type': 'DateTime Widget',
-            'data': {
-                'title': 'Accommodation SC PIN',
-                'fields': ('accommodation_date',),
-                'is_required': False,
-                'label': 'Accommodation SC Date',
-                'label_edit': 'Accommodation SC Date',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'hostel_fee_sc_id': { ###(
-            'type': 'String Widget',
-            'data': {
-                'title': 'hostel_fee SC ID',
-                'fields': ('hostel_fee_sc_id',),
-                'is_required': False,
-                'label': 'Hostel Fee SC ID',
-                'label_edit': 'Hostel Fee SC ID',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'hostel_fee_sc_pin': { ###(
-            'type': 'String Widget',
-            'data': {
-                'title': 'hostel_fee SC PIN',
-                'fields': ('hostel_fee_sc_pin',),
-                'is_required': False,
-                'label': 'Hostel Fee SC PIN',
-                'label_edit': 'Hostel Fee SC PIN',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'hostel_fee_sc_value': { ###(
-            'type': 'Float Widget',
-            'data': {
-                'title': 'hostel_fee SC Value',
-                'fields': ('hostel_fee_sc_value',),
-                'is_required': False,
-                'label': 'Hostel Fee SC Value',
-                'label_edit': 'Hostel Fee SC Value',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'hostel_fee_date': { ###(
-            'type': 'DateTime Widget',
-            'data': {
-                'title': 'hostel_fee SC PIN',
-                'fields': ('hostel_fee_date',),
-                'is_required': False,
-                'label': 'Hostel Fee SC Date',
-                'label_edit': 'Hostel Fee SC Date',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'adm_check_sc_id': { ###(
-            'type': 'String Widget',
-            'data': {
-                'title': 'Admission check SC ID',
-                'fields': ('adm_check_sc_id',),
-                'is_required': False,
-                'label': 'Admission check SC ID',
-                'label_edit': 'Admission check SC ID',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'adm_check_sc_pin': { ###(
-            'type': 'String Widget',
-            'data': {
-                'title': 'Admission check SC PIN',
-                'fields': ('adm_check_sc_pin',),
-                'is_required': False,
-                'label': 'Admission check SC PIN',
-                'label_edit': 'Admission check SC PIN',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'adm_check_sc_value': { ###(
-            'type': 'Float Widget',
-            'data': {
-                'title': 'Admission check SC Value',
-                'fields': ('adm_check_sc_value',),
-                'is_required': False,
-                'label': 'Admission check SC Value',
-                'label_edit': 'Admission check SC Value',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'adm_check_date': { ###(
-            'type': 'DateTime Widget',
-            'data': {
-                'title': 'Admission check SC PIN',
-                'fields': ('adm_check_date',),
-                'is_required': False,
-                'label': 'Admission check SC Date',
-                'label_edit': 'Admission check SC Date',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'clearance_sc_id': { ###(
-            'type': 'String Widget',
-            'data': {
-                'title': 'Clearance SC ID',
-                'fields': ('clearance_sc_id',),
-                'is_required': False,
-                'label': 'Clearance SC ID',
-                'label_edit': 'Clearance SC ID',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'clearance_sc_pin': { ###(
-            'type': 'String Widget',
-            'data': {
-                'title': 'clearance SC PIN',
-                'fields': ('clearance_sc_pin',),
-                'is_required': False,
-                'label': 'Clearance SC PIN',
-                'label_edit': 'Clearance SC PIN',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'clearance_sc_value': { ###(
-            'type': 'Float Widget',
-            'data': {
-                'title': 'clearance SC Value',
-                'fields': ('clearance_sc_value',),
-                'is_required': False,
-                'label': 'Clearance SC Value',
-                'label_edit': 'Clearance SC Value',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-        'clearance_date': { ###(
-            'type': 'DateTime Widget',
-            'data': {
-                'title': 'clearance SC PIN',
-                'fields': ('clearance_date',),
-                'is_required': False,
-                'label': 'Clearance SC Date',
-                'label_edit': 'Clearance SC Date',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },###)
-    },
-    'layout': {
-        'style_prefix': 'layout_waeup_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            [{'widget_id': 'adm_check_sc_id', 'ncols': 1},],
-            [{'widget_id': 'adm_check_sc_pin', 'ncols': 1},],
-            [{'widget_id': 'adm_check_sc_value', 'ncols': 1},],
-            [{'widget_id': 'adm_check_date', 'ncols': 1},],
-            [{'widget_id': 'clearance_sc_id', 'ncols': 1},],
-            [{'widget_id': 'clearance_sc_pin', 'ncols': 1},],
-            [{'widget_id': 'clearance_sc_value', 'ncols': 1},],
-            [{'widget_id': 'clearance_date', 'ncols': 1},],
-            [{'widget_id': 'accommodation', 'ncols': 1},],
-            [{'widget_id': 'accommodation_sc_id', 'ncols': 1},],
-            [{'widget_id': 'accommodation_sc_pin', 'ncols': 1},],
-            [{'widget_id': 'accommodation_sc_value', 'ncols': 1},],
-            [{'widget_id': 'accommodation_date', 'ncols': 1},],
-            [{'widget_id': 'hostel_fee_sc_id', 'ncols': 1},],
-            [{'widget_id': 'hostel_fee_sc_pin', 'ncols': 1},],
-            [{'widget_id': 'hostel_fee_sc_value', 'ncols': 1},],
-            [{'widget_id': 'hostel_fee_date', 'ncols': 1},],
-        ]
-    },
-}###)
-
-student_personal_layout = { ###(
-    'widgets': {
-        'firstname': firstname,
-        'middlename': middlename,
-        'lastname': lastname,
-        'email': email,
-        'sex': sex,
-        'birthday': {
-            'type': 'Date Widget',
-            'data': {
-                'title': '',
-                'fields': ('birthday',),
-                'is_required': False,
-                'label': 'Day of birth',
-                'label_edit': 'Day of birth',
-                'description': 'Day of birth',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },
-    },
-    'layout': {
-        'style_prefix': 'layout_personal_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            [{'widget_id': 'firstname', 'ncols': 1},],
-            [{'widget_id': 'middlename', 'ncols': 1},],
-            [{'widget_id': 'lastname', 'ncols': 1},],
-            [{'widget_id': 'email', 'ncols': 1},],
-            [{'widget_id': 'sex', 'ncols': 1},],
-            [{'widget_id': 'birthday', 'ncols': 1},],
-        ]
-    },
-}###)
-
-student_personal_addon = { ###(
-    'widgets': {
-        'firstname': middlename,
-        'middlename': middlename,
-        'lastname': lastname,
-        'sex': sex,
-        'email': email,
-        'username': username_hidden,
-        'pw': pw,
-        'rpw': rpw,
-    },
-    'layout': {
-        'style_prefix': 'layout_eligibility_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            #[{'widget_id': 'firstname', 'ncols': 1},],
-            #[{'widget_id': 'middlename', 'ncols': 1},],
-            #[{'widget_id': 'lastname', 'ncols': 1},],
-            #[{'widget_id': 'username', 'ncols': 1},],
-            [{'widget_id': 'email', 'ncols': 1},],
-            #[{'widget_id': 'pw', 'ncols': 1},],
-            #[{'widget_id': 'rpw', 'ncols': 1},],
-        ]
-    },
-}###)
-
-schoolresults = { ###(
-            'type': 'Ordered List Widget',
-            'data': {
-                'title': '',
-                'fields': ['schoolresults'],
-                'is_required': 0,
-                'label': 'School Results',
-                'label_edit': 'School Results',
-                'description': '',
-                'help': '',
-                'is_i18n': 0,
-                'readonly_layout_modes': [],
-                'hidden_layout_modes': ['create','edit'],
-                'hidden_readonly_layout_modes': [],
-                'hidden_empty': 0,
-                'hidden_if_expr': '',
-                'widget_mode_expr': '',
-                'css_class': '',
-                'css_class_expr': '',
-                'javascript_expr': '',
-                'width': 40,
-                'height': 5,
-                'format_empty': '',
-            },
-        }###)
-
-eli_widgets = { ###(
-        'jamb_results': {
-            'type': 'String Widget',
-            'data': {
-                'title': '',
-                'fields': ('jamb_results',),
-                'is_required': False,
-                'label': 'JAMB Results',
-                'label_edit': 'JAMB Results',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 20,
-                'size_max': 0,
-            },
-        },
-        'jamb_aggregate': {
-            'type': 'String Widget',
-            'data': {
-                'title': 'Aggregate',
-                'fields': ('jamb_aggregate',),
-                'is_required': False,
-                'label': 'JAMB Score',
-                'label_edit': 'JAMB Score',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-            },
-        },
-        'jamb_listing_date': {
-            'type': 'Date Widget',
-            'data': {
-                'title': 'Listing Date',
-                'fields': ('jamb_listing_date',),
-                'is_required': False,
-                'label': 'Listing Date',
-                'label_edit': 'Listing Date',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 3,
-                'size_max': 0,
-            },
-        },
-        'faculty': {
-            'type': 'Select Widget',
-            'data': {
-                'title': 'Faculty',
-                'fields': ('faculty',),
-                'is_required': True,
-                'label': 'Faculty',
-                'label_edit': 'Faculty',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'vocabulary': 'get_faculties_voc',
-            },
-        },
-        'course': {
-            'type': 'Select Widget',
-            'data': {
-                'title': 'Study Course',
-                'fields': ('course',),
-                'is_required': True,
-                'label': 'Study Course',
-                'label_edit': 'Study Course',
-                'description': '',
-                'help': 'The course to study',
-                'vocabulary': 'get_departments_voc',
-                'is_i18n': False,
-            },
-        },
-        'schoolresults': schoolresults,
-    }###)
-
-student_eligibility = { ###(
-    'widgets': eli_widgets,
-    'layout': {
-        'style_prefix': 'layout_waeup_',
-        'layout_edit_method': 'layout_eligibility_create',
-        'layout_create_method': 'layout_eligibility_create',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            #[{'widget_id': 'jamb_results', 'ncols': 1},],
-            [{'widget_id': 'jamb_aggregate', 'ncols': 1},],
-            #[{'widget_id': 'jamb_listing_date', 'ncols': 1},],
-            [{'widget_id': 'faculty', 'ncols': 1},],
-            [{'widget_id': 'course', 'ncols': 1},],
-            [{'widget_id': 'schoolresults', 'ncols': 1},],
-        ]
-    },
-}###)
-
-student_eligibility_edit = { ###(
-    'widgets': eli_widgets,
-    'layout': {
-        'style_prefix': 'layout_eligibility_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            #[{'widget_id': 'jamb_results', 'ncols': 1},],
-            [{'widget_id': 'jamb_aggregate', 'ncols': 1},],
-            #[{'widget_id': 'jamb_listing_date', 'ncols': 1},],
-            [{'widget_id': 'faculty', 'ncols': 1},],
-            [{'widget_id': 'course', 'ncols': 1},],
-            [{'widget_id': 'schoolresults', 'ncols': 1},],
-        ]
-    },
-}###)
-
-student_schoolresults = { ###(
-    'widgets': {
-        'schoolresults': schoolresults,
-    },
-    'layout': {
-        'style_prefix': 'layout_results_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            #[{'widget_id': 'jamb_results', 'ncols': 1},],
-            #[{'widget_id': 'jamb_aggregate', 'ncols': 1},],
-            #[{'widget_id': 'jamb_listing_date', 'ncols': 1},],
-            #[{'widget_id': 'faculty', 'ncols': 1},],
-            #[{'widget_id': 'course', 'ncols': 1},],
-            [{'widget_id': 'schoolresults', 'ncols': 1},],
-        ]
-    },
-}###)
-
-student_documents = { ###(
-    'widgets': {
-        'photo': { ###(
-            'type': 'Photo Widget',
-            'data': {
-                'title': '',
-                'fields': ('photo',),
-                'is_required': False,
-                'label': 'Personal Picture',
-                'label_edit': 'Personal Picture',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'widget_mode_expr': '',
-                'css_class': '',
-                'css_class_expr': '',
-                'javascript_expr': '',
-                'deletable': True,
-                'size_max': 204800,
-                'display_width': 90,
-                'display_height': 180,
-                'allow_resize': True,
-                'render_position': 'left',
-                'configurable': 'nothing',
-                'keep_original': 1,
-            },
-        },###)
-        'birth_certificate': { ###(
-            'type': 'Image Widget',
-            'data': {
-                'title': '',
-                'fields': ('birth_certificate',),
-                'is_required': False,
-                'label': 'Birth Certificate',
-                'label_edit': 'Birth Certificate',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'widget_mode_expr': '',
-                'css_class': '',
-                'css_class_expr': '',
-                'javascript_expr': '',
-                'deletable': True,
-                'size_max': 204800,
-                'display_width': 300,
-                'display_height':600,
-                'allow_resize': True,
-            },
-        },###)
-        'passport': { ###(
-            'type': 'Image Widget',
-            'data': {
-                'title': '',
-                'fields': ('passport',),
-                'is_required': False,
-                'label': 'Scanned Passport',
-                'label_edit': 'Scanned Passport',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'widget_mode_expr': '',
-                'css_class': '',
-                'css_class_expr': '',
-                'javascript_expr': '',
-                'deletable': True,
-                'size_max': 204800,
-                'display_width': 300,
-                'display_height':600,
-                'allow_resize': True,
-            },
-        },###)
-        'results_first': { ###(
-            'type': 'Image Widget',
-            'data': {
-                'title': '',
-                'fields': ('results_first',),
-                'is_required': False,
-                'label': '1st Sitting Results',
-                'label_edit': '1st Sitting Results',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'widget_mode_expr': '',
-                'css_class': '',
-                'css_class_expr': '',
-                'javascript_expr': '',
-                'deletable': True,
-                'size_max': 204800,
-                'display_width': 300,
-                'display_height':600,
-                'allow_resize': True,
-            },
-        },###)
-        'results_second': { ###(
-            'type': 'Image Widget',
-            'data': {
-                'title': '',
-                'fields': ('results_second',),
-                'is_required': False,
-                'label': '2nd Sitting Results',
-                'label_edit': '2nd Sitting Results',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'widget_mode_expr': '',
-                'css_class': '',
-                'css_class_expr': '',
-                'javascript_expr': '',
-                'deletable': True,
-                'size_max': 40960,
-                'display_width': 300,
-                'display_height':600,
-                'allow_resize': True,
-            },
-        },###)
-    },
-    'layout': {
-        'style_prefix': 'layout_personal_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            [{'widget_id': 'photo', 'ncols': 1},],
-            [{'widget_id': 'birth_certificate', 'ncols': 1},],
-            [{'widget_id': 'passport', 'ncols': 1},],
-            [{'widget_id': 'results_first', 'ncols': 1},],
-            [{'widget_id': 'results_second', 'ncols': 1},],
-        ]
-    },
-}
-
-###)
-
-scratch_card = { ###(
-    'widgets': {
-        'sc_id': {
-            'type': 'String Widget',
-            'data': {
-                'title': 'SC ID',
-                'fields': ('sc_id',),
-                'is_required': True,
-                'label': 'Scratch card ID',
-                'label_edit': 'Scratch card ID',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },
-        'sc_pin': {
-            'type': 'Scratchcard Pin Widget',
-            'data': {
-                'title': 'SC PIN',
-                'fields': ('sc_pin'),
-                'is_required': True,
-                'label': 'Scratchcard Pin',
-                'label_edit': 'Scratchcard Pin',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-            },
-        },
-    },
-   'layout': {
-        'style_prefix': 'layout_waeup_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            [{'widget_id': 'reg_nr', 'ncols': 1},],
-            [{'widget_id': 'sc_pin', 'ncols': 1},],
-        ]
-    },
-}
-###)
-
-jamb_id = { ###(
-           'type': 'StudentId Widget',
-           'data': {
-                'title': 'Registration Number',
-                'fields': ('reg_nr'),
-                'is_required': True,
-                'label': 'Registration Number',
-                'label_edit': 'Registration Number',
-                'description': '',
-                'help': 'This is the combination of 8 digits and 2 letters you are assigned when you purchase an examination form.',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-                 },
-           }
-
-###)
-
-admission = { ###(
-    'widgets': {
-        'sc_id': {
-            'type': 'String Widget',
-            'data': {
-                'title': 'SC ID',
-                'fields': ('sc_id',),
-                'is_required': False,
-                'label': 'Card Serial Number ',
-                'label_edit': 'Card Serial Number',
-                'description': 'Card Serial Number ',
-                'help': 'This can be found on the bottom right of the reverse side of your Scratch Card',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },
-        'sc_value': { ###(
-         'type': 'Float Widget',
-         'data': {
-                'title': 'Scratch card value',
-                'fields': ('sc_value',),
-                'is_required': False,
-                'label': 'SC Value',
-                'label_edit': 'Scratcard Value',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': ('create'),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-            },
-        },###)
-        'sc_pin': {
-            'type': 'Scratchcard Pin Widget',
-            'data': {
-                'title': 'SC PIN',
-                'fields': ('sc_pin'),
-                'is_required': True,
-                'label': 'PIN',
-                'label_edit': 'PIN',
-                'description': '',
-                'help': 'PIN-(Personal Identification Number) is an 8 or 12 digit number on the reverse side of the scratch card which you can purchase from many Banks',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-            },
-        },
-        'jamb_id' : jamb_id,
-    },
-   'layout': {
-        'style_prefix': 'layout_sc_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            #[{'widget_id': 'sc_id', 'ncols': 1},],
-            [{'widget_id': 'sc_value', 'ncols': 1},],
-            [{'widget_id': 'sc_pin', 'ncols': 1},],
-            [{'widget_id': 'jamb_id', 'ncols': 1},],
-        ]
-    },
-}
-###)
-
-clearance = { ###(
-    'widgets': {
-        'sc_id': {
-            'type': 'String Widget',
-            'data': {
-                'title': 'SC ID',
-                'fields': ('sc_id',),
-                'is_required': False,
-                'label': 'Card Serial Number ',
-                'label_edit': 'Card Serial Number',
-                'description': 'Card Serial Number ',
-                'help': 'This can be found on the bottom right of the reverse side of your Scratch Card',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': 'python:1',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },
-        'sc_pin': {
-            'type': 'Scratchcard Pin Widget',
-            'data': {
-                'title': 'SC PIN',
-                'fields': ('sc_pin'),
-                'is_required': True,
-                'label': 'PIN',
-                'label_edit': 'PIN',
-                'description': '',
-                'help': 'PIN-(Personal Identification Number) is an 8 or 12 digit number on the reverse side of the scratch card which you can purchase from many Banks',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-            },
-        },
-        'sc_value': { ###(
-         'type': 'Float Widget',
-         'data': {
-                'title': 'Scratch card value',
-                'fields': ('sc_value',),
-                'is_required': False,
-                'label': 'SC Value',
-                'label_edit': 'Scratcard Value',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': ('create'),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-            },
-        },###)
-        'lastname': { ###(
-         'type': 'String Widget',
-         'data': {
-                'title': 'Scratch card value',
-                'fields': ('lastname',),
-                'is_required': False,
-                'label': 'Surname',
-                'label_edit': 'Surname',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': ('create'),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-            },
-        },###)
-        'jamb_id' : jamb_id,
-    },
-   'layout': {
-        'style_prefix': 'layout_sc_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            #[{'widget_id': 'sc_id', 'ncols': 1},],
-            [{'widget_id': 'sc_value', 'ncols': 1},],
-            [{'widget_id': 'sc_pin', 'ncols': 1},],
-            [{'widget_id': 'jamb_id', 'ncols': 1},],
-            #[{'widget_id': 'lastname', 'ncols': 1},],
-        ]
-    },
-}
-###)
-
-admission_status = { ###(
-    'widgets': {
-       'quick_search': {
-            'type': 'String Widget',
-            'data': {
-                'title': 'A search string',
-                'fields': ('admission_sc_id',),
-                'is_required': False,
-                'label': 'Quick Search',
-                'label_edit': 'Quick Search',
-                'description': 'Search',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': 'python:0',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 20,
-                'size_max': 0,
-            },
-        },
-
-    },
-   'layout': {
-        'style_prefix': 'layout_admission_status_',
-        'flexible_widgets': (),
-        'ncols': 2,
-        'rows': [
-            [{'widget_id': 'quick_search', 'ncols': 2},],
-        ]
-    },
-}
-###)
-
-jamb_widgets = { ###(
-        'reg_nr': {
-            'type': 'StudentId Widget',
-            'data': {
-                'title': 'registration nr',
-                'fields': ('reg_nr',),
-                'is_required': True,
-                'label': 'Registration Nr',
-                'label_edit': 'Registration Nr',
-                'description': 'The student id from JAMB',
-                'help': 'The Student ID from JAMB',
-                'is_i18n': False,
-                'display_width': 10,
-                'size_max': 10,
-            },
-        },
-        'firstname': firstname,
-        'middlename': middlename,
-        'lastname': lastname,
-        'age': {
-            'type': 'Int Widget',
-            'data': {
-                'title': '',
-                'fields': ('age',),
-                'is_required': False,
-                'label': 'Age',
-                'label_edit': 'Age',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 2,
-                'size_max': 2,
-            },
-        },
-        'sex': sex,
-        'state': {
-            'type': 'Select Widget',
-            'data': {
-                'title': '',
-                'fields': ('state',),
-                'is_required': False,
-                'label': 'State of Origin',
-                'label_edit': 'State of Origin',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'vocabulary': 'nigerian_states',
-            },
-        },
-        'exam_results': {
-            'type': 'String Widget',
-            'data': {
-                'title': '',
-                'fields': ('exam_results',),
-                'is_required': False,
-                'label': 'JAMB Results',
-                'label_edit': 'JAMB Results',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 20,
-                'size_max': 0,
-            },
-        },
-        'aggregate': {
-            'type': 'String Widget',
-            'data': {
-                'title': 'Agregate',
-                'fields': ('aggregate',),
-                'is_required': False,
-                'label': 'JAMB Score',
-                'label_edit': 'JAMB Score',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-            },
-        },
-        'faculty': {
-            'type': 'Select Widget',
-            'data': {
-                'title': 'Faculty',
-                'fields': ('faculty',),
-                'is_required': True,
-                'label': 'Faculty',
-                'label_edit': 'Faculty',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'vocabulary': 'get_faculties_voc',
-            },
-        },
-        'course': {
-            'type': 'Select Widget',
-            'data': {
-                'title': 'Study Course',
-                'fields': ('course',),
-                'is_required': True,
-                'label': 'Study Course',
-                'label_edit': 'Study Course',
-                'description': '',
-                'help': '',
-                'vocabulary': 'get_departments_voc',
-                'is_i18n': False,
-            },
-        },
-        'listing_date': {
-            'type': 'Date Widget',
-            'data': {
-                'title': 'Listing Date',
-                'fields': ('listing_date',),
-                'is_required': False,
-                'label': 'Listing Date',
-                'label_edit': 'Listing Date',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 3,
-                'size_max': 0,
-            },
-        },
-##        '2nd_choice': { ###(
-##            'type': 'String Widget',
-##            'data': {
-##                'title': 'Second choice',
-##                'fields': ('2nd_choice',),
-##                'is_required': False,
-##                'label': 'Second choice',
-##                'label_edit': 'Second choice',
-##                'description': '',
-##                'help': 'second_choice',
-##                'is_i18n': False,
-##                'readonly_layout_modes': (),
-##                'hidden_layout_modes': (),
-##                'hidden_readonly_layout_modes': (),
-##                'hidden_empty': False,
-##                'hidden_if_expr': '',
-##                'css_class': '',
-##                'widget_mode_expr': '',
-##                'display_width': 20,
-##                'size_max': 0,
-##            },
-##        },
-##
-##        '3rd_choice': {
-##            'type': 'String Widget',
-##            'data': {
-##                'title': 'Third_choice',
-##                'fields': ('3rd_choice',),
-##                'is_required': False,
-##                'label': 'Third choice',
-##                'label_edit': 'Third choice',
-##                'description': 'third_choice',
-##                'help': 'third_choice',
-##                'is_i18n': False,
-##                'readonly_layout_modes': (),
-##                'hidden_layout_modes': (),
-##                'hidden_readonly_layout_modes': (),
-##                'hidden_empty': False,
-##                'hidden_if_expr': '',
-##                'css_class': '',
-##                'widget_mode_expr': '',
-##                'display_width': 20,
-##                'size_max': 0,
-##            },
-##        },
-###)
-
-        'sc_id': {
-            'type': 'String Widget',
-            'data': {
-                'title': '',
-                'fields': ('admission_sc_id',),
-                'is_required': False,
-                'label': 'Scratch card ID used',
-                'label_edit': 'Scratch card ID used',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 20,
-                'size_max': 0,
-            },
-        },
-        'sc_pin': {
-            'type': 'String Widget',
-            'data': {
-                'title': '',
-                'fields': ('admission_sc_pin',),
-                'is_required': False,
-                'label': 'Scratch Card PIN',
-                'label_edit': 'Scratch Card PIN',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 20,
-                'size_max': 0,
-            },
-        },
-    }
-###)
-
-jamb_layoutcreate = { ###(
-    'widgets': jamb_widgets,
-    'layout': {
-        'style_prefix': 'layout_jambcreate_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            [{'widget_id': 'reg_nr', 'ncols': 1},],
-            [{'widget_id': 'firstname', 'ncols': 1},],
-            [{'widget_id': 'middlename', 'ncols': 1},],
-            [{'widget_id': 'lastname', 'ncols': 1},],
-            #[{'widget_id': 'sc_id', 'ncols': 1},],
-            #[{'widget_id': 'sc_pin', 'ncols': 1},],
-            [{'widget_id': 'age', 'ncols': 1},],
-            [{'widget_id': 'sex', 'ncols': 1},],
-            [{'widget_id': 'state', 'ncols': 1},],
-            #[{'widget_id': 'exam_results', 'ncols': 1},],
-            [{'widget_id': 'aggregate', 'ncols': 1},],
-            [{'widget_id': 'faculty', 'ncols': 1},],
-            [{'widget_id': 'course', 'ncols': 1},],
-            [{'widget_id': 'listing_date', 'ncols': 1},],
-            #[{'widget_id': '2nd_choice', 'ncols': 1},],
-            #[{'widget_id': '3rd_choice', 'ncols': 1},],
-        ]
-    },
-}
-###)
-
-jamb_layout = { ###(
-    'widgets': jamb_widgets,
-    'layout': {
-        'style_prefix': 'layout_waeup_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            [{'widget_id': 'reg_nr', 'ncols': 1},],
-            [{'widget_id': 'firstname', 'ncols': 1},],
-            [{'widget_id': 'middlename', 'ncols': 1},],
-            [{'widget_id': 'lastname', 'ncols': 1},],
-            #[{'widget_id': 'sc_id', 'ncols': 1},],
-            [{'widget_id': 'sc_pin', 'ncols': 1},],
-            [{'widget_id': 'age', 'ncols': 1},],
-            [{'widget_id': 'sex', 'ncols': 1},],
-            [{'widget_id': 'state', 'ncols': 1},],
-            #[{'widget_id': 'exam_results', 'ncols': 1},],
-            [{'widget_id': 'aggregate', 'ncols': 1},],
-            [{'widget_id': 'faculty', 'ncols': 1},],
-            [{'widget_id': 'course', 'ncols': 1},],
-            [{'widget_id': 'listing_date', 'ncols': 1},],
-            #[{'widget_id': '2nd_choice', 'ncols': 1},],
-            #[{'widget_id': '3rd_choice', 'ncols': 1},],
-        ]
-    },
-}
-###)
-
-admission_slip = { ###(
-    'widgets': jamb_widgets,
-    'layout': {
-        'style_prefix': 'layout_waeup_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            [{'widget_id': 'reg_nr', 'ncols': 1},],
-            [{'widget_id': 'firstname', 'ncols': 1},],
-            [{'widget_id': 'middlename', 'ncols': 1},],
-            [{'widget_id': 'lastname', 'ncols': 1},],
-            #[{'widget_id': 'sc_id', 'ncols': 1},],
-            #[{'widget_id': 'sc_pin', 'ncols': 1},],
-            [{'widget_id': 'age', 'ncols': 1},],
-            [{'widget_id': 'sex', 'ncols': 1},],
-            [{'widget_id': 'state', 'ncols': 1},],
-            #[{'widget_id': 'exam_results', 'ncols': 1},],
-            [{'widget_id': 'aggregate', 'ncols': 1},],
-            [{'widget_id': 'faculty', 'ncols': 1},],
-            [{'widget_id': 'course', 'ncols': 1},],
-            [{'widget_id': 'listing_date', 'ncols': 1},],
-            #[{'widget_id': '2nd_choice', 'ncols': 1},],
-            #[{'widget_id': '3rd_choice', 'ncols': 1},],
-        ]
-    },
-}
-###)
-
-course = { ###(
-    'widgets': {
-        'heading': {
-         'type': 'String Widget',
-         'data': {
-                'fields': ['heading'],
-                'is_i18n': 0,
-                'is_required': 1,
-                'label': 'Title',
-                'label_edit': 'Title',
-                'help': 'Course Title',
-                'display_width': 40,
-                'size_max': 40,
-            },
-        },
-        'text': Text,
-        'level': {
-            'type': 'Select Widget',
-            'data': {
-                'title': '',
-                'fields': ('level',),
-                'is_required': True,
-                'label': 'Level',
-                'label_edit': 'Level',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'vocabulary': 'courselevel',
-            },
-        },
-        'code': {
-            'type': 'String Widget',
-            'data': {
-                'title': 'Code',
-                'fields': ('code',),
-                'is_required': True,
-                'label': 'Code',
-                'label_edit': 'Code',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },
-        'semester': {
-            'type': 'Boolean Widget',
-            'data': {
-                'title': '',
-                'fields': ('semester',),
-                'is_required': True,
-                'label': 'Semester',
-                'label_edit': 'Semester',
-                'label_false': 'Second Semester',
-                'label_true': 'First Semester',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },
-        'credit': {
-            'type': 'Int Widget',
-            'data': {
-                'title': '',
-                'fields': ('credit',),
-                'is_required': True,
-                'label': 'Credit',
-                'label_edit': 'Credit',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'display_width': 2,
-                'size_max': 0,
-            },
-        },
-        'core_elective': {
-            'type': 'Boolean Widget',
-            'data': {
-                'title': '',
-                'fields': ('core_elective',),
-                'is_required': True,
-                'label': 'Core or elective',
-                'label_edit': 'Core or elective',
-                'label_true': 'Core Course',
-                'label_false': 'Elective Course',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'display_width': 10,
-                'size_max': 0,
-            },
-        },
-    },
-   'layout': {
-        'style_prefix': 'layout_waeup_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            [{'widget_id': 'heading', 'ncols': 1},],
-            #[{'widget_id': 'Title', 'ncols': 1},],
-            [{'widget_id': 'text', 'ncols': 1},],
-            [{'widget_id': 'level', 'ncols': 1},],
-            [{'widget_id': 'code', 'ncols': 1},],
-            [{'widget_id': 'semester', 'ncols': 1},],
-            [{'widget_id': 'credit', 'ncols': 1},],
-            [{'widget_id': 'core_elective', 'ncols': 1},],
-        ]
-    },
-}
-###)
-
-course_results = { ###(
-    'widgets': {
-        'points': {
-            'type': 'Int Widget',
-            'data': {
-                'title': '',
-                'fields': ('points',),
-                'is_required': False,
-                'label': 'Points',
-                'label_edit': 'Points',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 3,
-                'size_max': 3,
-            },
-        },
-        'grade': {
-            'type': 'String Widget',
-            'data': {
-                'title': '',
-                'fields': ('grade'),
-                'is_required': False,
-                'label': 'Grade',
-                'label_edit': 'Grade',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 2,
-                'size_max': 1,
-            },
-        },
-    },
-   'layout': {
-        'style_prefix': 'layout_waeup_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            [{'widget_id': 'points', 'ncols': 1},],
-            [{'widget_id': 'grade', 'ncols': 1},],
-        ]
-    },
-}
-###)
-
-accommodation = { ###(
-    'widgets': {
-        'heading': {
-         'type': 'String Widget',
-         'data': {
-                'fields': ['heading'],
-                'level': 2,
-                'is_i18n': 0,
-                'is_required': 1,
-                'label': 'Hall Name',
-                'label_edit': 'Hall Name',
-                'help': '',
-                'display_width': 40,
-                'size_max': 40,
-            },
-        },
-        'text': Text,
-        'which_sex': {
-            'type': 'Boolean Widget',
-            'data': {
-                'title': '',
-                'fields': ('which_sex',),
-                'is_required': False,
-                'label': 'Sex',
-                'label_edit': 'Sex',
-                'label_false': 'male',
-                'label_true': 'female',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-            },
-        },
-        'nr_of_blocks': {
-            'type': 'Select Widget',
-            'data': {
-                'title': '',
-                'fields': ('nr_of_blocks',),
-                'is_required': True,
-                'label': 'Nr of Blocks',
-                'label_edit': 'Nr of Blocks',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'vocabulary': 'range10',
-            },
-        },
-        'nr_of_floors': {
-            'type': 'Select Widget',
-            'data': {
-                'title': '',
-                'fields': ('nr_of_floors',),
-                'is_required': True,
-                'label': 'Nr of Floors ',
-                'label_edit': 'Nr of Floors',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'vocabulary': 'range5',
-            },
-        },
-        'rooms_per_floor': {
-            'type': 'Select Widget',
-            'data': {
-                'title': '',
-                'fields': ('rooms_per_floor',),
-                'is_required': True,
-                'label': 'Rooms per Floor',
-                'label_edit': 'Rooms per Floor',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'vocabulary': 'range50',
-            },
-        },
-        'beds_per_room': {
-            'type': 'Select Widget',
-            'data': {
-                'title': '',
-                'fields': ('beds_per_room',),
-                'is_required': True,
-                'label': 'Beds per Room',
-                'label_edit': 'Beds per Room',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'vocabulary': 'range10',
-            },
-        },
-        'beds_assigned': {
-            'type': 'Int Widget',
-            'data': {
-                'title': '',
-                'fields': ('beds_assigned',),
-                'is_required': True,
-                'label': 'Nr. of Assigned Beds',
-                'label_edit': 'Nr. of Assigned Beds',
-                'description': '',
-                'help': 'Number of beds already assigned to students',
-                'is_i18n': False,
-            },
-        },
-        'beds_assigned_list': {
-            'type': 'Ordered List Widget',
-            'data': {
-                'title': '',
-                'fields': ('beds_assigned_list',),
-                'label': 'Assigned Beds',
-                'label_edit': 'Assigned Beds',
-                'description': '',
-                'help': 'List of beds already assigned to students',
-                'is_i18n': False,
-            },
-        },
-    },
-   'layout': {
-        'style_prefix': 'layout_waeup_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            [{'widget_id': 'heading', 'ncols': 1},],
-            #[{'widget_id': 'Title', 'ncols': 1},],
-            [{'widget_id': 'text', 'ncols': 1},],
-            [{'widget_id': 'which_sex', 'ncols': 1},],
-            [{'widget_id': 'nr_of_blocks', 'ncols': 1},],
-            [{'widget_id': 'nr_of_floors', 'ncols': 1},],
-            [{'widget_id': 'rooms_per_floor', 'ncols': 1},],
-            [{'widget_id': 'beds_per_room', 'ncols': 1},],
-            [{'widget_id': 'beds_assigned', 'ncols': 1},],
-            [{'widget_id': 'beds_assigned_list', 'ncols': 1},],
-        ]
-    },
-}
-###)
-
-study_level = { ###(
-    'widgets': {
-      'sc_id': { ###(
-        'type': 'String Widget',
-        'data': {
-                'title': 'SC ID',
-                'fields': ('sc_id'),
-                'is_required': False,
-                'label': 'Card Serial Number ',
-                'label_edit': 'Card Serial Number',
-                'description': 'Card Serial Number ',
-                'help': 'This can be found on the bottom right of the reverse side of your Scratch Card',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': 'python:1',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            }
-        },###)
-      'sc_pin': { ###(
-         'type': 'Scratchcard Pin Widget',
-         'data': {
-                'title': 'SC PIN',
-                'fields': ('sc_pin'),
-                'is_required': True,
-                'label': 'Enter  PIN',
-                'label_edit': 'Enter Scratchcard Pin with the value above',
-                'description': '',
-                'help': 'Please enter a Scratchcard Pin valid for Registration of Next Level',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-            },
-        },###)
-      'sc_value': { ###(
-         'type': 'Float Widget',
-         'data': {
-                'title': 'Scratch card value',
-                'fields': ('sc_value',),
-                'is_required': False,
-                'label': 'Scratcard Value',
-                'label_edit': 'Scratcard Value',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': ('create'),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-            },
-        },###)
-               },
-   'layout': {
-        'style_prefix': 'layout_slregister_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            #[{'widget_id': 'sc_id', 'ncols': 1},],
-            [{'widget_id': 'sc_value', 'ncols': 1},],
-            [{'widget_id': 'sc_pin', 'ncols': 1},],
-        ]
-    },
-}###)
-
-accobook = { ###(
-    'widgets': {
-     'sc_id': { ###(
-        'type': 'String Widget',
-        'data': {
-                'title': 'SC ID',
-                'fields': ('sc_id'),
-                'is_required': False,
-                'label': 'Card Serial Number ',
-                'label_edit': 'Card Serial Number',
-                'description': 'Card Serial Number ',
-                'help': 'This can be found on the bottom right of the reverse side of your Scratch Card',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': 'python:1',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            }
-        },###)
-    'sc_pin': { ###(
-         'type': 'Scratchcard Pin Widget',
-         'data': {
-                'title': 'SC PIN',
-                'fields': ('sc_pin'),
-                'is_required': True,
-                'label': 'enter  PIN',
-                'label_edit': 'Enter an Accommodation PIN',
-                'description': '',
-                'help': 'Enter a PIN valid for Accomodation Booking',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-            },
-        },###)
-    'sc_value': { ###(
-         'type': 'Float Widget',
-         'data': {
-                'title': 'Scratch card value',
-                'fields': ('sc_value',),
-                'is_required': False,
-                'label': 'SC Value',
-                'label_edit': 'Scratcard Value',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': ('create'),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-            },
-        },###)
-               },
-   'layout': {
-        'style_prefix': 'layout_sc_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            #[{'widget_id': 'sc_id', 'ncols': 1},],
-            [{'widget_id': 'sc_value', 'ncols': 1},],
-            [{'widget_id': 'sc_pin', 'ncols': 1},],
-        ]
-    },
-}
-###)
-
-accopay = { ###(
-    'widgets': {
-     'sc_id': { ###(
-        'type': 'String Widget',
-        'data': {
-                'title': 'SC ID',
-                'fields': ('sc_id'),
-                'is_required': False,
-                'label': 'Card Serial Number ',
-                'label_edit': 'Card Serial Number',
-                'description': 'Card Serial Number ',
-                'help': 'This can be found on the bottom right of the reverse side of your Scratch Card',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': 'python:1',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 0,
-            }
-        },###)
-    'sc_pin': { ###(
-         'type': 'Scratchcard Pin Widget',
-         'data': {
-                'title': 'SC PIN',
-                'fields': ('sc_pin'),
-                'is_required': True,
-                'label': 'enter  PIN',
-                'label_edit': 'Enter Hostel Payment PIN',
-                'description': '',
-                'help': 'Enter PIN valid for Paying Hostel Fee',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-            },
-        },###)
-    'sc_value': { ###(
-         'type': 'Float Widget',
-         'data': {
-                'title': 'Scratch card value',
-                'fields': ('sc_value',),
-                'is_required': False,
-                'label': 'SC Value',
-                'label_edit': 'Scratcard Value',
-                'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': ('create'),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 10,
-                'size_max': 10,
-            },
-        },###)
-               },
-   'layout': {
-        'style_prefix': 'layout_sc_',
-        'flexible_widgets': (),
-        'ncols': 1,
-        'rows': [
-            #[{'widget_id': 'sc_id', 'ncols': 1},],
-            [{'widget_id': 'sc_value', 'ncols': 1},],
-            [{'widget_id': 'sc_pin', 'ncols': 1},],
-        ]
-    },
-}###)
-
-layouts = {}
-layouts['university'] = common_layout
-layouts['waeup_common'] = common_layout
-layouts['student'] = student_layout
-layouts['study_level'] = study_level
-layouts['student_documents'] = student_documents
-layouts['student_personal'] = student_personal_layout
-layouts['student_personal_addon'] = student_personal_addon
-layouts['student_eligibility'] = student_eligibility
-layouts['student_eligibility_edit'] = student_eligibility_edit
-layouts['student_schoolresults'] = student_schoolresults
-layouts['accommodation'] = accommodation
-layouts['accobook'] = accobook
-layouts['accopay'] = accopay
-layouts['scratch_card'] = scratch_card
-layouts['admission'] = admission
-layouts['clearance'] = clearance
-layouts['admission_slip'] = admission_slip
-layouts['jambcreate'] = jamb_layoutcreate
-layouts['jamb'] = jamb_layout
-layouts['faculty'] = common_layout
-layouts['department'] = common_layout
-layouts['course'] = course
-layouts['admission_status'] = admission_status
-return layouts
Index: eUP-SRP/trunk/skins/waeup_default/getWAeUPSchemas.py
===================================================================
--- /WAeUP-SRP/trunk/skins/waeup_default/getWAeUPSchemas.py	(revision 273)
+++ 	(revision )
@@ -1,885 +1,0 @@
-#-*- mode: python; mode: fold -*-
-# $Id$
-
-sc_id = { ###(
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': 'SectionReader',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-            },
-        }
-###)
-
-sc_pin = { ###(
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': 'SectionReader',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-            },
-        }
-        
-###)
-
-sc_value = { ###(
-        'type': 'CPS Float Field',
-        'data': {
-            'default_expr': 'python:0.',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': '',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-            },
-        }
-###)
-sc_date = { ###(
-        'type': 'CPS DateTime Field',
-        'data': {
-            'default_expr': 'python:500.',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': '',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-            },
-        }
-###)
-
-university_schema = { ###(
-}
-###)
-
-students_folder_schema = { ###(
-}
-###)
-
-academics_folder_schema = { ###(
-}
-###)
-
-student_schema = { ###(
-     'jamb_is_admitted': {
-        'type': 'CPS Boolean Field',
-        'data': {
-            'default_expr': 'python:False',
-            'is_searchabletext': 0,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': '',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-        },
-    },
-    'faculty': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': '',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-        },
-    },
-    'course': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': '',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-             },
-        },
-    'adm_check_sc_id' : sc_id, 
-    'adm_check_sc_pin' : sc_pin, 
-    'adm_check_sc_value' : sc_value, 
-    'adm_check_date' : {
-        'type': 'CPS DateTime Field',
-        'data': {
-            'is_searchabletext': 0,
-        },
-    }, 
-    'clearance_sc_id' : sc_id, 
-    'clearance_sc_pin' : sc_pin, 
-    'clearance_sc_value' : sc_value, 
-    'clearance_date' : {
-        'type': 'CPS DateTime Field',
-        'data': {
-            'is_searchabletext': 0,
-            'acl_write_roles': 'SectionReader',
-        },
-    }, 
-    'accommodation' : { ###(
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': '',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-             },
-        }, ###)
-    'accommodation_sc_id' : sc_id, 
-    'accommodation_sc_pin' : sc_pin, 
-    'accommodation_sc_value' : sc_value, 
-    'accommodation_date' : {
-        'type': 'CPS DateTime Field',
-        'data': {
-            'is_searchabletext': 0,
-            'acl_write_roles': 'SectionReader',
-        },
-    }, 
-    'hostel_fee_sc_id' : sc_id, 
-    'hostel_fee_sc_pin' : sc_pin, 
-    'hostel_fee_sc_value' : sc_value, 
-    'hostel_fee_date' : {
-        'type': 'CPS DateTime Field',
-        'data': {
-            'is_searchabletext': 0,
-            'acl_write_roles': 'SectionReader',
-        },
-    }, 
-}
-###)
-
-student_accommodation = { ###(
-    'sc_id': sc_id,
-    'sc_pin': sc_pin,
-    'sc_value': { ###(
-        'type': 'CPS Float Field',
-        'data': {
-            'default_expr': 'python:500.',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': '',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-            },
-        },###)
-    'accommodation': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': '',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-             },
-        },
-}
-###)
-
-student_hostel_fee = { ###(
-    'sc_id': sc_id,
-    'sc_pin': sc_pin,
-    'sc_value': { ###(
-        'type': 'CPS Float Field',
-        'data': {
-            'default_expr': 'python:2500.',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': '',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-            },
-        },###)
-    'accommodation': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': '',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-             },
-        },
-}
-###)
-
-student_admission = { ###(
-    'sc_id': sc_id,
-    'sc_pin': sc_pin,
-    'sc_value': { ###(
-        'type': 'CPS Float Field',
-        'data': {
-            'default_expr': 'python:300.',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': '',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-            },
-        },###)
-    'reg_nr': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': True,
-        },
-    },
-}
-###)
-
-student_clearance = { ###(
-    'sc_id': sc_id,
-    'sc_pin': sc_pin,
-    'sc_value': { ###(
-        'type': 'CPS Float Field',
-        'data': {
-            'default_expr': 'python:800.',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': '',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-            },
-        },###)
-    'reg_nr': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': True,
-        },
-    },
-    'lastname': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': '',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-             },
-        },
-}###)
-
-study_level = { ###(
-    'sc_id': sc_id,
-    'sc_pin': sc_pin,
-    'sc_value': { ###(
-        'type': 'CPS Float Field',
-        'data': {
-            'default_expr': 'python:1000.',
-            'is_searchabletext': True,
-            'acl_read_permissions': '',
-            'acl_read_roles': '',
-            'acl_read_expr': '',
-            'acl_write_permissions': '',
-            'acl_write_roles': '',
-            'acl_write_expr': '',
-            'read_ignore_storage': False,
-            'read_process_expr': '',
-            'read_process_dependent_fields': (),
-            'write_ignore_storage': False,
-            'write_process_expr': '',
-            },
-        },###)
-}
-###)
-
-student_personal_schema = { ###(
-     'firstname': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': 1,
-        },
-    },
-    'middlename': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': 1,
-        },
-    },
-     'lastname': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': 1,
-        },
-    },
-     'username': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': 1,
-        },
-    },
-     'email': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': 1,
-        },
-    },
-     'sex': {
-        'type': 'CPS Boolean Field',
-        'default_expr': 'python:True',
-        'data': {
-            'is_searchabletext': 0,
-        },
-    },
-     'birthday': {
-        'type': 'CPS DateTime Field',
-        'data': {
-            'is_searchabletext': 0,
-        },
-    },
-     'age': {
-        'type': 'CPS DateTime Field',
-        'data': {
-            'is_searchabletext': 0,
-        },
-    },
-}
-###)
-
-student_eligibility = { ###(
-}###)
-
-student_documents = { ###(
-     'photo': {
-        'type': 'CPS Image Field',
-        'data': {
-            'is_searchabletext': 0,
-        },
-    },
-     'birth_certificate': {
-        'type': 'CPS Image Field',
-        'data': {
-            'is_searchabletext': 0,
-        },
-    },
-     'passport': {
-        'type': 'CPS Image Field',
-        'data': {
-            'is_searchabletext': 0,
-        },
-    },
-     'results_first': {
-        'type': 'CPS Image Field',
-        'data': {
-            'is_searchabletext': 0,
-        },
-    },
-     'results_second': {
-        'type': 'CPS Image Field',
-        'data': {
-            'is_searchabletext': 0,
-        },
-    },
-}
-###)
-
-student_eligibility = { ###(
-    'reg_nr': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': True,
-        },
-    },
-    'jamb_results': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-        },
-    },
-    'jamb_aggregate': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': False,
-        },
-    },
-    'faculty': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': False,
-        },
-    },
-    'course': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': False,
-        },
-    },
-    'jamb_listing_date': {
-        'type': 'CPS DateTime Field',
-        'data': {
-            'is_searchabletext': False,
-        },
-    },
-    'schoolresults': { ###(
-        #'type': 'CPS List List Field',
-        'type': 'CPS String List Field',
-        'data': {
-            'is_searchabletext': False,
-            },
-        },###)
-}
-###)
-
-jamb_schema = { ###(
-    'reg_nr': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': True,
-        },
-    },
-    'admission_sc_id': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': True,
-        },
-    },
-    'admission_sc_pin': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': True,
-        },
-    },
-    'admission_sc_pin_usage': {
-        'type': 'CPS Int Field',
-        'data': {
-            'default_expr': 'python:0',
-            'is_searchabletext': False,
-            },
-    },
-     'firstname': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': 1,
-        },
-    },
-    'middlename': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': 1,
-        },
-    },
-     'lastname': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': 1,
-        },
-    },
-    'age': {
-        'type': 'CPS Int Field',
-        'data': {
-            'default_expr': 'python:20',
-            'is_searchabletext': False,
-        },
-    },
-    'sex': {
-        'type': 'CPS Boolean Field',
-        'data': {
-            'default_expr': 'python:0',
-            'is_searchabletext': False,
-        },
-    },
-    'state': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': False,
-        },
-    },
-    'exam_results': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-        },
-    },
-    'aggregate': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': False,
-        },
-    },
-    'faculty': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': False,
-        },
-    },
-    'course': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': False,
-        },
-    },
-    'listing_date': {
-        'type': 'CPS DateTime Field',
-        'data': {
-            'is_searchabletext': False,
-        },
-    },
-##    '2nd_choice': { ###(
-##        'type': 'CPS String Field',
-##        'data': {
-##            'default_expr': 'string:',
-##            'is_searchabletext': False,
-##            'acl_read_permissions': '',
-##            'acl_read_roles': '',
-##            'acl_read_expr': '',
-##            'acl_write_permissions': '',
-##            'acl_write_roles': '',
-##            'acl_write_expr': '',
-##            'read_ignore_storage': False,
-##            'read_process_expr': '',
-##            'read_process_dependent_fields': (),
-##            'write_ignore_storage': False,
-##            'write_process_expr': '',
-##        },
-##    },
-##    '3rd_choice': {
-##        'type': 'CPS String Field',
-##        'data': {
-##            'default_expr': 'string:',
-##            'is_searchabletext': True,
-##            'acl_read_permissions': '',
-##            'acl_read_roles': '',
-##            'acl_read_expr': '',
-##            'acl_write_permissions': '',
-##            'acl_write_roles': '',
-##            'acl_write_expr': '',
-##            'read_ignore_storage': False,
-##            'read_process_expr': '',
-##            'read_process_dependent_fields': (),
-##            'write_ignore_storage': False,
-##            'write_process_expr': '',
-##        },
-##    },
-###)
-}
-
-
-###)
-
-course_results_schema = { ###(
-     'points': {
-        'type': 'CPS Int Field',
-        'data': {
-            'is_searchabletext': 0,
-        },
-    },
-     'grade': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': 0,
-        },
-    },
-}
-#
-###)
-
-faculty_schema = { ###(
-}###)
-
-department_schema = { ###(
-}###)
-
-course_schema = { ###(
-##    'Title': {
-##        'type': 'CPS String Field',
-##        'data': {
-##            'default_expr': '',
-##            'is_searchabletext': True,
-##        },
-##    },
-    'heading': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': True,
-        },
-    },
-    'text': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': True,
-        },
-    },
-    'level': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': True,
-        },
-    },
-    'code': {
-        'type': 'CPS String Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': True,
-        },
-    },
-    'semester': {
-        'type': 'CPS Boolean Field',
-        'data': {
-            'default_expr': 'python:True',
-            'is_searchabletext': False,
-        },
-    },
-    'credit': {
-        'type': 'CPS Int Field',
-        'data': {
-            'default_expr': 'string:',
-            'is_searchabletext': False,
-        },
-    },
-    'core_elective': {
-        'type': 'CPS Boolean Field',
-        'data': {
-            'default_expr': 'python:True',
-            'is_searchabletext': False,
-        },
-    },
-}###)
-
-accommodation = { ###(
-    'heading': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': True,
-        },
-    },
-    'text': {
-        'type': 'CPS String Field',
-        'data': {
-            'is_searchabletext': True,
-        },
-    },
-    'which_sex': {
-        'type': 'CPS Boolean Field',
-        'data': {
-            'is_searchabletext': True,
-        },
-    },
-    'nr_of_blocks': {
-        'type': 'CPS Int Field',
-        'data': {
-            'is_searchabletext': False,
-        },
-    },
-    'nr_of_floors': {
-        'type': 'CPS Int Field',
-        'data': {
-            'is_searchabletext': False,
-        },
-    },
-    'rooms_per_floor': {
-        'type': 'CPS Int Field',
-        'data': {
-            'is_searchabletext': False,
-        },
-    },
-    'beds_per_room': {
-        'type': 'CPS Int Field',
-        'data': {
-            'is_searchabletext': False,
-        },
-    },
-    'beds_assigned': {
-        'type': 'CPS Int Field',
-        'data': {
-            'is_searchabletext': False,
-        },
-    },
-    'beds_assigned_list': {
-        'type': 'CPS String List Field',
-        'data': {
-            'is_searchabletext': False,
-        },
-    },
-}###)
-
-##scratch_card = { ###(
-####   'allow_discussion': {
-####        'type': 'CPS Int Field',
-####        'data': {
-####            'default_expr': 'python:0',
-####            'is_searchabletext': 0,
-####            },
-####        },
-##     'sc_id': {
-##        'type': 'CPS String Field',
-##        'data': {
-##            'default_expr': '',
-##            'is_searchabletext': 0,
-##            'acl_read_permissions': '',
-##            'acl_read_roles': '',
-##            'acl_read_expr': '',
-##            'acl_write_permissions': '',
-##            'acl_write_roles': '',
-##            'acl_write_expr': '',
-##            'read_ignore_storage': False,
-##            'read_process_expr': '',
-##            'read_process_dependent_fields': (),
-##            'write_ignore_storage': False,
-##            'write_process_expr': '',
-##        },
-##    },
-##     'sc_pin': {
-##        'type': 'CPS String Field',
-##        'data': {
-##            'default_expr': '',
-##            'is_searchabletext': 0,
-##            'acl_read_permissions': '',
-##            'acl_read_roles': '',
-##            'acl_read_expr': '',
-##            'acl_write_permissions': '',
-##            'acl_write_roles': '',
-##            'acl_write_expr': '',
-##            'read_ignore_storage': False,
-##            'read_process_expr': '',
-##            'read_process_dependent_fields': (),
-##            'write_ignore_storage': False,
-##            'write_process_expr': '',
-##        },
-##    },
-##}
-###)
-
-schemas = {}
-
-schemas['university'] = university_schema
-schemas['academics'] = academics_folder_schema
-schemas['students'] = students_folder_schema
-schemas['student'] = student_schema
-schemas['student_admission'] = student_admission
-schemas['student_clearance'] = student_clearance
-schemas['student_eligibility'] = student_eligibility
-schemas['student_documents'] = student_documents
-schemas['student_accommodation'] = student_accommodation
-schemas['student_hostel_fee'] = student_hostel_fee
-schemas['study_level'] = study_level
-schemas['course_results'] = course_results_schema
-schemas['student_personal'] = student_personal_schema
-schemas['accommodation'] = accommodation
-schemas['jamb'] = jamb_schema
-#schemas['scratch_card'] = scratch_card
-schemas['faculty'] = faculty_schema
-schemas['department'] = department_schema
-schemas['course'] = course_schema
-
-return schemas
Index: eUP-SRP/trunk/skins/waeup_default/getWAeUPTypes.py
===================================================================
--- /WAeUP-SRP/trunk/skins/waeup_default/getWAeUPTypes.py	(revision 273)
+++ 	(revision )
@@ -1,1018 +1,0 @@
-#-*- mode: python; mode: fold -*-
-# $Id$
-"""Return custom document types."""
-# permissions
-from Products.CMFCore.permissions import View
-from Products.CMFCore.permissions import ModifyPortalContent
-from Products.CMFCore.permissions import AddPortalContent
-from Products.WAeUP.WAeUPPermissions import UniversityManage, StudentManage,FacultyManage,\
-                                            DepartmentManage,CourseManage
-ChangePermissions = 'Change permissions'
-
-university_type = { ###(
-    'title': 'WAeUP Base Folder',
-    'description': 'The WAeUP Container',
-    'content_icon': 'students_folder.gif',
-    'content_meta_type': 'University',
-    'product': 'WAeUP',
-    'factory': 'addUniversity',
-    'immediate_view': 'university_view',
-    'global_allow': 1,
-    'filter_content_types': 1,
-    'allowed_content_types': ('Chat','FAQ','CPSCalendar','Forum','StudentsFolder','Faculty','AccoFolder','Section','CPSProxyDocument'),
-    'allow_discussion': 0,
-    'cps_is_searchable': 1,
-    'cps_display_as_document_in_listing': 1,
-    'cps_proxy_type': 'folder',
-    'schemas': ['metadata', 'common', 'folder'],
-    'layouts': ['waeup_common'],
-    'layout_clusters': ['metadata:metadata'],
-    'cps_section_wf': 'waeup_section_wf',
-    'actions': ({'id': 'view',
-                 'name': 'Standard View',
-                 #'action': 'university_view',
-                 'action': 'temporary_view_all',
-                 #'condition': "python:member and 'Manager' in member.getRoles()",
-                 'permissions': (View,)},
-##                {'id': 'add_accommodation',
-##                 'name': 'Add an Accommodation Hall',
-##                 'condition': "python:member and not 'Student'in member.getRoles()",
-##                 'action'    : 'string:${object/absolute_url}/add_accommodation',
-##                 #'action': 'folder_factories',
-##                 'permissions': (UniversityManage,)},
-                 {'id': 'new_content',
-                 'name': 'New content',
-                 'condition': "python:member and  'Manager' in member.getRoles()",
-                 'action': 'string:${object_url}/folder_factories',
-                 'permission': (ModifyPortalContent,),
-                 'category': 'object',
-                 'visible': True,},
-                {'id': 'contents',
-                 'name': 'action_folder_contents',
-                 'action': 'folder_contents',
-                 'condition': "python:member and  'Manager' in member.getRoles()",
-                 'permissions': (ModifyPortalContent,)},
-                {'id': 'edit',
-                 'name': 'action_edit',
-                 'action': 'cpsdocument_edit_form',
-                 'condition': "python:member and 'Manager' in member.getRoles()",
-                 'permissions': (ModifyPortalContent,UniversityManage,)},
-                {'id': 'metadata',
-                 'name': 'action_metadata',
-                 'action': 'cpsdocument_metadata',
-                 'condition': "python:member and 'Manager' in member.getRoles()",
-                 'permissions': (ModifyPortalContent,)},
-                 {'id': 'localroles',
-                 'name': 'delegate',
-                 'action': 'folder_localrole_form',
-                 'permissions': (ModifyPortalContent),
-                 'visible' : 1,
-                 },
-                 )
-        }
-###)
-
-academics_folder_type = { ###(
-    'title': 'WAeUP Academics Folder',
-    'description': 'The WAeUP Academics Folder',
-    'content_icon': '',
-    'content_meta_type': 'AcademicsFolder',
-    'product': 'CPSDefault',
-    'factory': 'addFolder',
-    'immediate_view': 'folder_view',
-    'global_allow': 1,
-    'filter_content_types': 1,
-    'allowed_content_types': ('Faculty',),
-    'allow_discussion': 0,
-    'cps_is_searchable': 1,
-    'cps_display_as_document_in_listing': 1,
-    'cps_proxy_type': 'folder',
-    'schemas': ['metadata', 'common', 'folder'],
-    'layouts': ['waeup_common','folder'],
-    'layout_clusters': ['metadata:metadata'],
-    'cps_section_wf': 'waeup_section_wf',
-    'actions': ({'id': 'view',
-                 'name': 'Standard View',
-                 #'action': 'academics_view',
-                 'action': 'temporary_view_all',
-                 'condition': "",
-                 'permissions': (View,)},
-                {'id': 'add_faculty',
-                 'name': 'Add Faculty',
-                 'condition': "python:member and 'UniversityManager'in member.getRoles()",
-                 'action'    : 'string:${object/absolute_url}/create_common?type_name=Faculty',
-                 'permissions': (UniversityManage,)},
-                {'id': 'contents',
-                 'name': 'action_folder_contents',
-                 'action': 'string:${object/absolute_url}/folder_contents',
-                 'permissions': (UniversityManage,),
-                 'visible' : 1,
-                 },
-                 {'id': 'localroles',
-                 'name': 'delegate',
-                 'action': 'folder_localrole_form',
-                 'permissions': (UniversityManage,),
-                 'visible': False,
-                 },
-                )
-      }
-###)
-
-scratch_card = { ###(
-    'title': 'WAeUP Scratchcard',
-    'description': '',
-    'content_icon': 'student.gif',
-    'content_meta_type': 'Scratch Card',
-    'product': 'CPSDocument',
-    'factory': 'addCPSDocument',
-    'immediate_view': 'cpsdocument_view',
-    'global_allow': True,
-    'filter_content_types': True,
-    'allowed_content_types': (),
-    'allow_discussion': False,
-    'cps_is_searchable': True,
-    'cps_proxy_type': 'document',
-    'cps_display_as_document_in_listing': True,
-    'schemas': ('scratch_card'),
-    'layouts': ('scratch_card'),
-    'cps_workspace_wf': 'waeup_workspace_wf',
-    'cps_section_wf': 'waeup_section_wf',
-##    'actions': (
-##         {'id': 'view',
-##          'name': 'Standard View',
-##          'action': 'string:${object_url}/document_view',
-##          'condition': '',
-##          'permission': ('View',),
-##          'category': 'object',
-##          'visible': True,},
-##         {'id': 'new_content',
-##          'name': 'Add a scratch card',
-##          'action': 'string:${object_url}/folder_factories',
-##          'condition': "python:len(object.contentItems()) == 0 ",
-##          'permission': ('Modify portal content',),
-##          'category': 'object',
-##          'visible': True,},
-##         {'id': 'contents',
-##          'name': 'action_folder_contents',
-##          'action': 'string:${object_url}/folder_contents',
-##          'condition': "python:object.getTypeInfo().cps_proxy_type != 'document'",
-##          'permission': ('Modify portal content',),
-##          'category': 'object',
-##          'visible': True,},
-##         {'id': 'edit',
-##          'name': 'action_edit',
-##          'action': 'string:${object_url}/cpsdocument_edit_form',
-##          'condition': '',
-##          'permission': ('Modify portal content',),
-##          'category': 'object',
-##          'visible': True,},
-##    )
-}
-#
-###)
-
-students_folder_type = { ###(
-    'title': 'WAeUP Student Folder',
-    'description': 'The WAeUP Student Folder',
-    'content_icon': 'students_folder.gif',
-    'content_meta_type': 'StudentsFolder',
-    'product': 'CPSDefault',
-    'factory': 'addFolder',
-    'immediate_view': 'folder_view',
-    'global_allow': 1,
-    'filter_content_types': 1,
-    'allowed_content_types': ('Student'),
-    #'allowed_content_types': ('Student','ScratchCard'),
-    'allow_discussion': 0,
-    'cps_is_searchable': 1,
-    'cps_display_as_document_in_listing': 1,
-    'cps_proxy_type': 'folder',
-    'schemas': ['metadata', 'common', 'folder'],
-    'layouts': ['waeup_common',],
-    'layout_clusters': ['metadata:metadata'],
-    'cps_section_wf': 'waeup_section_wf',
-    'actions': ({'id': 'view',
-                 'name': 'Standard View',
-                 'action': 'temporary_view_all',
-                 'permissions': (View,)},
-##                {
-##                'id'        : 'add_content',
-##                'name'      : 'Add Content',
-##                'action'    : 'string:${object/absolute_url}/folder_factories',
-##                'condition': "python:member and 'Manager' in member.getRoles()",
-##                'permissions': (StudentManage,)},
-                {
-                'id'        : 'add_jamb',
-                'name'      : 'Add JAMB Data',
-                'action'    : 'string:${object/absolute_url}/create_jamb',
-                'permissions': (UniversityManage,StudentManage)},
-                {
-                'id'        : 'check_admission',
-                'name'      : 'Check Admission Status',
-                'action'    : 'string:${object/absolute_url}/check_admission',
-                'condition':  'object/portal_membership/isAnonymousUser',
-                'permission': (View,)},
-                {
-                'id'        : 'admission_list',
-                'name'      : 'Clearance Eligibility Process',
-                'action'    : 'string:${object/absolute_url}/clearance',
-                'condition':  'object/portal_membership/isAnonymousUser',
-                'permission': (View,)},
-                {'id': 'edit',
-                 'name': 'action_edit',
-                 'action': 'cpsdocument_edit_form',
-                 'condition': "python:member and 'Manager' in member.getRoles()",
-                 'permissions': (ModifyPortalContent,UniversityManage,)},
-                {
-                'id': 'localroles',
-                 'name': 'delegate',
-                 'action': 'folder_localrole_form',
-                 'permissions': (ModifyPortalContent,UniversityManage),
-                 'visible' : 1,
-                },
-                {'id': 'contents',
-                 'name': 'action_folder_contents',
-                 'action': 'string:${object/absolute_url}/folder_contents',
-                 'permissions': (UniversityManage,),
-                 'visible' : 0,
-                 },
-##                {'id': 'edit',
-##                 'name': 'action_edit',
-##                 'action': 'cpsdocument_edit_form',
-##                 'permissions': (UniversityManage,)},
-##                {'id': 'metadata',
-##                 'name': 'action_metadata',
-##                 'action': 'cpsdocument_metadata',
-##                 'permissions': (UniversityManage,)},
-##                {'id': 'localroles',
-##                 'name': 'action_local_roles',
-##                 'action': 'folder_localrole_form',
-##                 'permissions': (UniversityManage,)},
-    )
-}
-###)
-
-student_type = { ###(
-    'title': 'WAeUP Student',
-    'description': '',
-    'content_icon': 'student.gif',
-    'content_meta_type': 'Student',
-    'product': 'WAeUP',
-    'factory': 'addStudent',
-    'immediate_view': 'folder_view',
-    'global_allow': True,
-    'filter_content_types': True,
-    'allowed_content_types': ('Jamb','StudentDocuments','StudentPersonal','StudyLevel'),
-    'allow_discussion': False,
-    'cps_is_searchable': True,
-    'cps_proxy_type': 'folder',
-    'cps_display_as_document_in_listing': True,
-    'schemas': ['metadata','common','student'],
-    'layouts': ['waeup_common','student'],
-    'flexible_layouts': (),
-    'layout_clusters': ['metadata:metadata'],
-    'cps_section_wf': 'waeup_section_wf',
-    'use_content_status_history': 0,
-    'actions': (
-         {'id': 'view',
-          'name': 'Standard View',
-          #'action': 'string:${object_url}/student_index_html',
-          'action': 'string:${object_url}/temporary_view_all',
-          'condition':  "python:object.getContent().memberIsOwner() or (member and 'UniversityManager'in member.getRoles())",
-          'permission': (View,),
-          'category': 'object',
-          'visible': True,
-          },
-         {'id': 'metadata',
-          'name': 'action_metadata',
-          'action': 'cpsdocument_metadata',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (UniversityManage,),
-          },
-         {'id': 'localroles',
-          'name': 'delegate',
-          'action': 'folder_localrole_form',
-          'permissions': (ModifyPortalContent),
-          'visible' : 0,
-          },
-          {'id': 'contents',
-          'name': 'action_folder_contents',
-          'action': 'string:${object/absolute_url}/folder_contents',
-          'permissions': (UniversityManage,),
-          'visible' : 0,
-          },
-          {
-          'id'        : 'PERSONAL',
-          'name'      : 'Personal Data',
-          'action'    : 'string:${object/absolute_url}/PERSONAL',
-          'condition':  "python: object.getContent().memberIsOwner() and getattr(object,'PERSONAL',None)",
-          'permission': (ModifyPortalContent,)
-          },
-          {
-          'id'        : 'eligibility',
-          'name'      : 'Eligibility Data',
-          'action'    : 'ELIGIBILITY',
-          'condition':  'object/memberIsOwner',
-          'permission': (ModifyPortalContent,),
-          'visible': True,
-          },
-          {
-          'id'        : 'DOCUMENTS',
-          'name'      : 'Scanned Documents',
-          'action'    : 'string:${object/absolute_url}/DOCUMENTS',
-          'condition':  "python: object.getContent().memberIsOwner() and getattr(object,'PERSONAL',None)",
-          'permission': (ModifyPortalContent,)
-          },
-          {
-          'id'        : 'register_study_level',
-          'name'      : 'Register for Next Level',
-          'action'    : 'string:${object/absolute_url}/register_level',
-          'condition':  'python: object.getContent().memberIsOwner() and not object.getContent().isRegisteredForCurrentLevel()',
-          'permission': (ModifyPortalContent,)
-          },
-          {
-          'id'        : 'book_accomodation',
-          'name'      : 'Book Accomodation',
-          'action'    : 'string:${object/absolute_url}/book_accommodation',
-          'condition':  'python: object.getContent().memberIsOwner() and not object.getContent().accommodationIsBooked()',
-          'permission': (ModifyPortalContent,)
-          },
-          {
-          'id'        : 'pay_hostel_fee',
-          'name'      : 'Pay Hostel Fee',
-          'action'    : 'string:${object/absolute_url}/pay_hostel_fee',
-          'condition':  'python: object.getContent().memberIsOwner() and not object.getContent().accommodationIsPayed()',
-          'permission': (ModifyPortalContent,)
-          },
-          {
-          'id'        : 'JAMB',
-          'name'      : '(JAMB Data)',
-          'action'    : 'string:${object/absolute_url}/JAMB',
-          'condition':  'python:object.getContent().memberIsOwner()',
-          'permission': (ModifyPortalContent,),
-          'visible': True,
-          },
-          )
-}###)
-
-jamb_type = { ###(
-    'title': "JAMB data",
-    'description': 'The data from JAMB',
-    'content_icon': '',
-    'content_meta_type': 'Jamb',
-    'product': 'WAeUP',
-    'factory': 'addJamb',
-    'immediate_view': 'cpsdocument_view',
-    'global_allow': True,
-    'filter_content_types': True,
-    'allowed_content_types': (),
-    'allow_discussion': False,
-    'cps_is_searchable': True,
-    'cps_proxy_type': 'document',
-    'cps_display_as_document_in_listing': True,
-    'cps_is_portalbox': False,
-    #'schemas': ['common','metadata','jamb'],
-    'schemas': ['jamb'],
-    'layouts': ['jamb'],
-    'flexible_layouts': (),
-    'storage_methods': ('admitted:store_admission_pin'),
-    'cps_workspace_wf': 'workspace_content_wf',
-    'cps_section_wf': 'section_content_wf',
-    'actions': (
-         {'id': 'view',
-          'name': 'Standard View',
-          #'action': 'string:${object_url}/jamb_index_html',
-          'action': 'temporary_view_all',
-          'condition': '',
-          'permission': (View,),
-          'visible': True,},
-         {'id': 'edit',
-          'name': 'action_edit',
-          'action': 'string:${object_url}/waeup_edit_form',
-          'condition': '',
-          'permission': (StudentManage),
-          },
-         {'id': 'localroles',
-          'name': 'delegate',
-          'action': 'folder_localrole_form',
-          'permissions': (ModifyPortalContent),
-          'visible' : 0,
-          },
-          {
-          'id'        : 'add_content',
-          'name'      : 'Add Content',
-          'action'    : 'string:${object/absolute_url}/folder_factories',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (StudentManage,)},
-         {'id': 'metadata',
-          'name': 'action_metadata',
-          'action': 'cpsdocument_metadata',
-          'condition': "python:'Manager' in member.getRoles()",
-          'permissions': (UniversityManage,)},
-          )
-}
-###)
-
-student_personal_type = { ###(
-    'title': "Student personal data",
-    'description': '',
-    'content_icon': '',
-    'content_meta_type': 'StudentPersonal',
-    'product': 'WAeUP',
-    'factory': 'addStudentPersonal',
-    'immediate_view': 'temporary_view_all',
-    'global_allow': True,
-    'filter_content_types': True,
-    'allowed_content_types': (),
-    'allow_discussion': False,
-    'cps_is_searchable': True,
-    'cps_proxy_type': 'document',
-    'cps_display_as_document_in_listing': True,
-    'cps_is_portalbox': False,
-    'schemas': ['student_personal'],
-    'layouts': ['student_personal'],
-    'flexible_layouts': (),
-    'storage_methods': (),
-    'cps_workspace_wf': 'workspace_content_wf',
-    'cps_section_wf': 'section_content_wf',
-    'actions': (
-         {'id': 'view',
-          'name': 'Standard View',
-          'action': 'temporary_view_all',
-          'permission': (View,),
-          'category': 'object',
-          'visible': True,},
-         {'id': 'edit',
-          'name': 'action_edit',
-          'action': 'string:${object_url}/student_personal_edit_form',
-          'permission': (ModifyPortalContent,),
-          'category': 'object',
-          'visible': True,
-          },
-         {'id': 'metadata',
-          'name': 'action_metadata',
-          'action': 'cpsdocument_metadata',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (UniversityManage,)},
-          )
-}
-###)
-
-student_eligibility_type = { ###(
-    'title': "Student eligibility data",
-    'description': '',
-    'content_icon': '',
-    'content_meta_type': 'StudentEligibility',
-    'product': 'WAeUP',
-    'factory': 'addStudentEligibility',
-    'immediate_view': 'temporary_view_all',
-    'global_allow': True,
-    'filter_content_types': True,
-    'allowed_content_types': (),
-    'allow_discussion': False,
-    'cps_is_searchable': True,
-    'cps_proxy_type': 'document',
-    'cps_display_as_document_in_listing': True,
-    'cps_is_portalbox': False,
-    'schemas': ['student_eligibility'],
-    'layouts': ['student_eligibility'],
-    'flexible_layouts': (),
-    'storage_methods': (),
-    'cps_workspace_wf': 'workspace_content_wf',
-    'cps_section_wf': 'section_content_wf',
-    'actions': (
-         {'id': 'view',
-          'name': 'Standard View',
-          'action': 'temporary_view_all',
-          'permission': (View,),
-          'category': 'object',
-          'visible': True,},
-         {'id': 'edit',
-          'name': 'action_edit',
-          'action': 'string:${object_url}/eligibility',
-          'permission': (ModifyPortalContent,),
-          'category': 'object',
-          'visible': True,},
-         {'id': 'metadata',
-          'name': 'action_metadata',
-          'action': 'cpsdocument_metadata',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (UniversityManage,),
-          'visible': False,},
-          )
-}
-###)
-
-student_documents = { ###(
-    'title': "Students documents data",
-    'description': '',
-    'content_icon': '',
-    'content_meta_type': 'StudentDocuments',
-    'product': 'WAeUP',
-    'factory': 'addStudentDocuments',
-    'immediate_view': 'temporary_view_all',
-    'global_allow': True,
-    'filter_content_types': True,
-    'allowed_content_types': (),
-    'allow_discussion': False,
-    'cps_is_searchable': True,
-    'cps_proxy_type': 'document',
-    'cps_display_as_document_in_listing': True,
-    'cps_is_portalbox': False,
-    'schemas': ['student_documents'],
-    'layouts': ['student_documents'],
-    'flexible_layouts': (),
-    'storage_methods': (),
-    'cps_workspace_wf': 'workspace_content_wf',
-    'cps_section_wf': 'section_content_wf',
-    'actions': (
-         {'id': 'view',
-          'name': 'Standard View',
-          'action': 'string:${object_url}/temporary_view_all',
-          'permission': (View),
-          'category': 'object',
-          'visible': True,
-          },
-         {'id': 'edit',
-          'name': 'action_edit',
-          'action': 'string:${object_url}/student_documents_edit_form',
-          'permission': (ModifyPortalContent,),
-          'category': 'object',
-          'visible': True,
-          },
-         {'id': 'metadata',
-          'name': 'action_metadata',
-          'action': 'cpsdocument_metadata',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (UniversityManage,)},
-          )
-}
-###)
-
-study_level_folder = { ###(
-    'title': 'WAeUP Study Level Folder',
-    'description': '',
-    'content_icon': '',
-    'content_meta_type': 'StudyLevel',
-    'product': 'WAeUP',
-    'factory': 'addStudyLevel',
-    'immediate_view': 'folder_view',
-    'global_allow': True,
-    'filter_content_types': True,
-    'allowed_content_types': ('Semester',),
-    'allow_discussion': False,
-    'cps_is_searchable': True,
-    'cps_proxy_type': 'folder',
-    'cps_display_as_document_in_listing': True,
-    'schemas': ['metadata','common',],
-    'layouts': ['waeup_common',],
-    'flexible_layouts': (),
-    'layout_clusters': ['metadata:metadata'],
-    'cps_section_wf': 'waeup_section_wf',
-    'use_content_status_history': 0,
-    'actions': (
-         {'id': 'view',
-          'name': 'Standard View',
-          #'action': 'accommodation_index_html',
-          'action': 'string:${object_url}/temporary_view_all',
-          'condition': '',
-          'permission': (View,),
-          'category': 'object',
-          'visible': True,},
-          {'id': 'add_level',
-          'name': 'Register for Next Year',
-          'condition': "python:member and 'Student'in member.getRoles()",
-          'action'    : 'register_level',
-          #'action': 'folder_factories',
-          'permissions': (StudentManage,)},
-         {'id': 'metadata',
-          'name': 'action_metadata',
-          'action': 'cpsdocument_metadata',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (UniversityManage,)},
-          {'id': 'localroles',
-          'name': 'delegate',
-          'action': 'folder_localrole_form',
-          'permissions': (UniversityManage,),
-          'visible': 0,
-          },
-          )
-}
-###)
-
-semester_folder = { ###(
-    'title': 'WAeUP Semester Folder',
-    'description': '',
-    'content_icon': '',
-    'content_meta_type': 'Semester',
-    'product': 'WAeUP',
-    'factory': 'addSemester',
-    'immediate_view': 'folder_view',
-    'global_allow': True,
-    'filter_content_types': True,
-    'allowed_content_types': ('CourseTicket',),
-    'allow_discussion': False,
-    'cps_is_searchable': True,
-    'cps_proxy_type': 'folder',
-    'cps_display_as_document_in_listing': True,
-    #'schemas': ['metadata','common','course','course_results'],
-    #'layouts': ['waeup_common','course','course_results'],
-    'schemas': ['metadata','common',],
-    'layouts': ['waeup_common',],
-    'flexible_layouts': (),
-    'layout_clusters': ['metadata:metadata'],
-    'cps_section_wf': 'waeup_section_wf',
-    'use_content_status_history': 0,
-    'actions': (
-         {'id': 'view',
-          'name': 'Standard View',
-          #'action': 'accommodation_index_html',
-          'action': 'temporary_view_all',
-          'condition': '',
-          'permission': (View,),
-          'category': 'object',
-          'visible': True,},
-          {'id': 'add_course_ticket',
-          'name': 'Add Course Ticket',
-          'action'    : 'add_course_ticket',
-          #'action': 'folder_factories',
-          'permissions': (ModifyPortalContent,UniversityManage,StudentManage)},
-         {'id': 'metadata',
-          'name': 'action_metadata',
-          'action': 'cpsdocument_metadata',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (ModifyPortalContent,UniversityManage,)},
-          {'id': 'localroles',
-          'name': 'delegate',
-          'action': 'folder_localrole_form',
-          'permissions': (ModifyPortalContent,UniversityManage,StudentManage),
-          'visible': 0,
-          },
-          )
-}
-###)
-
-course_ticket = { ###(
-    'title': 'WAeUP Course Ticket',
-    'description': '',
-    'content_icon': '',
-    'content_meta_type': 'CourseTicket',
-    'product': 'WAeUP',
-    'factory': 'addCourseTicket',
-    'immediate_view': 'cpsdocument_view',
-    'global_allow': True,
-    'filter_content_types': True,
-    'allowed_content_types': (),
-    'allow_discussion': False,
-    'cps_is_searchable': True,
-    'cps_proxy_type': 'cpsdocument',
-    'cps_display_as_document_in_listing': True,
-    'schemas': ['metadata','common','course','course_results'],
-    'layouts': ['waeup_common','course','course_results'],
-    'flexible_layouts': (),
-    'layout_clusters': ['metadata:metadata'],
-    'cps_section_wf': 'waeup_section_wf',
-    'use_content_status_history': 0,
-    'actions': (
-         {'id': 'view',
-          'name': 'Standard View',
-          #'action': 'accommodation_index_html',
-          'action': 'temporary_view_all',
-          'condition': '',
-          'permission': (View,),
-          'category': 'object',
-          'visible': True,},
-         {'id': 'metadata',
-          'name': 'action_metadata',
-          'action': 'cpsdocument_metadata',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (UniversityManage,)},
-          {'id': 'localroles',
-          'name': 'delegate',
-          'action': 'folder_localrole_form',
-          'permissions': (UniversityManage,),
-          'visible': 0,
-          },
-          )
-}
-###)
-
-faculty_type = { ###(
-    'title': 'WAeUP Faculty',
-    'description': '',
-    'content_icon': '',
-    'content_meta_type': 'Faculty',
-    'product': 'WAeUP',
-    'factory': 'addFaculty',
-    'immediate_view': 'folder_view',
-    'global_allow': True,
-    'filter_content_types': True,
-    'allowed_content_types': ('Department'),
-    'allow_discussion': 0,
-    'cps_is_searchable': True,
-    'cps_proxy_type': 'folder',
-    'cps_display_as_document_in_listing': True,
-    'schemas': ['metadata','common','faculty'],
-    'layouts': ['faculty'],
-    'flexible_layouts': (),
-    'layout_clusters': ['metadata:metadata',],
-    'cps_section_wf': 'waeup_section_wf',
-    'use_content_status_history': 0,
-    'actions': (
-         {'id': 'view',
-          'name': 'Standard View',
-          #'action': 'string:${object_url}/faculty_index_html',
-          'action': 'temporary_view_all',
-          'condition': '',
-          'permission': (View,),
-          'visible': True,},
-         {'id': 'edit',
-          'name': 'action_edit',
-          'action': 'string:${object_url}/waeup_edit_form',
-          'condition': '',
-          'permission': (UniversityManage,),
-          'visible': True,},
-          {'id': 'add_department',
-          'name': 'Add Department',
-          'action'    : 'string:${object/absolute_url}/create_common?type_name=Department',
-          'permissions': (UniversityManage,)},
-          {'id': 'contents',
-          'name': 'action_folder_contents',
-          'action': 'folder_contents',
-          'permissions': (UniversityManage,),
-          'visible' : 0,
-          },
-          {'id': 'edit',
-          'name': 'action_edit',
-          'action': 'cpsdocument_edit_form',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (ModifyPortalContent,)},
-          {'id': 'metadata',
-          'name': 'action_metadata',
-          'action': 'cpsdocument_metadata',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (ModifyPortalContent,)},
-          {'id': 'localroles',
-          'name': 'delegate',
-          'action': 'folder_localrole_form',
-          'permissions': (ModifyPortalContent),
-          'visible' : 0,
-          },
-          )
-}
-###)
-
-department_type = { ###(
-    'title': 'WAeUP Department',
-    'description': '',
-    'content_icon': '',
-    'content_meta_type': 'Department',
-    'product': 'WAeUP',
-    'factory': 'addDepartment',
-    'immediate_view': 'folder_view',
-    'global_allow': True,
-    'filter_content_types': True,
-    'allowed_content_types': ('Student','Course'),
-    'allow_discussion': False,
-    'cps_is_searchable': True,
-    'cps_proxy_type': 'folder',
-    'cps_display_as_document_in_listing': True,
-    'schemas': ['metadata','common','department'],
-    'layouts': ['department',],
-    'flexible_layouts': (),
-    'layout_clusters': ['metadata:metadata',],
-    'cps_section_wf': 'waeup_section_wf',
-    'use_content_status_history': 0,
-    'actions': (
-         {'id': 'view',
-          'name': 'Standard View',
-          #'action': 'string:${object_url}/department_index_html',
-          'action': 'temporary_view_all',
-          'condition': '',
-          'permission': ('View',),
-          'visible': True,},
-         {'id': 'edit',
-          'name': 'action_edit',
-          'action': 'string:${object_url}/waeup_edit_form',
-          'condition': '',
-          'permission': (UniversityManage,),
-          'visible': True,},
-          {'id': 'create_course',
-          'name': 'Add Course',
-          'action'    : 'string:${object/absolute_url}/create_course',
-          'permissions': (UniversityManage,)},
-          {'id': 'contents',
-          'name': 'action_folder_contents',
-          'action': 'folder_contents',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (ModifyPortalContent,)},
-          {'id': 'edit',
-          'name': 'action_edit',
-          'action': 'cpsdocument_edit_form',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (ModifyPortalContent,)},
-          {'id': 'metadata',
-          'name': 'action_metadata',
-          'action': 'cpsdocument_metadata',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (ModifyPortalContent,)},
-          {'id': 'localroles',
-          'name': 'delegate',
-          'action': 'folder_localrole_form',
-          'permissions': (ModifyPortalContent),
-          'visible' : 0,
-          },
-          )
-}
-###)
-
-course_type = { ###(
-    'title': 'WAeUP Course',
-    'description': '',
-    'content_icon': 'student.gif',
-    'content_meta_type': 'Course',
-    'product': 'WAeUP',
-    'factory': 'addCourse',
-    'immediate_view': 'cpsdocument_view',
-    'global_allow': True,
-    'filter_content_types': True,
-    'allowed_content_types': (),
-    'allow_discussion': False,
-    'cps_is_searchable': True,
-    'cps_proxy_type': 'document',
-    'cps_display_as_document_in_listing': True,
-    'schemas': ['metadata','common','course'],
-    'layouts': ['course',],
-    'flexible_layouts': (),
-    'layout_clusters': ['metadata:metadata',],
-    'cps_section_wf': 'waeup_section_wf',
-    'use_content_status_history': 0,
-    'actions': (
-         {'id': 'view',
-          'name': 'Standard View',
-          #'action': 'string:${object_url}/course_index_html',
-          'action': 'temporary_view_all',
-          'condition': '',
-          'permission': ('View',),
-          'category': 'object',
-          'visible': True,},
-         {'id': 'edit',
-          'name': 'action_edit',
-          'action': 'string:${object_url}/waeup_edit_form',
-          'condition': '',
-          'permission': (CourseManage,),
-          'category': 'object',
-          'visible': True,},
-          {'id': 'contents',
-          'name': 'action_folder_contents',
-          'action': 'folder_contents',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (ModifyPortalContent,UniversityManage,)},
-          {'id': 'edit',
-          'name': 'action_edit',
-          'action': 'cpsdocument_edit_form',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (ModifyPortalContent,UniversityManage,)},
-          {'id': 'metadata',
-          'name': 'action_metadata',
-          'action': 'cpsdocument_metadata',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (ModifyPortalContent,)},
-          {'id': 'localroles',
-          'name': 'delegate',
-          'action': 'folder_localrole_form',
-          'permissions': (ModifyPortalContent),
-          'visible' : 0,
-          },
-          )
-    }
-###)
-
-acco_folder = { ###(
-    'title': 'WAeUP Accommodation Folder',
-    'description': '',
-    'content_icon': '',
-    'content_meta_type': 'AccoFolder',
-    'product': 'WAeUP',
-    'factory': 'addAccoFolder',
-    'immediate_view': 'folder_view',
-    'global_allow': True,
-    'filter_content_types': True,
-    'allowed_content_types': ('Accommodation',),
-    'allow_discussion': False,
-    'cps_is_searchable': True,
-    'cps_proxy_type': 'folder',
-    'cps_display_as_document_in_listing': True,
-    'schemas': ['metadata','common',],
-    'layouts': ['waeup_common',],
-    'flexible_layouts': (),
-    'layout_clusters': ['metadata:metadata'],
-    'cps_section_wf': 'waeup_section_wf',
-    'use_content_status_history': 0,
-    'actions': (
-         {'id': 'view',
-          'name': 'Standard View',
-          #'action': 'accommodation_index_html',
-          'action': 'temporary_view_all',
-          'condition': '',
-          'permission': (View,),
-          'category': 'object',
-          'visible': True,},
-          {'id': 'add_accommodation',
-          'name': 'Add Accommodation Hall',
-          #'condition': "python:member and 'UniversityManager'in member.getRoles()",
-          'action'    : 'add_accommodation',
-          #'action': 'folder_factories',
-          'permissions': (UniversityManage,)},
-         {'id': 'metadata',
-          'name': 'action_metadata',
-          'action': 'cpsdocument_metadata',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (UniversityManage,)},
-          {'id': 'edit',
-          'name': 'action_edit',
-          'action': 'cpsdocument_edit_form',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (ModifyPortalContent,UniversityManage,)},
-          {'id': 'localroles',
-          'name': 'delegate',
-          'action': 'folder_localrole_form',
-          'permissions': (UniversityManage,),
-          'visible': 0,
-          },
-          )
-}
-###)
-
-accommodation = { ###(
-    'title': 'WAeUP Accommodation',
-    'description': '',
-    'content_icon': 'student.gif',
-    'content_meta_type': 'Accommodation',
-    'product': 'WAeUP',
-    'factory': 'addAccommodation',
-    'immediate_view': 'cpsdocument_view',
-    'global_allow': True,
-    'filter_content_types': True,
-    'allowed_content_types': (),
-    'allow_discussion': False,
-    'cps_is_searchable': True,
-    'cps_proxy_type': 'cpsdocument',
-    'cps_display_as_document_in_listing': True,
-    'schemas': ['metadata','common','accommodation'],
-    'layouts': ['accommodation',],
-    'flexible_layouts': (),
-    'layout_clusters': ['metadata:metadata',],
-    'cps_section_wf': 'waeup_section_wf',
-    'use_content_status_history': 0,
-    'actions': (
-         {'id': 'view',
-          'name': 'Standard View',
-          #'action': 'string:${object_url}/accommodation_index_html',
-          'action': 'temporary_view_all',
-          'condition': '',
-          'permission': ('View',),
-          'category': 'object',
-          'visible': True,},
-         {'id': 'edit',
-          'name': 'action_edit',
-          'action': 'string:${object_url}/waeup_edit_form',
-          'permission': (UniversityManage,StudentManage),
-          'category': 'object',
-          'visible': True,},
-          {'id': 'metadata',
-          'name': 'action_metadata',
-          'action': 'cpsdocument_metadata',
-          'condition': "python:member and 'Manager' in member.getRoles()",
-          'permissions': (ModifyPortalContent,)},
-          {'id': 'localroles',
-          'name': 'delegate',
-          'action': 'folder_localrole_form',
-          'permissions': (UniversityManage,),
-          'visible' : 0,
-          },
-          )
-}
-###)
-
-types = {}
-types['University'] = university_type
-types['StudentsFolder'] = students_folder_type
-types['AcademicsFolder'] = academics_folder_type
-types['Student'] = student_type
-types['StudentDocuments'] = student_documents
-types['StudentEligibility'] = student_eligibility_type
-types['StudentPersonal'] = student_personal_type
-types['StudyLevel'] = study_level_folder
-types['Semester'] = semester_folder
-types['CourseTicket'] = course_ticket
-types['AccoFolder'] = acco_folder
-types['Accommodation'] = accommodation
-types['ScratchCard'] = scratch_card
-types['Jamb'] = jamb_type
-types['Faculty'] = faculty_type
-types['Department'] = department_type
-types['Course'] = course_type
-
-return types
-
Index: eUP-SRP/trunk/skins/waeup_default/getWAeUPVocabularies.py
===================================================================
--- /WAeUP-SRP/trunk/skins/waeup_default/getWAeUPVocabularies.py	(revision 273)
+++ 	(revision )
@@ -1,124 +1,0 @@
-#-*- mode: python; mode: fold -*-
-##parameters=
-# $Id$
-"""Return custom vocabularies."""
-##'xxx_voc': {
-##        'type': 'CPS Vocabulary',
-##        'data': {'tuples': (
-##            ('', "", ''),
-##            )},
-##        },
-##vocabluaries['xxx'] = xxx_voc
-
-vocabularies = {}
-
-nigerian_states = { ###(
-        'type': 'CPS Vocabulary',
-        'data': {'tuples': (
-            ('abia', "Abia", ''),
-            ('adam', "Adamawa", ''),
-            ('akwa', "Akwa Ibom", ''),
-            ('anam', "Anambra", ''),
-            ('bauchi', "Bauchi", ''),
-            ('baye', "Bayelsa", ''),
-            ('benu', "Benue", ''),
-            ('born', "Borno", ''),
-            ('cro', "Cross River", ''),
-            ('delt', "Delta", ''),
-            ('ebon', "Ebonyi", ''),
-            ('edo', "edo", ''),
-            ('ekit', "Ekiti", ''),
-            ('enug', "Enugu", ''),
-            ('gomb', "Gombe", ''),
-            ('imo', "Imo", ''),
-            ('jiga', "Jigawa", ''),
-            ('kad', "Kaduna", ''),
-            ('kano', "Kano", ''),
-            ('kats', "Katsina", ''),
-            ('keb', "Kebbi", ''),
-            ('kogi', "Kogi", ''),
-            ('kwar', "Kwara", ''),
-            ('lag', "Lagos", ''),
-            ('nasa', "Nasawara", ''),
-            ('nige', "Niger", ''),
-            ('ogun', "Ogun", ''),
-            ('ondo', "Ondo", ''),
-            ('osun', "Osun", ''),
-            ('oyo', "oyo", ''),
-            ('plat', "Plateau", ''),
-            ('riv', "Rivers", ''),
-            ('sok', "Sokoto", ''),
-            ('tar', "Taraba", ''),
-            ('yobe', "Yobe", ''),
-            ('zam', "Zamfara", ''),
-            ('fct', "FCT", ''),
-            )},
-        }
-vocabularies['nigerian_states'] = nigerian_states
-###)
-
-faculties = { ###(
-        'type': 'CPS Vocabulary',
-        'data': {'tuples': (
-            ('agri', "Agriculture", ''),
-            ('arts', "Arts", ''),
-            ('bmed', "Basic Med Sciences", ''),
-            ('edu', "Education", ''),
-            ('eng', "Engeneering", ''),
-            ('law', "Law", ''),
-            ('phar', "Pharmacy", ''),
-            ('sod', "School of Denistry", ''),
-            ('som', "School of Medicine", ''),
-            ('sci', "Science", ''),
-            ('soc', "Social Science", ''),
-            )},
-        }
-vocabularies['faculties'] = faculties
-###)
-get_faculties_voc = { ###(
-        'type': 'CPS Method Vocabulary',
-        'data': {'get_vocabulary_method': 'get_faculties_voc',}
-        }
-vocabularies['get_faculties_voc'] = get_faculties_voc
-###)
-get_departments_voc = { ###(
-        'type': 'CPS Method Vocabulary',
-        'data': {'get_vocabulary_method': 'get_departments_voc',}
-        }
-vocabularies['get_departments_voc'] = get_departments_voc
-###)
-
-level = { ###(
-        'type': 'CPS Vocabulary',
-        'data': {'tuples': (
-            ('100', "Year 1 (100 Level)", ''),
-            ('200', "Year 2 (200 Level)", ''),
-            ('300', "Year 3 (300 Level)", ''),
-            ('400', "Year 4 (400 Level)", ''),
-            )},
-        }
-vocabularies['courselevel'] = level
-
-###)
-
-vocabularies['range5'] = {'type': 'CPS Vocabulary',
-                               'data': {'tuples': ([('%d' % i, '%d' % i ,'') for i in range(1,6)])},
-                          }
-vocabularies['range10'] = {'type': 'CPS Vocabulary',
-                               'data': {'tuples': ([('%d' % i, '%d' % i,'') for i in range(1,11)])},
-                          }
-vocabularies['range20'] = {'type': 'CPS Vocabulary',
-                               'data': {'tuples': ([('%d' % i, '%d' % i,'') for i in range(1,21)])},
-                          }
-vocabularies['range50'] = {'type': 'CPS Vocabulary',
-                               'data': {'tuples': ([('%d' % i, '%d' % i,'') for i in range(1,51)])},
-                          }
-##'xxx_voc': {
-##        'type': 'CPS Vocabulary',
-##        'data': {'tuples': (
-##            ('', "", ''),
-##            )},
-##        },
-
-
-return vocabularies
Index: eUP-SRP/trunk/skins/waeup_default/getWAeUPWidgets.py
===================================================================
--- /WAeUP-SRP/trunk/skins/waeup_default/getWAeUPWidgets.py	(revision 273)
+++ 	(revision )
@@ -1,12 +1,0 @@
-widgets = {
-        'StudentId Widget': {
-            'type': 'StudentId Widget Type',
-            'data': {},
-            },
-        'Scratchcard Pin Widget': {
-            'type': 'Scratchcard Pin Widget Type',
-            'data': {},
-            },
-        }
-
-return widgets
