classes/manager/form/setup/ConferenceSetupStep3Form.inc.php

Go to the documentation of this file.
00001 <?php
00002 
00015 // $Id$
00016 
00017 import("manager.form.setup.ConferenceSetupForm");
00018 
00019 class ConferenceSetupStep3Form extends ConferenceSetupForm {
00023    function ConferenceSetupStep3Form() {
00024       parent::ConferenceSetupForm(
00025          3,
00026          array(
00027             'homeHeaderTitleType' => 'int',
00028             'homeHeaderTitle' => 'string',
00029             'pageHeaderTitleType' => 'int',
00030             'pageHeaderTitle' => 'string',
00031             'navItems' => 'object',
00032             'conferencePageHeader' => 'string',
00033             'conferencePageFooter' => 'string',
00034             'itemsPerPage' => 'int',
00035             'numPageLinks' => 'int',
00036             'homeHeaderTitleImageAltText' => 'string',
00037             'homeHeaderLogoImageAltText' => 'string',
00038             'pageHeaderTitleImageAltText' => 'string',
00039             'pageHeaderLogoImageAltText' => 'string'
00040          )
00041       );
00042    }
00043 
00048    function getLocaleFieldNames() {
00049       return array('homeHeaderTitleType', 'homeHeaderTitle', 'pageHeaderTitleType', 'pageHeaderTitle', 'navItems', 'conferencePageHeader', 'conferencePageFooter', 'conferenceFavicon', 'homeHeaderTitleImageAltText', 'homeHeaderLogoImageAltText', 'pageHeaderTitleImageAltText', 'pageHeaderLogoImageAltText');
00050    }
00051 
00055    function display() {
00056       $conference =& Request::getConference();
00057 
00058       // Ensure upload file settings are reloaded when the form is displayed.
00059       $templateMgr =& TemplateManager::getManager();
00060       $templateMgr->assign(array(
00061          'homeHeaderTitleImage' => $conference->getSetting('homeHeaderTitleImage'),
00062          'homeHeaderLogoImage'=> $conference->getSetting('homeHeaderLogoImage'),
00063          'pageHeaderTitleImage' => $conference->getSetting('pageHeaderTitleImage'),
00064          'pageHeaderLogoImage' => $conference->getSetting('pageHeaderLogoImage'),
00065          'conferenceFavicon' => $conference->getSetting('conferenceFavicon')
00066       ));
00067 
00068       parent::display();      
00069    }
00070 }
00071 
00072 ?>

Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7