GetErrorMessages(); function PrintTemplateList() { global $G_PluginManager; $MailerPlugin = $G_PluginManager->GetPlugin("Mailer"); $TemplateList = $MailerPlugin->GetTemplateList(); $TemplateList[-1] = "--"; PrintOptionList( "F_TemplateId", $TemplateList, -1, "", 1, 1, FALSE, NULL, "auto"); } function PrintDefaultMailingList() { global $AF; if ($AF->IsRegisteredEvent("MAILMAN_SUBSCRIBE_TO_DEFAULT_LIST") ) { $DisplayName = defaulthtmlentities( $AF->SignalEvent("MAILMAN_GET_DEFAULT_LIST_DISPLAY_NAME") ); print('