- Timestamp:
- 19 Oct 2005, 09:42:03 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/getWAeUPVocabularies.py
r19 r57 2 2 # $Id$ 3 3 """Return custom vocabularies.""" 4 ##'xxx_voc': { 5 ## 'type': 'CPS Vocabulary', 6 ## 'data': {'tuples': ( 7 ## ('', "", ''), 8 ## )}, 9 ## }, 10 ##vocabluaries['xxx'] = xxx_voc 4 11 5 12 vocabularies = {} 6 13 14 nigerian_states_voc = { 15 'type': 'CPS Vocabulary', 16 'data': {'tuples': ( 17 ('abia', "Abia", ''), 18 ('adam', "Adamawa", ''), 19 ('akwa', "Akwa Ibom", ''), 20 ('anam', "Anambra", ''), 21 ('bauchi', "Bauchi", ''), 22 ('baye', "Bayelsa", ''), 23 ('benu', "Benue", ''), 24 ('born', "Borno", ''), 25 ('cro', "Cross River", ''), 26 ('delt', "Delta", ''), 27 ('ebon', "Ebonyi", ''), 28 ('edo', "edo", ''), 29 ('ekit', "Ekiti", ''), 30 ('enug', "Enugu", ''), 31 ('gomb', "Gombe", ''), 32 ('imo', "Imo", ''), 33 ('jiga', "Jigawa", ''), 34 ('kad', "Kaduna", ''), 35 ('kano', "Kano", ''), 36 ('kats', "Katsina", ''), 37 ('keb', "Kebbi", ''), 38 ('kogi', "Kogi", ''), 39 ('kwar', "Kwara", ''), 40 ('lag', "Lagos", ''), 41 ('nasa', "Nasawara", ''), 42 ('nige', "Niger", ''), 43 ('ogun', "Ogun", ''), 44 ('ondo', "Ondo", ''), 45 ('osun', "Osun", ''), 46 ('oyo', "oyo", ''), 47 ('plat', "Plateau", ''), 48 ('riv', "Rivers", ''), 49 ('sok', "Sokoto", ''), 50 ('tar', "Taraba", ''), 51 ('yobe', "Yobe", ''), 52 ('zam', "Zamfara", ''), 53 ('fct', "FCT", ''), 54 )}, 55 } 56 vocabularies['nigerian_states'] = nigerian_states_voc 57 58 faculties_voc = { 59 'type': 'CPS Vocabulary', 60 'data': {'tuples': ( 61 ('agri', "Agriculture", ''), 62 ('arts', "Arts", ''), 63 ('bmed', "Basic Med Sciences", ''), 64 ('edu', "Education", ''), 65 ('eng', "Engeneering", ''), 66 ('law', "Law", ''), 67 ('phar', "Pharmacy", ''), 68 ('sod', "School of Denistry", ''), 69 ('som', "School of Medicine", ''), 70 ('sci', "Science", ''), 71 ('soc', "Social Science", ''), 72 )}, 73 } 74 75 vocabularies['faculties'] = faculties_voc 76 7 77 return vocabularies
Note: See TracChangeset for help on using the changeset viewer.