<?php /* Copyright (©) 2003-2014 Teus Benschop. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ require_once "../bootstrap/bootstrap.php"; page_access_level(Filter_Roles::CONSULTANT_LEVEL); $assets_header = new Assets_Header(Locale_Translate::_("Bibles")); $assets_header->run(); $view = new Assets_View(__FILE__); $bibles = Access_Bible::bibles(); // Add general Bible. $bibles[] = Notes_Logic::generalBibleName(); $view->view->bibles = $bibles; $view->render("bible-n.php"); Assets_Page::footer();
Assets_Page::success(Locale_Translate::_("The status of the notes was updated")); $database_logs->log("Status update of notes: {$identifierlist}", true); } @($severity = $_GET['severity']); if (isset($severity)) { foreach ($identifiers as $identifier) { if ($database_notes->getRawSeverity($identifier) != $severity) { $notes_logic->setRawSeverity($identifier, $severity); } } Assets_Page::success(Locale_Translate::_("The severity of the notes was updated")); $database_logs->log("Severity update of notes: {$identifierlist}", true); } @($bible = $_GET['bible']); if (isset($bible)) { if ($bible == Notes_Logic::generalBibleName()) { $bible = ""; } foreach ($identifiers as $identifier) { if ($database_notes->getBible($identifier) != $bible) { $notes_logic->setBible($identifier, $bible); } } Assets_Page::success(Locale_Translate::_("The Bible of the notes was updated")); $database_logs->log("Bible update of notes: {$identifierlist}", true); } @($delete = $_GET['delete']); if (isset($delete)) { @($confirm = $_GET['confirm']); if ($confirm != "yes") { $dialog_yes = new Dialog_Yes2(Locale_Translate::_("Would you like to delete the notes?"), "&delete=");