├── CHANGELOG.md ├── README.md ├── acp ├── pages_info.php └── pages_module.php ├── adm └── style │ ├── manage_pages.html │ └── scripts.js ├── composer.json ├── config ├── routing.yml ├── services.yml └── tables.yml ├── controller ├── admin_controller.php ├── admin_interface.php ├── main_controller.php └── main_interface.php ├── entity ├── page.php └── page_interface.php ├── event └── listener.php ├── exception ├── base.php ├── invalid_argument.php ├── out_of_bounds.php └── unexpected_value.php ├── ext.php ├── language ├── ar │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── cs │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── da │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── de │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── de_x_sie │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── en │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── es │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── fr │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── hr │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── hr_x_vi │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── it │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── nl │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── pl │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── pt │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── pt_br │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── ru │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── sk │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── sv │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── tr │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php └── zh_cmn_hans │ ├── exceptions.php │ ├── info_acp_pages.php │ ├── pages_acp.php │ ├── pages_common.php │ ├── pages_controller.php │ └── permissions_pages.php ├── license.txt ├── migrations ├── converter │ ├── c1_convert_table.php │ ├── c2_convert_data.php │ └── c3_convert_module.php ├── v10x │ ├── m1_initial_schema.php │ ├── m2_initial_data.php │ ├── m3_initial_permission.php │ ├── m4_initial_module.php │ ├── m5_update_link_names.php │ ├── m6_reparser_cron.php │ └── m7_reparser_cron_update.php └── v20x │ ├── m10_display_description.php │ ├── m8_font_icons.php │ └── m9_page_title_switch.php ├── operators ├── page.php └── page_interface.php ├── routing └── page_loader.php ├── styles └── prosilver │ ├── template │ ├── event │ │ ├── navbar_header_quick_links_after.html │ │ ├── navbar_header_quick_links_before.html │ │ ├── overall_footer_teamlink_after.html │ │ ├── overall_footer_teamlink_before.html │ │ ├── overall_footer_timezone_after.html │ │ ├── overall_footer_timezone_before.html │ │ ├── overall_header_breadcrumbs_after.html │ │ ├── overall_header_breadcrumbs_before.html │ │ ├── overall_header_head_append.html │ │ ├── overall_header_navigation_append.html │ │ └── overall_header_navigation_prepend.html │ ├── pages_blank.html │ └── pages_default.html │ └── theme │ ├── images │ └── icon_pages.gif │ ├── pages_common.css │ └── pages_controller.css └── textreparser ├── cron_text_reparser_factory.php └── plugins └── pages_text.php /README.md: -------------------------------------------------------------------------------- 1 | # phpBB Pages Extension 2 | 3 | This is the repository for the development of the phpBB Pages Extension. 4 | 5 | [![Build Status](https://github.com/phpbb-extensions/pages/actions/workflows/tests.yml/badge.svg)](https://github.com/phpbb-extensions/pages/actions) 6 | [![codecov](https://codecov.io/gh/phpbb-extensions/pages/graph/badge.svg?token=rorlx9l6gs)](https://codecov.io/gh/phpbb-extensions/pages) 7 | 8 | ## Install 9 | 10 | 1. [Download the latest validated release](https://www.phpbb.com/customise/db/extension/pages/). 11 | 2. Unzip the downloaded release and copy it to the `ext` directory of your phpBB board. 12 | 3. Navigate in the ACP to `Customise -> Manage extensions`. 13 | 4. Look for `Pages` under the Disabled Extensions list, and click its `Enable` link. 14 | 5. Set up and configure Pages by navigating in the ACP to `Extensions` -> `Pages`. 15 | 16 | ## Uninstall 17 | 18 | 1. Navigate in the ACP to `Customise -> Extension Management -> Extensions`. 19 | 2. Look for `Pages` under the Enabled Extensions list, and click its `Disable` link. 20 | 3. To permanently uninstall, click `Delete Data` and then delete the `/ext/phpbb/pages` directory. 21 | 22 | ## Support 23 | 24 | * **Important: Only official release versions validated by the phpBB Extensions Team should be installed on a live forum. Pre-release (beta, RC) versions downloaded from this repository are only to be used for testing on offline/development forums and are not officially supported.** 25 | * Report bugs and other issues to our [Issue Tracker](https://github.com/phpbb-extensions/pages/issues). 26 | * Support requests should be posted and discussed in the [Pages topic at phpBB.com](https://www.phpbb.com/customise/db/extension/pages/support). 27 | 28 | ## Translations 29 | 30 | * Translations should be posted to the [Pages topic at phpBB.com](https://www.phpbb.com/customise/db/extension/pages/support/topic/130741). We accept pull requests for translation corrections, but we do not accept pull requests for new translations. 31 | 32 | ## Customising Pages 33 | 34 | [View the Wiki](https://github.com/phpbb-extensions/pages/wiki/Customising-Pages) for guides to customise page link icons and page templates. 35 | 36 | ## Converting from a MOD 37 | 38 | Pages can convert/import data from [Static Pages MOD 1.0.3](https://www.phpbb.com/customise/db/mod/static_pages). If Pages finds the Static Pages MOD data in your database, it will automagically convert it when you enable Pages. To complete the transition, we recommend you review the Static Pages MOD's install instructions in order to remove the file-edits to `constants.php` and delete all of the included files the MOD added to your forum. 39 | 40 | Note: Pages will keep a backup of the Static Pages MOD data in a database table named `pages_mod_backup`. Pages will never delete or alter this backup table. Pages has not been tested with any other similar MODs. 41 | 42 | ## License 43 | [GNU General Public License v2](https://opensource.org/licenses/GPL-2.0) 44 | -------------------------------------------------------------------------------- /acp/pages_info.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\acp; 12 | 13 | class pages_info 14 | { 15 | public function module() 16 | { 17 | return array( 18 | 'filename' => '\phpbb\pages\acp\pages_module', 19 | 'title' => 'ACP_PAGES', 20 | 'modes' => array( 21 | 'manage' => array('title' => 'ACP_PAGES_MANAGE', 'auth' => 'ext_phpbb/pages && acl_a_pages', 'cat' => array('ACP_PAGES')), 22 | ), 23 | ); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /acp/pages_module.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\acp; 12 | 13 | class pages_module 14 | { 15 | public $page_title; 16 | public $tpl_name; 17 | public $u_action; 18 | 19 | /** 20 | * Main ACP module 21 | * 22 | * @param int $id 23 | * @param string $mode 24 | * @throws \Exception 25 | */ 26 | public function main($id, $mode) 27 | { 28 | global $phpbb_container; 29 | 30 | /** @var \phpbb\cache\driver\driver_interface */ 31 | $cache = $phpbb_container->get('cache.driver'); 32 | 33 | /** @var \phpbb\language\language $lang */ 34 | $lang = $phpbb_container->get('language'); 35 | 36 | /** @var \phpbb\request\request $request */ 37 | $request = $phpbb_container->get('request'); 38 | 39 | // Add the pages ACP lang file 40 | $lang->add_lang('pages_acp', 'phpbb/pages'); 41 | 42 | // Get an instance of the admin controller 43 | $admin_controller = $phpbb_container->get('phpbb.pages.admin.controller'); 44 | 45 | // Requests 46 | $action = $request->variable('action', ''); 47 | $page_id = $request->variable('page_id', 0); 48 | 49 | // Make the $u_action url available in the admin controller 50 | $admin_controller->set_page_url($this->u_action); 51 | 52 | // Load a template from adm/style for our ACP page 53 | $this->tpl_name = 'manage_pages'; 54 | 55 | // Set the page title for our ACP page 56 | $this->page_title = 'ACP_PAGES_MANAGE'; 57 | 58 | // Perform any actions submitted by the user 59 | switch ($action) 60 | { 61 | case 'add': 62 | // Set the page title for our ACP page 63 | $this->page_title = 'ACP_PAGES_CREATE_PAGE'; 64 | 65 | // Load the add page handle in the admin controller 66 | $admin_controller->add_page(); 67 | 68 | // Return to stop execution of this script 69 | return; 70 | break; 71 | 72 | case 'edit': 73 | // Set the page title for our ACP page 74 | $this->page_title = 'ACP_PAGES_EDIT_PAGE'; 75 | 76 | // Load the edit page handle in the admin controller 77 | $admin_controller->edit_page($page_id); 78 | 79 | // Return to stop execution of this script 80 | return; 81 | break; 82 | 83 | case 'delete': 84 | // Use a confirm box routine when deleting a page 85 | if (confirm_box(true)) 86 | { 87 | // Delete page on confirmation from the user 88 | $admin_controller->delete_page($page_id); 89 | } 90 | else 91 | { 92 | // Request confirmation from the user to delete the page 93 | confirm_box(false, $lang->lang('ACP_PAGES_DELETE_CONFIRM'), build_hidden_fields(array( 94 | 'page_id' => $page_id, 95 | 'mode' => $mode, 96 | 'action' => $action, 97 | ))); 98 | } 99 | break; 100 | 101 | case 'purge_icons': 102 | // Purge icon cache 103 | $cache->destroy('_pages_icons'); 104 | break; 105 | } 106 | 107 | // Display pages 108 | $admin_controller->display_pages(); 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /adm/style/scripts.js: -------------------------------------------------------------------------------- 1 | (function($) { // Avoid conflicts with other libraries 2 | 3 | 'use strict'; 4 | 5 | $(function() { 6 | 7 | $.fn.toggleBoxes = function(target) { 8 | $(this).on('click', function() { 9 | if ($(this).is(':checked')) { 10 | $(target).prop('checked', false); 11 | } 12 | }); 13 | }; 14 | 15 | $('.html-on').toggleBoxes('.html-off'); 16 | $('.html-off').toggleBoxes('.html-on'); 17 | 18 | $('#page_title').on('blur', function() { 19 | var title = $(this).val(); 20 | $('#page_route').val(function(event, route) { 21 | return (route) ? route : title.toLowerCase().replace(/[^a-z\d\-_\s]/gi, '').trim().replace(/\s+/g, '-'); 22 | }); 23 | }); 24 | 25 | $('#page_icon_font').on('keyup blur', function() { 26 | var input = $(this).val(); 27 | var $icon = $(this).next('i'); 28 | $icon.attr('class', 'icon fa-' + input); 29 | }); 30 | 31 | }); 32 | 33 | })(jQuery); // Avoid conflicts with other libraries 34 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "phpbb/pages", 3 | "type": "phpbb-extension", 4 | "description": "An extension which allows you to add static pages to your phpBB forum", 5 | "homepage": "https://www.phpbb.com/customise/db/extension/pages/", 6 | "version": "3.0.1-dev", 7 | "keywords": ["phpbb", "extension", "static", "pages"], 8 | "license": "GPL-2.0-only", 9 | "authors": [ 10 | { 11 | "name": "Marc Alexander", 12 | "email": "admin@m-a-styles.de", 13 | "homepage": "http://www.m-a-styles.de", 14 | "role": "Extensions Team Consultant" 15 | }, 16 | { 17 | "name": "Michael Cullum", 18 | "email": "michael@phpbb.com", 19 | "homepage": "http://michaelcullum.com", 20 | "role": "Extensions Team Consultant" 21 | }, 22 | { 23 | "name": "Tristan Darricau", 24 | "email": "phpbb@nicofuma.fr", 25 | "role": "Extensions Team Consultant" 26 | }, 27 | { 28 | "name": "Matt Friedman", 29 | "homepage": "https://imattpro.github.io", 30 | "role": "Extensions Development Team Lead" 31 | }, 32 | { 33 | "name": "Nathan Guse", 34 | "email": "nathaniel.guse@gmail.com", 35 | "role": "Former Extensions Development Team Lead" 36 | }, 37 | { 38 | "name": "Lukasz Kaczynski", 39 | "role": "Former Extensions Development Team member" 40 | }, 41 | { 42 | "name": "John Peskens", 43 | "role": "Former Extensions Development Team member" 44 | }, 45 | { 46 | "name": "Ruslan Uzdenov", 47 | "homepage": "http://www.phpbbguru.net", 48 | "role": "Extensions Development Team" 49 | } 50 | ], 51 | "require": { 52 | "php": ">=7.1.3", 53 | "composer/installers": "~1.0" 54 | }, 55 | "require-dev": { 56 | "phing/phing": "~2.4" 57 | }, 58 | "extra": { 59 | "display-name": "Pages", 60 | "soft-require": { 61 | "phpbb/phpbb": ">=3.3.2,<4.0.0@dev" 62 | }, 63 | "version-check": { 64 | "host": "www.phpbb.com", 65 | "directory": "/customise/db/extension/pages", 66 | "filename": "version_check", 67 | "ssl": true 68 | } 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /config/routing.yml: -------------------------------------------------------------------------------- 1 | # Dynamic routing for Pages 2.0.x 2 | phpbb_pages_dynamic_controller: 3 | resource: phpbb_pages_new_controller # can be any name, it is not used, but must be present 4 | type: phpbb_pages_route 5 | 6 | # Legacy routing from Pages 1.0.x, for backwards compatibility 7 | phpbb_pages_main_controller: 8 | path: /page/{route} 9 | defaults: { _controller: phpbb.pages.controller:display } 10 | -------------------------------------------------------------------------------- /config/services.yml: -------------------------------------------------------------------------------- 1 | imports: 2 | - { resource: tables.yml } 3 | 4 | services: 5 | phpbb.pages.admin.controller: 6 | class: phpbb\pages\controller\admin_controller 7 | arguments: 8 | - '@cache.driver' 9 | - '@controller.helper' 10 | - '@language' 11 | - '@log' 12 | - '@phpbb.pages.operator' 13 | - '@request' 14 | - '@template' 15 | - '@user' 16 | - '@service_container' 17 | - '@dispatcher' 18 | - '%core.root_path%' 19 | - '%core.php_ext%' 20 | 21 | phpbb.pages.controller: 22 | class: phpbb\pages\controller\main_controller 23 | arguments: 24 | - '@auth' 25 | - '@service_container' 26 | - '@controller.helper' 27 | - '@language' 28 | - '@template' 29 | - '@user' 30 | 31 | phpbb.pages.listener: 32 | class: phpbb\pages\event\listener 33 | arguments: 34 | - '@auth' 35 | - '@controller.helper' 36 | - '@language' 37 | - '@phpbb.pages.operator' 38 | - '@template' 39 | - '@user' 40 | - '%core.php_ext%' 41 | tags: 42 | - { name: event.listener } 43 | 44 | phpbb.pages.entity: 45 | class: phpbb\pages\entity\page 46 | shared: false # service MUST not be shared for this to work! 47 | arguments: 48 | - '@dbal.conn' 49 | - '@config' 50 | - '@dispatcher' 51 | - '%phpbb.pages.tables.pages%' 52 | - '@text_formatter.utils' 53 | 54 | phpbb.pages.operator: 55 | class: phpbb\pages\operators\page 56 | arguments: 57 | - '@cache.driver' 58 | - '@service_container' 59 | - '@dbal.conn' 60 | - '@ext.manager' 61 | - '@user' 62 | - '%phpbb.pages.tables.pages%' 63 | - '%phpbb.pages.tables.pages_links%' 64 | - '%phpbb.pages.tables.pages_pages_links%' 65 | 66 | phpbb.pages.routing.loader: 67 | class: phpbb\pages\routing\page_loader 68 | arguments: 69 | - '@dbal.conn' 70 | - '%phpbb.pages.tables.pages%' 71 | tags: 72 | - { name: routing.loader } 73 | 74 | phpbb.pages.text_reparser.page_text: 75 | class: phpbb\pages\textreparser\plugins\pages_text 76 | arguments: 77 | - '@dbal.conn' 78 | - '%phpbb.pages.tables.pages%' 79 | calls: 80 | - [set_name, [phpbb_pages_text]] 81 | tags: 82 | - { name: text_reparser.plugin } 83 | 84 | phpbb.pages.cron.task.text_reparser.factory: 85 | class: phpbb\pages\textreparser\cron_text_reparser_factory 86 | 87 | phpbb.pages.cron.task.text_reparser: 88 | class: phpbb\cron\task\text_reparser\reparser 89 | factory: ['@phpbb.pages.cron.task.text_reparser.factory', 'create'] 90 | arguments: 91 | - '@service_container' 92 | tags: 93 | - { name: cron.task } 94 | -------------------------------------------------------------------------------- /config/tables.yml: -------------------------------------------------------------------------------- 1 | parameters: 2 | phpbb.pages.tables.pages: '%core.table_prefix%pages' 3 | phpbb.pages.tables.pages_links: '%core.table_prefix%pages_links' 4 | phpbb.pages.tables.pages_pages_links: '%core.table_prefix%pages_pages_links' 5 | -------------------------------------------------------------------------------- /controller/admin_interface.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\controller; 12 | 13 | /** 14 | * Interface for our admin controller 15 | * 16 | * This describes all of the methods we'll use for the admin front-end of this extension 17 | */ 18 | interface admin_interface 19 | { 20 | /** 21 | * Display the pages 22 | * 23 | * @return void 24 | * @access public 25 | */ 26 | public function display_pages(); 27 | 28 | /** 29 | * Add a page 30 | * 31 | * @return void 32 | * @access public 33 | */ 34 | public function add_page(); 35 | 36 | /** 37 | * Edit a page 38 | * 39 | * @param int $page_id The page identifier to edit 40 | * @return void 41 | * @access public 42 | */ 43 | public function edit_page($page_id); 44 | 45 | /** 46 | * Delete a page 47 | * 48 | * @param int $page_id The page identifier to delete 49 | * @return void 50 | * @access public 51 | */ 52 | public function delete_page($page_id); 53 | 54 | /** 55 | * Set page url 56 | * 57 | * @param string $u_action Custom form action 58 | * @return void 59 | * @access public 60 | */ 61 | public function set_page_url($u_action); 62 | } 63 | -------------------------------------------------------------------------------- /controller/main_interface.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\controller; 12 | 13 | /** 14 | * Interface for our main controller 15 | * 16 | * This describes all of the methods we'll use for the front-end of this extension 17 | */ 18 | interface main_interface 19 | { 20 | /** 21 | * Display the page 22 | * 23 | * @param string $route The route name for a page 24 | * @return \Symfony\Component\HttpFoundation\Response A Symfony Response object 25 | * @access public 26 | */ 27 | public function display($route); 28 | } 29 | -------------------------------------------------------------------------------- /exception/invalid_argument.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\exception; 12 | 13 | /** 14 | * InvalidArgument exception 15 | */ 16 | class invalid_argument extends base 17 | { 18 | /** 19 | * Translate this exception 20 | * 21 | * @param \phpbb\language\language $lang 22 | * @return string 23 | * @access public 24 | */ 25 | public function get_message(\phpbb\language\language $lang) 26 | { 27 | return $this->translate_portions($lang, $this->message_full, 'EXCEPTION_INVALID_ARGUMENT'); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /exception/out_of_bounds.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\exception; 12 | 13 | /** 14 | * OutOfBounds exception 15 | */ 16 | class out_of_bounds extends base 17 | { 18 | /** 19 | * Translate this exception 20 | * 21 | * @param \phpbb\language\language $lang 22 | * @return string 23 | * @access public 24 | */ 25 | public function get_message(\phpbb\language\language $lang) 26 | { 27 | return $this->translate_portions($lang, $this->message_full, 'EXCEPTION_OUT_OF_BOUNDS'); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /exception/unexpected_value.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\exception; 12 | 13 | /** 14 | * UnexpectedValue exception 15 | */ 16 | class unexpected_value extends base 17 | { 18 | /** 19 | * Translate this exception 20 | * 21 | * @param \phpbb\language\language $lang 22 | * @return string 23 | * @access public 24 | */ 25 | public function get_message(\phpbb\language\language $lang) 26 | { 27 | return $this->translate_portions($lang, $this->message_full, 'EXCEPTION_UNEXPECTED_VALUE'); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /ext.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages; 12 | 13 | /** 14 | * This ext class is optional and can be omitted if left empty. 15 | * However, you can add special (un)installation commands in the 16 | * methods enable_step(), disable_step() and purge_step(). As it is, 17 | * these methods are defined in \phpbb\extension\base, which this 18 | * class extends, but you can overwrite them to give special 19 | * instructions for those cases. 20 | */ 21 | class ext extends \phpbb\extension\base 22 | { 23 | /** 24 | * Check whether the extension can be enabled. 25 | * The current phpBB version should meet or exceed 26 | * the minimum version required by this extension: 27 | * 28 | * Requires phpBB 3.3.2 due to using role_exists check in permission migration. 29 | * Not compatible with phpBB 4.0.0-dev due to using updated classes. 30 | * 31 | * @return bool 32 | * @access public 33 | */ 34 | public function is_enableable() 35 | { 36 | return phpbb_version_compare(PHPBB_VERSION, '3.3.2', '>=') 37 | && phpbb_version_compare(PHPBB_VERSION, '4.0.0-dev', '<'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /language/ar/exceptions.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | /* 42 | * These are errors which can be triggered by sending invalid data to the 43 | * pages extension API. 44 | * 45 | * These errors will never show to a user unless they are either modifying 46 | * the core pages extension code OR unless they are writing an extension 47 | * which makes calls to this extension. 48 | * 49 | * Translators: Feel free to not translate these language strings 50 | */ 51 | $lang = array_merge($lang, array( 52 | 'EXCEPTION_FIELD_MISSING' => 'يجب تعبئة الحقل الفارغ', 53 | 'EXCEPTION_INVALID_ARGUMENT' => 'هناك خطأ في البيانات المُحددة لـ `%1$s`. السبب : %2$s', 54 | 'EXCEPTION_OUT_OF_BOUNDS' => 'البيانات المُدخلة في الحقل `%1$s` أكبر من الحد المطلوب.', 55 | 'EXCEPTION_TOO_LONG' => 'البيانات المُدخلة أطول من الحد المطلوب.', 56 | 'EXCEPTION_NOT_UNIQUE' => 'البيانات المُدخلة موجودة مُسبقاً.', 57 | 'EXCEPTION_UNEXPECTED_VALUE' => 'هناك خطأ في البيانات المُدخلة في الحقل `%1$s`. السبب : %2$s', 58 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'البيانات التي أدخلتها تحتوي على حروف غير مقبولة.', 59 | )); 60 | -------------------------------------------------------------------------------- /language/ar/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | // ACP modules 43 | 'ACP_PAGES' => 'الصفحات', 44 | 'ACP_PAGES_MANAGE' => 'إدارة الصفحات', 45 | 46 | // Logs 47 | 'ACP_PAGES_ADDED_LOG' => 'تم إضافة الصفحة بنجاح
» %s', 48 | 'ACP_PAGES_EDITED_LOG' => 'تم تعديل الصفحة بنجاح
» %s', 49 | 'ACP_PAGES_DELETED_LOG' => 'تم حذف الصفحة بنجاح
» %s', 50 | )); 51 | -------------------------------------------------------------------------------- /language/ar/pages_common.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGES_VIEWONLINE' => 'يشاهد %s', 43 | )); 44 | -------------------------------------------------------------------------------- /language/ar/pages_controller.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGE_NOT_AVAILABLE' => 'الصفحة المطلوبة “%s” غير موجودة.', 43 | )); 44 | -------------------------------------------------------------------------------- /language/ar/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'ACL_A_PAGES' => 'يستطيع إدارة الصفحات (إضافة)', 43 | )); 44 | -------------------------------------------------------------------------------- /language/cs/exceptions.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | /* 42 | * These are errors which can be triggered by sending invalid data to the 43 | * pages extension API. 44 | * 45 | * These errors will never show to a user unless they are either modifying 46 | * the core pages extension code OR unless they are writing an extension 47 | * which makes calls to this extension. 48 | * 49 | * Translators: Feel free to not translate these language strings 50 | */ 51 | $lang = array_merge($lang, array( 52 | 'EXCEPTION_FIELD_MISSING' => 'Požadované pole chybí', 53 | 'EXCEPTION_INVALID_ARGUMENT' => 'Stanoven neplatný argument pro „%1$s“. Důvod: %2$s', 54 | 'EXCEPTION_OUT_OF_BOUNDS' => 'Data v poli „%1$s“ jsou mimo jeho rozsah', 55 | 'EXCEPTION_TOO_LONG' => 'Délka vstupních údajů překračuje maximální povolenou délku.', 56 | 'EXCEPTION_NOT_UNIQUE' => 'Vstupní údaje nejsou jedinečné.', 57 | 'EXCEPTION_UNEXPECTED_VALUE' => 'Pole „%1$s“ obsahuje neočekávaná data. Důvod: %2$s', 58 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'Vstupní údaje obsahují nepovolené znaky.', 59 | )); 60 | -------------------------------------------------------------------------------- /language/cs/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | // ACP modules 43 | 'ACP_PAGES' => 'Stránky', 44 | 'ACP_PAGES_MANAGE' => 'Správa stránek', 45 | 46 | // Logs 47 | 'ACP_PAGES_ADDED_LOG' => 'Stránka přidána
» %s', 48 | 'ACP_PAGES_EDITED_LOG' => 'Stránka upravena
» %s', 49 | 'ACP_PAGES_DELETED_LOG' => 'Stránka odstraněna
» %s', 50 | )); 51 | -------------------------------------------------------------------------------- /language/cs/pages_common.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGES_VIEWONLINE' => 'Zobrazeno %s', 43 | )); 44 | -------------------------------------------------------------------------------- /language/cs/pages_controller.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGE_NOT_AVAILABLE' => 'Požadovaná stránka „%s“ není dostupná.', 43 | )); 44 | -------------------------------------------------------------------------------- /language/cs/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'ACL_A_PAGES' => 'Umožňuje správu rozšíření Stránky', 43 | )); 44 | -------------------------------------------------------------------------------- /language/da/exceptions.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | /* 41 | * These are errors which can be triggered by sending invalid data to the 42 | * pages extension API. 43 | * 44 | * These errors will never show to a user unless they are either modifying 45 | * the core pages extension code OR unless they are writing an extension 46 | * which makes calls to this extension. 47 | * 48 | * Translators: Feel free to not translate these language strings 49 | */ 50 | $lang = array_merge($lang, array( 51 | 'EXCEPTION_FIELD_MISSING' => 'Obligatorisk felt mangler', 52 | 'EXCEPTION_INVALID_ARGUMENT' => 'Ugyldigt argument angivet til `%1$s`. Årsag: %2$s', 53 | 'EXCEPTION_OUT_OF_BOUNDS' => 'Feltet `%1$s` modtog data ud over sine grænser', 54 | 'EXCEPTION_TOO_LONG' => 'Inputtet var længere end den maksimale længde.', 55 | 'EXCEPTION_NOT_UNIQUE' => 'Inputtet var ikke unikt.', 56 | 'EXCEPTION_UNEXPECTED_VALUE' => 'Feltet `%1$s` modtog uventede data. Årsag: %2$s', 57 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'Inputtet indeholder tegn som ikke er tilladte.', 58 | )); 59 | -------------------------------------------------------------------------------- /language/da/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | // ACP modules 42 | 'ACP_PAGES' => 'Sider', 43 | 'ACP_PAGES_MANAGE' => 'Håndter sider', 44 | 45 | // Logs 46 | 'ACP_PAGES_ADDED_LOG' => 'Side tilføjet
» %s', 47 | 'ACP_PAGES_EDITED_LOG' => 'Side redigeret
» %s', 48 | 'ACP_PAGES_DELETED_LOG' => 'Side slettet
» %s', 49 | )); 50 | -------------------------------------------------------------------------------- /language/da/pages_common.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'PAGES_VIEWONLINE' => 'Viser %s', 42 | )); 43 | -------------------------------------------------------------------------------- /language/da/pages_controller.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'PAGE_NOT_AVAILABLE' => 'Den anmodede side “%s” er ikke tilgængelig.', 42 | )); 43 | -------------------------------------------------------------------------------- /language/da/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'ACL_A_PAGES' => 'Kan ikke håndtere Pages-udvidelse', 42 | )); 43 | -------------------------------------------------------------------------------- /language/de/exceptions.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | /* 41 | * These are errors which can be triggered by sending invalid data to the 42 | * pages extension API. 43 | * 44 | * These errors will never show to a user unless they are either modifying 45 | * the core pages extension code OR unless they are writing an extension 46 | * which makes calls to this extension. 47 | * 48 | * Translators: Feel free to not translate these language strings 49 | */ 50 | $lang = array_merge($lang, array( 51 | 'EXCEPTION_FIELD_MISSING' => 'Erforderliche Eingabe fehlt', 52 | 'EXCEPTION_INVALID_ARGUMENT' => 'Unzulässiges Argument angegeben für `%1$s`. Grund: %2$s', 53 | 'EXCEPTION_OUT_OF_BOUNDS' => 'Das Feld `%1$s` enthält Daten jenseits seiner Grenzen', 54 | 'EXCEPTION_TOO_LONG' => 'Die Eingabe war länger als zulässige Größe.', 55 | 'EXCEPTION_NOT_UNIQUE' => 'Die Eingabe war nicht einmalig.', 56 | 'EXCEPTION_UNEXPECTED_VALUE' => 'Das Feld `%1$s` erhielt unerwartete Daten. Grund: %2$s', 57 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'Die Eingabe enthielt illegale Zeichen.', 58 | )); 59 | -------------------------------------------------------------------------------- /language/de/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | // ACP modules 42 | 'ACP_PAGES' => 'Seiten', 43 | 'ACP_PAGES_MANAGE' => 'Seiten verwalten', 44 | 45 | // Logs 46 | 'ACP_PAGES_ADDED_LOG' => 'Seite hinzugefügt
» %s', 47 | 'ACP_PAGES_EDITED_LOG' => 'Seite bearbeitet
» %s', 48 | 'ACP_PAGES_DELETED_LOG' => 'Seite gelöscht
» %s', 49 | )); 50 | -------------------------------------------------------------------------------- /language/de/pages_common.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'PAGES_VIEWONLINE' => 'Zeige %s', 42 | )); 43 | -------------------------------------------------------------------------------- /language/de/pages_controller.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'PAGE_NOT_AVAILABLE' => 'Die angeforderte Seite “%s” ist nicht verfügbar.', 42 | )); 43 | -------------------------------------------------------------------------------- /language/de/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'ACL_A_PAGES' => 'Kann Seiten-Erweiterung verwalten', 42 | )); 43 | -------------------------------------------------------------------------------- /language/de_x_sie/exceptions.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | /* 41 | * These are errors which can be triggered by sending invalid data to the 42 | * pages extension API. 43 | * 44 | * These errors will never show to a user unless they are either modifying 45 | * the core pages extension code OR unless they are writing an extension 46 | * which makes calls to this extension. 47 | * 48 | * Translators: Feel free to not translate these language strings 49 | */ 50 | $lang = array_merge($lang, array( 51 | 'EXCEPTION_FIELD_MISSING' => 'Erforderliche Eingabe fehlt', 52 | 'EXCEPTION_INVALID_ARGUMENT' => 'Unzulässiges Argument angegeben für `%1$s`. Grund: %2$s', 53 | 'EXCEPTION_OUT_OF_BOUNDS' => 'Das Feld `%1$s` enthält Daten jenseits seiner Grenzen', 54 | 'EXCEPTION_TOO_LONG' => 'Die Eingabe war länger als zulässige Größe.', 55 | 'EXCEPTION_NOT_UNIQUE' => 'Die Eingabe war nicht einmalig.', 56 | 'EXCEPTION_UNEXPECTED_VALUE' => 'Das Feld `%1$s` erhielt unerwartete Daten. Grund: %2$s', 57 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'Die Eingabe enthielt illegale Zeichen.', 58 | )); 59 | -------------------------------------------------------------------------------- /language/de_x_sie/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | // ACP modules 42 | 'ACP_PAGES' => 'Seiten', 43 | 'ACP_PAGES_MANAGE' => 'Seiten verwalten', 44 | 45 | // Logs 46 | 'ACP_PAGES_ADDED_LOG' => 'Seite hinzugefügt
» %s', 47 | 'ACP_PAGES_EDITED_LOG' => 'Seite bearbeitet
» %s', 48 | 'ACP_PAGES_DELETED_LOG' => 'Seite gelöscht
» %s', 49 | )); 50 | -------------------------------------------------------------------------------- /language/de_x_sie/pages_common.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'PAGES_VIEWONLINE' => 'Zeige %s', 42 | )); 43 | -------------------------------------------------------------------------------- /language/de_x_sie/pages_controller.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'PAGE_NOT_AVAILABLE' => 'Die angeforderte Seite “%s” ist nicht verfügbar.', 42 | )); 43 | -------------------------------------------------------------------------------- /language/de_x_sie/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'ACL_A_PAGES' => 'Kann Seiten-Erweiterung verwalten', 42 | )); 43 | -------------------------------------------------------------------------------- /language/en/exceptions.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | /* 41 | * These are errors which can be triggered by sending invalid data to the 42 | * pages extension API. 43 | * 44 | * These errors will never show to a user unless they are either modifying 45 | * the core pages extension code OR unless they are writing an extension 46 | * which makes calls to this extension. 47 | * 48 | * Translators: Feel free to not translate these language strings 49 | */ 50 | $lang = array_merge($lang, array( 51 | 'EXCEPTION_FIELD_MISSING' => 'Required field missing', 52 | 'EXCEPTION_INVALID_ARGUMENT' => 'Invalid argument specified for `%1$s`. Reason: %2$s', 53 | 'EXCEPTION_OUT_OF_BOUNDS' => 'The field `%1$s` received data beyond its bounds', 54 | 'EXCEPTION_TOO_LONG' => 'The input was longer than the maximum length.', 55 | 'EXCEPTION_NOT_UNIQUE' => 'The input was not unique.', 56 | 'EXCEPTION_UNEXPECTED_VALUE' => 'The field `%1$s` received unexpected data. Reason: %2$s', 57 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'The input contained illegal characters.', 58 | )); 59 | -------------------------------------------------------------------------------- /language/en/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | // ACP modules 42 | 'ACP_PAGES' => 'Pages', 43 | 'ACP_PAGES_MANAGE' => 'Manage Pages', 44 | 45 | // Logs 46 | 'ACP_PAGES_ADDED_LOG' => 'Page added
» %s', 47 | 'ACP_PAGES_EDITED_LOG' => 'Page edited
» %s', 48 | 'ACP_PAGES_DELETED_LOG' => 'Page deleted
» %s', 49 | )); 50 | -------------------------------------------------------------------------------- /language/en/pages_common.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'PAGES_VIEWONLINE' => 'Viewing %s', 42 | )); 43 | -------------------------------------------------------------------------------- /language/en/pages_controller.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'PAGE_NOT_AVAILABLE' => 'The requested page “%s” is not available.', 42 | )); 43 | -------------------------------------------------------------------------------- /language/en/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'ACL_A_PAGES' => 'Can manage Pages extension', 42 | )); 43 | -------------------------------------------------------------------------------- /language/es/exceptions.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | /* 42 | * These are errors which can be triggered by sending invalid data to the 43 | * pages extension API. 44 | * 45 | * These errors will never show to a user unless they are either modifying 46 | * the core pages extension code OR unless they are writing an extension 47 | * which makes calls to this extension. 48 | * 49 | * Translators: Feel free to not translate these language strings 50 | */ 51 | $lang = array_merge($lang, array( 52 | 'EXCEPTION_FIELD_MISSING' => 'Campo requerido ausente', 53 | 'EXCEPTION_INVALID_ARGUMENT' => 'Argumento no válido para `%1$s`. Razón: %2$s', 54 | 'EXCEPTION_OUT_OF_BOUNDS' => 'El campo `%1$s` tiene datos recibidos más allá de sus límites', 55 | 'EXCEPTION_TOO_LONG' => 'La entrada era más larga que la longitud máxima.', 56 | 'EXCEPTION_NOT_UNIQUE' => 'La entrada no fue única.', 57 | 'EXCEPTION_UNEXPECTED_VALUE' => 'El campo `%1$s` ha recibido datos inesperados. Razón: %2$s', 58 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'La entrada contiene caracteres no válidos.', 59 | )); 60 | -------------------------------------------------------------------------------- /language/es/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | // ACP modules 43 | 'ACP_PAGES' => 'Páginas', 44 | 'ACP_PAGES_MANAGE' => 'Gestionar páginas', 45 | 46 | // Logs 47 | 'ACP_PAGES_ADDED_LOG' => 'Página añadida
» %s', 48 | 'ACP_PAGES_EDITED_LOG' => 'Página editada
» %s', 49 | 'ACP_PAGES_DELETED_LOG' => 'Página borrada
» %s', 50 | )); 51 | -------------------------------------------------------------------------------- /language/es/pages_common.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGES_VIEWONLINE' => 'Viendo %s', 43 | )); 44 | -------------------------------------------------------------------------------- /language/es/pages_controller.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGE_NOT_AVAILABLE' => 'La página solicitada “%s” no está disponible.', 43 | )); 44 | -------------------------------------------------------------------------------- /language/es/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'ACL_A_PAGES' => 'Puede gestionar la extensión Páginas', 43 | )); 44 | -------------------------------------------------------------------------------- /language/fr/exceptions.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = []; 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ « » “ ” … 39 | // 40 | 41 | /* 42 | * These are errors which can be triggered by sending invalid data to the 43 | * pages extension API. 44 | * 45 | * These errors will never show to a user unless they are either modifying 46 | * the core pages extension code OR unless they are writing an extension 47 | * which makes calls to this extension. 48 | * 49 | * Translators: Feel free to not translate these language strings 50 | */ 51 | $lang = array_merge($lang, [ 52 | 'EXCEPTION_FIELD_MISSING' => 'Un champ obligatoire est manquant', 53 | 'EXCEPTION_INVALID_ARGUMENT' => 'Argument spécifié incorrect pour `%1$s`. Motif : %2$s', 54 | 'EXCEPTION_OUT_OF_BOUNDS' => 'Le champ `%1$s` a reçu une donnée incohérente', 55 | 'EXCEPTION_TOO_LONG' => 'La donnée saisie était plus longue que la longueur maximale possible.', 56 | 'EXCEPTION_NOT_UNIQUE' => 'La donnée n’était pas unique.', 57 | 'EXCEPTION_UNEXPECTED_VALUE' => 'Le champ `%1$s` a reçu une donnée inattendue. Motif : %2$s', 58 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'La donnée contenait des caractères interdits.', 59 | ]); 60 | -------------------------------------------------------------------------------- /language/fr/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = []; 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ « » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, [ 42 | // ACP modules 43 | 'ACP_PAGES' => 'Pages', 44 | 'ACP_PAGES_MANAGE' => 'Gestion de Pages', 45 | 46 | // Logs 47 | 'ACP_PAGES_ADDED_LOG' => 'Page ajoutée
» %s', 48 | 'ACP_PAGES_EDITED_LOG' => 'Page modifiée
» %s', 49 | 'ACP_PAGES_DELETED_LOG' => 'Page supprimée
» %s', 50 | ]); 51 | -------------------------------------------------------------------------------- /language/fr/pages_common.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = []; 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ « » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, [ 42 | 'PAGES_VIEWONLINE' => 'Consulte la page %s', 43 | ]); 44 | -------------------------------------------------------------------------------- /language/fr/pages_controller.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = []; 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ « » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, [ 42 | 'PAGE_NOT_AVAILABLE' => 'La page « %s » n’est pas disponible.', 43 | ]); 44 | -------------------------------------------------------------------------------- /language/fr/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = []; 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ « » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, [ 42 | 'ACL_A_PAGES' => 'Peut gérer l’extension Pages', 43 | ]); 44 | -------------------------------------------------------------------------------- /language/hr/exceptions.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | /* 42 | * These are errors which can be triggered by sending invalid data to the 43 | * pages extension API. 44 | * 45 | * These errors will never show to a user unless they are either modifying 46 | * the core pages extension code OR unless they are writing an extension 47 | * which makes calls to this extension. 48 | * 49 | * Translators: Feel free to not translate these language strings 50 | */ 51 | $lang = array_merge($lang, array( 52 | 'EXCEPTION_FIELD_MISSING' => 'Nedostaje traženo polje.', 53 | 'EXCEPTION_INVALID_ARGUMENT' => 'Određen je neispravan argument za `%1$s`.
Razlog: %2$s.', 54 | 'EXCEPTION_OUT_OF_BOUNDS' => 'U polje `%1$s` su upisani podatci van njegovih granica.', 55 | 'EXCEPTION_TOO_LONG' => 'Upis je duži od maksimalne dužine.', 56 | 'EXCEPTION_NOT_UNIQUE' => 'Upis nije jedinstven.', 57 | 'EXCEPTION_UNEXPECTED_VALUE' => 'U polje `%1$s` su upisani neočekivani podatci.
Razlog: %2$s.', 58 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'Upis sadrži nedopuštene znakove.', 59 | )); 60 | -------------------------------------------------------------------------------- /language/hr/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | // ACP modules 43 | 'ACP_PAGES' => 'Stranice', 44 | 'ACP_PAGES_MANAGE' => 'Upravljanje stranicama', 45 | 46 | // Logs 47 | 'ACP_PAGES_ADDED_LOG' => 'Stranica dodana
» %s', 48 | 'ACP_PAGES_EDITED_LOG' => 'Stranica uređena
» %s', 49 | 'ACP_PAGES_DELETED_LOG' => 'Stranica izbrisana
» %s', 50 | )); 51 | -------------------------------------------------------------------------------- /language/hr/pages_common.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGES_VIEWONLINE' => 'Pregledava %s', 43 | )); 44 | -------------------------------------------------------------------------------- /language/hr/pages_controller.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGE_NOT_AVAILABLE' => 'Tražena stranica “%s” je nedostupna.', 43 | )); 44 | -------------------------------------------------------------------------------- /language/hr/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'ACL_A_PAGES' => 'Može upravljati ekstenzijom “Stranice”', 43 | )); 44 | -------------------------------------------------------------------------------- /language/hr_x_vi/exceptions.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | /* 42 | * These are errors which can be triggered by sending invalid data to the 43 | * pages extension API. 44 | * 45 | * These errors will never show to a user unless they are either modifying 46 | * the core pages extension code OR unless they are writing an extension 47 | * which makes calls to this extension. 48 | * 49 | * Translators: Feel free to not translate these language strings 50 | */ 51 | $lang = array_merge($lang, array( 52 | 'EXCEPTION_FIELD_MISSING' => 'Nedostaje traženo polje.', 53 | 'EXCEPTION_INVALID_ARGUMENT' => 'Određen je neispravan argument za `%1$s`.
Razlog: %2$s.', 54 | 'EXCEPTION_OUT_OF_BOUNDS' => 'U polje `%1$s` su upisani podatci van njegovih granica.', 55 | 'EXCEPTION_TOO_LONG' => 'Upis je duži od maksimalne dužine.', 56 | 'EXCEPTION_NOT_UNIQUE' => 'Upis nije jedinstven.', 57 | 'EXCEPTION_UNEXPECTED_VALUE' => 'U polje `%1$s` su upisani neočekivani podatci.
Razlog: %2$s.', 58 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'Upis sadrži nedopuštene znakove.', 59 | )); 60 | -------------------------------------------------------------------------------- /language/hr_x_vi/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | // ACP modules 43 | 'ACP_PAGES' => 'Stranice', 44 | 'ACP_PAGES_MANAGE' => 'Upravljanje stranicama', 45 | 46 | // Logs 47 | 'ACP_PAGES_ADDED_LOG' => 'Stranica dodana
» %s', 48 | 'ACP_PAGES_EDITED_LOG' => 'Stranica uređena
» %s', 49 | 'ACP_PAGES_DELETED_LOG' => 'Stranica izbrisana
» %s', 50 | )); 51 | -------------------------------------------------------------------------------- /language/hr_x_vi/pages_common.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGES_VIEWONLINE' => 'Pregledava %s', 43 | )); 44 | -------------------------------------------------------------------------------- /language/hr_x_vi/pages_controller.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGE_NOT_AVAILABLE' => 'Tražena stranica “%s” je nedostupna.', 43 | )); 44 | -------------------------------------------------------------------------------- /language/hr_x_vi/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'ACL_A_PAGES' => 'Može upravljati ekstenzijom “Stranice”', 43 | )); 44 | -------------------------------------------------------------------------------- /language/it/exceptions.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | /* 42 | * These are errors which can be triggered by sending invalid data to the 43 | * pages extension API. 44 | * 45 | * These errors will never show to a user unless they are either modifying 46 | * the core pages extension code OR unless they are writing an extension 47 | * which makes calls to this extension. 48 | * 49 | * Translators: Feel free to not translate these language strings 50 | */ 51 | $lang = array_merge($lang, array( 52 | 'EXCEPTION_FIELD_MISSING' => 'Campo obbligatorio mancante', 53 | 'EXCEPTION_INVALID_ARGUMENT' => 'Argomento non valido specificato per `%1$s`. Motivo: %2$s', 54 | 'EXCEPTION_OUT_OF_BOUNDS' => 'Il campo `%1$s` ha ricevuto dati oltre i suoi limiti', 55 | 'EXCEPTION_TOO_LONG' => 'L´input è più lungo della lunghezza massima.', 56 | 'EXCEPTION_NOT_UNIQUE' => 'L´input non era unico.', 57 | 'EXCEPTION_UNEXPECTED_VALUE' => 'Il campo `%1$s` ha ricevuto dati imprevisti. Motivo: %2$s', 58 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'L´input contiene caratteri non validi.', 59 | )); 60 | -------------------------------------------------------------------------------- /language/it/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | // ACP modules 43 | 'ACP_PAGES' => 'Pagine', 44 | 'ACP_PAGES_MANAGE' => 'Gestisci Pagine', 45 | 46 | // Logs 47 | 'ACP_PAGES_ADDED_LOG' => 'Pagina aggiunta
» %s', 48 | 'ACP_PAGES_EDITED_LOG' => 'Pagina modificata
» %s', 49 | 'ACP_PAGES_DELETED_LOG' => 'Pagina eliminata
» %s', 50 | )); 51 | -------------------------------------------------------------------------------- /language/it/pages_common.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGES_VIEWONLINE' => 'Visualizza %s', 43 | )); 44 | -------------------------------------------------------------------------------- /language/it/pages_controller.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGE_NOT_AVAILABLE' => 'La pagina richiesta “%s” non è disponibile.', 43 | )); 44 | -------------------------------------------------------------------------------- /language/it/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'ACL_A_PAGES' => 'Può gestire l´estensione Pages', 43 | )); 44 | -------------------------------------------------------------------------------- /language/nl/exceptions.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | /* 42 | * These are errors which can be triggered by sending invalid data to the 43 | * pages extension API. 44 | * 45 | * These errors will never show to a user unless they are either modifying 46 | * the core pages extension code OR unless they are writing an extension 47 | * which makes calls to this extension. 48 | * 49 | * Translators: Feel free to not translate these language strings 50 | */ 51 | $lang = array_merge($lang, array( 52 | 'EXCEPTION_FIELD_MISSING' => 'Vereist veld mist', 53 | 'EXCEPTION_INVALID_ARGUMENT' => 'Ongeldig argument gespecificeerd voor `%1$s`. Reden: %2$s', 54 | 'EXCEPTION_OUT_OF_BOUNDS' => 'Het veld `%1$s` ontvangt data dat buiten zijn bereik ligt', 55 | 'EXCEPTION_TOO_LONG' => 'De invoer is langer dan de maximum lengte.', 56 | 'EXCEPTION_NOT_UNIQUE' => 'De invoer is niet uniek.', 57 | 'EXCEPTION_UNEXPECTED_VALUE' => 'Het veld `%1$s` ontvangt onverwachte data. Reden: %2$s', 58 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'De invoer bevat illegale tekens.', 59 | )); 60 | -------------------------------------------------------------------------------- /language/nl/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | // ACP modules 43 | 'ACP_PAGES' => 'Pagina‘s', 44 | 'ACP_PAGES_MANAGE' => 'Beheer Pagina‘s', 45 | 46 | // Logs 47 | 'ACP_PAGES_ADDED_LOG' => 'Pagina toegevoegd
» %s', 48 | 'ACP_PAGES_EDITED_LOG' => 'Pagina gewijzigd
» %s', 49 | 'ACP_PAGES_DELETED_LOG' => 'Pagina verwijderd
» %s', 50 | )); 51 | -------------------------------------------------------------------------------- /language/nl/pages_common.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGES_VIEWONLINE' => 'Bekijkt %s', 43 | )); 44 | -------------------------------------------------------------------------------- /language/nl/pages_controller.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGE_NOT_AVAILABLE' => 'De opgevraagde pagina “%s” is niet beschikbaar.', 43 | )); 44 | -------------------------------------------------------------------------------- /language/nl/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'ACL_A_PAGES' => 'Kan Pagina-extensie beheren', 43 | )); 44 | -------------------------------------------------------------------------------- /language/pl/exceptions.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | /* 41 | * These are errors which can be triggered by sending invalid data to the 42 | * pages extension API. 43 | * 44 | * These errors will never show to a user unless they are either modifying 45 | * the core pages extension code OR unless they are writing an extension 46 | * which makes calls to this extension. 47 | * 48 | * Translators: Feel free to not translate these language strings 49 | */ 50 | $lang = array_merge($lang, array( 51 | 'EXCEPTION_FIELD_MISSING' => 'Uzupełnij wymagane pola.', 52 | 'EXCEPTION_INVALID_ARGUMENT' => 'Nieprawidłowy argument określony dla `%1$s`. Powód: %2$s.', 53 | 'EXCEPTION_OUT_OF_BOUNDS' => 'Pole `%1$s` jest poza granicami danych.', 54 | 'EXCEPTION_TOO_LONG' => 'Nazwa świeżki przekroczyła maksymalną długość znaków.', 55 | 'EXCEPTION_NOT_UNIQUE' => 'Taka ścieżka już istnieje.', 56 | 'EXCEPTION_UNEXPECTED_VALUE' => 'Pole `%1$s` otrzymało nieoczekiwane dane. Powód: %2$s.', 57 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'Ścieżka zawiera niedozwolone znaki.', 58 | )); 59 | -------------------------------------------------------------------------------- /language/pl/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | // ACP modules 42 | 'ACP_PAGES' => 'Strony', 43 | 'ACP_PAGES_MANAGE' => 'Zarządzanie stronami', 44 | 45 | // Logs 46 | 'ACP_PAGES_ADDED_LOG' => 'Strona dodana
» %s', 47 | 'ACP_PAGES_EDITED_LOG' => 'Strona edytowana
» %s', 48 | 'ACP_PAGES_DELETED_LOG' => 'Strona usunięta
» %s', 49 | )); 50 | -------------------------------------------------------------------------------- /language/pl/pages_common.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'PAGES_VIEWONLINE' => 'Oglądanie %s', 42 | )); 43 | -------------------------------------------------------------------------------- /language/pl/pages_controller.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'PAGE_NOT_AVAILABLE' => 'Żądana “%s” nie jest dostępna.', 42 | )); 43 | -------------------------------------------------------------------------------- /language/pl/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'ACL_A_PAGES' => 'Możesz zarządzać rozszerzeniem "Strony"', 42 | )); 43 | -------------------------------------------------------------------------------- /language/pt/exceptions.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | /* 42 | * These are errors which can be triggered by sending invalid data to the 43 | * pages extension API. 44 | * 45 | * These errors will never show to a user unless they are either modifying 46 | * the core pages extension code OR unless they are writing an extension 47 | * which makes calls to this extension. 48 | * 49 | * Translators: Feel free to not translate these language strings 50 | */ 51 | $lang = array_merge($lang, array( 52 | 'EXCEPTION_FIELD_MISSING' => 'Campo obrigatório em falta', 53 | 'EXCEPTION_INVALID_ARGUMENT' => 'O argumento especificado para `%1$s` é inválido. Razão: %2$s', 54 | 'EXCEPTION_OUT_OF_BOUNDS' => 'O Campo `%1$s` recebeu dados além do limite', 55 | 'EXCEPTION_TOO_LONG' => 'A entrada foi maior do que o máximo permitido.', 56 | 'EXCEPTION_NOT_UNIQUE' => 'A entrada não é única.', 57 | 'EXCEPTION_UNEXPECTED_VALUE' => 'O campo `%1$s` recebeu dados não previstos. Razão: %2$s', 58 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'A entrada tem caracteres inválidos.', 59 | )); 60 | -------------------------------------------------------------------------------- /language/pt/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | // ACP modules 43 | 'ACP_PAGES' => 'Páginas Personalizadas', 44 | 'ACP_PAGES_MANAGE' => 'Gerir Páginas Personalizadas', 45 | 46 | // Logs 47 | 'ACP_PAGES_ADDED_LOG' => 'Página adicionada
» %s', 48 | 'ACP_PAGES_EDITED_LOG' => 'Página Editada
» %s', 49 | 'ACP_PAGES_DELETED_LOG' => 'Página apagada
» %s', 50 | )); 51 | -------------------------------------------------------------------------------- /language/pt/pages_common.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGES_VIEWONLINE' => 'Vendo %s', 43 | )); 44 | -------------------------------------------------------------------------------- /language/pt/pages_controller.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGE_NOT_AVAILABLE' => 'A página solicitada “%s” não está disponível.', 43 | )); 44 | -------------------------------------------------------------------------------- /language/pt/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'ACL_A_PAGES' => 'Pode gerir a extensão Páginas Personalizadas', 43 | )); 44 | -------------------------------------------------------------------------------- /language/pt_br/exceptions.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | /* 42 | * These are errors which can be triggered by sending invalid data to the 43 | * pages extension API. 44 | * 45 | * These errors will never show to a user unless they are either modifying 46 | * the core pages extension code OR unless they are writing an extension 47 | * which makes calls to this extension. 48 | * 49 | * Translators: Feel free to not translate these language strings 50 | */ 51 | $lang = array_merge($lang, array( 52 | 'EXCEPTION_FIELD_MISSING' => 'Campo obrigatório em falta', 53 | 'EXCEPTION_INVALID_ARGUMENT' => 'O argumento especificado para `%1$s` é inválido. Razão: %2$s', 54 | 'EXCEPTION_OUT_OF_BOUNDS' => 'O Campo `%1$s` recebeu dados além do limite', 55 | 'EXCEPTION_TOO_LONG' => 'A entrada foi maior do que o máximo permitido.', 56 | 'EXCEPTION_NOT_UNIQUE' => 'A entrada não é única.', 57 | 'EXCEPTION_UNEXPECTED_VALUE' => 'O campo `%1$s` recebeu dados não previstos. Razão: %2$s', 58 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'A entrada tem caracteres inválidos.', 59 | )); 60 | -------------------------------------------------------------------------------- /language/pt_br/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | // ACP modules 43 | 'ACP_PAGES' => 'Páginas', 44 | 'ACP_PAGES_MANAGE' => 'Gerenciar páginas', 45 | 46 | // Logs 47 | 'ACP_PAGES_ADDED_LOG' => 'Página adicionada
» %s', 48 | 'ACP_PAGES_EDITED_LOG' => 'Página editada
» %s', 49 | 'ACP_PAGES_DELETED_LOG' => 'Página deletada
» %s', 50 | )); 51 | -------------------------------------------------------------------------------- /language/pt_br/pages_common.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGES_VIEWONLINE' => 'Visualizando %s', 43 | )); 44 | -------------------------------------------------------------------------------- /language/pt_br/pages_controller.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGE_NOT_AVAILABLE' => 'A página solicitada “%s” não está disponível.', 43 | )); 44 | -------------------------------------------------------------------------------- /language/pt_br/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'ACL_A_PAGES' => 'Pode gerenciar a extensão pages', 43 | )); 44 | -------------------------------------------------------------------------------- /language/ru/exceptions.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | /* 41 | * These are errors which can be triggered by sending invalid data to the 42 | * pages extension API. 43 | * 44 | * These errors will never show to a user unless they are either modifying 45 | * the core pages extension code OR unless they are writing an extension 46 | * which makes calls to this extension. 47 | * 48 | * Translators: Feel free to not translate these language strings 49 | */ 50 | $lang = array_merge($lang, array( 51 | 'EXCEPTION_FIELD_MISSING' => 'Отсутствует обязательное поле', 52 | 'EXCEPTION_INVALID_ARGUMENT' => 'Неправильное значение в `%1$s`. Причина: %2$s', 53 | 'EXCEPTION_OUT_OF_BOUNDS' => 'Поле `%1$s` получило запредельные данные', 54 | 'EXCEPTION_TOO_LONG' => 'Лимит количества знаков превышен.', 55 | 'EXCEPTION_NOT_UNIQUE' => 'Данные повторяются', 56 | 'EXCEPTION_UNEXPECTED_VALUE' => 'Поле `%1$s` получило неожиданные данные. Причина: %2$s', 57 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'Введенные данные содержут недопустимые символы', 58 | )); 59 | -------------------------------------------------------------------------------- /language/ru/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | // ACP modules 42 | 'ACP_PAGES' => '«Страницы»', 43 | 'ACP_PAGES_MANAGE' => 'Управление «Страницами»', 44 | 45 | // Logs 46 | 'ACP_PAGES_ADDED_LOG' => 'Страница добавлена
» %s', 47 | 'ACP_PAGES_EDITED_LOG' => 'Страница изменена
» %s', 48 | 'ACP_PAGES_DELETED_LOG' => 'Страница удалена
» %s', 49 | )); 50 | -------------------------------------------------------------------------------- /language/ru/pages_common.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'PAGES_VIEWONLINE' => 'Просматривает %s', 42 | )); 43 | -------------------------------------------------------------------------------- /language/ru/pages_controller.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'PAGE_NOT_AVAILABLE' => 'Запрошенной страницы “%s” не существует.', 42 | )); 43 | -------------------------------------------------------------------------------- /language/ru/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | /** 12 | * DO NOT CHANGE 13 | */ 14 | if (!defined('IN_PHPBB')) 15 | { 16 | exit; 17 | } 18 | 19 | if (empty($lang) || !is_array($lang)) 20 | { 21 | $lang = array(); 22 | } 23 | 24 | // DEVELOPERS PLEASE NOTE 25 | // 26 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 27 | // 28 | // Placeholders can now contain order information, e.g. instead of 29 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 30 | // translators to re-order the output of data while ensuring it remains correct 31 | // 32 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 33 | // equally where a string contains only two placeholders which are used to wrap text 34 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 35 | // 36 | // Some characters you may want to copy&paste: 37 | // ’ » “ ” … 38 | // 39 | 40 | $lang = array_merge($lang, array( 41 | 'ACL_A_PAGES' => 'Может управлять расширением «Страницы»', 42 | )); 43 | -------------------------------------------------------------------------------- /language/sk/exceptions.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | /* 42 | * These are errors which can be triggered by sending invalid data to the 43 | * pages extension API. 44 | * 45 | * These errors will never show to a user unless they are either modifying 46 | * the core pages extension code OR unless they are writing an extension 47 | * which makes calls to this extension. 48 | * 49 | * Translators: Feel free to not translate these language strings 50 | */ 51 | $lang = array_merge($lang, array( 52 | 'EXCEPTION_FIELD_MISSING' => 'Požadované pole chýba', 53 | 'EXCEPTION_INVALID_ARGUMENT' => 'Stanovený neplatný argument pre „%1$s“. Dôvod: %2$s', 54 | 'EXCEPTION_OUT_OF_BOUNDS' => 'Dáta v poli „%1$s“ sú mimo jeho rozsah', 55 | 'EXCEPTION_TOO_LONG' => 'Dĺžka vstupných údajov prekračuje maximálnu povolenú dĺžku.', 56 | 'EXCEPTION_NOT_UNIQUE' => 'Vstupné údaje niesu jedinečné.', 57 | 'EXCEPTION_UNEXPECTED_VALUE' => 'Pole „%1$s“ obsahuje neočekávané dáta. Dôvod: %2$s', 58 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'Vstupné údaje obsahujú nepovolené znaky.', 59 | )); 60 | -------------------------------------------------------------------------------- /language/sk/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | // ACP modules 43 | 'ACP_PAGES' => 'Stránky', 44 | 'ACP_PAGES_MANAGE' => 'Správa stránok', 45 | 46 | // Logs 47 | 'ACP_PAGES_ADDED_LOG' => 'Stránka pridaná
» %s', 48 | 'ACP_PAGES_EDITED_LOG' => 'Stránka upravená
» %s', 49 | 'ACP_PAGES_DELETED_LOG' => 'Stránka odstránená
» %s', 50 | )); 51 | -------------------------------------------------------------------------------- /language/sk/pages_common.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGES_VIEWONLINE' => 'Zobrazené %s', 43 | )); 44 | -------------------------------------------------------------------------------- /language/sk/pages_controller.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGE_NOT_AVAILABLE' => 'Požadovaná stránka „%s“ nieje dostupná.', 43 | )); 44 | -------------------------------------------------------------------------------- /language/sk/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * @copyright (c) 2015 phpBB Limited 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'ACL_A_PAGES' => 'Umožňuje správu rozšírenia Stránky', 43 | )); 44 | -------------------------------------------------------------------------------- /language/sv/exceptions.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | /* 42 | * These are errors which can be triggered by sending invalid data to the 43 | * pages extension API. 44 | * 45 | * These errors will never show to a user unless they are either modifying 46 | * the core pages extension code OR unless they are writing an extension 47 | * which makes calls to this extension. 48 | * 49 | * Translators: Feel free to not translate these language strings 50 | */ 51 | $lang = array_merge($lang, array( 52 | 'EXCEPTION_FIELD_MISSING' => 'Erforderligt fält saknas', 53 | 'EXCEPTION_INVALID_ARGUMENT' => 'Ogiltigt argument angivet för `%1$s`. Orsak: %2$s', 54 | 'EXCEPTION_OUT_OF_BOUNDS' => 'Fältet `%1$s` har mottagit data utöver fältets begränsningar', 55 | 'EXCEPTION_TOO_LONG' => 'Inmatningen var längre än den maximalt tillåta längden.', 56 | 'EXCEPTION_NOT_UNIQUE' => 'Inmatningen var ej unik.', 57 | 'EXCEPTION_UNEXPECTED_VALUE' => 'Fältet `%1$s` har mottagit oväntad data. Orsak: %2$s', 58 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'Inmatningen innehöll otillåtna tecken.', 59 | )); 60 | -------------------------------------------------------------------------------- /language/sv/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | // ACP modules 43 | 'ACP_PAGES' => 'Sidor', 44 | 'ACP_PAGES_MANAGE' => 'Hantera sidor', 45 | 46 | // Logs 47 | 'ACP_PAGES_ADDED_LOG' => 'Sida har skapats
» %s', 48 | 'ACP_PAGES_EDITED_LOG' => 'Sida har ändrats
» %s', 49 | 'ACP_PAGES_DELETED_LOG' => 'Sida har raderats
» %s', 50 | )); 51 | -------------------------------------------------------------------------------- /language/sv/pages_common.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGES_VIEWONLINE' => 'Tittar på %s', 43 | )); 44 | -------------------------------------------------------------------------------- /language/sv/pages_controller.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGE_NOT_AVAILABLE' => 'Sidan “%s” är ej tillgänglig.', 43 | )); 44 | -------------------------------------------------------------------------------- /language/sv/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'ACL_A_PAGES' => 'Kan hantera sidtillägget', 43 | )); 44 | -------------------------------------------------------------------------------- /language/tr/exceptions.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | /* 42 | * These are errors which can be triggered by sending invalid data to the 43 | * pages extension API. 44 | * 45 | * These errors will never show to a user unless they are either modifying 46 | * the core pages extension code OR unless they are writing an extension 47 | * which makes calls to this extension. 48 | * 49 | * Translators: Feel free to not translate these language strings 50 | */ 51 | $lang = array_merge($lang, array( 52 | 'EXCEPTION_FIELD_MISSING' => 'Gerekli alan eksik', 53 | 'EXCEPTION_INVALID_ARGUMENT' => '`%1$s` için geçersiz bağımsız değişken belirtildi. Sebep: %2$s', 54 | 'EXCEPTION_OUT_OF_BOUNDS' => '`%1$s` alanı sınırların üzerinde veri aldı', 55 | 'EXCEPTION_TOO_LONG' => 'Giriş, en fazla uzunluk sınırını aştı.', 56 | 'EXCEPTION_NOT_UNIQUE' => 'Giriş, özgün ve benzersiz değil.', 57 | 'EXCEPTION_UNEXPECTED_VALUE' => '`%1$s` alanı beklenmeyen veri aldı. Sebep: %2$s', 58 | 'EXCEPTION_ILLEGAL_CHARACTERS' => 'Giriş, illegal karakterler içeriyor.', 59 | )); 60 | -------------------------------------------------------------------------------- /language/tr/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | // ACP modules 43 | 'ACP_PAGES' => 'Sayfalar', 44 | 'ACP_PAGES_MANAGE' => 'Sayfaları yönet', 45 | 46 | // Logs 47 | 'ACP_PAGES_ADDED_LOG' => 'Sayfa eklendi
» %s', 48 | 'ACP_PAGES_EDITED_LOG' => 'Sayfa düzenlendi
» %s', 49 | 'ACP_PAGES_DELETED_LOG' => 'Sayfa silindi
» %s', 50 | )); 51 | -------------------------------------------------------------------------------- /language/tr/pages_common.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGES_VIEWONLINE' => '%s görüntüleniyor', 43 | )); 44 | -------------------------------------------------------------------------------- /language/tr/pages_controller.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGE_NOT_AVAILABLE' => 'İstenilen “%s” sayfası mevcut değil.', 43 | )); 44 | -------------------------------------------------------------------------------- /language/tr/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'ACL_A_PAGES' => 'Sayfalar eklentisini yönetebilir', 43 | )); 44 | -------------------------------------------------------------------------------- /language/zh_cmn_hans/exceptions.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * @copyright (c) 2014 phpBB Limited 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | /* 42 | * These are errors which can be triggered by sending invalid data to the 43 | * pages extension API. 44 | * 45 | * These errors will never show to a user unless they are either modifying 46 | * the core pages extension code OR unless they are writing an extension 47 | * which makes calls to this extension. 48 | * 49 | * Translators: Feel free to not translate these language strings 50 | */ 51 | $lang = array_merge($lang, array( 52 | 'EXCEPTION_FIELD_MISSING' => '必填项缺失', 53 | 'EXCEPTION_INVALID_ARGUMENT' => '`%1$s` 参数无效。 原因: %2$s', 54 | 'EXCEPTION_OUT_OF_BOUNDS' => '`%1$s` 字段获取的数据超出范围', 55 | 'EXCEPTION_TOO_LONG' => '输入值过长。', 56 | 'EXCEPTION_NOT_UNIQUE' => '输入值不是唯一。', 57 | 'EXCEPTION_UNEXPECTED_VALUE' => '`%1$s` 字段获取的未预期的数据。原因: %2$s', 58 | 'EXCEPTION_ILLEGAL_CHARACTERS' => '输入值包含非法字符。', 59 | )); 60 | -------------------------------------------------------------------------------- /language/zh_cmn_hans/info_acp_pages.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * @copyright (c) 2014 phpBB Limited 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | // ACP modules 43 | 'ACP_PAGES' => '单页', 44 | 'ACP_PAGES_MANAGE' => '管理单页', 45 | 46 | // Logs 47 | 'ACP_PAGES_ADDED_LOG' => '增加了一个单页
» %s', 48 | 'ACP_PAGES_EDITED_LOG' => '修改了一个单页
» %s', 49 | 'ACP_PAGES_DELETED_LOG' => '删除了一个单页
» %s', 50 | )); 51 | -------------------------------------------------------------------------------- /language/zh_cmn_hans/pages_common.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * @copyright (c) 2014 phpBB Limited 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGES_VIEWONLINE' => '预览 %s', 43 | )); 44 | -------------------------------------------------------------------------------- /language/zh_cmn_hans/pages_controller.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * @copyright (c) 2014 phpBB Limited 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'PAGE_NOT_AVAILABLE' => '单页 “%s” 不存在。', 43 | )); 44 | -------------------------------------------------------------------------------- /language/zh_cmn_hans/permissions_pages.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * @copyright (c) 2014 phpBB Limited 8 | * @license GNU General Public License, version 2 (GPL-2.0) 9 | * 10 | */ 11 | 12 | /** 13 | * DO NOT CHANGE 14 | */ 15 | if (!defined('IN_PHPBB')) 16 | { 17 | exit; 18 | } 19 | 20 | if (empty($lang) || !is_array($lang)) 21 | { 22 | $lang = array(); 23 | } 24 | 25 | // DEVELOPERS PLEASE NOTE 26 | // 27 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. 28 | // 29 | // Placeholders can now contain order information, e.g. instead of 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows 31 | // translators to re-order the output of data while ensuring it remains correct 32 | // 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine 34 | // equally where a string contains only two placeholders which are used to wrap text 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine 36 | // 37 | // Some characters you may want to copy&paste: 38 | // ’ » “ ” … 39 | // 40 | 41 | $lang = array_merge($lang, array( 42 | 'ACL_A_PAGES' => '能管理单页扩展', 43 | )); 44 | -------------------------------------------------------------------------------- /migrations/converter/c1_convert_table.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\migrations\converter; 12 | 13 | /** 14 | * Converter stage 1: Convert table name 15 | */ 16 | class c1_convert_table extends \phpbb\db\migration\migration 17 | { 18 | /** 19 | * Assign migration file dependencies for this migration 20 | * 21 | * @return array Array of migration files 22 | * @static 23 | * @access public 24 | */ 25 | public static function depends_on() 26 | { 27 | return array('\phpbb\db\migration\data\v310\gold'); 28 | } 29 | 30 | /** 31 | * Skip this migration if a previous pages table does not 32 | * exist, or our pages table is already installed 33 | * 34 | * @return bool True to skip this migration, false to run it 35 | * @access public 36 | */ 37 | public function effectively_installed() 38 | { 39 | return !$this->db_tools->sql_table_exists($this->table_prefix . 'pages') || $this->db_tools->sql_column_exists($this->table_prefix . 'pages', 'page_route'); 40 | } 41 | 42 | /** 43 | * Update the table name 44 | * 45 | * @return array Array of table schema 46 | * @access public 47 | */ 48 | public function update_data() 49 | { 50 | return array( 51 | array('custom', array(array($this, 'rename_pages_table'))), 52 | ); 53 | } 54 | 55 | /** 56 | * Rename the previous pages table 57 | * 58 | * @return void 59 | * @access public 60 | */ 61 | public function rename_pages_table() 62 | { 63 | switch ($this->db->get_sql_layer()) 64 | { 65 | // SQL Server dbms support this syntax 66 | case 'mssql': 67 | case 'mssql_odbc': 68 | case 'mssqlnative': 69 | $sql = "EXEC sp_rename '{$this->table_prefix}pages', '{$this->table_prefix}pages_mod_backup'"; 70 | break; 71 | 72 | // All other dbms support this syntax 73 | default: 74 | $sql = "ALTER TABLE {$this->table_prefix}pages RENAME TO {$this->table_prefix}pages_mod_backup"; 75 | break; 76 | } 77 | 78 | $this->db->sql_query($sql); 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /migrations/converter/c3_convert_module.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\migrations\converter; 12 | 13 | /** 14 | * Converter stage 3: Convert module 15 | */ 16 | class c3_convert_module extends \phpbb\db\migration\container_aware_migration 17 | { 18 | /** 19 | * Assign migration file dependencies for this migration 20 | * 21 | * @return array Array of migration files 22 | * @static 23 | * @access public 24 | */ 25 | public static function depends_on() 26 | { 27 | return array('\phpbb\pages\migrations\converter\c1_convert_table'); 28 | } 29 | 30 | /** 31 | * Skip this migration if an ACP_PAGES module does not exist 32 | * 33 | * @return bool True if table does not exist 34 | * @access public 35 | */ 36 | public function effectively_installed() 37 | { 38 | $sql = 'SELECT module_id 39 | FROM ' . $this->table_prefix . "modules 40 | WHERE module_class = 'acp' 41 | AND module_langname = 'ACP_PAGES'"; 42 | $result = $this->db->sql_query($sql); 43 | $module_id = (int) $this->db->sql_fetchfield('module_id'); 44 | $this->db->sql_freeresult($result); 45 | 46 | // Skip migration if ACP_PAGES module does not exist 47 | return !$module_id; 48 | } 49 | 50 | /** 51 | * Add or update data in the database 52 | * 53 | * @return array Array of table data 54 | * @access public 55 | */ 56 | public function update_data() 57 | { 58 | // use module tool explicitly since module.exists does not work in 'if' 59 | $module_tool = $this->container->get('migrator.tool.module'); 60 | 61 | return array( 62 | // Remove old ACP_PAGES module if it exists 63 | array('if', array( 64 | $module_tool->exists('acp', false, 'ACP_PAGES', true), 65 | array('module.remove', array('acp', false, 'ACP_PAGES')), 66 | )), 67 | ); 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /migrations/v10x/m1_initial_schema.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\migrations\v10x; 12 | 13 | /** 14 | * Migration stage 1: Initial schema 15 | */ 16 | class m1_initial_schema extends \phpbb\db\migration\migration 17 | { 18 | /** 19 | * Assign migration file dependencies for this migration 20 | * 21 | * @return array Array of migration files 22 | * @static 23 | * @access public 24 | */ 25 | public static function depends_on() 26 | { 27 | return array('\phpbb\pages\migrations\converter\c1_convert_table'); 28 | } 29 | 30 | /** 31 | * Add the pages table schema to the database: 32 | * pages: 33 | * page_id 34 | * page_title 35 | * page_description 36 | * page_route 37 | * page_order 38 | * page_content 39 | * page_content_bbcode_uid 40 | * page_content_bbcode_bitfield 41 | * page_content_bbcode_options 42 | * page_content_allow_html 43 | * 44 | * @return array Array of table schema 45 | * @access public 46 | */ 47 | public function update_schema() 48 | { 49 | return array( 50 | 'add_tables' => array( 51 | $this->table_prefix . 'pages' => array( 52 | 'COLUMNS' => array( 53 | 'page_id' => array('UINT', null, 'auto_increment'), 54 | 'page_title' => array('VCHAR:200', ''), 55 | 'page_description' => array('VCHAR:255', ''), 56 | 'page_route' => array('VCHAR:100', ''), 57 | 'page_order' => array('UINT', 0), 58 | 'page_content' => array('MTEXT_UNI', ''), 59 | 'page_content_bbcode_uid' => array('VCHAR:8', ''), 60 | 'page_content_bbcode_bitfield' => array('VCHAR:255', ''), 61 | 'page_content_bbcode_options' => array('UINT:11', 7), 62 | 'page_content_allow_html' => array('BOOL', 0), 63 | 'page_display' => array('BOOL', 0), 64 | 'page_display_to_guests' => array('BOOL', 0), 65 | 'page_template' => array('VCHAR:255', ''), 66 | ), 67 | 'PRIMARY_KEY' => 'page_id', 68 | ), 69 | $this->table_prefix . 'pages_links' => array( 70 | 'COLUMNS' => array( 71 | 'page_link_id' => array('UINT', null, 'auto_increment'), 72 | 'page_link_location' => array('VCHAR:255', ''), 73 | 'page_link_event_name' => array('VCHAR:255', ''), 74 | ), 75 | 'PRIMARY_KEY' => 'page_link_id', 76 | ), 77 | $this->table_prefix . 'pages_pages_links' => array( 78 | 'COLUMNS' => array( 79 | 'page_id' => array('UINT', 0), 80 | 'page_link_id' => array('UINT', 0), 81 | ), 82 | 'PRIMARY_KEY' => array('page_id', 'page_link_id'), 83 | ), 84 | ), 85 | ); 86 | } 87 | 88 | /** 89 | * Drop the pages table schema from the database 90 | * 91 | * @return array Array of table schema 92 | * @access public 93 | */ 94 | public function revert_schema() 95 | { 96 | return array( 97 | 'drop_tables' => array( 98 | $this->table_prefix . 'pages', 99 | $this->table_prefix . 'pages_links', 100 | $this->table_prefix . 'pages_pages_links', 101 | ), 102 | ); 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /migrations/v10x/m2_initial_data.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\migrations\v10x; 12 | 13 | /** 14 | * Migration stage 2: Initial data 15 | */ 16 | class m2_initial_data extends \phpbb\db\migration\migration 17 | { 18 | /** 19 | * Assign migration file dependencies for this migration 20 | * 21 | * @return array Array of migration files 22 | * @static 23 | * @access public 24 | */ 25 | public static function depends_on() 26 | { 27 | return array('\phpbb\pages\migrations\v10x\m1_initial_schema'); 28 | } 29 | 30 | /** 31 | * Add or update data in the database 32 | * 33 | * @return array Array of table data 34 | * @access public 35 | */ 36 | public function update_data() 37 | { 38 | return array( 39 | array('custom', array(array($this, 'add_page_link_location_data'))), 40 | ); 41 | } 42 | 43 | /** 44 | * Add pages link locations to the database 45 | * 46 | * @return void 47 | * @access public 48 | */ 49 | public function add_page_link_location_data() 50 | { 51 | // Load the insert buffer class to perform a buffered multi insert 52 | $insert_buffer = new \phpbb\db\sql_insert_buffer($this->db, $this->table_prefix . 'pages_links'); 53 | 54 | // Define our default page link locations/events 55 | // NOTE: These names are updated in m5_update_link_names.php 56 | $page_link_locations = array( 57 | // event name => // description 58 | 'overall_header_navigation_prepend' => 'Nav Bar Before Links', 59 | 'overall_header_navigation_append' => 'Nav Bar After Links', 60 | 'overall_header_breadcrumbs_before' => 'Nav Bar Before Breadcrumbs', 61 | 'overall_header_breadcrumbs_after' => 'Nav Bar After Breadcrumbs', 62 | 'overall_footer_timezone_before' => 'Footer Before Time Zone', 63 | 'overall_footer_timezone_after' => 'Footer After Time Zone', 64 | 'overall_footer_teamlink_before' => 'Footer Before Team Link', 65 | 'overall_footer_teamlink_after' => 'Footer After Team Link', 66 | 'navbar_header_quick_links_before' => 'Quick links Menu Top', 67 | 'navbar_header_quick_links_after' => 'Quick Links Menu Bottom', 68 | ); 69 | 70 | // Insert data 71 | foreach ($page_link_locations as $event => $location) 72 | { 73 | $insert_buffer->insert(array( 74 | 'page_link_location' => $location, 75 | 'page_link_event_name' => $event, 76 | )); 77 | } 78 | 79 | // Flush the buffer 80 | $insert_buffer->flush(); 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /migrations/v10x/m3_initial_permission.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\migrations\v10x; 12 | 13 | /** 14 | * Migration stage 3: Initial permission 15 | */ 16 | class m3_initial_permission extends \phpbb\db\migration\migration 17 | { 18 | /** 19 | * Assign migration file dependencies for this migration 20 | * 21 | * @return array Array of migration files 22 | * @static 23 | * @access public 24 | */ 25 | public static function depends_on() 26 | { 27 | return array('\phpbb\pages\migrations\v10x\m1_initial_schema'); 28 | } 29 | 30 | /** 31 | * Add or update data in the database 32 | * 33 | * @return array Array of table data 34 | * @access public 35 | */ 36 | public function update_data() 37 | { 38 | return array( 39 | // Add permission 40 | array('permission.add', array('a_pages', true)), 41 | 42 | // Set permissions 43 | array('if', array( 44 | array('permission.role_exists', array('ROLE_ADMIN_FULL')), 45 | array('permission.permission_set', array('ROLE_ADMIN_FULL', 'a_pages')), 46 | )), 47 | array('if', array( 48 | array('permission.role_exists', array('ROLE_ADMIN_STANDARD')), 49 | array('permission.permission_set', array('ROLE_ADMIN_STANDARD', 'a_pages')), 50 | )), 51 | ); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /migrations/v10x/m4_initial_module.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\migrations\v10x; 12 | 13 | /** 14 | * Migration stage 4: Initial module 15 | */ 16 | class m4_initial_module extends \phpbb\db\migration\migration 17 | { 18 | /** 19 | * Assign migration file dependencies for this migration 20 | * 21 | * @return array Array of migration files 22 | * @static 23 | * @access public 24 | */ 25 | public static function depends_on() 26 | { 27 | return array( 28 | '\phpbb\pages\migrations\converter\c3_convert_module', 29 | '\phpbb\pages\migrations\v10x\m3_initial_permission', 30 | ); 31 | } 32 | 33 | /** 34 | * Add or update data in the database 35 | * 36 | * @return array Array of table data 37 | * @access public 38 | */ 39 | public function update_data() 40 | { 41 | return array( 42 | array('module.add', array('acp', 'ACP_CAT_DOT_MODS', 'ACP_PAGES')), 43 | array('module.add', array( 44 | 'acp', 'ACP_PAGES', array( 45 | 'module_basename' => '\phpbb\pages\acp\pages_module', 46 | 'modes' => array('manage'), 47 | ), 48 | )), 49 | ); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /migrations/v10x/m5_update_link_names.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\migrations\v10x; 12 | 13 | /** 14 | * Migration stage 5: Update link location names 15 | */ 16 | class m5_update_link_names extends \phpbb\db\migration\migration 17 | { 18 | /** 19 | * Assign migration file dependencies for this migration 20 | * 21 | * @return array Array of migration files 22 | * @static 23 | * @access public 24 | */ 25 | public static function depends_on() 26 | { 27 | return array('\phpbb\pages\migrations\v10x\m2_initial_data'); 28 | } 29 | 30 | /** 31 | * Add or update data in the database 32 | * 33 | * @return array Array of table data 34 | * @access public 35 | */ 36 | public function update_data() 37 | { 38 | return array( 39 | array('custom', array(array($this, 'update_page_link_location_data'))), 40 | ); 41 | } 42 | 43 | /** 44 | * Update link location names in the database 45 | * 46 | * @return void 47 | * @access public 48 | */ 49 | public function update_page_link_location_data() 50 | { 51 | // Map the old names to new names 52 | $map_names = array( 53 | 'Nav Bar Before Links' => 'NAV_BAR_LINKS_BEFORE', 54 | 'Nav Bar After Links' => 'NAV_BAR_LINKS_AFTER', 55 | 'Nav Bar Before Breadcrumbs' => 'NAV_BAR_CRUMBS_BEFORE', 56 | 'Nav Bar After Breadcrumbs' => 'NAV_BAR_CRUMBS_AFTER', 57 | 'Footer Before Time Zone' => 'FOOTER_TIMEZONE_BEFORE', 58 | 'Footer After Time Zone' => 'FOOTER_TIMEZONE_AFTER', 59 | 'Footer Before Team Link' => 'FOOTER_TEAMS_BEFORE', 60 | 'Footer After Team Link' => 'FOOTER_TEAMS_AFTER', 61 | 'Quick links Menu Top' => 'QUICK_LINK_MENU_BEFORE', 62 | 'Quick Links Menu Bottom' => 'QUICK_LINK_MENU_AFTER', 63 | ); 64 | 65 | foreach ($map_names as $old_name => $new_name) 66 | { 67 | $sql = 'UPDATE ' . $this->table_prefix . 'pages_links' . " 68 | SET page_link_location = '{$new_name}' 69 | WHERE page_link_location = '{$old_name}'"; 70 | $this->db->sql_query($sql); 71 | } 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /migrations/v10x/m6_reparser_cron.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\migrations\v10x; 12 | 13 | /** 14 | * Migration stage 6: Add reparser cron configs 15 | */ 16 | class m6_reparser_cron extends \phpbb\db\migration\migration 17 | { 18 | /** 19 | * Assign migration file dependencies for this migration 20 | * 21 | * @return array Array of migration files 22 | * @static 23 | * @access public 24 | */ 25 | public static function depends_on() 26 | { 27 | return array('\phpbb\pages\migrations\v10x\m5_update_link_names'); 28 | } 29 | 30 | /** 31 | * Check if the migration is effectively installed (entirely optional) 32 | * 33 | * @return bool True if this migration is installed, False if this migration is not installed 34 | */ 35 | public function effectively_installed() 36 | { 37 | return $this->config->offsetExists('text_reparser.phpbb_pages_text_cron_interval'); 38 | } 39 | 40 | /** 41 | * Add or update data in the database 42 | * 43 | * @return array Array of table data 44 | * @access public 45 | */ 46 | public function update_data() 47 | { 48 | return array( 49 | array('config.add', array('text_reparser.phpbb_pages_text_cron_interval', 10)), 50 | array('config.add', array('text_reparser.phpbb_pages_text_last_cron', 0)), 51 | ); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /migrations/v10x/m7_reparser_cron_update.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\migrations\v10x; 12 | 13 | /** 14 | * Migration stage 7: Rename reparser cron configs 15 | */ 16 | class m7_reparser_cron_update extends \phpbb\db\migration\migration 17 | { 18 | /** 19 | * Assign migration file dependencies for this migration 20 | * 21 | * @return array Array of migration files 22 | * @static 23 | * @access public 24 | */ 25 | public static function depends_on() 26 | { 27 | return array('\phpbb\pages\migrations\v10x\m6_reparser_cron'); 28 | } 29 | 30 | /** 31 | * Check if the migration is effectively installed (entirely optional) 32 | * 33 | * @return bool True if this migration is installed, False if this migration is not installed 34 | */ 35 | public function effectively_installed() 36 | { 37 | return $this->config->offsetExists('phpbb.pages.text_reparser.page_text_cron_interval'); 38 | } 39 | 40 | /** 41 | * Add or update data in the database 42 | * 43 | * @return array Array of table data 44 | * @access public 45 | */ 46 | public function update_data() 47 | { 48 | return array( 49 | array('config.add', array('phpbb.pages.text_reparser.page_text_cron_interval', $this->config['text_reparser.phpbb_pages_text_cron_interval'])), 50 | array('config.add', array('phpbb.pages.text_reparser.page_text_last_cron', $this->config['text_reparser.phpbb_pages_text_last_cron'])), 51 | 52 | array('config.remove', array('text_reparser.phpbb_pages_text_cron_interval')), 53 | array('config.remove', array('text_reparser.phpbb_pages_text_last_cron')), 54 | ); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /migrations/v20x/m10_display_description.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\migrations\v20x; 12 | 13 | /** 14 | * Migration stage 10: Add display description option 15 | */ 16 | class m10_display_description extends \phpbb\db\migration\migration 17 | { 18 | /** 19 | * (@inheritdoc) 20 | */ 21 | public static function depends_on() 22 | { 23 | return [ 24 | '\phpbb\pages\migrations\v10x\m1_initial_schema', 25 | '\phpbb\pages\migrations\v20x\m9_page_title_switch', 26 | ]; 27 | } 28 | 29 | /** 30 | * (@inheritdoc) 31 | */ 32 | public function effectively_installed() 33 | { 34 | return $this->db_tools->sql_column_exists($this->table_prefix . 'pages', 'page_description_display'); 35 | } 36 | 37 | /** 38 | * (@inheritdoc) 39 | */ 40 | public function update_schema() 41 | { 42 | return [ 43 | 'add_columns' => [ 44 | $this->table_prefix . 'pages' => [ 45 | 'page_description_display' => ['BOOL', 0], 46 | ], 47 | ], 48 | ]; 49 | } 50 | 51 | /** 52 | * (@inheritdoc) 53 | */ 54 | public function revert_schema() 55 | { 56 | return [ 57 | 'drop_columns' => [ 58 | $this->table_prefix . 'pages' => [ 59 | 'page_description_display', 60 | ], 61 | ], 62 | ]; 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /migrations/v20x/m8_font_icons.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\migrations\v20x; 12 | 13 | /** 14 | * Migration stage 8: Add font icon support 15 | */ 16 | class m8_font_icons extends \phpbb\db\migration\migration 17 | { 18 | /** 19 | * (@inheritdoc) 20 | */ 21 | public static function depends_on() 22 | { 23 | return array('\phpbb\pages\migrations\v10x\m7_reparser_cron_update'); 24 | } 25 | 26 | /** 27 | * (@inheritdoc) 28 | */ 29 | public function effectively_installed() 30 | { 31 | return $this->db_tools->sql_column_exists($this->table_prefix . 'pages', 'page_icon_font'); 32 | } 33 | 34 | /** 35 | * (@inheritdoc) 36 | */ 37 | public function update_schema() 38 | { 39 | return array( 40 | 'add_columns' => array( 41 | $this->table_prefix . 'pages' => array( 42 | 'page_icon_font' => array('VCHAR:255', ''), 43 | ), 44 | ), 45 | ); 46 | } 47 | 48 | /** 49 | * (@inheritdoc) 50 | */ 51 | public function revert_schema() 52 | { 53 | return array( 54 | 'drop_columns' => array( 55 | $this->table_prefix . 'pages' => array( 56 | 'page_icon_font', 57 | ), 58 | ), 59 | ); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /migrations/v20x/m9_page_title_switch.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\migrations\v20x; 12 | 13 | /** 14 | * Migration stage 9: Add page title switch setting for pages 15 | */ 16 | class m9_page_title_switch extends \phpbb\db\migration\migration 17 | { 18 | /** 19 | * (@inheritdoc) 20 | */ 21 | public static function depends_on() 22 | { 23 | return array('\phpbb\pages\migrations\v20x\m8_font_icons'); 24 | } 25 | 26 | /** 27 | * (@inheritdoc) 28 | */ 29 | public function effectively_installed() 30 | { 31 | return $this->db_tools->sql_column_exists($this->table_prefix . 'pages', 'page_title_switch'); 32 | } 33 | 34 | /** 35 | * (@inheritdoc) 36 | */ 37 | public function update_schema() 38 | { 39 | return array( 40 | 'add_columns' => array( 41 | $this->table_prefix . 'pages' => array( 42 | 'page_title_switch' => array('BOOL', 0), 43 | ), 44 | ), 45 | ); 46 | } 47 | 48 | /** 49 | * (@inheritdoc) 50 | */ 51 | public function revert_schema() 52 | { 53 | return array( 54 | 'drop_columns' => array( 55 | $this->table_prefix . 'pages' => array( 56 | 'page_title_switch', 57 | ), 58 | ), 59 | ); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /routing/page_loader.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\routing; 12 | 13 | use phpbb\db\driver\driver_interface; 14 | use Symfony\Component\Config\Loader\Loader; 15 | use Symfony\Component\Routing\Route; 16 | use Symfony\Component\Routing\RouteCollection; 17 | 18 | /** 19 | * Loads routes defined in Page's database. 20 | */ 21 | class page_loader extends Loader 22 | { 23 | /** @var driver_interface */ 24 | protected $db; 25 | 26 | /** @var string */ 27 | protected $pages_table; 28 | 29 | /** 30 | * Constructor 31 | * 32 | * @param driver_interface $db Database connection 33 | * @param string $pages_table Table name 34 | * @access public 35 | */ 36 | public function __construct(driver_interface $db, $pages_table) 37 | { 38 | $this->db = $db; 39 | $this->pages_table = $pages_table; 40 | } 41 | 42 | /** 43 | * Loads routes defined in Page's database. 44 | * 45 | * @param string $resource Resource (not used, but required by parent interface) 46 | * @param string|null $type The resource type 47 | * 48 | * @return RouteCollection A RouteCollection instance 49 | * 50 | * @api 51 | */ 52 | public function load($resource, $type = null) 53 | { 54 | $collection = new RouteCollection(); 55 | 56 | $sql = 'SELECT page_id, page_route 57 | FROM ' . $this->pages_table; 58 | $result = $this->db->sql_query($sql); 59 | while ($row = $this->db->sql_fetchrow($result)) 60 | { 61 | $route = new Route('/' . $row['page_route']); 62 | $route->setDefault('_controller', 'phpbb.pages.controller:display'); 63 | $route->setDefault('route', $row['page_route']); 64 | $collection->add('phpbb_pages_dynamic_route_' . $row['page_id'], $route); 65 | } 66 | $this->db->sql_freeresult(); 67 | 68 | return $collection; 69 | } 70 | 71 | /** 72 | * {@inheritdoc} 73 | * 74 | * @api 75 | */ 76 | public function supports($resource, $type = null) 77 | { 78 | return $type === 'phpbb_pages_route'; 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /styles/prosilver/template/event/navbar_header_quick_links_after.html: -------------------------------------------------------------------------------- 1 | {% if S_NAVBAR_HEADER_QUICK_LINKS_AFTER %} 2 | {% for link in navbar_header_quick_links_after_links %} 3 |
  • 4 | 5 | {% if link.ICON_FONT %}{% endif %}{{ link.LINK_TITLE }} 6 | 7 |
  • 8 | {% endfor %} 9 | {% endif %} 10 | -------------------------------------------------------------------------------- /styles/prosilver/template/event/navbar_header_quick_links_before.html: -------------------------------------------------------------------------------- 1 | {% if S_NAVBAR_HEADER_QUICK_LINKS_BEFORE %} 2 | {% for link in navbar_header_quick_links_before_links %} 3 |
  • 4 | 5 | {% if link.ICON_FONT %}{% endif %}{{ link.LINK_TITLE }} 6 | 7 |
  • 8 | {% endfor %} 9 | {% endif %} 10 | -------------------------------------------------------------------------------- /styles/prosilver/template/event/overall_footer_teamlink_after.html: -------------------------------------------------------------------------------- 1 | {# Note: we must use the before code so the link will appear in the expected location #} 2 | {% if S_OVERALL_FOOTER_TEAMLINK_BEFORE %} 3 | {% for link in overall_footer_teamlink_before_links %} 4 |
  • 5 | 6 | {% if link.ICON_FONT %}{% endif %}{{ link.LINK_TITLE }} 7 | 8 |
  • 9 | {% endfor %} 10 | {% endif %} 11 | -------------------------------------------------------------------------------- /styles/prosilver/template/event/overall_footer_teamlink_before.html: -------------------------------------------------------------------------------- 1 | {# Note: we must use the after code so the link will appear in the expected location #} 2 | {% if S_OVERALL_FOOTER_TEAMLINK_AFTER %} 3 | {% for link in overall_footer_teamlink_after_links %} 4 |
  • 5 | 6 | {% if link.ICON_FONT %}{% endif %}{{ link.LINK_TITLE }} 7 | 8 |
  • 9 | {% endfor %} 10 | {% endif %} 11 | -------------------------------------------------------------------------------- /styles/prosilver/template/event/overall_footer_timezone_after.html: -------------------------------------------------------------------------------- 1 | {# Note: we must use the before code so the link will appear in the expected location #} 2 | {% if S_OVERALL_FOOTER_TIMEZONE_BEFORE %} 3 | {% for link in overall_footer_timezone_before_links %} 4 |
  • 5 | 6 | {% if link.ICON_FONT %}{% endif %}{{ link.LINK_TITLE }} 7 | 8 |
  • 9 | {% endfor %} 10 | {% endif %} 11 | -------------------------------------------------------------------------------- /styles/prosilver/template/event/overall_footer_timezone_before.html: -------------------------------------------------------------------------------- 1 | {# Note: we must use the after code so the link will appear in the expected location #} 2 | {% if S_OVERALL_FOOTER_TIMEZONE_AFTER %} 3 | {% for link in overall_footer_timezone_after_links %} 4 |
  • 5 | 6 | {% if link.ICON_FONT %}{% endif %}{{ link.LINK_TITLE }} 7 | 8 |
  • 9 | {% endfor %} 10 | {% endif %} 11 | -------------------------------------------------------------------------------- /styles/prosilver/template/event/overall_header_breadcrumbs_after.html: -------------------------------------------------------------------------------- 1 | {% if S_OVERALL_HEADER_BREADCRUMBS_AFTER %} 2 | {% for link in overall_header_breadcrumbs_after_links %} 3 |
  • 4 | {% if link.ICON_FONT %}{% endif %}{{ link.LINK_TITLE }} 5 |
  • 6 | {% endfor %} 7 | {% endif %} 8 | -------------------------------------------------------------------------------- /styles/prosilver/template/event/overall_header_breadcrumbs_before.html: -------------------------------------------------------------------------------- 1 | {% if S_OVERALL_HEADER_BREADCRUMBS_BEFORE %} 2 | {% for link in overall_header_breadcrumbs_before_links %} 3 |
  • 4 | {% if link.ICON_FONT %}{% endif %}{{ link.LINK_TITLE }} 5 |
  • 6 | {% endfor %} 7 | {% endif %} 8 | -------------------------------------------------------------------------------- /styles/prosilver/template/event/overall_header_head_append.html: -------------------------------------------------------------------------------- 1 | {% INCLUDECSS '@phpbb_pages/pages_common.css' %} 2 | -------------------------------------------------------------------------------- /styles/prosilver/template/event/overall_header_navigation_append.html: -------------------------------------------------------------------------------- 1 | {% if S_OVERALL_HEADER_NAVIGATION_APPEND %} 2 | {% for link in overall_header_navigation_append_links %} 3 |
  • 4 | 5 | {% if link.ICON_FONT %}{% endif %}{{ link.LINK_TITLE }} 6 | 7 |
  • 8 | {% endfor %} 9 | {% endif %} 10 | -------------------------------------------------------------------------------- /styles/prosilver/template/event/overall_header_navigation_prepend.html: -------------------------------------------------------------------------------- 1 | {% if S_OVERALL_HEADER_NAVIGATION_PREPEND %} 2 | {% for link in overall_header_navigation_prepend_links %} 3 |
  • 4 | 5 | {% if link.ICON_FONT %}{% endif %}{{ link.LINK_TITLE }} 6 | 7 |
  • 8 | {% endfor %} 9 | {% endif %} 10 | -------------------------------------------------------------------------------- /styles/prosilver/template/pages_blank.html: -------------------------------------------------------------------------------- 1 | {# Use the space below to include external CSS and JS files 2 | # Here are some example usages: 3 | # 4 | # local files relative to this template file (when stored inside phpBB's style directories): 5 | # {% INCLUDEJS 'script.js' %} 6 | # {% INCLUDECSS 'style.css' %} 7 | # 8 | # local files stored inside the Pages extension: 9 | # {% INCLUDEJS '@phpbb_pages/script.js' %} 10 | # {% INCLUDECSS '@phpbb_pages/style.css' %} 11 | # 12 | # hosted on external sites: 13 | # {% INCLUDEJS 'http://code.jquery.com/jquery-migrate-1.2.1.min.js' %} 14 | # {% INCLUDECSS 'https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css' %} 15 | # 16 | #} 17 | 18 | {% INCLUDECSS '@phpbb_pages/pages_controller.css' %} 19 | {% include 'overall_header.html' %} 20 | 21 |
    22 | 23 | {{ PAGE_CONTENT }} 24 | 25 |
    26 | 27 | {% EVENT phpbb_pages_after_page_content %} 28 | 29 | {% include 'overall_footer.html' %} 30 | -------------------------------------------------------------------------------- /styles/prosilver/template/pages_default.html: -------------------------------------------------------------------------------- 1 | {# Use the space below to include external CSS and JS files 2 | # Here are some example usages: 3 | # 4 | # local files relative to this template file (when stored inside phpBB's style directories): 5 | # {% INCLUDEJS 'script.js' %} 6 | # {% INCLUDECSS 'style.css' %} 7 | # 8 | # local files stored inside the Pages extension: 9 | # {% INCLUDEJS '@phpbb_pages/script.js' %} 10 | # {% INCLUDECSS '@phpbb_pages/style.css' %} 11 | # 12 | # hosted on external sites: 13 | # {% INCLUDEJS 'http://code.jquery.com/jquery-migrate-1.2.1.min.js' %} 14 | # {% INCLUDECSS 'https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css' %} 15 | # 16 | #} 17 | 18 | {% INCLUDECSS '@phpbb_pages/pages_controller.css' %} 19 | {% include 'overall_header.html' %} 20 | 21 |
    22 |
    23 |

    {{ PAGE_TITLE }}

    24 |
    25 | {{ PAGE_CONTENT }} 26 |
    27 | {% EVENT phpbb_pages_after_page_content %} 28 |
    29 |
    30 | 31 | {% include 'overall_footer.html' %} 32 | -------------------------------------------------------------------------------- /styles/prosilver/theme/images/icon_pages.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbb-extensions/pages/8ccd5b9cf35d56581e429c721c6ec38b17811374/styles/prosilver/theme/images/icon_pages.gif -------------------------------------------------------------------------------- /styles/prosilver/theme/pages_common.css: -------------------------------------------------------------------------------- 1 | .icon-pages { 2 | background: url("./images/icon_pages.gif") no-repeat 0 50%; 3 | } 4 | 5 | li.breadcrumbs.icon-pages span:first-child > a { 6 | display: inline-block; 7 | padding-left: 17px; 8 | } 9 | 10 | .rtl .icon-pages { 11 | background-position: 100% 50%; 12 | } 13 | 14 | .rtl li.breadcrumbs.icon-pages span:first-child > a { 15 | padding-right: 19px; 16 | padding-left: 0; 17 | } 18 | -------------------------------------------------------------------------------- /styles/prosilver/theme/pages_controller.css: -------------------------------------------------------------------------------- 1 | .content p, 2 | .content h1, 3 | .content h2, 4 | .content h3, 5 | .content h4 { 6 | font: inherit; 7 | font-size: 100%; 8 | line-height: 1.3em; 9 | vertical-align: baseline; 10 | text-transform: none; 11 | border: 0; 12 | color: inherit; 13 | margin: 0; 14 | padding: 0; 15 | } 16 | 17 | .pages-content { 18 | font-size: 1.25em; 19 | line-height: 1.3em; 20 | } 21 | 22 | .pages-content h1 { 23 | font-size: 2em; 24 | } 25 | 26 | .pages-content h2 { 27 | font-size: 1.5em; 28 | } 29 | 30 | .pages-content h3 { 31 | font-size: 1.17em; 32 | } 33 | 34 | .pages-content h4 { 35 | font-size: 1em; 36 | } 37 | 38 | .pages-content h5 { 39 | font-size: 0.83em; 40 | } 41 | 42 | .pages-content h6 { 43 | font-size: 0.75em; 44 | } 45 | 46 | .pages-content .postimage { 47 | -moz-box-sizing: border-box; 48 | -webkit-box-sizing: border-box; 49 | box-sizing: border-box; 50 | max-width: 100%; 51 | } 52 | -------------------------------------------------------------------------------- /textreparser/cron_text_reparser_factory.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\textreparser; 12 | 13 | /** 14 | * Factory for creating cron text reparser task instances 15 | * 16 | * This factory handles the dynamic creation of text reparser tasks, 17 | * ensuring compatibility with different phpBB versions by using reflection 18 | * to determine and provide the correct constructor arguments. 19 | */ 20 | class cron_text_reparser_factory 21 | { 22 | /** 23 | * Creates a new instance of the text reparser cron task 24 | * 25 | * @param \Symfony\Component\DependencyInjection\ContainerInterface $container Service container 26 | * @return \phpbb\cron\task\text_reparser\reparser Configured a text reparser cron task 27 | * @throws \ReflectionException If the reparser class cannot be reflected 28 | */ 29 | public function create($container) 30 | { 31 | $args = $this->get_constructor_arguments($container); 32 | 33 | // Using ReflectionClass to instantiate with a variable number of arguments 34 | $reflection = new \ReflectionClass(\phpbb\cron\task\text_reparser\reparser::class); 35 | $reparser = $reflection->newInstanceArgs($args); 36 | 37 | $reparser->set_name('cron.task.text_reparser.phpbb_pages'); 38 | $reparser->set_reparser('phpbb.pages.text_reparser.page_text'); 39 | return $reparser; 40 | } 41 | 42 | /** 43 | * Gets the constructor arguments for the reparser based on reflection 44 | * 45 | * @param \Symfony\Component\DependencyInjection\ContainerInterface $container Service container 46 | * @return array Array of constructor arguments 47 | * @throws \ReflectionException If the reparser class cannot be reflected 48 | */ 49 | private function get_constructor_arguments($container) 50 | { 51 | $reflection = new \ReflectionClass(\phpbb\cron\task\text_reparser\reparser::class); 52 | $constructor = $reflection->getConstructor(); 53 | $params = $constructor->getParameters(); 54 | 55 | $arguments = array(); 56 | foreach ($params as $param) 57 | { 58 | $service_name = $this->get_service_name($param->getName()); 59 | if ($container->has($service_name)) 60 | { 61 | $arguments[] = $container->get($service_name); 62 | } 63 | else if ($param->isOptional()) 64 | { 65 | $arguments[] = $param->getDefaultValue(); 66 | } 67 | } 68 | 69 | return $arguments; 70 | } 71 | 72 | /** 73 | * Maps parameter names to their corresponding service IDs 74 | * 75 | * @param string $param_name Name of the parameter from the constructor 76 | * @return string Service ID corresponding to the parameter 77 | */ 78 | private function get_service_name($param_name) 79 | { 80 | $serviceMap = [ 81 | 'config' => 'config', 82 | 'config_text' => 'config_text', 83 | 'reparse_lock' => 'text_reparser.lock', 84 | 'reparser_manager' => 'text_reparser.manager', 85 | 'reparsers' => 'text_reparser_collection' 86 | ]; 87 | 88 | return $serviceMap[$param_name] ?? $param_name; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /textreparser/plugins/pages_text.php: -------------------------------------------------------------------------------- 1 | 7 | * @license GNU General Public License, version 2 (GPL-2.0) 8 | * 9 | */ 10 | 11 | namespace phpbb\pages\textreparser\plugins; 12 | 13 | class pages_text extends \phpbb\textreparser\row_based_plugin 14 | { 15 | /** 16 | * {@inheritdoc} 17 | */ 18 | public function get_columns() 19 | { 20 | return array( 21 | 'id' => 'page_id', 22 | 'text' => 'page_content', 23 | 'bbcode_uid' => 'page_content_bbcode_uid', 24 | 'options' => 'page_content_bbcode_options', 25 | ); 26 | } 27 | } 28 | --------------------------------------------------------------------------------