} if (isset($_GET['dateinheadertoggle'])) { $database_config_bible->setDateInHeader($bible, Filter_Bool::not($database_config_bible->getDateInHeader($bible))); } if (isset($_GET['odtsecuretoggle'])) { $database_config_bible->setSecureOdtExport($bible, !$database_config_bible->getSecureOdtExport($bible)); $view->view->success = Locale_Translate::_("The setting for securing the OpenDocument export was updated."); } $view->view->odtsecure = $database_config_bible->getSecureOdtExport($bible); if (isset($_GET['infotoggle'])) { $database_config_bible->setGenerateInfoDuringNight($bible, !$database_config_bible->getGenerateInfoDuringNight($bible)); $view->view->success = Locale_Translate::_("The setting for nightly generation of info was updated."); } $view->view->info = $database_config_bible->getGenerateInfoDuringNight($bible); if (isset($_GET['infonow'])) { Export_Logic::scheduleInfo($bible); $view->view->success = Locale_Translate::_("The info documents are being generated."); } $view->view->stylesheet = Filter_Html::sanitize($database_config_bible->getExportStylesheet($bible)); $view->view->dropcaps = $database_config_bible->getExportChapterDropCapsFrames($bible); $view->view->pagewidth = Filter_Html::sanitize($database_config_bible->getPageWidth($bible)); $view->view->pageheight = Filter_Html::sanitize($database_config_bible->getPageHeight($bible)); $view->view->innermargin = Filter_Html::sanitize($database_config_bible->getInnerMargin($bible)); $view->view->outermargin = Filter_Html::sanitize($database_config_bible->getOuterMargin($bible)); $view->view->topmargin = Filter_Html::sanitize($database_config_bible->getTopMargin($bible)); $view->view->bottommargin = Filter_Html::sanitize($database_config_bible->getBottomMargin($bible)); $view->view->dateinheader = $database_config_bible->getDateInHeader($bible); if (isset($_GET['eswordtoggle'])) { $database_config_bible->setExportESwordDuringNight($bible, !$database_config_bible->getExportESwordDuringNight($bible)); $view->view->success = Locale_Translate::_("The setting for nightly export to e-Sword format was updated."); }