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::MANAGER_LEVEL); Assets_Page::header(Locale_Translate::_("Import BibleWorks")); $view = new Assets_View(__FILE__); $database_bibles = Database_Bibles::getInstance(); $database_books = Database_Books::getInstance(); $success_message = ""; $error_message = ""; // The name of the Bible. $bible = Access_Bible::clamp($_GET['bible']); $view->view->bible = Filter_Html::sanitize($bible); // Data submission. if (isset($_POST['submit'])) { // Whether to keep the grammatical tags. $tags = isset($_POST['tags']); // The BibleWorks text. $data = $_POST['data']; $data = trim($data);
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::MANAGER_LEVEL); Assets_Page::header(Locale_Translate::_("Changes")); $view = new Assets_View(__FILE__); $database_modifications = Database_Modifications::getInstance(); $config_general = Database_Config_General::getInstance(); $database_logs = Database_Logs::getInstance(); @($clear = $_GET['clear']); if (isset($clear)) { // Just in case there are many change notifications to clear, be sure the script does not time out or abort. ignore_user_abort(true); set_time_limit(0); $database_modifications->clearNotificationsUser($clear); } $users = Access_User::assignees(); $pendingUsers = array(); $pendingCount = array(); foreach ($users as $user) {
<?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::GUEST_LEVEL); Assets_Page::header(Locale_Translate::_("Navigation")); $view = new Assets_View(__FILE__); $view->render("navigation.php"); Assets_Page::footer();
<?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. */ // Page bootstrapping. require_once "../bootstrap/bootstrap.php"; Assets_Page::header("Bibledit-Web"); $view = new Assets_View(__FILE__); $view->render("index.php"); Assets_Page::footer();
<?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::MANAGER_LEVEL); Assets_Page::header(Locale_Translate::_("Import")); $file = $_GET['file']; $folder = Filter_Archive::uncompress($file, true); $view = new Assets_View(__FILE__); $view->view->folder = $folder; $view->render("import3.php"); Assets_Page::footer();
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::GUEST_LEVEL); Assets_Page::header(Locale_Translate::_("Password")); $view = new Assets_View(__FILE__); // Form submission handler. if (isset($_POST['submit'])) { $form_is_valid = true; $user = $_POST['user']; if (strlen($user) < 4) { $view->view->error_message = Locale_Translate::_("Username or email address is too short"); $form_is_valid = false; } $database_users = Database_Users::getInstance(); if ($form_is_valid) { $form_is_valid = false; $email = $database_users->getUserToEmail($user); if ($email != "") { $form_is_valid = true;
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::MANAGER_LEVEL); Assets_Page::header(Locale_Translate::_("Verse mappings")); $view = new Assets_View(__FILE__); $database_mappings = Database_Mappings::getInstance(); $session_logic = Session_Logic::getInstance(); $username = $session_logic->currentUser(); $userlevel = $session_logic->currentLevel(); $name = $_GET['name']; $view->view->name = Filter_Html::sanitize($name); //$write = $database_styles->hasWriteAccess ($username, $name); $write = true; if ($userlevel >= Filter_Roles::ADMIN_LEVEL) { $write = true; } if (isset($_POST['submit'])) { $data = $_POST['data']; if ($write) {
<?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::GUEST_LEVEL); Assets_Page::header(Locale_Translate::_("Teams")); $view = new Assets_View(__FILE__); $view->render("teams.php"); Assets_Page::footer();
// Feedback. $view->view->success = Locale_Translate::_("Demo connection is okay."); } else { $view->view->error = Locale_Translate::_("Could not connect to the demo server."); } } $view->view->client = Filter_Client::enabled(); $address = $database_config_general->getServerAddress(); $view->view->address = $address; $users = $database_users->getUsers(); foreach ($users as $user) { $level = $database_users->getUserLevel($user); $view->view->role = Filter_Roles::text($level); } $view->view->demo = Filter_Demo::client_demo_warning(); Assets_Page::header(Locale_Translate::_("Client mode")); $view->render("client.php"); Assets_Page::footer(); function remove_all_users() { $database_users = Database_Users::getInstance(); $existingusers = $database_users->getUsers(); foreach ($existingusers as $existinguser) { $database_users->removeUser($existinguser); } } function enable_client($username, $password, $level) { // Enable client mode upon a successful connection. Filter_Client::set(true); // Remove all users from the database, and add the current one.
<?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::GUEST_LEVEL); Assets_Page::header(Locale_Translate::_("Installation")); $view = new Assets_View(__FILE__); $view->render("installwindows.php"); Assets_Page::footer();
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::MEMBER_LEVEL); Assets_Page::header(Locale_Translate::_("Account")); $view = new Assets_View(__FILE__); $session_logic = Session_Logic::getInstance(); $username = $session_logic->currentUser(); $database_users = Database_Users::getInstance(); $email = $database_users->getUserToEmail($username); $actions_taken = false; $success_messages = array(); // Form submission handler. if (isset($_POST['submit'])) { $form_is_valid = true; $currentpassword = $_POST['currentpassword']; $newpassword = $_POST['newpassword']; $newpassword2 = $_POST['newpassword2']; $newemail = $_POST['newemail']; if ($newpassword != "" || $newpassword2 != "") {
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::MANAGER_LEVEL); Assets_Page::header(Locale_Translate::_("Stylesheet")); $view = new Assets_View(__FILE__); $database_styles = Database_Styles::getInstance(); $session_logic = Session_Logic::getInstance(); $name = $_GET['name']; $view->view->name = Filter_Html::sanitize($name); $username = $session_logic->currentUser(); $userlevel = $session_logic->currentLevel(); $write = $database_styles->hasWriteAccess($username, $name); if ($userlevel >= Filter_Roles::ADMIN_LEVEL) { $write = true; } if (isset($_POST['new'])) { $new = $_POST['entry']; if (in_array($new, $database_styles->getMarkers($name))) { Assets_Page::error(Locale_Translate::_("This style already exists"));
<?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::ADMIN_LEVEL); Assets_Page::header(Locale_Translate::_("Removing duplicate consultation notes")); set_time_limit(0); $workingdirectory = dirname(__FILE__); Tasks_Logic::queue(Tasks_Logic::PHP, array("{$workingdirectory}/cleancli.php")); $view = new Assets_View(__FILE__); $view->render("clean.php"); Assets_Page::footer();
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::TRANSLATOR_LEVEL); Assets_Page::header(Locale_Translate::_("Font and text direction")); $view = new Assets_View(__FILE__); $database_config_bible = Database_Config_Bible::getInstance(); // The name of the Bible. $bible = Access_Bible::clamp($_GET['bible']); $view->view->bible = Filter_Html::sanitize($bible); // Data submission. if (isset($_POST['submit'])) { $font = $_POST["font"]; $font = trim($font); $database_config_bible->setTextFont($bible, $font); $direction = $_POST["direction"]; $direction = Filter_CustomCSS::directionValue($direction); $mode = $_POST["mode"]; $mode = Filter_CustomCSS::writingModeValue($mode); $database_config_bible->setTextDirection($bible, $mode * 10 + $direction);
<?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::GUEST_LEVEL); Assets_Page::header(Locale_Translate::_("About")); $view = new Assets_View(__FILE__); $view->render("about.php"); Assets_Page::footer();
<?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::GUEST_LEVEL); Assets_Page::header(Locale_Translate::_("Checks")); $view = new Assets_View(__FILE__); $view->render("checks.php"); Assets_Page::footer();
<?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::GUEST_LEVEL); Assets_Page::header(Locale_Translate::_("Scrum-based translation")); $view = new Assets_View(__FILE__); $view->render("discussions.php"); Assets_Page::footer();
<?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::GUEST_LEVEL); Assets_Page::header(Locale_Translate::_("Help")); $view = new Assets_View(__FILE__); $view->render("index.php"); Assets_Page::footer();
} else { $field_terminate = $_POST['import_csv_fieldsterminated']; $field_enclosed = $_POST['import_csv_fieldsenclosed']; $field_escaped = $_POST['import_csv_fieldsescaped']; $null = $_POST['import_csv_replacenull']; $fields_in_first_row = isset($_POST['import_csv_fieldnames']); $importSuccess = $db->import_csv($_FILES["file"]["tmp_name"], $_POST['single_table'], $field_terminate, $field_enclosed, $field_escaped, $null, $fields_in_first_row); } } } header('Content-Type: text/html; charset=utf-8'); // Displaying the Bibledit-Web heder and menu is postponed till here. // This fixes the following: // Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at assets/view.php:57) in phpliteadmin/index.php on line 464 // With headers, it forgets which table it has selected. Assets_Page::header("phpLiteAdmin"); // here begins the HTML. ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!-- Copyright <?php echo date("Y") . ' ' . PROJECT . ' (' . PROJECT_URL . ')'; ?> --> <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /> <link rel="shortcut icon" href="?resource=favicon" /> <title><?php echo PROJECT; ?> </title>
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::MANAGER_LEVEL); Assets_Page::header(Locale_Translate::_("Versifications")); $view = new Assets_View(__FILE__); $database_versifications = Database_Versifications::getInstance(); if (isset($_GET['delete'])) { $name = $_GET['delete']; $confirm = $_GET['confirm']; if ($confirm != "") { $database_versifications->delete($name); } else { $dialog_yes = new Dialog_Yes(NULL, Locale_Translate::_("Would you like to delete this versification system?"), "delete"); die; } } if (isset($_POST['new'])) { $name = $_POST['entry']; $database_versifications->createSystem($name);
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::MANAGER_LEVEL); Assets_Page::header(Locale_Translate::_("Bibles")); $view = new Assets_View(__FILE__); $database_bibles = Database_Bibles::getInstance(); $database_users = Database_Users::getInstance(); $session_logic = Session_Logic::getInstance(); // Delete Bible handler. if (isset($_GET['delete'])) { $bible = $_GET['delete']; @($confirm = $_GET['confirm']); if ($confirm != "") { ignore_user_abort(true); set_time_limit(0); // User needs write access for delete operation. if (Access_Bible::write($bible)) { Bible_Logic::deleteBible($bible); $gitdirectory = Filter_Git::git_directory($bible);
<?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::GUEST_LEVEL); Assets_Page::header(Locale_Translate::_("Tips and Tricks")); $view = new Assets_View(__FILE__); $view->render("tipstricks.php"); Assets_Page::footer();
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::ADMIN_LEVEL); Assets_Page::header(Locale_Translate::_("Mail")); $view = new Assets_View(__FILE__); // Email form submission. if (isset($_POST['email'])) { $form_is_valid = true; $sitename = $_POST['sitename']; $sitemail = $_POST['sitemail']; if (strlen($sitemail) > 0) { $validator = new Zend_Validate_EmailAddress(); if (!$validator->isValid($sitemail)) { $form_is_valid = false; $view->view->site_name_error = Locale_Translate::_("The email address does not appear to be valid"); } } if ($form_is_valid) { $config_general = Database_Config_General::getInstance();
<?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::MEMBER_LEVEL); Assets_Page::header(Locale_Translate::_("My area")); $view = new Assets_View(__FILE__); $view->render("index.php"); Assets_Page::footer();
<?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::GUEST_LEVEL); Assets_Page::header(Locale_Translate::_("Typesetting in InDesign")); $view = new Assets_View(__FILE__); $view->render("typesettingindesign.php"); Assets_Page::footer();
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::MANAGER_LEVEL); Assets_Page::header(Locale_Translate::_("Sentence Structure")); $view = new Assets_View(__FILE__); $database_config_user = Database_Config_User::getInstance(); $database_config_bible = Database_Config_Bible::getInstance(); $bible = Access_Bible::clamp($database_config_user->getBible()); if (isset($_POST['capitals'])) { $database_config_bible->setSentenceStructureCapitals($bible, $_POST['capitals']); $view->view->success = Locale_Translate::_("The capitals were stored"); } if (isset($_POST['smallletters'])) { $database_config_bible->setSentenceStructureSmallLetters($bible, $_POST['smallletters']); $view->view->success = Locale_Translate::_("The small letters were stored"); } if (isset($_POST['endpunctuationmarks'])) { $database_config_bible->setSentenceStructureEndPunctuation($bible, $_POST['endpunctuationmarks']); $view->view->success = Locale_Translate::_("The punctuation marks at the ends of sentences were stored");
<?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::GUEST_LEVEL); Assets_Page::header(Locale_Translate::_("Methodology")); $view = new Assets_View(__FILE__); $view->render('methodology.php'); Assets_Page::footer();
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::GUEST_LEVEL); Assets_Page::header(Locale_Translate::_("Signup")); $view = new Assets_View(__FILE__); /** * Set of security questions. */ $questions[] = Locale_Translate::_("To which city was Paul travelling when a light from heaven shone round about him?"); $answers[] = Locale_Translate::_("Damascus"); $passages[] = Locale_Translate::_('And while he travelled, he came near Damascus; and suddenly a light from heaven shone round about him.'); $questions[] = Locale_Translate::_("What is the name of the brother of Aaron the high priest?"); $answers[] = Locale_Translate::_("Moses"); $passages[] = Locale_Translate::_('And the anger of Jehova was kindled against Moses, and he said: Is not Aaron the Levite your brother?'); $questions[] = Locale_Translate::_("What is the name of the city where Jesus was born?"); $answers[] = Locale_Translate::_("Bethlehem"); $passages[] = Locale_Translate::_('When Jesus was born in Bethlehem of Judaea in the days of Herod the king, behold, wise men from the east came to Jerusalem.'); $questions[] = Locale_Translate::_("What is the name of the island where John was sent to?"); $answers[] = Locale_Translate::_("Patmos");
<?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::ADMIN_LEVEL); Assets_Page::header(Locale_Translate::_("Collaboration")); $view = new Assets_View(__FILE__); $object = $_GET['object']; $view->view->object = $object; $database_config_bible = Database_Config_Bible::getInstance(); $url = $database_config_bible->getRemoteRepositoryUrl($object); $directory = Filter_Git::git_directory($object); $view->render("collaboration_repo_data.php"); Assets_Page::footer();
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::MANAGER_LEVEL); Assets_Page::header(Locale_Translate::_("Book")); $view = new Assets_View(__FILE__); $database_bibles = Database_Bibles::getInstance(); $database_books = Database_Books::getInstance(); // The name of the Bible. $bible = Access_Bible::clamp($_GET['bible']); $view->view->bible = Filter_Html::sanitize($bible); // Whether the user has write access to this Bible. $write_access = Access_Bible::write($bible); $view->view->write_access = $write_access; // The book. $book = $_GET['book']; $view->view->book = Filter_Html::sanitize($book); $book_name = $database_books->getEnglishFromId($book); $view->view->book_name = Filter_Html::sanitize($book_name); // Delete chapter.