Changeset 6764


Ignore:
Timestamp:
22/03/10 17:24:47 (10 years ago)
Author:
sdonegan
Message:

takes title attributes from config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery-OaiInfoEditor/trunk/v3n_NDG3/OAIInfoEditor/oai_info_editor/config/oiemiddleware.py

    r6749 r6764  
    5252        self.globals.backupDir = cf.get('DATA_STORE', 'backupFileDir') 
    5353         
     54        #information on headings etc 
     55        self.globals.mainTitle = cf.get('INSTANCE','head_title') 
     56        self.globals.subTitle = cf.get('INSTANCE','sub_title') 
     57        self.globals.titlePara = cf.get('INSTANCE','exp_text') 
     58        self.globals.helpTitle = cf.get('INSTANCE','helppage_title') 
     59        self.globals.email = cf.get('INSTANCE','support_email') 
     60         
    5461        oaiConfig = cf.get('DATA_STORE', 'oaiConfigFile') 
    5562        if not oaiConfig: 
Note: See TracChangeset for help on using the changeset viewer.