00001 <?php
00002
00016
00017
00018 import('manager.form.PKPAnnouncementTypeForm');
00019
00020 class AnnouncementTypeForm extends PKPAnnouncementTypeForm {
00025 function AnnouncementTypeForm($typeId = null) {
00026 parent::PKPAnnouncementTypeForm($typeId);
00027 }
00028
00032 function display() {
00033 $templateMgr =& TemplateManager::getManager();
00034 $templateMgr->assign('helpTopicId', 'conference.generalManagement.announcements');
00035
00036 parent::display();
00037 }
00038
00043 function _setAnnouncementTypeAssocId(&$announcementType) {
00044 $conference =& Request::getConference();
00045 $announcementType->setAssocType(ASSOC_TYPE_CONFERENCE);
00046 $announcementType->setAssocId($conference->getId());
00047 }
00048 }
00049
00050 ?>