├── .editorconfig ├── .gitignore ├── CHANGELOG.md ├── LICENSE.txt ├── README.md ├── assets └── src │ └── scss │ ├── admin.scss │ ├── messages.scss │ ├── navbar.scss │ └── theme.scss ├── composer.json ├── crowdin.yml ├── gulpfile.js ├── lang ├── af_ZA.yaml ├── ar_SA.yaml ├── ca_ES.yaml ├── cs_CZ.yaml ├── da_DK.yaml ├── de_DE.yaml ├── el_GR.yaml ├── en_US.yaml ├── es_ES.yaml ├── fa_IR.yaml ├── fi_FI.yaml ├── fr_FR.yaml ├── gl_ES.yaml ├── he_IL.yaml ├── hr_HR.yaml ├── hu_HU.yaml ├── id_ID.yaml ├── it_IT.yaml ├── ja_JP.yaml ├── ko_KR.yaml ├── nl_NL.yaml ├── no_NO.yaml ├── pl_PL.yaml ├── pt_BR.yaml ├── pt_PT.yaml ├── ro_RO.yaml ├── ru_RU.yaml ├── sr_SP.yaml ├── sv_SE.yaml ├── tr_TR.yaml ├── uk_UA.yaml ├── vi_VN.yaml ├── zh_CN.yaml └── zh_TW.yaml ├── package.json ├── plugin.php ├── plugin.yaml ├── preview.png ├── settings.yaml ├── src └── admin │ ├── core │ └── Controllers │ │ ├── DashboardController.php │ │ ├── EntriesController.php │ │ ├── PluginsController.php │ │ ├── SettingsController.php │ │ └── ToolsController.php │ └── routes │ └── web.php └── templates ├── entries ├── add.html ├── edit.html ├── index.html ├── move.html ├── partials │ └── base.html └── rename.html ├── partials ├── base.html └── messages.html ├── plugins ├── index.html ├── information.html └── settings.html └── system ├── settings └── index.html └── tools ├── cache.html ├── index.html ├── information.html ├── partials └── base.html └── registry.html /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig: http://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | # Unix-style newlines with a newline ending every file 7 | [*] 8 | charset = utf-8 9 | end_of_line = lf 10 | trim_trailing_whitespace = true 11 | insert_final_newline = true 12 | indent_style = space 13 | indent_size = 4 14 | 15 | # 2 space indentation 16 | [*.yaml, *.yml] 17 | indent_style = space 18 | indent_size = 2 19 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Global 2 | .composer 3 | composer.lock 4 | package-lock.json 5 | vendor/ 6 | node_modules/ 7 | dist/ 8 | 9 | # Flextype Site Specific 10 | var/ 11 | 12 | # OS Generated 13 | .DS_Store* 14 | ehthumbs.db 15 | Icon? 16 | Thumbs.db 17 | *.swp 18 | 19 | # phpstorm 20 | .idea/* 21 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | # [2.0.0](https://github.com/flextype-plugins/admin) (2021-XX-XX) 3 | 4 | 5 | 6 | # [1.9.1](https://github.com/flextype-plugins/admin) (2021-01-16) 7 | 8 | ### Bug Fixes 9 | 10 | * **entries-controller** fix issue non exists media folders on entries actions 11 | 12 | 13 | # [1.9.0](https://github.com/flextype-plugins/admin) (2021-01-14) 14 | 15 | ### Features 16 | 17 | * **core** update code base for new Flextype 0.9.16 18 | 19 | 20 | # [1.8.0](https://github.com/flextype-plugins/admin) (2021-01-07) 21 | 22 | ### Features 23 | 24 | * **core** update code base for new Twig 2.0.0 25 | * **core** update code base for new Icon 2.0.0 26 | 27 | 28 | # [1.7.1](https://github.com/flextype-plugins/admin) (2021-01-03) 29 | 30 | ### Bug Fixes 31 | 32 | * **routes** fix routes for Api 33 | 34 | 35 | # [1.7.0](https://github.com/flextype-plugins/admin) (2021-01-03) 36 | 37 | ### Features 38 | 39 | * **core** update code base for new Flextype 0.9.15 40 | * **routes** improve controllers handling in routes for performance enhancements 41 | * **plugins-controller** fix issue with empty manifest and settings yaml files 42 | 43 | 44 | # [1.6.0](https://github.com/flextype-plugins/admin) (2020-12-29) 45 | 46 | ### Features 47 | 48 | * **core** update code base for new Flextype 0.9.14 49 | * **core** Moving to PHP 7.4 50 | * **core** use new TWIG Plugin 1.7.0 51 | 52 | 53 | # [1.5.0](https://github.com/flextype-plugins/admin) (2020-12-20) 54 | 55 | ### Features 56 | 57 | * **core** update code base for new Flextype 0.9.13 58 | 59 | 60 | # [1.4.0](https://github.com/flextype-plugins/admin) (2020-12-07) 61 | 62 | ### Features 63 | 64 | * **core** update code base for new Flextype 0.9.12 65 | 66 | 67 | # [1.3.1(https://github.com/flextype-plugins/admin) (2020-08-26) 68 | 69 | ### Features 70 | 71 | * **entries-controller** fix method duplicateProcess() 72 | 73 | 74 | # [1.3.0](https://github.com/flextype-plugins/admin) (2020-08-25) 75 | 76 | ### Features 77 | 78 | * **core** update code base for new Flextype 0.9.11 79 | 80 | 81 | # [1.2.0](https://github.com/flextype-plugins/admin) (2020-08-19) 82 | 83 | ### Features 84 | 85 | * **core** update code base for new Flextype 0.9.10 86 | 87 | 88 | # [1.1.1](https://github.com/flextype-plugins/admin) (2020-08-xx) 89 | 90 | ### Features 91 | * **lang** add new translates 92 | * **plugins** show additional plugins information 93 | 94 | ### Bug Fixes 95 | 96 | * **plugins-controller** fix plugins repository link 97 | * **entries-controller** fix method move() 98 | 99 | 100 | # [1.1.0](https://github.com/flextype-plugins/admin) (2020-08-05) 101 | 102 | ### Features 103 | 104 | * **core** update code base for new Flextype 0.9.9 105 | * **core** perfomance impromevents! 106 | 107 | 108 | # [1.0.10](https://github.com/flextype-plugins/admin) (2020-06-23) 109 | 110 | ### Refactor 111 | 112 | * **refactor(core)** update code base for new ACL 113 | 114 | 115 | # [1.0.9](https://github.com/flextype-plugins/admin) (2020-06-21) 116 | 117 | ### Refactor 118 | 119 | * **refactor(core)** remove User functionality and update code base for new ACL 120 | 121 | 122 | # [1.0.8](https://github.com/flextype-plugins/admin) (2020-06-13) 123 | 124 | ### Refactor 125 | 126 | * **refactor(core)** move FlashTwigExtension from core to Twig Plugin 1.0.4 127 | 128 | 129 | # [1.0.7](https://github.com/flextype-plugins/admin) (2020-06-10) 130 | 131 | ### Bug Fixes 132 | 133 | * **entries-controller** fix Entries saving issue 134 | 135 | 136 | # [1.0.6](https://github.com/flextype-plugins/admin) (2020-06-10) 137 | 138 | ### Bug Fixes 139 | 140 | * **entries-controller** updates for Form Plugin 1.1.0 141 | 142 | 143 | # [1.0.6](https://github.com/flextype-plugins/admin) (2020-06-10) 144 | 145 | ### Bug Fixes 146 | 147 | * **entries-controller** updates for Form Plugin 1.1.0 148 | 149 | 150 | # [1.0.5](https://github.com/flextype-plugins/admin) (2020-05-26) 151 | 152 | ### Bug Fixes 153 | 154 | * **entries-controller** fix/restore old logic for themes/templates support on new entry creation 155 | 156 | 157 | # [1.0.4](https://github.com/flextype-plugins/admin) (2020-05-21) 158 | 159 | ### Bug Fixes 160 | 161 | * **entries-controller** fix Entries tab link on Entries Edit page 162 | * **plugins-template** fix plugin author urls 163 | * **entries-controller** fix strange redirect behavior on new entry create 164 | 165 | 166 | # [1.0.3](https://github.com/flextype-plugins/admin) (2020-05-20) 167 | 168 | ### Bug Fixes 169 | 170 | * **core:** delete specific hidden fields from Form Plugin on Entry Edit Proccess 171 | * **lang:** fix translate key admin_you_have_not_created_any_fieldsets_yet 172 | * **entries-controller** fix translate key for renameProcess() method 173 | * **entries:** fix filepicker module 174 | 175 | 176 | # [1.0.2](https://github.com/flextype-plugins/admin) (2020-05-13) 177 | 178 | ### Bug Fixes 179 | 180 | * **core:** fix slugify 181 | 182 | 183 | # [1.0.1](https://github.com/flextype-plugins/admin) (2020-05-13) 184 | 185 | ### Bug Fixes 186 | 187 | * **core:** fix images api link in entries media page 188 | * **core:** fix api's icons in api's page 189 | 190 | 191 | 192 | # [1.0.0](https://github.com/flextype-plugins/admin) (2020-05-09) 193 | * General codebase and architecture update for Flextype 0.9.8 194 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2021 Sergey Romanenko 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

Admin Plugin for Flextype

2 | 3 | ![preview](https://github.com/flextype-plugins/admin/raw/dev/preview.png) 4 | 5 |

6 | Version License Total downloads Flextype Crowdin Quality Score Discord 7 |

8 | 9 | Admin Panel plugin for Flextype. 10 | 11 | ### Dependencies 12 | 13 | The following dependencies need to be installed for Form Admin Plugin. 14 | 15 | | Item | Version | Download | 16 | |---|---|---| 17 | | [flextype](https://github.com/flextype/flextype) | 0.9.16 | [download](https://github.com/flextype/flextype/releases) | 18 | | [twig](https://github.com/flextype-plugins/twig) | >=2.0.0 | [download](https://github.com/flextype-plugins/twig/releases) | 19 | | [blueprints](https://github.com/flextype-plugins/blueprints) | >=1.0.0 | [download](https://github.com/flextype-plugins/blueprints/releases) | 20 | | [icon](https://github.com/flextype-plugins/icon) | >=2.0.0 | [download](https://github.com/flextype-plugins/icon/releases) | 21 | | [acl](https://github.com/flextype-plugins/acl) | >=1.0.0 | [download](https://github.com/flextype-plugins/acl/releases) | 22 | | [accounts-admin](https://github.com/flextype-plugins/accounts-admin) | >=1.0.0 | [download](https://github.com/flextype-plugins/accounts-admin/releases) | 23 | | [phpmailer](https://github.com/flextype-plugins/phpmailer) | >=1.0.0 | [download](https://github.com/flextype-plugins/phpmailer/releases) | 24 | 25 | ### Installation 26 | 27 | 1. Download & Install all required dependencies. 28 | 2. Create new folder `/project/plugins/admin` 29 | 3. Download Admin Plugin and unzip plugin content to the folder `/project/plugins/admin` 30 | 4. **Go to `YOUR_SITE_URL/admin/accounts/registration` and create your super admin account.** 31 | 32 | ### Resources 33 | 34 | * [Documentation](https://flextype.org/downloads/extend/plugins/admin) 35 | 36 | ### License 37 | [The MIT License (MIT)](https://github.com/flextype-plugins/admin/blob/master/LICENSE.txt) 38 | Copyright (c) 2021 [Sergey Romanenko](https://github.com/Awilum) 39 | -------------------------------------------------------------------------------- /assets/src/scss/admin.scss: -------------------------------------------------------------------------------- 1 | @import "../../../../blueprints/node_modules/bootstrap/scss/functions"; 2 | @import "../../../../blueprints/node_modules/bootstrap/scss/variables"; 3 | @import "../../../../blueprints/assets/src/scss/variables.scss"; 4 | @import "../../../../blueprints/node_modules/bootstrap/scss/mixins"; 5 | @import "../../../../blueprints/node_modules/bootstrap/scss/utilities"; 6 | 7 | @import "navbar"; 8 | @import "messages"; 9 | @import "theme" -------------------------------------------------------------------------------- /assets/src/scss/messages.scss: -------------------------------------------------------------------------------- 1 | .workspace-message { 2 | text-align: center; 3 | margin-top: 100px; 4 | } 5 | 6 | .workspace-message__icon > svg { 7 | width: 100px; 8 | height: 100px; 9 | } 10 | 11 | .workspace-message__title { 12 | margin-top: 20px; 13 | margin-bottom: 20px; 14 | } 15 | 16 | .workspace-message__button { 17 | display: inline-flex; 18 | justify-content: center; 19 | align-content: center; 20 | align-items: center; 21 | } 22 | 23 | .workspace-message__button > svg { 24 | margin-right: 8px; 25 | } -------------------------------------------------------------------------------- /assets/src/scss/navbar.scss: -------------------------------------------------------------------------------- 1 | .admin-navigation { 2 | background-color: $gray-900; 3 | border: 0; 4 | 5 | .dropdown > a { 6 | color: $white; 7 | 8 | &:hover { 9 | color: $white; 10 | opacity: .9; 11 | } 12 | } 13 | 14 | .navbar-nav { 15 | 16 | a { 17 | color: $white; 18 | 19 | &:hover { 20 | color: $white; 21 | opacity: .9; 22 | } 23 | } 24 | } 25 | 26 | .nav-item > .nav-link { 27 | position: relative; 28 | color: $white; 29 | padding-right: .6rem; 30 | padding-left: .6rem; 31 | } 32 | 33 | .nav-item:not(:first-of-type) > .nav-link::before { 34 | content: "/"; 35 | position: absolute; 36 | left: -3px; 37 | color: $white; 38 | opacity: .5; 39 | } 40 | 41 | .dropdown > a { 42 | color: $white; 43 | 44 | &:hover { 45 | color: $white; 46 | opacity: .9; 47 | } 48 | } 49 | 50 | .dropdown-toggle { 51 | display: flex; 52 | padding-left: 0; 53 | 54 | &:after { 55 | position: absolute; 56 | top: 14px; 57 | right: -5px; 58 | } 59 | 60 | > svg { 61 | width: 20px; 62 | height: 20px; 63 | } 64 | } 65 | 66 | .admin-navigation-actions { 67 | a { 68 | color: $white; 69 | padding: 9.5px 12px; 70 | 71 | &:hover { 72 | color: $white; 73 | opacity: .9; 74 | } 75 | } 76 | } 77 | 78 | .admin-navigation-breadcrumbs { 79 | overflow-x: hidden; 80 | } 81 | } -------------------------------------------------------------------------------- /assets/src/scss/theme.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Common 3 | // 4 | html, 5 | body { 6 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 7 | background: #efefef; 8 | } 9 | 10 | // 11 | // Headings 12 | // 13 | h1, 14 | h2, 15 | h3, 16 | h4, 17 | h5 { 18 | font-weight: normal; 19 | } 20 | 21 | // 22 | // Links 23 | // 24 | a { 25 | text-decoration: none; 26 | color: $black; 27 | } 28 | 29 | // 30 | // Grid 31 | // 32 | .row-hover { 33 | &:hover { 34 | background: rgba(0,0,0,.01); 35 | } 36 | } 37 | 38 | // 39 | // Disable focus shadow 40 | // 41 | .btn-check:focus+.btn-primary, 42 | .btn-primary:focus, 43 | .btn-check:focus+.btn, 44 | .btn:focus, 45 | .form-control:focus { 46 | box-shadow: none; 47 | } -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "flextype-plugins/admin", 3 | "type": "project", 4 | "description": "Admin plugin for Flextype", 5 | "keywords": ["admin", "plugin", "manager", "panel", "flextype", "php", "html"], 6 | "homepage": "https://github.com/flextype", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Sergey Romanenko", 11 | "email": "sergey.romanenko@flextype.org", 12 | "homepage": "https://digital.flextype.org" 13 | } 14 | ], 15 | "support": { 16 | "issues": "https://github.com/flextype/issues" 17 | }, 18 | "require": { 19 | "php": ">=7.4.0", 20 | "flextype-components/number" : "*", 21 | "flextype-components/arrays" : "3.0.1", 22 | "flextype-components/filesystem": "2.0.8" 23 | }, 24 | "config": { 25 | "apcu-autoloader": true, 26 | "optimize-autoloader": true, 27 | "platform": { 28 | "php": "7.4.0" 29 | } 30 | }, 31 | "autoload": { 32 | "classmap": [ 33 | "app" 34 | ] 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /crowdin.yml: -------------------------------------------------------------------------------- 1 | files: 2 | - source: /lang/en_US.yaml 3 | translation: /lang/%locale_with_underscore%.yaml 4 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | const gulp = require('gulp'); 2 | const concat = require('gulp-concat'); 3 | const csso = require('gulp-csso'); 4 | const autoprefixer = require('gulp-autoprefixer'); 5 | const sass = require('gulp-sass'); 6 | const size = require("gulp-size"); 7 | const gzip = require("gulp-gzip"); 8 | const rename = require("gulp-rename") 9 | sass.compiler = require('node-sass'); 10 | 11 | /** 12 | * Task: gulp css 13 | */ 14 | gulp.task("css", function () { 15 | return gulp 16 | .src([ 17 | 'assets/src/scss/admin.scss' 18 | ]) 19 | .pipe(sass().on('error', sass.logError)) 20 | .pipe(autoprefixer({ 21 | overrideBrowserslist: [ 22 | "last 1 version" 23 | ], 24 | cascade: false 25 | })) 26 | .pipe(csso()) 27 | .pipe(concat('admin.min.css')) 28 | .pipe(gulp.dest("assets/dist/css/")) 29 | .pipe(size({ showFiles: true })) 30 | .pipe(gzip()) 31 | .pipe(rename("admin.min.css.gz")) 32 | .pipe(gulp.dest("assets/dist/css/")) 33 | .pipe(size({ showFiles: true, gzip: true })); 34 | }); 35 | 36 | 37 | /** 38 | * Task: gulp js 39 | */ 40 | gulp.task('js', function () { 41 | return gulp 42 | .src([ 43 | 'node_modules/speakingurl/speakingurl.min.js' 44 | ]) 45 | .pipe(concat('admin.min.js')) 46 | .pipe(size({ showFiles: true })) 47 | .pipe(gulp.dest('assets/dist/js/')) 48 | .pipe(gzip()) 49 | .pipe(rename("admin.min.js.gz")) 50 | .pipe(gulp.dest("assets/dist/js/")) 51 | .pipe(size({ showFiles: true, gzip: true })); 52 | }); 53 | 54 | /** 55 | * Task: gulp default 56 | */ 57 | gulp.task('default', gulp.series( 58 | 'css', 'js' 59 | )); 60 | 61 | /** 62 | * Task: gulp watch 63 | */ 64 | gulp.task('watch', function () { 65 | gulp.watch(["templates/**/*.html", "assets/src/"], gulp.series('default')); 66 | }); 67 | -------------------------------------------------------------------------------- /lang/af_ZA.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | admin: "Admin" 3 | admin_welcome: "Welcome" 4 | admin_create_new_user_welcome: "To finish setup and secure your site, please create the first user by entering the necessary information below." 5 | admin_cancel: "Cancel" 6 | admin_create: "Create" 7 | admin_debugging: "Debugging" 8 | admin_email: "Email" 9 | admin_flextype_version: "Flextype Version" 10 | admin_information: "Information" 11 | admin_installed: "Installed" 12 | admin_keywords: "Keywords" 13 | admin_documentation: "Documentation" 14 | admin_memcache_server: "Memcache Server" 15 | admin_memcache_port: "Memcache Port" 16 | admin_login: "Login" 17 | admin_entries: "Entries" 18 | admin_extends: "Extends" 19 | admin_plugins: "Plugins" 20 | admin_help: "Help" 21 | admin_templates: "Templates" 22 | admin_getting_help: "Getting Help" 23 | admin_message_json_invalid: "Invalid JSON" 24 | admin_logout: "Logout" 25 | admin_profile: "Profile" 26 | admin_view_site: "View Site" 27 | admin_snippets: "Snippets" 28 | admin_not_installed: "Not Installed" 29 | admin_select_entry_type: "Select Entry Type" 30 | admin_off: "Off" 31 | admin_on: "On" 32 | admin_add: "Add" 33 | admin_routable: "Routable" 34 | admin_yes: "Yes" 35 | admin_no: "No" 36 | admin_entry_attributes: "Entry Attributes" 37 | admin_fieldset_for_template: "Fieldset for template" 38 | admin_content: "Content" 39 | admin_create_new_entry: "Create New Entry" 40 | admin_date: "Date" 41 | admin_draft: "Draft" 42 | admin_edit: "Edit" 43 | admin_blocks: "Blocks" 44 | admin_media: "Media" 45 | admin_settings: "Settings" 46 | admin_entry: "Entry" 47 | admin_source: "Source" 48 | admin_upload: "Upload" 49 | admin_hidden: "Hidden" 50 | admin_image_preview: "Image preview" 51 | admin_move: "Move" 52 | admin_parent_entry: "Entry parent" 53 | admin_preview: "Preview" 54 | admin_publish: "Publish" 55 | admin_rename: "Rename" 56 | admin_save_entry: "Save entry" 57 | admin_title: "Title" 58 | admin_url: "Url" 59 | admin_view: "View" 60 | admin_visibility: "Visibility" 61 | admin_visible: "Visible" 62 | admin_password: "Password" 63 | admin_php_built_on: "PHP Built On" 64 | admin_php_version: "PHP Version" 65 | admin_author_url: "Author url" 66 | admin_bugs: "Bugs" 67 | admin_description: "Description" 68 | admin_get_more_plugins: "Get More Plugins" 69 | admin_homepage: "Homepage" 70 | admin_info: "Info" 71 | admin_license: "License" 72 | admin_status: "Status" 73 | admin_disabled: "disabled" 74 | admin_enabled: "enabled" 75 | admin_version: "Version" 76 | admin_role: "Role" 77 | admin_save: "Save" 78 | admin_security_check_results: "Security check results" 79 | admin_security_check_results_debug: "Due to the type and amount of information an error might give intruders when DISPLAY ERRORS TRUE, we strongly advise setting DISPLAY ERRORS FALSE in production systems." 80 | admin_security_check_results_htaccess: "The Flextype .htaccess file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path" 81 | admin_security_check_results_index: "The Flextype index.php file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path" 82 | admin_server: "Server" 83 | admin_site: "Site" 84 | admin_clear_cache: "Clear cache" 85 | admin_error404_title: "Error404 entry title" 86 | admin_error404_description: "Error404 entry description" 87 | admin_error404_content: "Error404 entry content" 88 | admin_error404_template: "Error404 entry template" 89 | admin_heading: "Settings" 90 | admin_general: "General" 91 | admin_error_404_page: "Error 404 page" 92 | admin_cache: "Cache" 93 | admin_author_email: "Author email" 94 | admin_author_name: "Author name" 95 | admin_site_description: "Site description" 96 | admin_site_keywords: "Site keywords" 97 | admin_site_robots: "Robots" 98 | admin_site_title: "Site title" 99 | admin_system: "System" 100 | admin_cache_driver: "Cache driver" 101 | admin_cache_enabled: "Cache enabled" 102 | admin_cache_lifetime: "Cache lifetime" 103 | admin_cache_prefix: "Cache prefix" 104 | admin_charset: "Charset" 105 | admin_date_format: "Date format" 106 | admin_date_display_format: "Display date format" 107 | admin_errors_display: "Display errors" 108 | admin_locale: "Locale" 109 | admin_entry_main: "Main entry" 110 | admin_timezone: "Timezone" 111 | admin_username: "Username" 112 | admin_id: "ID" 113 | admin_create_user: "Create User" 114 | admin_create_new_user: "Create New User" 115 | admin_web_server: "Web Server" 116 | admin_web_server_php_interface: "WebServer to PHP Interface" 117 | admin_create_new_category: "Create New Category" 118 | admin_delete_category: "Delete Category" 119 | admin_create_new_item: "Create New Item" 120 | admin_delete: "Delete" 121 | admin_order: "Order" 122 | admin_edit_category: "Edit category" 123 | admin_duplicate: "Duplicate" 124 | admin_summary: "Summary" 125 | admin_snippet: "Snippet" 126 | admin_type: "Type" 127 | admin_clone: "Clone" 128 | admin_message_entry_duplicated: "Entry duplicated" 129 | admin_message_entry_was_not_duplicated: "Entry was not duplicated" 130 | admin_message_cache_files_deleted: "Cache files deleted" 131 | admin_message_entry_changes_saved: "Changes successfully saved" 132 | admin_message_entry_changes_not_saved: "Changes not saved" 133 | admin_message_entry_cloned: "Entry cloned" 134 | admin_message_entry_created: "Entry created" 135 | admin_message_entry_was_not_created: "Entry was not created" 136 | admin_message_entry_deleted: "Entry deleted" 137 | admin_message_entry_was_not_renamed: "Entry was not renamed" 138 | admin_message_entry_was_not_deleted: "Entry was not deleted" 139 | admin_message_entry_file_deleted: "File successfully deleted" 140 | admin_message_entry_file_uploaded: "File successfully uploaded" 141 | admin_message_entry_file_not_uploaded: "File was not uploaded" 142 | admin_message_entry_moved: "Entry moved" 143 | admin_message_entry_was_not_moved: "Entry was not moved" 144 | admin_message_entry_renamed: "Entry renamed" 145 | admin_message_settings_saved: "Settings saved" 146 | admin_message_settings_was_not_saved: "Settings was not saved" 147 | admin_message_wrong_username_password: "Wrong username or password" 148 | admin_message_plugin_settings_saved: "Plugin settings saved" 149 | admin_message_plugin_settings_not_saved: "Plugin settings was not saved" 150 | admin_quality: "Quality" 151 | admin_width: "Width" 152 | admin_height: "Height" 153 | admin_accept_file_types: "Accept file types" 154 | admin_embeded_code: "Embeded Code" 155 | admin_shortcode: "Shortcode" 156 | admin_php_code: "PHP Code" 157 | admin_choose_files_to_upload: "Choose file" 158 | admin_browse_files: "Browse" 159 | admin_copy: "Copy" 160 | admin_admin_panel: "Admin Panel" 161 | admin_light: "Light" 162 | admin_dark: "Dark" 163 | admin_name: "Name" 164 | admin_hide: "Hide" 165 | admin_api: "API" 166 | admin_memcached_server: "Memcached Server" 167 | admin_memcached_port: "Memcached Port" 168 | admin_redis_socket: "Redis Socket" 169 | admin_redis_password: "Redis Password" 170 | admin_redis_server: "Redis Server" 171 | admin_redis_port: "Redis Port" 172 | admin_sqlite3_database: "SQLite3 Database" 173 | admin_sqlite3_table: "SQLite3 Table" 174 | admin_error_name_empty_input: "Name has to be an alphanumeric value (from 1 chars)" 175 | admin_error_title_empty_input: "Title has to be an alphanumeric value (from 1 chars)" 176 | admin_error_icon_empty_input: "Icon has to be an alphanumeric value (from 1 chars)" 177 | admin_help_text_for_tokens_label: "Token label shown in the Admin Panel." 178 | admin_help_text_for_snippets_name: "Snippets unique name in lowercase chars only." 179 | admin_entries_visible: "Visible" 180 | admin_entries_draft: "Draft" 181 | admin_entries_hidden: "Hidden" 182 | admin_menu_item_title: "Title" 183 | admin_menu_item_url: "Url" 184 | admin_menu_item_target: "Target" 185 | admin_menu_item_order: "Order" 186 | admin_template_code: "Template code" 187 | admin_you_have_no_api_tokens_yet: "You haven't created any api tokens yet!" 188 | admin_you_have_not_created_any_entries_yet: "You haven't created any entries yet!" 189 | admin_twig_auto_reload: "Auto reload" 190 | admin_display_error_details: "Display error details" 191 | admin_add_content_length_header: "Add content length header" 192 | admin_router_cache_file: "Route cache file" 193 | admin_determine_route_before_app_middleware: "Determine route before app middleware" 194 | admin_output_buffering: "Output buffering" 195 | admin_response_chunk_size: "Response chunk size" 196 | admin_http_version: "HTTP Version" 197 | admin_image_driver: "Image driver" 198 | admin_whoops_editor: "Whoops editor" 199 | admin_whoops_page_title: "Whoops page title" 200 | admin_editor: "Editor" 201 | admin_tools: "Tools" 202 | admin_size: "Size" 203 | admin_clear: "Clear" 204 | admin_clear_cache_all: "Clear All" 205 | admin_registry: "Registry" 206 | admin_key: "Key" 207 | admin_value: "Value" 208 | admin_activate: "Activate" 209 | admin_deactivate: "Deactivate" 210 | admin_images: "Images" 211 | admin_data: "Data" 212 | admin_slim: "Slim" 213 | admin_slugify: "Slug" 214 | admin_entries_limit: "Entries limit" 215 | admin_slug: "Slug" 216 | admin_slugify_separator: "Separator" 217 | admin_slugify_lowercase: "Lowercase" 218 | admin_slugify_trim: "Trim" 219 | admin_slugify_strip_tags: "Strip tags" 220 | admin_slugify_lowercase_after_regexp: "Lowercase after regexp" 221 | admin_slugify_regexp: "Regexp" 222 | admin_gallery_img: "Gallery Image" 223 | admin_tags: "Tags" 224 | admin_twig_templating: "Twig Templating" 225 | admin_twig_debug: "Debug" 226 | admin_twig_charset: "Charset" 227 | admin_twig_cache: "Cache" 228 | admin_published_at: "Published at" 229 | admin_licence: "Licence" 230 | admin_plugin: "Plugin" 231 | admin_icon: "Icon" 232 | admin_menu: "Menu" 233 | admin_seo: "Seo" 234 | admin_main: "Main" 235 | admin_file: "File" 236 | admin_you_have_no_plugins: "You have no plugins" 237 | admin_help_text_for_settings_site_title_label: "Title for your site." 238 | admin_help_text_for_settings_site_robots_label: "Robots settings for your site." 239 | admin_help_text_for_settings_site_keywords_label: "Keywords for your site." 240 | admin_help_text_for_settings_site_description_label: "Description for your site." 241 | admin_help_text_for_settings_site_author_name_label: "Author name for your site." 242 | admin_help_text_for_settings_site_author_email_label: "Author email for your site." 243 | admin_help_text_for_settings_content_main_entry_label: "Entry that Flextype will use as the default landing page." 244 | admin_help_text_for_settings_content_timezone_label: "Timezone you want your site to operate under." 245 | admin_help_text_for_settings_content_date_format_label: "Date format used by Flextype." 246 | admin_help_text_for_settings_content_display_date_format_label: "Display date format used by Flextype." 247 | admin_help_text_for_settings_content_character_label: "Internal character encoding." 248 | admin_help_text_for_settings_content_locale_label: "Locale that'll be used by the Flextype." 249 | admin_help_text_for_settings_media_image_quality_label: "Image quality. Use values between 0 and 100." 250 | admin_help_text_for_settings_media_image_width_label: "Image width in pixels." 251 | admin_help_text_for_settings_media_image_height_label: "Image height in pixels." 252 | admin_help_text_for_settings_media_accept_file_types_label: "List of accept file types." 253 | admin_help_text_for_settings_image_driver_label: "Image driver. In some cases ImageMagick can be faster, but isn't available on all servers." 254 | admin_help_text_for_settings_twig_templating_debug_label: "Enable or disable Twig debug mode." 255 | admin_help_text_for_settings_twig_templating_cache_label: "Set to true to enable Twig caching." 256 | admin_help_text_for_settings_twig_templating_autoreload_label: "Refresh cache on changes." 257 | admin_help_text_for_settings_twig_templating_charset_label: "Templates charset." 258 | admin_help_text_for_settings_errors_display_label: "Display errors." 259 | admin_help_text_for_settings_errors_display_datails_label: "Display errors details." 260 | admin_help_text_for_settings_errors_whoops_editor_label: "Whoops editor." 261 | admin_help_text_for_settings_errors_whoops_page_title_label: "Whoops page title." 262 | admin_help_text_for_entry_label: "Entry title." 263 | admin_help_text_for_entry_name: "Entry unique name in lowercase chars only." 264 | admin_help_text_for_entry_type: "Entry type based on Fieldset." 265 | admin_message_fieldset_not_found: "Fieldset not found" 266 | admin_create_and_edit: "Create & Edit" 267 | admin_you_have_not_created_any_api_tokens_yet: "You haven't created any API's tokens yet!" 268 | admin_api_calls_limit: "API Calls limit" 269 | admin_help_text_for_api_calls_limit_label: "Limits for API Calls. Leave 0 for unlimited API Calls." 270 | admin_error_api_calls_empty_input: "API Calls limit has to be an numeric value." 271 | admin_help_text_for_api_token_icon: "API Token valid :link icon class." 272 | admin_state: "State" 273 | admin_help_text_for_settings_twig_extensions_label: "Twig Extensions to load." 274 | admin_twig_extensions: "Twig extensions" 275 | admin_help_text_for_settings_shortcodes_extensions_label: "Shortcodes Extensions to load." 276 | admin_shortcodes_extensions: "Shortcodes extensions" 277 | admin_created_at: "Created at" 278 | admin_updated_at: "Updated at" 279 | admin_you_have_not_created_any_fieldsets_yet: "You haven't created any Fieldset yet!" 280 | admin_create_new_fieldset: "Create New Fieldset" 281 | admin_token: "Token" 282 | admin_calls: "Calls" 283 | admin_yes_iam_sure: "Yes, I'm sure" 284 | admin_author: "Author" 285 | admin_files: "Files" 286 | admin_folders: "Folders" 287 | admin_system_settings: "System Settings" 288 | admin_you_have_not_created_any_entries_api_tokens_yet: "You haven't created any Entries tokens yet!" 289 | admin_you_have_not_created_any_files_api_tokens_yet: "You haven't created any Files tokens yet!" 290 | admin_you_have_not_created_any_folders_api_tokens_yet: "You haven't created Folders tokens yet!" 291 | admin_create_new_token: "Create New Token" 292 | admin_confirmation_required: "Confirmation Required" 293 | admin_confirmation_required_for_entry_delete: "Are you sure you want to delete this entry and all its children?" 294 | admin_confirmation_required_for_deactivate_plugin: "Are you sure you want to deactivate this plugin?" 295 | admin_message_entries_api_token_updated: "Token for entries updated." 296 | admin_message_entries_api_token_was_not_updated: "Token for entries was not updated." 297 | admin_message_entries_api_token_created: "Token for entries created." 298 | admin_message_entries_api_token_was_not_created: "Token for entries was not created." 299 | admin_message_entries_api_token_deleted: "Token for entries deleted." 300 | admin_message_entries_api_token_was_not_deleted: "Token for entries was not deleted." 301 | admin_confirmation_required_for_entries_token_delete: "Are you sure you want to delete this token for entries?" 302 | admin_you_have_not_created_any_images_api_tokens_yet: "You haven't created any Images tokens yet!" 303 | admin_you_have_not_created_any_registry_api_tokens_yet: "You haven't created any Registry tokens yet!" 304 | admin_message_registry_api_token_updated: "Token for registry updated." 305 | admin_message_registry_api_token_was_not_updated: "Token for registry was not updated." 306 | admin_message_registry_api_token_created: "Token for registry created." 307 | admin_message_registry_api_token_was_not_created: "Token for registry was not created." 308 | admin_message_registry_api_token_deleted: "Token for registry deleted." 309 | admin_message_registry_api_token_was_not_deleted: "Token for registry was not deleted." 310 | admin_confirmation_required_for_registry_token_delete: "Are you sure you want to delete this token for registry?" 311 | admin_confirmation_required_for_images_token_delete: "Are you sure you want to delete this token for images?" 312 | admin_message_images_api_token_updated: "Images token updated." 313 | admin_message_images_api_token_was_not_updated: "Images token was not updated." 314 | admin_message_images_api_token_created: "Images token created." 315 | admin_message_images_api_token_was_not_created: "Images token was not created." 316 | admin_message_images_api_token_deleted: "Images token deleted." 317 | admin_message_images_api_token_was_not_deleted: "Images token was not deleted." 318 | admin_confirmation_required_for_access_token_delete: "Are you sure you want to delete this access token ?" 319 | admin_confirmation_required_for_files_token_delete: "Are you sure you want to delete this token for files?" 320 | admin_message_files_api_token_updated: "Files token updated." 321 | admin_message_files_api_token_was_not_updated: "Files token was not updated." 322 | admin_message_files_api_token_created: "Files token created." 323 | admin_message_files_api_token_was_not_created: "Files token was not created." 324 | admin_message_files_api_token_deleted: "Files token deleted." 325 | admin_message_files_api_token_was_not_deleted: "Files token was not deleted." 326 | admin_confirmation_required_for_folders_token_delete: "Are you sure you want to delete this token for folders?" 327 | admin_message_folders_api_token_updated: "Folders token updated." 328 | admin_message_folders_api_token_was_not_updated: "Folders token was not updated." 329 | admin_message_folders_api_token_created: "Folders token created." 330 | admin_message_folders_api_token_was_not_created: "Folders token was not created." 331 | admin_message_folders_api_token_deleted: "Folders token deleted." 332 | admin_message_folders_api_token_was_not_deleted: "Folders token was not deleted." 333 | admin_message_access_api_token_updated: "Access token updated." 334 | admin_message_access_api_token_was_not_updated: "Access token was not updated." 335 | admin_message_access_api_token_created: "Access token created." 336 | admin_message_access_api_token_was_not_created: "Access token was not created." 337 | admin_message_access_api_token_deleted: "Access token deleted." 338 | admin_message_access_api_token_was_not_deleted: "Access token was not deleted." 339 | admin_access: "Access" 340 | admin_edit_token: "Edit Token" 341 | admin_you_have_not_created_any_access_api_tokens_yet: "You haven't created any Access tokens yet!" 342 | admin_installation_username_tip: "Lowercase chars only, e.g. admin" 343 | admin_installation_email_tip: "Valid email address" 344 | admin_installation_password_tip: "The password must have at least 8 characters, contain uppercase letters, lowercase letters, special characters and numbers." 345 | admin_direct_link: "Direct Link" 346 | admin_images_api_link: "Images Api Link" 347 | admin_confirmation_required_for_file_delete: "Are you sure you want to delete this file?" 348 | admin_you_have_not_upload_any_files_yet: "You have not upload any files yet." 349 | admin_selected_file: "Selected file" 350 | admin_select_file: "Select file" 351 | accounts_admin_you_have_no_acccounts: "You have no accounts" 352 | admin_changelog: "Changelog" 353 | admin_preflight: "Preflight" 354 | admin_icon_name: "Icon name" 355 | admin_icon_set: "Icon set" 356 | -------------------------------------------------------------------------------- /lang/ca_ES.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | admin: "Admin" 3 | admin_welcome: "Welcome" 4 | admin_create_new_user_welcome: "To finish setup and secure your site, please create the first user by entering the necessary information below." 5 | admin_cancel: "Cancel" 6 | admin_create: "Create" 7 | admin_debugging: "Debugging" 8 | admin_email: "Email" 9 | admin_flextype_version: "Flextype Version" 10 | admin_information: "Information" 11 | admin_installed: "Installed" 12 | admin_keywords: "Keywords" 13 | admin_documentation: "Documentation" 14 | admin_memcache_server: "Memcache Server" 15 | admin_memcache_port: "Memcache Port" 16 | admin_login: "Login" 17 | admin_entries: "Entries" 18 | admin_extends: "Extends" 19 | admin_plugins: "Plugins" 20 | admin_help: "Help" 21 | admin_templates: "Templates" 22 | admin_getting_help: "Getting Help" 23 | admin_message_json_invalid: "Invalid JSON" 24 | admin_logout: "Logout" 25 | admin_profile: "Profile" 26 | admin_view_site: "View Site" 27 | admin_snippets: "Snippets" 28 | admin_not_installed: "Not Installed" 29 | admin_select_entry_type: "Select Entry Type" 30 | admin_off: "Off" 31 | admin_on: "On" 32 | admin_add: "Add" 33 | admin_routable: "Routable" 34 | admin_yes: "Yes" 35 | admin_no: "No" 36 | admin_entry_attributes: "Entry Attributes" 37 | admin_fieldset_for_template: "Fieldset for template" 38 | admin_content: "Content" 39 | admin_create_new_entry: "Create New Entry" 40 | admin_date: "Date" 41 | admin_draft: "Draft" 42 | admin_edit: "Edit" 43 | admin_blocks: "Blocks" 44 | admin_media: "Media" 45 | admin_settings: "Settings" 46 | admin_entry: "Entry" 47 | admin_source: "Source" 48 | admin_upload: "Upload" 49 | admin_hidden: "Hidden" 50 | admin_image_preview: "Image preview" 51 | admin_move: "Move" 52 | admin_parent_entry: "Entry parent" 53 | admin_preview: "Preview" 54 | admin_publish: "Publish" 55 | admin_rename: "Rename" 56 | admin_save_entry: "Save entry" 57 | admin_title: "Title" 58 | admin_url: "Url" 59 | admin_view: "View" 60 | admin_visibility: "Visibility" 61 | admin_visible: "Visible" 62 | admin_password: "Password" 63 | admin_php_built_on: "PHP Built On" 64 | admin_php_version: "PHP Version" 65 | admin_author_url: "Author url" 66 | admin_bugs: "Bugs" 67 | admin_description: "Description" 68 | admin_get_more_plugins: "Get More Plugins" 69 | admin_homepage: "Homepage" 70 | admin_info: "Info" 71 | admin_license: "License" 72 | admin_status: "Status" 73 | admin_disabled: "disabled" 74 | admin_enabled: "enabled" 75 | admin_version: "Version" 76 | admin_role: "Role" 77 | admin_save: "Save" 78 | admin_security_check_results: "Security check results" 79 | admin_security_check_results_debug: "Due to the type and amount of information an error might give intruders when DISPLAY ERRORS TRUE, we strongly advise setting DISPLAY ERRORS FALSE in production systems." 80 | admin_security_check_results_htaccess: "The Flextype .htaccess file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path" 81 | admin_security_check_results_index: "The Flextype index.php file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path" 82 | admin_server: "Server" 83 | admin_site: "Site" 84 | admin_clear_cache: "Clear cache" 85 | admin_error404_title: "Error404 entry title" 86 | admin_error404_description: "Error404 entry description" 87 | admin_error404_content: "Error404 entry content" 88 | admin_error404_template: "Error404 entry template" 89 | admin_heading: "Settings" 90 | admin_general: "General" 91 | admin_error_404_page: "Error 404 page" 92 | admin_cache: "Cache" 93 | admin_author_email: "Author email" 94 | admin_author_name: "Author name" 95 | admin_site_description: "Site description" 96 | admin_site_keywords: "Site keywords" 97 | admin_site_robots: "Robots" 98 | admin_site_title: "Site title" 99 | admin_system: "System" 100 | admin_cache_driver: "Cache driver" 101 | admin_cache_enabled: "Cache enabled" 102 | admin_cache_lifetime: "Cache lifetime" 103 | admin_cache_prefix: "Cache prefix" 104 | admin_charset: "Charset" 105 | admin_date_format: "Date format" 106 | admin_date_display_format: "Display date format" 107 | admin_errors_display: "Display errors" 108 | admin_locale: "Locale" 109 | admin_entry_main: "Main entry" 110 | admin_timezone: "Timezone" 111 | admin_username: "Username" 112 | admin_id: "ID" 113 | admin_create_user: "Create User" 114 | admin_create_new_user: "Create New User" 115 | admin_web_server: "Web Server" 116 | admin_web_server_php_interface: "WebServer to PHP Interface" 117 | admin_create_new_category: "Create New Category" 118 | admin_delete_category: "Delete Category" 119 | admin_create_new_item: "Create New Item" 120 | admin_delete: "Delete" 121 | admin_order: "Order" 122 | admin_edit_category: "Edit category" 123 | admin_duplicate: "Duplicate" 124 | admin_summary: "Summary" 125 | admin_snippet: "Snippet" 126 | admin_type: "Type" 127 | admin_clone: "Clone" 128 | admin_message_entry_duplicated: "Entry duplicated" 129 | admin_message_entry_was_not_duplicated: "Entry was not duplicated" 130 | admin_message_cache_files_deleted: "Cache files deleted" 131 | admin_message_entry_changes_saved: "Changes successfully saved" 132 | admin_message_entry_changes_not_saved: "Changes not saved" 133 | admin_message_entry_cloned: "Entry cloned" 134 | admin_message_entry_created: "Entry created" 135 | admin_message_entry_was_not_created: "Entry was not created" 136 | admin_message_entry_deleted: "Entry deleted" 137 | admin_message_entry_was_not_renamed: "Entry was not renamed" 138 | admin_message_entry_was_not_deleted: "Entry was not deleted" 139 | admin_message_entry_file_deleted: "File successfully deleted" 140 | admin_message_entry_file_uploaded: "File successfully uploaded" 141 | admin_message_entry_file_not_uploaded: "File was not uploaded" 142 | admin_message_entry_moved: "Entry moved" 143 | admin_message_entry_was_not_moved: "Entry was not moved" 144 | admin_message_entry_renamed: "Entry renamed" 145 | admin_message_settings_saved: "Settings saved" 146 | admin_message_settings_was_not_saved: "Settings was not saved" 147 | admin_message_wrong_username_password: "Wrong username or password" 148 | admin_message_plugin_settings_saved: "Plugin settings saved" 149 | admin_message_plugin_settings_not_saved: "Plugin settings was not saved" 150 | admin_quality: "Quality" 151 | admin_width: "Width" 152 | admin_height: "Height" 153 | admin_accept_file_types: "Accept file types" 154 | admin_embeded_code: "Embeded Code" 155 | admin_shortcode: "Shortcode" 156 | admin_php_code: "PHP Code" 157 | admin_choose_files_to_upload: "Choose file" 158 | admin_browse_files: "Browse" 159 | admin_copy: "Copy" 160 | admin_admin_panel: "Admin Panel" 161 | admin_light: "Light" 162 | admin_dark: "Dark" 163 | admin_name: "Name" 164 | admin_hide: "Hide" 165 | admin_api: "API" 166 | admin_memcached_server: "Memcached Server" 167 | admin_memcached_port: "Memcached Port" 168 | admin_redis_socket: "Redis Socket" 169 | admin_redis_password: "Redis Password" 170 | admin_redis_server: "Redis Server" 171 | admin_redis_port: "Redis Port" 172 | admin_sqlite3_database: "SQLite3 Database" 173 | admin_sqlite3_table: "SQLite3 Table" 174 | admin_error_name_empty_input: "Name has to be an alphanumeric value (from 1 chars)" 175 | admin_error_title_empty_input: "Title has to be an alphanumeric value (from 1 chars)" 176 | admin_error_icon_empty_input: "Icon has to be an alphanumeric value (from 1 chars)" 177 | admin_help_text_for_tokens_label: "Token label shown in the Admin Panel." 178 | admin_help_text_for_snippets_name: "Snippets unique name in lowercase chars only." 179 | admin_entries_visible: "Visible" 180 | admin_entries_draft: "Draft" 181 | admin_entries_hidden: "Hidden" 182 | admin_menu_item_title: "Title" 183 | admin_menu_item_url: "Url" 184 | admin_menu_item_target: "Target" 185 | admin_menu_item_order: "Order" 186 | admin_template_code: "Template code" 187 | admin_you_have_no_api_tokens_yet: "You haven't created any api tokens yet!" 188 | admin_you_have_not_created_any_entries_yet: "You haven't created any entries yet!" 189 | admin_twig_auto_reload: "Auto reload" 190 | admin_display_error_details: "Display error details" 191 | admin_add_content_length_header: "Add content length header" 192 | admin_router_cache_file: "Route cache file" 193 | admin_determine_route_before_app_middleware: "Determine route before app middleware" 194 | admin_output_buffering: "Output buffering" 195 | admin_response_chunk_size: "Response chunk size" 196 | admin_http_version: "HTTP Version" 197 | admin_image_driver: "Image driver" 198 | admin_whoops_editor: "Whoops editor" 199 | admin_whoops_page_title: "Whoops page title" 200 | admin_editor: "Editor" 201 | admin_tools: "Tools" 202 | admin_size: "Size" 203 | admin_clear: "Clear" 204 | admin_clear_cache_all: "Clear All" 205 | admin_registry: "Registry" 206 | admin_key: "Key" 207 | admin_value: "Value" 208 | admin_activate: "Activate" 209 | admin_deactivate: "Deactivate" 210 | admin_images: "Images" 211 | admin_data: "Data" 212 | admin_slim: "Slim" 213 | admin_slugify: "Slug" 214 | admin_entries_limit: "Entries limit" 215 | admin_slug: "Slug" 216 | admin_slugify_separator: "Separator" 217 | admin_slugify_lowercase: "Lowercase" 218 | admin_slugify_trim: "Trim" 219 | admin_slugify_strip_tags: "Strip tags" 220 | admin_slugify_lowercase_after_regexp: "Lowercase after regexp" 221 | admin_slugify_regexp: "Regexp" 222 | admin_gallery_img: "Gallery Image" 223 | admin_tags: "Tags" 224 | admin_twig_templating: "Twig Templating" 225 | admin_twig_debug: "Debug" 226 | admin_twig_charset: "Charset" 227 | admin_twig_cache: "Cache" 228 | admin_published_at: "Published at" 229 | admin_licence: "Licence" 230 | admin_plugin: "Plugin" 231 | admin_icon: "Icon" 232 | admin_menu: "Menu" 233 | admin_seo: "Seo" 234 | admin_main: "Main" 235 | admin_file: "File" 236 | admin_you_have_no_plugins: "You have no plugins" 237 | admin_help_text_for_settings_site_title_label: "Title for your site." 238 | admin_help_text_for_settings_site_robots_label: "Robots settings for your site." 239 | admin_help_text_for_settings_site_keywords_label: "Keywords for your site." 240 | admin_help_text_for_settings_site_description_label: "Description for your site." 241 | admin_help_text_for_settings_site_author_name_label: "Author name for your site." 242 | admin_help_text_for_settings_site_author_email_label: "Author email for your site." 243 | admin_help_text_for_settings_content_main_entry_label: "Entry that Flextype will use as the default landing page." 244 | admin_help_text_for_settings_content_timezone_label: "Timezone you want your site to operate under." 245 | admin_help_text_for_settings_content_date_format_label: "Date format used by Flextype." 246 | admin_help_text_for_settings_content_display_date_format_label: "Display date format used by Flextype." 247 | admin_help_text_for_settings_content_character_label: "Internal character encoding." 248 | admin_help_text_for_settings_content_locale_label: "Locale that'll be used by the Flextype." 249 | admin_help_text_for_settings_media_image_quality_label: "Image quality. Use values between 0 and 100." 250 | admin_help_text_for_settings_media_image_width_label: "Image width in pixels." 251 | admin_help_text_for_settings_media_image_height_label: "Image height in pixels." 252 | admin_help_text_for_settings_media_accept_file_types_label: "List of accept file types." 253 | admin_help_text_for_settings_image_driver_label: "Image driver. In some cases ImageMagick can be faster, but isn't available on all servers." 254 | admin_help_text_for_settings_twig_templating_debug_label: "Enable or disable Twig debug mode." 255 | admin_help_text_for_settings_twig_templating_cache_label: "Set to true to enable Twig caching." 256 | admin_help_text_for_settings_twig_templating_autoreload_label: "Refresh cache on changes." 257 | admin_help_text_for_settings_twig_templating_charset_label: "Templates charset." 258 | admin_help_text_for_settings_errors_display_label: "Display errors." 259 | admin_help_text_for_settings_errors_display_datails_label: "Display errors details." 260 | admin_help_text_for_settings_errors_whoops_editor_label: "Whoops editor." 261 | admin_help_text_for_settings_errors_whoops_page_title_label: "Whoops page title." 262 | admin_help_text_for_entry_label: "Entry title." 263 | admin_help_text_for_entry_name: "Entry unique name in lowercase chars only." 264 | admin_help_text_for_entry_type: "Entry type based on Fieldset." 265 | admin_message_fieldset_not_found: "Fieldset not found" 266 | admin_create_and_edit: "Create & Edit" 267 | admin_you_have_not_created_any_api_tokens_yet: "You haven't created any API's tokens yet!" 268 | admin_api_calls_limit: "API Calls limit" 269 | admin_help_text_for_api_calls_limit_label: "Limits for API Calls. Leave 0 for unlimited API Calls." 270 | admin_error_api_calls_empty_input: "API Calls limit has to be an numeric value." 271 | admin_help_text_for_api_token_icon: "API Token valid :link icon class." 272 | admin_state: "State" 273 | admin_help_text_for_settings_twig_extensions_label: "Twig Extensions to load." 274 | admin_twig_extensions: "Twig extensions" 275 | admin_help_text_for_settings_shortcodes_extensions_label: "Shortcodes Extensions to load." 276 | admin_shortcodes_extensions: "Shortcodes extensions" 277 | admin_created_at: "Created at" 278 | admin_updated_at: "Updated at" 279 | admin_you_have_not_created_any_fieldsets_yet: "You haven't created any Fieldset yet!" 280 | admin_create_new_fieldset: "Create New Fieldset" 281 | admin_token: "Token" 282 | admin_calls: "Calls" 283 | admin_yes_iam_sure: "Yes, I'm sure" 284 | admin_author: "Author" 285 | admin_files: "Files" 286 | admin_folders: "Folders" 287 | admin_system_settings: "System Settings" 288 | admin_you_have_not_created_any_entries_api_tokens_yet: "You haven't created any Entries tokens yet!" 289 | admin_you_have_not_created_any_files_api_tokens_yet: "You haven't created any Files tokens yet!" 290 | admin_you_have_not_created_any_folders_api_tokens_yet: "You haven't created Folders tokens yet!" 291 | admin_create_new_token: "Create New Token" 292 | admin_confirmation_required: "Confirmation Required" 293 | admin_confirmation_required_for_entry_delete: "Are you sure you want to delete this entry and all its children?" 294 | admin_confirmation_required_for_deactivate_plugin: "Are you sure you want to deactivate this plugin?" 295 | admin_message_entries_api_token_updated: "Token for entries updated." 296 | admin_message_entries_api_token_was_not_updated: "Token for entries was not updated." 297 | admin_message_entries_api_token_created: "Token for entries created." 298 | admin_message_entries_api_token_was_not_created: "Token for entries was not created." 299 | admin_message_entries_api_token_deleted: "Token for entries deleted." 300 | admin_message_entries_api_token_was_not_deleted: "Token for entries was not deleted." 301 | admin_confirmation_required_for_entries_token_delete: "Are you sure you want to delete this token for entries?" 302 | admin_you_have_not_created_any_images_api_tokens_yet: "You haven't created any Images tokens yet!" 303 | admin_you_have_not_created_any_registry_api_tokens_yet: "You haven't created any Registry tokens yet!" 304 | admin_message_registry_api_token_updated: "Token for registry updated." 305 | admin_message_registry_api_token_was_not_updated: "Token for registry was not updated." 306 | admin_message_registry_api_token_created: "Token for registry created." 307 | admin_message_registry_api_token_was_not_created: "Token for registry was not created." 308 | admin_message_registry_api_token_deleted: "Token for registry deleted." 309 | admin_message_registry_api_token_was_not_deleted: "Token for registry was not deleted." 310 | admin_confirmation_required_for_registry_token_delete: "Are you sure you want to delete this token for registry?" 311 | admin_confirmation_required_for_images_token_delete: "Are you sure you want to delete this token for images?" 312 | admin_message_images_api_token_updated: "Images token updated." 313 | admin_message_images_api_token_was_not_updated: "Images token was not updated." 314 | admin_message_images_api_token_created: "Images token created." 315 | admin_message_images_api_token_was_not_created: "Images token was not created." 316 | admin_message_images_api_token_deleted: "Images token deleted." 317 | admin_message_images_api_token_was_not_deleted: "Images token was not deleted." 318 | admin_confirmation_required_for_access_token_delete: "Are you sure you want to delete this access token ?" 319 | admin_confirmation_required_for_files_token_delete: "Are you sure you want to delete this token for files?" 320 | admin_message_files_api_token_updated: "Files token updated." 321 | admin_message_files_api_token_was_not_updated: "Files token was not updated." 322 | admin_message_files_api_token_created: "Files token created." 323 | admin_message_files_api_token_was_not_created: "Files token was not created." 324 | admin_message_files_api_token_deleted: "Files token deleted." 325 | admin_message_files_api_token_was_not_deleted: "Files token was not deleted." 326 | admin_confirmation_required_for_folders_token_delete: "Are you sure you want to delete this token for folders?" 327 | admin_message_folders_api_token_updated: "Folders token updated." 328 | admin_message_folders_api_token_was_not_updated: "Folders token was not updated." 329 | admin_message_folders_api_token_created: "Folders token created." 330 | admin_message_folders_api_token_was_not_created: "Folders token was not created." 331 | admin_message_folders_api_token_deleted: "Folders token deleted." 332 | admin_message_folders_api_token_was_not_deleted: "Folders token was not deleted." 333 | admin_message_access_api_token_updated: "Access token updated." 334 | admin_message_access_api_token_was_not_updated: "Access token was not updated." 335 | admin_message_access_api_token_created: "Access token created." 336 | admin_message_access_api_token_was_not_created: "Access token was not created." 337 | admin_message_access_api_token_deleted: "Access token deleted." 338 | admin_message_access_api_token_was_not_deleted: "Access token was not deleted." 339 | admin_access: "Access" 340 | admin_edit_token: "Edit Token" 341 | admin_you_have_not_created_any_access_api_tokens_yet: "You haven't created any Access tokens yet!" 342 | admin_installation_username_tip: "Lowercase chars only, e.g. admin" 343 | admin_installation_email_tip: "Valid email address" 344 | admin_installation_password_tip: "The password must have at least 8 characters, contain uppercase letters, lowercase letters, special characters and numbers." 345 | admin_direct_link: "Direct Link" 346 | admin_images_api_link: "Images Api Link" 347 | admin_confirmation_required_for_file_delete: "Are you sure you want to delete this file?" 348 | admin_you_have_not_upload_any_files_yet: "You have not upload any files yet." 349 | admin_selected_file: "Selected file" 350 | admin_select_file: "Select file" 351 | accounts_admin_you_have_no_acccounts: "You have no accounts" 352 | admin_changelog: "Changelog" 353 | admin_preflight: "Preflight" 354 | admin_icon_name: "Icon name" 355 | admin_icon_set: "Icon set" 356 | -------------------------------------------------------------------------------- /lang/el_GR.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | admin: "Admin" 3 | admin_welcome: "Welcome" 4 | admin_create_new_user_welcome: "To finish setup and secure your site, please create the first user by entering the necessary information below." 5 | admin_cancel: "Cancel" 6 | admin_create: "Create" 7 | admin_debugging: "Debugging" 8 | admin_email: "Email" 9 | admin_flextype_version: "Flextype Version" 10 | admin_information: "Information" 11 | admin_installed: "Installed" 12 | admin_keywords: "Keywords" 13 | admin_documentation: "Documentation" 14 | admin_memcache_server: "Memcache Server" 15 | admin_memcache_port: "Memcache Port" 16 | admin_login: "Login" 17 | admin_entries: "Entries" 18 | admin_extends: "Extends" 19 | admin_plugins: "Plugins" 20 | admin_help: "Help" 21 | admin_templates: "Templates" 22 | admin_getting_help: "Getting Help" 23 | admin_message_json_invalid: "Invalid JSON" 24 | admin_logout: "Logout" 25 | admin_profile: "Profile" 26 | admin_view_site: "View Site" 27 | admin_snippets: "Snippets" 28 | admin_not_installed: "Not Installed" 29 | admin_select_entry_type: "Select Entry Type" 30 | admin_off: "Off" 31 | admin_on: "On" 32 | admin_add: "Add" 33 | admin_routable: "Routable" 34 | admin_yes: "Yes" 35 | admin_no: "No" 36 | admin_entry_attributes: "Entry Attributes" 37 | admin_fieldset_for_template: "Fieldset for template" 38 | admin_content: "Content" 39 | admin_create_new_entry: "Create New Entry" 40 | admin_date: "Date" 41 | admin_draft: "Draft" 42 | admin_edit: "Edit" 43 | admin_blocks: "Blocks" 44 | admin_media: "Media" 45 | admin_settings: "Settings" 46 | admin_entry: "Entry" 47 | admin_source: "Source" 48 | admin_upload: "Upload" 49 | admin_hidden: "Hidden" 50 | admin_image_preview: "Image preview" 51 | admin_move: "Move" 52 | admin_parent_entry: "Entry parent" 53 | admin_preview: "Preview" 54 | admin_publish: "Publish" 55 | admin_rename: "Rename" 56 | admin_save_entry: "Save entry" 57 | admin_title: "Title" 58 | admin_url: "Url" 59 | admin_view: "View" 60 | admin_visibility: "Visibility" 61 | admin_visible: "Visible" 62 | admin_password: "Password" 63 | admin_php_built_on: "PHP Built On" 64 | admin_php_version: "PHP Version" 65 | admin_author_url: "Author url" 66 | admin_bugs: "Bugs" 67 | admin_description: "Description" 68 | admin_get_more_plugins: "Get More Plugins" 69 | admin_homepage: "Homepage" 70 | admin_info: "Info" 71 | admin_license: "License" 72 | admin_status: "Status" 73 | admin_disabled: "disabled" 74 | admin_enabled: "enabled" 75 | admin_version: "Version" 76 | admin_role: "Role" 77 | admin_save: "Save" 78 | admin_security_check_results: "Security check results" 79 | admin_security_check_results_debug: "Due to the type and amount of information an error might give intruders when DISPLAY ERRORS TRUE, we strongly advise setting DISPLAY ERRORS FALSE in production systems." 80 | admin_security_check_results_htaccess: "The Flextype .htaccess file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path" 81 | admin_security_check_results_index: "The Flextype index.php file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path" 82 | admin_server: "Server" 83 | admin_site: "Site" 84 | admin_clear_cache: "Clear cache" 85 | admin_error404_title: "Error404 entry title" 86 | admin_error404_description: "Error404 entry description" 87 | admin_error404_content: "Error404 entry content" 88 | admin_error404_template: "Error404 entry template" 89 | admin_heading: "Settings" 90 | admin_general: "General" 91 | admin_error_404_page: "Error 404 page" 92 | admin_cache: "Cache" 93 | admin_author_email: "Author email" 94 | admin_author_name: "Author name" 95 | admin_site_description: "Site description" 96 | admin_site_keywords: "Site keywords" 97 | admin_site_robots: "Robots" 98 | admin_site_title: "Site title" 99 | admin_system: "System" 100 | admin_cache_driver: "Cache driver" 101 | admin_cache_enabled: "Cache enabled" 102 | admin_cache_lifetime: "Cache lifetime" 103 | admin_cache_prefix: "Cache prefix" 104 | admin_charset: "Charset" 105 | admin_date_format: "Date format" 106 | admin_date_display_format: "Display date format" 107 | admin_errors_display: "Display errors" 108 | admin_locale: "Locale" 109 | admin_entry_main: "Main entry" 110 | admin_timezone: "Timezone" 111 | admin_username: "Username" 112 | admin_id: "ID" 113 | admin_create_user: "Create User" 114 | admin_create_new_user: "Create New User" 115 | admin_web_server: "Web Server" 116 | admin_web_server_php_interface: "WebServer to PHP Interface" 117 | admin_create_new_category: "Create New Category" 118 | admin_delete_category: "Delete Category" 119 | admin_create_new_item: "Create New Item" 120 | admin_delete: "Delete" 121 | admin_order: "Order" 122 | admin_edit_category: "Edit category" 123 | admin_duplicate: "Duplicate" 124 | admin_summary: "Summary" 125 | admin_snippet: "Snippet" 126 | admin_type: "Type" 127 | admin_clone: "Clone" 128 | admin_message_entry_duplicated: "Entry duplicated" 129 | admin_message_entry_was_not_duplicated: "Entry was not duplicated" 130 | admin_message_cache_files_deleted: "Cache files deleted" 131 | admin_message_entry_changes_saved: "Changes successfully saved" 132 | admin_message_entry_changes_not_saved: "Changes not saved" 133 | admin_message_entry_cloned: "Entry cloned" 134 | admin_message_entry_created: "Entry created" 135 | admin_message_entry_was_not_created: "Entry was not created" 136 | admin_message_entry_deleted: "Entry deleted" 137 | admin_message_entry_was_not_renamed: "Entry was not renamed" 138 | admin_message_entry_was_not_deleted: "Entry was not deleted" 139 | admin_message_entry_file_deleted: "File successfully deleted" 140 | admin_message_entry_file_uploaded: "File successfully uploaded" 141 | admin_message_entry_file_not_uploaded: "File was not uploaded" 142 | admin_message_entry_moved: "Entry moved" 143 | admin_message_entry_was_not_moved: "Entry was not moved" 144 | admin_message_entry_renamed: "Entry renamed" 145 | admin_message_settings_saved: "Settings saved" 146 | admin_message_settings_was_not_saved: "Settings was not saved" 147 | admin_message_wrong_username_password: "Wrong username or password" 148 | admin_message_plugin_settings_saved: "Plugin settings saved" 149 | admin_message_plugin_settings_not_saved: "Plugin settings was not saved" 150 | admin_quality: "Quality" 151 | admin_width: "Width" 152 | admin_height: "Height" 153 | admin_accept_file_types: "Accept file types" 154 | admin_embeded_code: "Embeded Code" 155 | admin_shortcode: "Shortcode" 156 | admin_php_code: "PHP Code" 157 | admin_choose_files_to_upload: "Choose file" 158 | admin_browse_files: "Browse" 159 | admin_copy: "Copy" 160 | admin_admin_panel: "Admin Panel" 161 | admin_light: "Light" 162 | admin_dark: "Dark" 163 | admin_name: "Name" 164 | admin_hide: "Hide" 165 | admin_api: "API" 166 | admin_memcached_server: "Memcached Server" 167 | admin_memcached_port: "Memcached Port" 168 | admin_redis_socket: "Redis Socket" 169 | admin_redis_password: "Redis Password" 170 | admin_redis_server: "Redis Server" 171 | admin_redis_port: "Redis Port" 172 | admin_sqlite3_database: "SQLite3 Database" 173 | admin_sqlite3_table: "SQLite3 Table" 174 | admin_error_name_empty_input: "Name has to be an alphanumeric value (from 1 chars)" 175 | admin_error_title_empty_input: "Title has to be an alphanumeric value (from 1 chars)" 176 | admin_error_icon_empty_input: "Icon has to be an alphanumeric value (from 1 chars)" 177 | admin_help_text_for_tokens_label: "Token label shown in the Admin Panel." 178 | admin_help_text_for_snippets_name: "Snippets unique name in lowercase chars only." 179 | admin_entries_visible: "Visible" 180 | admin_entries_draft: "Draft" 181 | admin_entries_hidden: "Hidden" 182 | admin_menu_item_title: "Title" 183 | admin_menu_item_url: "Url" 184 | admin_menu_item_target: "Target" 185 | admin_menu_item_order: "Order" 186 | admin_template_code: "Template code" 187 | admin_you_have_no_api_tokens_yet: "You haven't created any api tokens yet!" 188 | admin_you_have_not_created_any_entries_yet: "You haven't created any entries yet!" 189 | admin_twig_auto_reload: "Auto reload" 190 | admin_display_error_details: "Display error details" 191 | admin_add_content_length_header: "Add content length header" 192 | admin_router_cache_file: "Route cache file" 193 | admin_determine_route_before_app_middleware: "Determine route before app middleware" 194 | admin_output_buffering: "Output buffering" 195 | admin_response_chunk_size: "Response chunk size" 196 | admin_http_version: "HTTP Version" 197 | admin_image_driver: "Image driver" 198 | admin_whoops_editor: "Whoops editor" 199 | admin_whoops_page_title: "Whoops page title" 200 | admin_editor: "Editor" 201 | admin_tools: "Tools" 202 | admin_size: "Size" 203 | admin_clear: "Clear" 204 | admin_clear_cache_all: "Clear All" 205 | admin_registry: "Registry" 206 | admin_key: "Key" 207 | admin_value: "Value" 208 | admin_activate: "Activate" 209 | admin_deactivate: "Deactivate" 210 | admin_images: "Images" 211 | admin_data: "Data" 212 | admin_slim: "Slim" 213 | admin_slugify: "Slug" 214 | admin_entries_limit: "Entries limit" 215 | admin_slug: "Slug" 216 | admin_slugify_separator: "Separator" 217 | admin_slugify_lowercase: "Lowercase" 218 | admin_slugify_trim: "Trim" 219 | admin_slugify_strip_tags: "Strip tags" 220 | admin_slugify_lowercase_after_regexp: "Lowercase after regexp" 221 | admin_slugify_regexp: "Regexp" 222 | admin_gallery_img: "Gallery Image" 223 | admin_tags: "Tags" 224 | admin_twig_templating: "Twig Templating" 225 | admin_twig_debug: "Debug" 226 | admin_twig_charset: "Charset" 227 | admin_twig_cache: "Cache" 228 | admin_published_at: "Published at" 229 | admin_licence: "Licence" 230 | admin_plugin: "Plugin" 231 | admin_icon: "Icon" 232 | admin_menu: "Menu" 233 | admin_seo: "Seo" 234 | admin_main: "Main" 235 | admin_file: "File" 236 | admin_you_have_no_plugins: "You have no plugins" 237 | admin_help_text_for_settings_site_title_label: "Title for your site." 238 | admin_help_text_for_settings_site_robots_label: "Robots settings for your site." 239 | admin_help_text_for_settings_site_keywords_label: "Keywords for your site." 240 | admin_help_text_for_settings_site_description_label: "Description for your site." 241 | admin_help_text_for_settings_site_author_name_label: "Author name for your site." 242 | admin_help_text_for_settings_site_author_email_label: "Author email for your site." 243 | admin_help_text_for_settings_content_main_entry_label: "Entry that Flextype will use as the default landing page." 244 | admin_help_text_for_settings_content_timezone_label: "Timezone you want your site to operate under." 245 | admin_help_text_for_settings_content_date_format_label: "Date format used by Flextype." 246 | admin_help_text_for_settings_content_display_date_format_label: "Display date format used by Flextype." 247 | admin_help_text_for_settings_content_character_label: "Internal character encoding." 248 | admin_help_text_for_settings_content_locale_label: "Locale that'll be used by the Flextype." 249 | admin_help_text_for_settings_media_image_quality_label: "Image quality. Use values between 0 and 100." 250 | admin_help_text_for_settings_media_image_width_label: "Image width in pixels." 251 | admin_help_text_for_settings_media_image_height_label: "Image height in pixels." 252 | admin_help_text_for_settings_media_accept_file_types_label: "List of accept file types." 253 | admin_help_text_for_settings_image_driver_label: "Image driver. In some cases ImageMagick can be faster, but isn't available on all servers." 254 | admin_help_text_for_settings_twig_templating_debug_label: "Enable or disable Twig debug mode." 255 | admin_help_text_for_settings_twig_templating_cache_label: "Set to true to enable Twig caching." 256 | admin_help_text_for_settings_twig_templating_autoreload_label: "Refresh cache on changes." 257 | admin_help_text_for_settings_twig_templating_charset_label: "Templates charset." 258 | admin_help_text_for_settings_errors_display_label: "Display errors." 259 | admin_help_text_for_settings_errors_display_datails_label: "Display errors details." 260 | admin_help_text_for_settings_errors_whoops_editor_label: "Whoops editor." 261 | admin_help_text_for_settings_errors_whoops_page_title_label: "Whoops page title." 262 | admin_help_text_for_entry_label: "Entry title." 263 | admin_help_text_for_entry_name: "Entry unique name in lowercase chars only." 264 | admin_help_text_for_entry_type: "Entry type based on Fieldset." 265 | admin_message_fieldset_not_found: "Fieldset not found" 266 | admin_create_and_edit: "Create & Edit" 267 | admin_you_have_not_created_any_api_tokens_yet: "You haven't created any API's tokens yet!" 268 | admin_api_calls_limit: "API Calls limit" 269 | admin_help_text_for_api_calls_limit_label: "Limits for API Calls. Leave 0 for unlimited API Calls." 270 | admin_error_api_calls_empty_input: "API Calls limit has to be an numeric value." 271 | admin_help_text_for_api_token_icon: "API Token valid :link icon class." 272 | admin_state: "State" 273 | admin_help_text_for_settings_twig_extensions_label: "Twig Extensions to load." 274 | admin_twig_extensions: "Twig extensions" 275 | admin_help_text_for_settings_shortcodes_extensions_label: "Shortcodes Extensions to load." 276 | admin_shortcodes_extensions: "Shortcodes extensions" 277 | admin_created_at: "Created at" 278 | admin_updated_at: "Updated at" 279 | admin_you_have_not_created_any_fieldsets_yet: "You haven't created any Fieldset yet!" 280 | admin_create_new_fieldset: "Create New Fieldset" 281 | admin_token: "Token" 282 | admin_calls: "Calls" 283 | admin_yes_iam_sure: "Yes, I'm sure" 284 | admin_author: "Author" 285 | admin_files: "Files" 286 | admin_folders: "Folders" 287 | admin_system_settings: "System Settings" 288 | admin_you_have_not_created_any_entries_api_tokens_yet: "You haven't created any Entries tokens yet!" 289 | admin_you_have_not_created_any_files_api_tokens_yet: "You haven't created any Files tokens yet!" 290 | admin_you_have_not_created_any_folders_api_tokens_yet: "You haven't created Folders tokens yet!" 291 | admin_create_new_token: "Create New Token" 292 | admin_confirmation_required: "Confirmation Required" 293 | admin_confirmation_required_for_entry_delete: "Are you sure you want to delete this entry and all its children?" 294 | admin_confirmation_required_for_deactivate_plugin: "Are you sure you want to deactivate this plugin?" 295 | admin_message_entries_api_token_updated: "Token for entries updated." 296 | admin_message_entries_api_token_was_not_updated: "Token for entries was not updated." 297 | admin_message_entries_api_token_created: "Token for entries created." 298 | admin_message_entries_api_token_was_not_created: "Token for entries was not created." 299 | admin_message_entries_api_token_deleted: "Token for entries deleted." 300 | admin_message_entries_api_token_was_not_deleted: "Token for entries was not deleted." 301 | admin_confirmation_required_for_entries_token_delete: "Are you sure you want to delete this token for entries?" 302 | admin_you_have_not_created_any_images_api_tokens_yet: "You haven't created any Images tokens yet!" 303 | admin_you_have_not_created_any_registry_api_tokens_yet: "You haven't created any Registry tokens yet!" 304 | admin_message_registry_api_token_updated: "Token for registry updated." 305 | admin_message_registry_api_token_was_not_updated: "Token for registry was not updated." 306 | admin_message_registry_api_token_created: "Token for registry created." 307 | admin_message_registry_api_token_was_not_created: "Token for registry was not created." 308 | admin_message_registry_api_token_deleted: "Token for registry deleted." 309 | admin_message_registry_api_token_was_not_deleted: "Token for registry was not deleted." 310 | admin_confirmation_required_for_registry_token_delete: "Are you sure you want to delete this token for registry?" 311 | admin_confirmation_required_for_images_token_delete: "Are you sure you want to delete this token for images?" 312 | admin_message_images_api_token_updated: "Images token updated." 313 | admin_message_images_api_token_was_not_updated: "Images token was not updated." 314 | admin_message_images_api_token_created: "Images token created." 315 | admin_message_images_api_token_was_not_created: "Images token was not created." 316 | admin_message_images_api_token_deleted: "Images token deleted." 317 | admin_message_images_api_token_was_not_deleted: "Images token was not deleted." 318 | admin_confirmation_required_for_access_token_delete: "Are you sure you want to delete this access token ?" 319 | admin_confirmation_required_for_files_token_delete: "Are you sure you want to delete this token for files?" 320 | admin_message_files_api_token_updated: "Files token updated." 321 | admin_message_files_api_token_was_not_updated: "Files token was not updated." 322 | admin_message_files_api_token_created: "Files token created." 323 | admin_message_files_api_token_was_not_created: "Files token was not created." 324 | admin_message_files_api_token_deleted: "Files token deleted." 325 | admin_message_files_api_token_was_not_deleted: "Files token was not deleted." 326 | admin_confirmation_required_for_folders_token_delete: "Are you sure you want to delete this token for folders?" 327 | admin_message_folders_api_token_updated: "Folders token updated." 328 | admin_message_folders_api_token_was_not_updated: "Folders token was not updated." 329 | admin_message_folders_api_token_created: "Folders token created." 330 | admin_message_folders_api_token_was_not_created: "Folders token was not created." 331 | admin_message_folders_api_token_deleted: "Folders token deleted." 332 | admin_message_folders_api_token_was_not_deleted: "Folders token was not deleted." 333 | admin_message_access_api_token_updated: "Access token updated." 334 | admin_message_access_api_token_was_not_updated: "Access token was not updated." 335 | admin_message_access_api_token_created: "Access token created." 336 | admin_message_access_api_token_was_not_created: "Access token was not created." 337 | admin_message_access_api_token_deleted: "Access token deleted." 338 | admin_message_access_api_token_was_not_deleted: "Access token was not deleted." 339 | admin_access: "Access" 340 | admin_edit_token: "Edit Token" 341 | admin_you_have_not_created_any_access_api_tokens_yet: "You haven't created any Access tokens yet!" 342 | admin_installation_username_tip: "Lowercase chars only, e.g. admin" 343 | admin_installation_email_tip: "Valid email address" 344 | admin_installation_password_tip: "The password must have at least 8 characters, contain uppercase letters, lowercase letters, special characters and numbers." 345 | admin_direct_link: "Direct Link" 346 | admin_images_api_link: "Images Api Link" 347 | admin_confirmation_required_for_file_delete: "Are you sure you want to delete this file?" 348 | admin_you_have_not_upload_any_files_yet: "You have not upload any files yet." 349 | admin_selected_file: "Selected file" 350 | admin_select_file: "Select file" 351 | accounts_admin_you_have_no_acccounts: "You have no accounts" 352 | admin_changelog: "Changelog" 353 | admin_preflight: "Preflight" 354 | admin_icon_name: "Icon name" 355 | admin_icon_set: "Icon set" 356 | -------------------------------------------------------------------------------- /lang/fi_FI.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | admin: "Admin" 3 | admin_welcome: "Welcome" 4 | admin_create_new_user_welcome: "To finish setup and secure your site, please create the first user by entering the necessary information below." 5 | admin_cancel: "Cancel" 6 | admin_create: "Create" 7 | admin_debugging: "Debugging" 8 | admin_email: "Email" 9 | admin_flextype_version: "Flextype Version" 10 | admin_information: "Information" 11 | admin_installed: "Installed" 12 | admin_keywords: "Keywords" 13 | admin_documentation: "Documentation" 14 | admin_memcache_server: "Memcache Server" 15 | admin_memcache_port: "Memcache Port" 16 | admin_login: "Login" 17 | admin_entries: "Entries" 18 | admin_extends: "Extends" 19 | admin_plugins: "Plugins" 20 | admin_help: "Help" 21 | admin_templates: "Templates" 22 | admin_getting_help: "Getting Help" 23 | admin_message_json_invalid: "Invalid JSON" 24 | admin_logout: "Logout" 25 | admin_profile: "Profile" 26 | admin_view_site: "View Site" 27 | admin_snippets: "Snippets" 28 | admin_not_installed: "Not Installed" 29 | admin_select_entry_type: "Select Entry Type" 30 | admin_off: "Off" 31 | admin_on: "On" 32 | admin_add: "Add" 33 | admin_routable: "Routable" 34 | admin_yes: "Yes" 35 | admin_no: "No" 36 | admin_entry_attributes: "Entry Attributes" 37 | admin_fieldset_for_template: "Fieldset for template" 38 | admin_content: "Content" 39 | admin_create_new_entry: "Create New Entry" 40 | admin_date: "Date" 41 | admin_draft: "Draft" 42 | admin_edit: "Edit" 43 | admin_blocks: "Blocks" 44 | admin_media: "Media" 45 | admin_settings: "Settings" 46 | admin_entry: "Entry" 47 | admin_source: "Source" 48 | admin_upload: "Upload" 49 | admin_hidden: "Hidden" 50 | admin_image_preview: "Image preview" 51 | admin_move: "Move" 52 | admin_parent_entry: "Entry parent" 53 | admin_preview: "Preview" 54 | admin_publish: "Publish" 55 | admin_rename: "Rename" 56 | admin_save_entry: "Save entry" 57 | admin_title: "Title" 58 | admin_url: "Url" 59 | admin_view: "View" 60 | admin_visibility: "Visibility" 61 | admin_visible: "Visible" 62 | admin_password: "Password" 63 | admin_php_built_on: "PHP Built On" 64 | admin_php_version: "PHP Version" 65 | admin_author_url: "Author url" 66 | admin_bugs: "Bugs" 67 | admin_description: "Description" 68 | admin_get_more_plugins: "Get More Plugins" 69 | admin_homepage: "Homepage" 70 | admin_info: "Info" 71 | admin_license: "License" 72 | admin_status: "Status" 73 | admin_disabled: "disabled" 74 | admin_enabled: "enabled" 75 | admin_version: "Version" 76 | admin_role: "Role" 77 | admin_save: "Save" 78 | admin_security_check_results: "Security check results" 79 | admin_security_check_results_debug: "Due to the type and amount of information an error might give intruders when DISPLAY ERRORS TRUE, we strongly advise setting DISPLAY ERRORS FALSE in production systems." 80 | admin_security_check_results_htaccess: "The Flextype .htaccess file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path" 81 | admin_security_check_results_index: "The Flextype index.php file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path" 82 | admin_server: "Server" 83 | admin_site: "Site" 84 | admin_clear_cache: "Clear cache" 85 | admin_error404_title: "Error404 entry title" 86 | admin_error404_description: "Error404 entry description" 87 | admin_error404_content: "Error404 entry content" 88 | admin_error404_template: "Error404 entry template" 89 | admin_heading: "Settings" 90 | admin_general: "General" 91 | admin_error_404_page: "Error 404 page" 92 | admin_cache: "Cache" 93 | admin_author_email: "Author email" 94 | admin_author_name: "Author name" 95 | admin_site_description: "Site description" 96 | admin_site_keywords: "Site keywords" 97 | admin_site_robots: "Robots" 98 | admin_site_title: "Site title" 99 | admin_system: "System" 100 | admin_cache_driver: "Cache driver" 101 | admin_cache_enabled: "Cache enabled" 102 | admin_cache_lifetime: "Cache lifetime" 103 | admin_cache_prefix: "Cache prefix" 104 | admin_charset: "Charset" 105 | admin_date_format: "Date format" 106 | admin_date_display_format: "Display date format" 107 | admin_errors_display: "Display errors" 108 | admin_locale: "Locale" 109 | admin_entry_main: "Main entry" 110 | admin_timezone: "Timezone" 111 | admin_username: "Username" 112 | admin_id: "ID" 113 | admin_create_user: "Create User" 114 | admin_create_new_user: "Create New User" 115 | admin_web_server: "Web Server" 116 | admin_web_server_php_interface: "WebServer to PHP Interface" 117 | admin_create_new_category: "Create New Category" 118 | admin_delete_category: "Delete Category" 119 | admin_create_new_item: "Create New Item" 120 | admin_delete: "Delete" 121 | admin_order: "Order" 122 | admin_edit_category: "Edit category" 123 | admin_duplicate: "Duplicate" 124 | admin_summary: "Summary" 125 | admin_snippet: "Snippet" 126 | admin_type: "Type" 127 | admin_clone: "Clone" 128 | admin_message_entry_duplicated: "Entry duplicated" 129 | admin_message_entry_was_not_duplicated: "Entry was not duplicated" 130 | admin_message_cache_files_deleted: "Cache files deleted" 131 | admin_message_entry_changes_saved: "Changes successfully saved" 132 | admin_message_entry_changes_not_saved: "Changes not saved" 133 | admin_message_entry_cloned: "Entry cloned" 134 | admin_message_entry_created: "Entry created" 135 | admin_message_entry_was_not_created: "Entry was not created" 136 | admin_message_entry_deleted: "Entry deleted" 137 | admin_message_entry_was_not_renamed: "Entry was not renamed" 138 | admin_message_entry_was_not_deleted: "Entry was not deleted" 139 | admin_message_entry_file_deleted: "File successfully deleted" 140 | admin_message_entry_file_uploaded: "File successfully uploaded" 141 | admin_message_entry_file_not_uploaded: "File was not uploaded" 142 | admin_message_entry_moved: "Entry moved" 143 | admin_message_entry_was_not_moved: "Entry was not moved" 144 | admin_message_entry_renamed: "Entry renamed" 145 | admin_message_settings_saved: "Settings saved" 146 | admin_message_settings_was_not_saved: "Settings was not saved" 147 | admin_message_wrong_username_password: "Wrong username or password" 148 | admin_message_plugin_settings_saved: "Plugin settings saved" 149 | admin_message_plugin_settings_not_saved: "Plugin settings was not saved" 150 | admin_quality: "Quality" 151 | admin_width: "Width" 152 | admin_height: "Height" 153 | admin_accept_file_types: "Accept file types" 154 | admin_embeded_code: "Embeded Code" 155 | admin_shortcode: "Shortcode" 156 | admin_php_code: "PHP Code" 157 | admin_choose_files_to_upload: "Choose file" 158 | admin_browse_files: "Browse" 159 | admin_copy: "Copy" 160 | admin_admin_panel: "Admin Panel" 161 | admin_light: "Light" 162 | admin_dark: "Dark" 163 | admin_name: "Name" 164 | admin_hide: "Hide" 165 | admin_api: "API" 166 | admin_memcached_server: "Memcached Server" 167 | admin_memcached_port: "Memcached Port" 168 | admin_redis_socket: "Redis Socket" 169 | admin_redis_password: "Redis Password" 170 | admin_redis_server: "Redis Server" 171 | admin_redis_port: "Redis Port" 172 | admin_sqlite3_database: "SQLite3 Database" 173 | admin_sqlite3_table: "SQLite3 Table" 174 | admin_error_name_empty_input: "Name has to be an alphanumeric value (from 1 chars)" 175 | admin_error_title_empty_input: "Title has to be an alphanumeric value (from 1 chars)" 176 | admin_error_icon_empty_input: "Icon has to be an alphanumeric value (from 1 chars)" 177 | admin_help_text_for_tokens_label: "Token label shown in the Admin Panel." 178 | admin_help_text_for_snippets_name: "Snippets unique name in lowercase chars only." 179 | admin_entries_visible: "Visible" 180 | admin_entries_draft: "Draft" 181 | admin_entries_hidden: "Hidden" 182 | admin_menu_item_title: "Title" 183 | admin_menu_item_url: "Url" 184 | admin_menu_item_target: "Target" 185 | admin_menu_item_order: "Order" 186 | admin_template_code: "Template code" 187 | admin_you_have_no_api_tokens_yet: "You haven't created any api tokens yet!" 188 | admin_you_have_not_created_any_entries_yet: "You haven't created any entries yet!" 189 | admin_twig_auto_reload: "Auto reload" 190 | admin_display_error_details: "Display error details" 191 | admin_add_content_length_header: "Add content length header" 192 | admin_router_cache_file: "Route cache file" 193 | admin_determine_route_before_app_middleware: "Determine route before app middleware" 194 | admin_output_buffering: "Output buffering" 195 | admin_response_chunk_size: "Response chunk size" 196 | admin_http_version: "HTTP Version" 197 | admin_image_driver: "Image driver" 198 | admin_whoops_editor: "Whoops editor" 199 | admin_whoops_page_title: "Whoops page title" 200 | admin_editor: "Editor" 201 | admin_tools: "Tools" 202 | admin_size: "Size" 203 | admin_clear: "Clear" 204 | admin_clear_cache_all: "Clear All" 205 | admin_registry: "Registry" 206 | admin_key: "Key" 207 | admin_value: "Value" 208 | admin_activate: "Activate" 209 | admin_deactivate: "Deactivate" 210 | admin_images: "Images" 211 | admin_data: "Data" 212 | admin_slim: "Slim" 213 | admin_slugify: "Slug" 214 | admin_entries_limit: "Entries limit" 215 | admin_slug: "Slug" 216 | admin_slugify_separator: "Separator" 217 | admin_slugify_lowercase: "Lowercase" 218 | admin_slugify_trim: "Trim" 219 | admin_slugify_strip_tags: "Strip tags" 220 | admin_slugify_lowercase_after_regexp: "Lowercase after regexp" 221 | admin_slugify_regexp: "Regexp" 222 | admin_gallery_img: "Gallery Image" 223 | admin_tags: "Tags" 224 | admin_twig_templating: "Twig Templating" 225 | admin_twig_debug: "Debug" 226 | admin_twig_charset: "Charset" 227 | admin_twig_cache: "Cache" 228 | admin_published_at: "Published at" 229 | admin_licence: "Licence" 230 | admin_plugin: "Plugin" 231 | admin_icon: "Icon" 232 | admin_menu: "Menu" 233 | admin_seo: "Seo" 234 | admin_main: "Main" 235 | admin_file: "File" 236 | admin_you_have_no_plugins: "You have no plugins" 237 | admin_help_text_for_settings_site_title_label: "Title for your site." 238 | admin_help_text_for_settings_site_robots_label: "Robots settings for your site." 239 | admin_help_text_for_settings_site_keywords_label: "Keywords for your site." 240 | admin_help_text_for_settings_site_description_label: "Description for your site." 241 | admin_help_text_for_settings_site_author_name_label: "Author name for your site." 242 | admin_help_text_for_settings_site_author_email_label: "Author email for your site." 243 | admin_help_text_for_settings_content_main_entry_label: "Entry that Flextype will use as the default landing page." 244 | admin_help_text_for_settings_content_timezone_label: "Timezone you want your site to operate under." 245 | admin_help_text_for_settings_content_date_format_label: "Date format used by Flextype." 246 | admin_help_text_for_settings_content_display_date_format_label: "Display date format used by Flextype." 247 | admin_help_text_for_settings_content_character_label: "Internal character encoding." 248 | admin_help_text_for_settings_content_locale_label: "Locale that'll be used by the Flextype." 249 | admin_help_text_for_settings_media_image_quality_label: "Image quality. Use values between 0 and 100." 250 | admin_help_text_for_settings_media_image_width_label: "Image width in pixels." 251 | admin_help_text_for_settings_media_image_height_label: "Image height in pixels." 252 | admin_help_text_for_settings_media_accept_file_types_label: "List of accept file types." 253 | admin_help_text_for_settings_image_driver_label: "Image driver. In some cases ImageMagick can be faster, but isn't available on all servers." 254 | admin_help_text_for_settings_twig_templating_debug_label: "Enable or disable Twig debug mode." 255 | admin_help_text_for_settings_twig_templating_cache_label: "Set to true to enable Twig caching." 256 | admin_help_text_for_settings_twig_templating_autoreload_label: "Refresh cache on changes." 257 | admin_help_text_for_settings_twig_templating_charset_label: "Templates charset." 258 | admin_help_text_for_settings_errors_display_label: "Display errors." 259 | admin_help_text_for_settings_errors_display_datails_label: "Display errors details." 260 | admin_help_text_for_settings_errors_whoops_editor_label: "Whoops editor." 261 | admin_help_text_for_settings_errors_whoops_page_title_label: "Whoops page title." 262 | admin_help_text_for_entry_label: "Entry title." 263 | admin_help_text_for_entry_name: "Entry unique name in lowercase chars only." 264 | admin_help_text_for_entry_type: "Entry type based on Fieldset." 265 | admin_message_fieldset_not_found: "Fieldset not found" 266 | admin_create_and_edit: "Create & Edit" 267 | admin_you_have_not_created_any_api_tokens_yet: "You haven't created any API's tokens yet!" 268 | admin_api_calls_limit: "API Calls limit" 269 | admin_help_text_for_api_calls_limit_label: "Limits for API Calls. Leave 0 for unlimited API Calls." 270 | admin_error_api_calls_empty_input: "API Calls limit has to be an numeric value." 271 | admin_help_text_for_api_token_icon: "API Token valid :link icon class." 272 | admin_state: "State" 273 | admin_help_text_for_settings_twig_extensions_label: "Twig Extensions to load." 274 | admin_twig_extensions: "Twig extensions" 275 | admin_help_text_for_settings_shortcodes_extensions_label: "Shortcodes Extensions to load." 276 | admin_shortcodes_extensions: "Shortcodes extensions" 277 | admin_created_at: "Created at" 278 | admin_updated_at: "Updated at" 279 | admin_you_have_not_created_any_fieldsets_yet: "You haven't created any Fieldset yet!" 280 | admin_create_new_fieldset: "Create New Fieldset" 281 | admin_token: "Token" 282 | admin_calls: "Calls" 283 | admin_yes_iam_sure: "Yes, I'm sure" 284 | admin_author: "Author" 285 | admin_files: "Files" 286 | admin_folders: "Folders" 287 | admin_system_settings: "System Settings" 288 | admin_you_have_not_created_any_entries_api_tokens_yet: "You haven't created any Entries tokens yet!" 289 | admin_you_have_not_created_any_files_api_tokens_yet: "You haven't created any Files tokens yet!" 290 | admin_you_have_not_created_any_folders_api_tokens_yet: "You haven't created Folders tokens yet!" 291 | admin_create_new_token: "Create New Token" 292 | admin_confirmation_required: "Confirmation Required" 293 | admin_confirmation_required_for_entry_delete: "Are you sure you want to delete this entry and all its children?" 294 | admin_confirmation_required_for_deactivate_plugin: "Are you sure you want to deactivate this plugin?" 295 | admin_message_entries_api_token_updated: "Token for entries updated." 296 | admin_message_entries_api_token_was_not_updated: "Token for entries was not updated." 297 | admin_message_entries_api_token_created: "Token for entries created." 298 | admin_message_entries_api_token_was_not_created: "Token for entries was not created." 299 | admin_message_entries_api_token_deleted: "Token for entries deleted." 300 | admin_message_entries_api_token_was_not_deleted: "Token for entries was not deleted." 301 | admin_confirmation_required_for_entries_token_delete: "Are you sure you want to delete this token for entries?" 302 | admin_you_have_not_created_any_images_api_tokens_yet: "You haven't created any Images tokens yet!" 303 | admin_you_have_not_created_any_registry_api_tokens_yet: "You haven't created any Registry tokens yet!" 304 | admin_message_registry_api_token_updated: "Token for registry updated." 305 | admin_message_registry_api_token_was_not_updated: "Token for registry was not updated." 306 | admin_message_registry_api_token_created: "Token for registry created." 307 | admin_message_registry_api_token_was_not_created: "Token for registry was not created." 308 | admin_message_registry_api_token_deleted: "Token for registry deleted." 309 | admin_message_registry_api_token_was_not_deleted: "Token for registry was not deleted." 310 | admin_confirmation_required_for_registry_token_delete: "Are you sure you want to delete this token for registry?" 311 | admin_confirmation_required_for_images_token_delete: "Are you sure you want to delete this token for images?" 312 | admin_message_images_api_token_updated: "Images token updated." 313 | admin_message_images_api_token_was_not_updated: "Images token was not updated." 314 | admin_message_images_api_token_created: "Images token created." 315 | admin_message_images_api_token_was_not_created: "Images token was not created." 316 | admin_message_images_api_token_deleted: "Images token deleted." 317 | admin_message_images_api_token_was_not_deleted: "Images token was not deleted." 318 | admin_confirmation_required_for_access_token_delete: "Are you sure you want to delete this access token ?" 319 | admin_confirmation_required_for_files_token_delete: "Are you sure you want to delete this token for files?" 320 | admin_message_files_api_token_updated: "Files token updated." 321 | admin_message_files_api_token_was_not_updated: "Files token was not updated." 322 | admin_message_files_api_token_created: "Files token created." 323 | admin_message_files_api_token_was_not_created: "Files token was not created." 324 | admin_message_files_api_token_deleted: "Files token deleted." 325 | admin_message_files_api_token_was_not_deleted: "Files token was not deleted." 326 | admin_confirmation_required_for_folders_token_delete: "Are you sure you want to delete this token for folders?" 327 | admin_message_folders_api_token_updated: "Folders token updated." 328 | admin_message_folders_api_token_was_not_updated: "Folders token was not updated." 329 | admin_message_folders_api_token_created: "Folders token created." 330 | admin_message_folders_api_token_was_not_created: "Folders token was not created." 331 | admin_message_folders_api_token_deleted: "Folders token deleted." 332 | admin_message_folders_api_token_was_not_deleted: "Folders token was not deleted." 333 | admin_message_access_api_token_updated: "Access token updated." 334 | admin_message_access_api_token_was_not_updated: "Access token was not updated." 335 | admin_message_access_api_token_created: "Access token created." 336 | admin_message_access_api_token_was_not_created: "Access token was not created." 337 | admin_message_access_api_token_deleted: "Access token deleted." 338 | admin_message_access_api_token_was_not_deleted: "Access token was not deleted." 339 | admin_access: "Access" 340 | admin_edit_token: "Edit Token" 341 | admin_you_have_not_created_any_access_api_tokens_yet: "You haven't created any Access tokens yet!" 342 | admin_installation_username_tip: "Lowercase chars only, e.g. admin" 343 | admin_installation_email_tip: "Valid email address" 344 | admin_installation_password_tip: "The password must have at least 8 characters, contain uppercase letters, lowercase letters, special characters and numbers." 345 | admin_direct_link: "Direct Link" 346 | admin_images_api_link: "Images Api Link" 347 | admin_confirmation_required_for_file_delete: "Are you sure you want to delete this file?" 348 | admin_you_have_not_upload_any_files_yet: "You have not upload any files yet." 349 | admin_selected_file: "Selected file" 350 | admin_select_file: "Select file" 351 | accounts_admin_you_have_no_acccounts: "You have no accounts" 352 | admin_changelog: "Changelog" 353 | admin_preflight: "Preflight" 354 | admin_icon_name: "Icon name" 355 | admin_icon_set: "Icon set" 356 | -------------------------------------------------------------------------------- /lang/ko_KR.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | admin: "관리자" 3 | admin_welcome: "환영합니다!" 4 | admin_create_new_user_welcome: "To finish setup and secure your site, please create the first user by entering the necessary information below." 5 | admin_cancel: "취소" 6 | admin_create: "만들기" 7 | admin_debugging: "디버깅" 8 | admin_email: "이메일" 9 | admin_flextype_version: "Flextype Version" 10 | admin_information: "정보" 11 | admin_installed: "설치" 12 | admin_keywords: "Keywords" 13 | admin_documentation: "문서" 14 | admin_memcache_server: "Memcache Server" 15 | admin_memcache_port: "Memcache Port" 16 | admin_login: "로그인" 17 | admin_entries: "항목" 18 | admin_extends: "확장" 19 | admin_plugins: "플러그인" 20 | admin_help: "Help" 21 | admin_templates: "Templates" 22 | admin_getting_help: "Getting Help" 23 | admin_message_json_invalid: "잘못된 JSON" 24 | admin_logout: "로그아웃" 25 | admin_profile: "프로필" 26 | admin_view_site: "사이트 보기" 27 | admin_snippets: "스니펫" 28 | admin_not_installed: "다시 해보세요" 29 | admin_select_entry_type: "Select Entry Type" 30 | admin_off: "끄기" 31 | admin_on: "켜기" 32 | admin_add: "추가" 33 | admin_routable: "Routable" 34 | admin_yes: "Yes" 35 | admin_no: "No" 36 | admin_entry_attributes: "Entry Attributes" 37 | admin_fieldset_for_template: "Fieldset for template" 38 | admin_content: "콘텐츠" 39 | admin_create_new_entry: "새 항목 만들기" 40 | admin_date: "날짜" 41 | admin_draft: "임시보관함" 42 | admin_edit: "편집" 43 | admin_blocks: "블록" 44 | admin_media: "신문 보도" 45 | admin_settings: "설정" 46 | admin_entry: "진입점" 47 | admin_source: "소스" 48 | admin_upload: "올리기" 49 | admin_hidden: "아이콘 숨김" 50 | admin_image_preview: "이미지 미리보기" 51 | admin_move: "움직이기" 52 | admin_parent_entry: "Entry parent" 53 | admin_preview: "미리 보기" 54 | admin_publish: "Publish" 55 | admin_rename: "Rename" 56 | admin_save_entry: "Save entry" 57 | admin_title: "Title" 58 | admin_url: "Url" 59 | admin_view: "View" 60 | admin_visibility: "Visibility" 61 | admin_visible: "Visible" 62 | admin_password: "Password" 63 | admin_php_built_on: "PHP Built On" 64 | admin_php_version: "PHP Version" 65 | admin_author_url: "Author url" 66 | admin_bugs: "Bugs" 67 | admin_description: "Description" 68 | admin_get_more_plugins: "Get More Plugins" 69 | admin_homepage: "Homepage" 70 | admin_info: "Info" 71 | admin_license: "License" 72 | admin_status: "Status" 73 | admin_disabled: "disabled" 74 | admin_enabled: "enabled" 75 | admin_version: "Version" 76 | admin_role: "Role" 77 | admin_save: "Save" 78 | admin_security_check_results: "Security check results" 79 | admin_security_check_results_debug: "Due to the type and amount of information an error might give intruders when DISPLAY ERRORS TRUE, we strongly advise setting DISPLAY ERRORS FALSE in production systems." 80 | admin_security_check_results_htaccess: "The Flextype .htaccess file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path" 81 | admin_security_check_results_index: "The Flextype index.php file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path" 82 | admin_server: "Server" 83 | admin_site: "Site" 84 | admin_clear_cache: "Clear cache" 85 | admin_error404_title: "Error404 entry title" 86 | admin_error404_description: "Error404 entry description" 87 | admin_error404_content: "Error404 entry content" 88 | admin_error404_template: "Error404 entry template" 89 | admin_heading: "Settings" 90 | admin_general: "General" 91 | admin_error_404_page: "Error 404 page" 92 | admin_cache: "Cache" 93 | admin_author_email: "Author email" 94 | admin_author_name: "저작자" 95 | admin_site_description: "Site description" 96 | admin_site_keywords: "Site keywords" 97 | admin_site_robots: "로봇" 98 | admin_site_title: "사이트 제목:" 99 | admin_system: "시스템" 100 | admin_cache_driver: "캐시 드라이버" 101 | admin_cache_enabled: "Cache enabled" 102 | admin_cache_lifetime: "케쉬 지속기간" 103 | admin_cache_prefix: "경칭" 104 | admin_charset: "문자코드" 105 | admin_date_format: "날짜 형식" 106 | admin_date_display_format: "Display date format" 107 | admin_errors_display: "오류 표시" 108 | admin_locale: "로케일" 109 | admin_entry_main: "Main entry" 110 | admin_timezone: "시간대" 111 | admin_username: "사용자이름" 112 | admin_id: "ID" 113 | admin_create_user: "사용자 만들기" 114 | admin_create_new_user: "사용자 새로만들기" 115 | admin_web_server: "2U 웹서버" 116 | admin_web_server_php_interface: "WebServer to PHP Interface" 117 | admin_create_new_category: "Create New Category" 118 | admin_delete_category: "Delete Category" 119 | admin_create_new_item: "Create New Item" 120 | admin_delete: "Delete" 121 | admin_order: "Order" 122 | admin_edit_category: "Edit category" 123 | admin_duplicate: "Duplicate" 124 | admin_summary: "Summary" 125 | admin_snippet: "Snippet" 126 | admin_type: "Type" 127 | admin_clone: "Clone" 128 | admin_message_entry_duplicated: "Entry duplicated" 129 | admin_message_entry_was_not_duplicated: "Entry was not duplicated" 130 | admin_message_cache_files_deleted: "Cache files deleted" 131 | admin_message_entry_changes_saved: "Changes successfully saved" 132 | admin_message_entry_changes_not_saved: "Changes not saved" 133 | admin_message_entry_cloned: "Entry cloned" 134 | admin_message_entry_created: "Entry created" 135 | admin_message_entry_was_not_created: "Entry was not created" 136 | admin_message_entry_deleted: "Entry deleted" 137 | admin_message_entry_was_not_renamed: "Entry was not renamed" 138 | admin_message_entry_was_not_deleted: "Entry was not deleted" 139 | admin_message_entry_file_deleted: "File successfully deleted" 140 | admin_message_entry_file_uploaded: "File successfully uploaded" 141 | admin_message_entry_file_not_uploaded: "File was not uploaded" 142 | admin_message_entry_moved: "Entry moved" 143 | admin_message_entry_was_not_moved: "Entry was not moved" 144 | admin_message_entry_renamed: "Entry renamed" 145 | admin_message_settings_saved: "Settings saved" 146 | admin_message_settings_was_not_saved: "Settings was not saved" 147 | admin_message_wrong_username_password: "Wrong username or password" 148 | admin_message_plugin_settings_saved: "Plugin settings saved" 149 | admin_message_plugin_settings_not_saved: "Plugin settings was not saved" 150 | admin_quality: "Quality" 151 | admin_width: "Width" 152 | admin_height: "Height" 153 | admin_accept_file_types: "Accept file types" 154 | admin_embeded_code: "Embeded Code" 155 | admin_shortcode: "Shortcode" 156 | admin_php_code: "PHP Code" 157 | admin_choose_files_to_upload: "Choose file" 158 | admin_browse_files: "Browse" 159 | admin_copy: "Copy" 160 | admin_admin_panel: "Admin Panel" 161 | admin_light: "Light" 162 | admin_dark: "Dark" 163 | admin_name: "Name" 164 | admin_hide: "Hide" 165 | admin_api: "API" 166 | admin_memcached_server: "Memcached Server" 167 | admin_memcached_port: "Memcached Port" 168 | admin_redis_socket: "Redis Socket" 169 | admin_redis_password: "Redis Password" 170 | admin_redis_server: "Redis Server" 171 | admin_redis_port: "Redis Port" 172 | admin_sqlite3_database: "SQLite3 Database" 173 | admin_sqlite3_table: "SQLite3 Table" 174 | admin_error_name_empty_input: "Name has to be an alphanumeric value (from 1 chars)" 175 | admin_error_title_empty_input: "Title has to be an alphanumeric value (from 1 chars)" 176 | admin_error_icon_empty_input: "Icon has to be an alphanumeric value (from 1 chars)" 177 | admin_help_text_for_tokens_label: "Token label shown in the Admin Panel." 178 | admin_help_text_for_snippets_name: "Snippets unique name in lowercase chars only." 179 | admin_entries_visible: "Visible" 180 | admin_entries_draft: "Draft" 181 | admin_entries_hidden: "Hidden" 182 | admin_menu_item_title: "Title" 183 | admin_menu_item_url: "Url" 184 | admin_menu_item_target: "Target" 185 | admin_menu_item_order: "Order" 186 | admin_template_code: "Template code" 187 | admin_you_have_no_api_tokens_yet: "You haven't created any api tokens yet!" 188 | admin_you_have_not_created_any_entries_yet: "You haven't created any entries yet!" 189 | admin_twig_auto_reload: "Auto reload" 190 | admin_display_error_details: "Display error details" 191 | admin_add_content_length_header: "Add content length header" 192 | admin_router_cache_file: "Route cache file" 193 | admin_determine_route_before_app_middleware: "Determine route before app middleware" 194 | admin_output_buffering: "Output buffering" 195 | admin_response_chunk_size: "Response chunk size" 196 | admin_http_version: "HTTP Version" 197 | admin_image_driver: "Image driver" 198 | admin_whoops_editor: "Whoops editor" 199 | admin_whoops_page_title: "Whoops page title" 200 | admin_editor: "Editor" 201 | admin_tools: "Tools" 202 | admin_size: "Size" 203 | admin_clear: "Clear" 204 | admin_clear_cache_all: "Clear All" 205 | admin_registry: "Registry" 206 | admin_key: "Key" 207 | admin_value: "Value" 208 | admin_activate: "Activate" 209 | admin_deactivate: "Deactivate" 210 | admin_images: "Images" 211 | admin_data: "Data" 212 | admin_slim: "Slim" 213 | admin_slugify: "Slug" 214 | admin_entries_limit: "Entries limit" 215 | admin_slug: "Slug" 216 | admin_slugify_separator: "Separator" 217 | admin_slugify_lowercase: "Lowercase" 218 | admin_slugify_trim: "Trim" 219 | admin_slugify_strip_tags: "Strip tags" 220 | admin_slugify_lowercase_after_regexp: "Lowercase after regexp" 221 | admin_slugify_regexp: "Regexp" 222 | admin_gallery_img: "Gallery Image" 223 | admin_tags: "Tags" 224 | admin_twig_templating: "Twig Templating" 225 | admin_twig_debug: "Debug" 226 | admin_twig_charset: "Charset" 227 | admin_twig_cache: "Cache" 228 | admin_published_at: "Published at" 229 | admin_licence: "Licence" 230 | admin_plugin: "Plugin" 231 | admin_icon: "Icon" 232 | admin_menu: "Menu" 233 | admin_seo: "Seo" 234 | admin_main: "Main" 235 | admin_file: "File" 236 | admin_you_have_no_plugins: "You have no plugins" 237 | admin_help_text_for_settings_site_title_label: "Title for your site." 238 | admin_help_text_for_settings_site_robots_label: "Robots settings for your site." 239 | admin_help_text_for_settings_site_keywords_label: "Keywords for your site." 240 | admin_help_text_for_settings_site_description_label: "Description for your site." 241 | admin_help_text_for_settings_site_author_name_label: "Author name for your site." 242 | admin_help_text_for_settings_site_author_email_label: "Author email for your site." 243 | admin_help_text_for_settings_content_main_entry_label: "Entry that Flextype will use as the default landing page." 244 | admin_help_text_for_settings_content_timezone_label: "Timezone you want your site to operate under." 245 | admin_help_text_for_settings_content_date_format_label: "Date format used by Flextype." 246 | admin_help_text_for_settings_content_display_date_format_label: "Display date format used by Flextype." 247 | admin_help_text_for_settings_content_character_label: "Internal character encoding." 248 | admin_help_text_for_settings_content_locale_label: "Locale that'll be used by the Flextype." 249 | admin_help_text_for_settings_media_image_quality_label: "Image quality. Use values between 0 and 100." 250 | admin_help_text_for_settings_media_image_width_label: "Image width in pixels." 251 | admin_help_text_for_settings_media_image_height_label: "Image height in pixels." 252 | admin_help_text_for_settings_media_accept_file_types_label: "List of accept file types." 253 | admin_help_text_for_settings_image_driver_label: "Image driver. In some cases ImageMagick can be faster, but isn't available on all servers." 254 | admin_help_text_for_settings_twig_templating_debug_label: "Enable or disable Twig debug mode." 255 | admin_help_text_for_settings_twig_templating_cache_label: "Set to true to enable Twig caching." 256 | admin_help_text_for_settings_twig_templating_autoreload_label: "Refresh cache on changes." 257 | admin_help_text_for_settings_twig_templating_charset_label: "Templates charset." 258 | admin_help_text_for_settings_errors_display_label: "Display errors." 259 | admin_help_text_for_settings_errors_display_datails_label: "Display errors details." 260 | admin_help_text_for_settings_errors_whoops_editor_label: "Whoops editor." 261 | admin_help_text_for_settings_errors_whoops_page_title_label: "Whoops page title." 262 | admin_help_text_for_entry_label: "Entry title." 263 | admin_help_text_for_entry_name: "Entry unique name in lowercase chars only." 264 | admin_help_text_for_entry_type: "Entry type based on Fieldset." 265 | admin_message_fieldset_not_found: "Fieldset not found" 266 | admin_create_and_edit: "Create & Edit" 267 | admin_you_have_not_created_any_api_tokens_yet: "You haven't created any API's tokens yet!" 268 | admin_api_calls_limit: "API Calls limit" 269 | admin_help_text_for_api_calls_limit_label: "Limits for API Calls. Leave 0 for unlimited API Calls." 270 | admin_error_api_calls_empty_input: "API Calls limit has to be an numeric value." 271 | admin_help_text_for_api_token_icon: "API Token valid :link icon class." 272 | admin_state: "State" 273 | admin_help_text_for_settings_twig_extensions_label: "Twig Extensions to load." 274 | admin_twig_extensions: "Twig extensions" 275 | admin_help_text_for_settings_shortcodes_extensions_label: "Shortcodes Extensions to load." 276 | admin_shortcodes_extensions: "Shortcodes extensions" 277 | admin_created_at: "Created at" 278 | admin_updated_at: "Updated at" 279 | admin_you_have_not_created_any_fieldsets_yet: "You haven't created any Fieldset yet!" 280 | admin_create_new_fieldset: "Create New Fieldset" 281 | admin_token: "Token" 282 | admin_calls: "Calls" 283 | admin_yes_iam_sure: "Yes, I'm sure" 284 | admin_author: "Author" 285 | admin_files: "Files" 286 | admin_folders: "Folders" 287 | admin_system_settings: "System Settings" 288 | admin_you_have_not_created_any_entries_api_tokens_yet: "You haven't created any Entries tokens yet!" 289 | admin_you_have_not_created_any_files_api_tokens_yet: "You haven't created any Files tokens yet!" 290 | admin_you_have_not_created_any_folders_api_tokens_yet: "You haven't created Folders tokens yet!" 291 | admin_create_new_token: "Create New Token" 292 | admin_confirmation_required: "Confirmation Required" 293 | admin_confirmation_required_for_entry_delete: "Are you sure you want to delete this entry and all its children?" 294 | admin_confirmation_required_for_deactivate_plugin: "Are you sure you want to deactivate this plugin?" 295 | admin_message_entries_api_token_updated: "Token for entries updated." 296 | admin_message_entries_api_token_was_not_updated: "Token for entries was not updated." 297 | admin_message_entries_api_token_created: "Token for entries created." 298 | admin_message_entries_api_token_was_not_created: "Token for entries was not created." 299 | admin_message_entries_api_token_deleted: "Token for entries deleted." 300 | admin_message_entries_api_token_was_not_deleted: "Token for entries was not deleted." 301 | admin_confirmation_required_for_entries_token_delete: "Are you sure you want to delete this token for entries?" 302 | admin_you_have_not_created_any_images_api_tokens_yet: "You haven't created any Images tokens yet!" 303 | admin_you_have_not_created_any_registry_api_tokens_yet: "You haven't created any Registry tokens yet!" 304 | admin_message_registry_api_token_updated: "Token for registry updated." 305 | admin_message_registry_api_token_was_not_updated: "Token for registry was not updated." 306 | admin_message_registry_api_token_created: "Token for registry created." 307 | admin_message_registry_api_token_was_not_created: "Token for registry was not created." 308 | admin_message_registry_api_token_deleted: "Token for registry deleted." 309 | admin_message_registry_api_token_was_not_deleted: "Token for registry was not deleted." 310 | admin_confirmation_required_for_registry_token_delete: "Are you sure you want to delete this token for registry?" 311 | admin_confirmation_required_for_images_token_delete: "Are you sure you want to delete this token for images?" 312 | admin_message_images_api_token_updated: "Images token updated." 313 | admin_message_images_api_token_was_not_updated: "Images token was not updated." 314 | admin_message_images_api_token_created: "Images token created." 315 | admin_message_images_api_token_was_not_created: "Images token was not created." 316 | admin_message_images_api_token_deleted: "Images token deleted." 317 | admin_message_images_api_token_was_not_deleted: "Images token was not deleted." 318 | admin_confirmation_required_for_access_token_delete: "Are you sure you want to delete this access token ?" 319 | admin_confirmation_required_for_files_token_delete: "Are you sure you want to delete this token for files?" 320 | admin_message_files_api_token_updated: "Files token updated." 321 | admin_message_files_api_token_was_not_updated: "Files token was not updated." 322 | admin_message_files_api_token_created: "Files token created." 323 | admin_message_files_api_token_was_not_created: "Files token was not created." 324 | admin_message_files_api_token_deleted: "Files token deleted." 325 | admin_message_files_api_token_was_not_deleted: "Files token was not deleted." 326 | admin_confirmation_required_for_folders_token_delete: "Are you sure you want to delete this token for folders?" 327 | admin_message_folders_api_token_updated: "Folders token updated." 328 | admin_message_folders_api_token_was_not_updated: "Folders token was not updated." 329 | admin_message_folders_api_token_created: "Folders token created." 330 | admin_message_folders_api_token_was_not_created: "Folders token was not created." 331 | admin_message_folders_api_token_deleted: "Folders token deleted." 332 | admin_message_folders_api_token_was_not_deleted: "Folders token was not deleted." 333 | admin_message_access_api_token_updated: "Access token updated." 334 | admin_message_access_api_token_was_not_updated: "Access token was not updated." 335 | admin_message_access_api_token_created: "Access token created." 336 | admin_message_access_api_token_was_not_created: "Access token was not created." 337 | admin_message_access_api_token_deleted: "Access token deleted." 338 | admin_message_access_api_token_was_not_deleted: "Access token was not deleted." 339 | admin_access: "Access" 340 | admin_edit_token: "Edit Token" 341 | admin_you_have_not_created_any_access_api_tokens_yet: "You haven't created any Access tokens yet!" 342 | admin_installation_username_tip: "Lowercase chars only, e.g. admin" 343 | admin_installation_email_tip: "Valid email address" 344 | admin_installation_password_tip: "The password must have at least 8 characters, contain uppercase letters, lowercase letters, special characters and numbers." 345 | admin_direct_link: "Direct Link" 346 | admin_images_api_link: "Images Api Link" 347 | admin_confirmation_required_for_file_delete: "Are you sure you want to delete this file?" 348 | admin_you_have_not_upload_any_files_yet: "You have not upload any files yet." 349 | admin_selected_file: "Selected file" 350 | admin_select_file: "Select file" 351 | accounts_admin_you_have_no_acccounts: "You have no accounts" 352 | admin_changelog: "Changelog" 353 | admin_preflight: "Preflight" 354 | admin_icon_name: "Icon name" 355 | admin_icon_set: "Icon set" 356 | -------------------------------------------------------------------------------- /lang/zh_CN.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | admin: "管理员" 3 | admin_welcome: "Welcome" 4 | admin_create_new_user_welcome: "To finish setup and secure your site, please create the first user by entering the necessary information below." 5 | admin_cancel: "取消" 6 | admin_create: "创建" 7 | admin_debugging: "调试" 8 | admin_email: "电子邮箱" 9 | admin_flextype_version: "Flextype 版本" 10 | admin_information: "概述" 11 | admin_installed: "已安装" 12 | admin_keywords: "关键词" 13 | admin_documentation: "文档" 14 | admin_memcache_server: "Memcache 服务器" 15 | admin_memcache_port: "Memcache 端口" 16 | admin_login: "登录" 17 | admin_entries: "项目" 18 | admin_extends: "扩展" 19 | admin_plugins: "插件" 20 | admin_help: "帮助" 21 | admin_templates: "Templates" 22 | admin_getting_help: "获取帮助" 23 | admin_message_json_invalid: "无效的 JSON" 24 | admin_logout: "退出登录" 25 | admin_profile: "个人资料" 26 | admin_view_site: "查看网站" 27 | admin_snippets: "代码块" 28 | admin_not_installed: "未安装" 29 | admin_select_entry_type: "Select Entry Type" 30 | admin_off: "Off" 31 | admin_on: "On" 32 | admin_add: "添加" 33 | admin_routable: "Routable" 34 | admin_yes: "Yes" 35 | admin_no: "No" 36 | admin_entry_attributes: "条目属性" 37 | admin_fieldset_for_template: "模板字段集" 38 | admin_content: "内容" 39 | admin_create_new_entry: "创建新条目" 40 | admin_date: "日期" 41 | admin_draft: "草稿" 42 | admin_edit: "编辑" 43 | admin_blocks: "块" 44 | admin_media: "媒体和附件" 45 | admin_settings: "设置" 46 | admin_entry: "Entry" 47 | admin_source: "Source" 48 | admin_upload: "上传" 49 | admin_hidden: "隐藏" 50 | admin_image_preview: "图像预览" 51 | admin_move: "移动" 52 | admin_parent_entry: "Entry parent" 53 | admin_preview: "预览" 54 | admin_publish: "发布" 55 | admin_rename: "重命名" 56 | admin_save_entry: "保存项目" 57 | admin_title: "标题" 58 | admin_url: "链接" 59 | admin_view: "查看" 60 | admin_visibility: "可见性" 61 | admin_visible: "Visible" 62 | admin_password: "密码" 63 | admin_php_built_on: "PHP Built On" 64 | admin_php_version: "PHP 版本" 65 | admin_author_url: "作者网址" 66 | admin_bugs: "Bugs" 67 | admin_description: "描述" 68 | admin_get_more_plugins: "获取更多插件" 69 | admin_homepage: "首页" 70 | admin_info: "Info" 71 | admin_license: "License" 72 | admin_status: "Status" 73 | admin_disabled: "disabled" 74 | admin_enabled: "enabled" 75 | admin_version: "Version" 76 | admin_role: "Role" 77 | admin_save: "Save" 78 | admin_security_check_results: "Security check results" 79 | admin_security_check_results_debug: "开启 DISPLAY ERRORS 可能给入侵者提供信息,为了网站的安全,我们强烈建议在生产系统中将 DISPLAY ERRORS 关闭." 80 | admin_security_check_results_htaccess: "发现 Flextype .htaccess 文件权限为可写. 我们强烈建议您删除它的所有写权限.
你可以在 Unix 系统上执行: chmod a-w :文件路径" 81 | admin_security_check_results_index: "发现 Flextype index.php 文件权限为可写. 我们强烈建议您删除它的所有写权限.
你可以在 Unix 系统上执行: chmod a-w :文件路径" 82 | admin_server: "Server" 83 | admin_site: "Site" 84 | admin_clear_cache: "清除缓存" 85 | admin_error404_title: "Error404 entry title" 86 | admin_error404_description: "Error404 entry description" 87 | admin_error404_content: "Error404 entry content" 88 | admin_error404_template: "Error404 entry template" 89 | admin_heading: "Settings" 90 | admin_general: "General" 91 | admin_error_404_page: "错误 404 页" 92 | admin_cache: "缓存" 93 | admin_author_email: "作者邮箱" 94 | admin_author_name: "作者名" 95 | admin_site_description: "站点描述" 96 | admin_site_keywords: "网站关键字" 97 | admin_site_robots: "搜索引擎抓取规则Robots" 98 | admin_site_title: "网站标题" 99 | admin_system: "System" 100 | admin_cache_driver: "Cache driver" 101 | admin_cache_enabled: "Cache enabled" 102 | admin_cache_lifetime: "Cache lifetime" 103 | admin_cache_prefix: "Cache prefix" 104 | admin_charset: "Charset" 105 | admin_date_format: "Date format" 106 | admin_date_display_format: "Display date format" 107 | admin_errors_display: "Display errors" 108 | admin_locale: "Locale" 109 | admin_entry_main: "Main entry" 110 | admin_timezone: "Timezone" 111 | admin_username: "Username" 112 | admin_id: "ID" 113 | admin_create_user: "Create User" 114 | admin_create_new_user: "Create New User" 115 | admin_web_server: "Web Server" 116 | admin_web_server_php_interface: "WebServer to PHP Interface" 117 | admin_create_new_category: "Create New Category" 118 | admin_delete_category: "Delete Category" 119 | admin_create_new_item: "Create New Item" 120 | admin_delete: "Delete" 121 | admin_order: "Order" 122 | admin_edit_category: "Edit category" 123 | admin_duplicate: "Duplicate" 124 | admin_summary: "概览" 125 | admin_snippet: "Snippet" 126 | admin_type: "Type" 127 | admin_clone: "Clone" 128 | admin_message_entry_duplicated: "Entry duplicated" 129 | admin_message_entry_was_not_duplicated: "Entry was not duplicated" 130 | admin_message_cache_files_deleted: "Cache files deleted" 131 | admin_message_entry_changes_saved: "Changes successfully saved" 132 | admin_message_entry_changes_not_saved: "Changes not saved" 133 | admin_message_entry_cloned: "Entry cloned" 134 | admin_message_entry_created: "Entry created" 135 | admin_message_entry_was_not_created: "Entry was not created" 136 | admin_message_entry_deleted: "Entry deleted" 137 | admin_message_entry_was_not_renamed: "Entry was not renamed" 138 | admin_message_entry_was_not_deleted: "Entry was not deleted" 139 | admin_message_entry_file_deleted: "File successfully deleted" 140 | admin_message_entry_file_uploaded: "File successfully uploaded" 141 | admin_message_entry_file_not_uploaded: "File was not uploaded" 142 | admin_message_entry_moved: "Entry moved" 143 | admin_message_entry_was_not_moved: "Entry was not moved" 144 | admin_message_entry_renamed: "Entry renamed" 145 | admin_message_settings_saved: "Settings saved" 146 | admin_message_settings_was_not_saved: "Settings was not saved" 147 | admin_message_wrong_username_password: "Wrong username or password" 148 | admin_message_plugin_settings_saved: "Plugin settings saved" 149 | admin_message_plugin_settings_not_saved: "Plugin settings was not saved" 150 | admin_quality: "Quality" 151 | admin_width: "Width" 152 | admin_height: "Height" 153 | admin_accept_file_types: "Accept file types" 154 | admin_embeded_code: "Embeded Code" 155 | admin_shortcode: "Shortcode" 156 | admin_php_code: "PHP Code" 157 | admin_choose_files_to_upload: "Choose file" 158 | admin_browse_files: "Browse" 159 | admin_copy: "Copy" 160 | admin_admin_panel: "Admin Panel" 161 | admin_light: "Light" 162 | admin_dark: "Dark" 163 | admin_name: "Name" 164 | admin_hide: "Hide" 165 | admin_api: "API" 166 | admin_memcached_server: "Memcached Server" 167 | admin_memcached_port: "Memcached Port" 168 | admin_redis_socket: "Redis Socket" 169 | admin_redis_password: "Redis Password" 170 | admin_redis_server: "Redis Server" 171 | admin_redis_port: "Redis Port" 172 | admin_sqlite3_database: "SQLite3 Database" 173 | admin_sqlite3_table: "SQLite3 Table" 174 | admin_error_name_empty_input: "Name has to be an alphanumeric value (from 1 chars)" 175 | admin_error_title_empty_input: "Title has to be an alphanumeric value (from 1 chars)" 176 | admin_error_icon_empty_input: "Icon has to be an alphanumeric value (from 1 chars)" 177 | admin_help_text_for_tokens_label: "Token label shown in the Admin Panel." 178 | admin_help_text_for_snippets_name: "Snippets unique name in lowercase chars only." 179 | admin_entries_visible: "Visible" 180 | admin_entries_draft: "Draft" 181 | admin_entries_hidden: "Hidden" 182 | admin_menu_item_title: "Title" 183 | admin_menu_item_url: "Url" 184 | admin_menu_item_target: "Target" 185 | admin_menu_item_order: "Order" 186 | admin_template_code: "Template code" 187 | admin_you_have_no_api_tokens_yet: "You haven't created any api tokens yet!" 188 | admin_you_have_not_created_any_entries_yet: "You haven't created any entries yet!" 189 | admin_twig_auto_reload: "Auto reload" 190 | admin_display_error_details: "Display error details" 191 | admin_add_content_length_header: "Add content length header" 192 | admin_router_cache_file: "Route cache file" 193 | admin_determine_route_before_app_middleware: "Determine route before app middleware" 194 | admin_output_buffering: "Output buffering" 195 | admin_response_chunk_size: "Response chunk size" 196 | admin_http_version: "HTTP Version" 197 | admin_image_driver: "Image driver" 198 | admin_whoops_editor: "Whoops editor" 199 | admin_whoops_page_title: "Whoops page title" 200 | admin_editor: "Editor" 201 | admin_tools: "Tools" 202 | admin_size: "Size" 203 | admin_clear: "Clear" 204 | admin_clear_cache_all: "Clear All" 205 | admin_registry: "Registry" 206 | admin_key: "Key" 207 | admin_value: "Value" 208 | admin_activate: "Activate" 209 | admin_deactivate: "Deactivate" 210 | admin_images: "Images" 211 | admin_data: "Data" 212 | admin_slim: "Slim" 213 | admin_slugify: "Slug" 214 | admin_entries_limit: "Entries limit" 215 | admin_slug: "Slug" 216 | admin_slugify_separator: "Separator" 217 | admin_slugify_lowercase: "Lowercase" 218 | admin_slugify_trim: "Trim" 219 | admin_slugify_strip_tags: "Strip tags" 220 | admin_slugify_lowercase_after_regexp: "Lowercase after regexp" 221 | admin_slugify_regexp: "Regexp" 222 | admin_gallery_img: "Gallery Image" 223 | admin_tags: "Tags" 224 | admin_twig_templating: "Twig Templating" 225 | admin_twig_debug: "Debug" 226 | admin_twig_charset: "Charset" 227 | admin_twig_cache: "Cache" 228 | admin_published_at: "Published at" 229 | admin_licence: "Licence" 230 | admin_plugin: "Plugin" 231 | admin_icon: "Icon" 232 | admin_menu: "Menu" 233 | admin_seo: "Seo" 234 | admin_main: "Main" 235 | admin_file: "File" 236 | admin_you_have_no_plugins: "You have no plugins" 237 | admin_help_text_for_settings_site_title_label: "Title for your site." 238 | admin_help_text_for_settings_site_robots_label: "Robots settings for your site." 239 | admin_help_text_for_settings_site_keywords_label: "Keywords for your site." 240 | admin_help_text_for_settings_site_description_label: "Description for your site." 241 | admin_help_text_for_settings_site_author_name_label: "Author name for your site." 242 | admin_help_text_for_settings_site_author_email_label: "Author email for your site." 243 | admin_help_text_for_settings_content_main_entry_label: "Entry that Flextype will use as the default landing page." 244 | admin_help_text_for_settings_content_timezone_label: "Timezone you want your site to operate under." 245 | admin_help_text_for_settings_content_date_format_label: "Date format used by Flextype." 246 | admin_help_text_for_settings_content_display_date_format_label: "Display date format used by Flextype." 247 | admin_help_text_for_settings_content_character_label: "Internal character encoding." 248 | admin_help_text_for_settings_content_locale_label: "Locale that'll be used by the Flextype." 249 | admin_help_text_for_settings_media_image_quality_label: "Image quality. Use values between 0 and 100." 250 | admin_help_text_for_settings_media_image_width_label: "Image width in pixels." 251 | admin_help_text_for_settings_media_image_height_label: "Image height in pixels." 252 | admin_help_text_for_settings_media_accept_file_types_label: "List of accept file types." 253 | admin_help_text_for_settings_image_driver_label: "Image driver. In some cases ImageMagick can be faster, but isn't available on all servers." 254 | admin_help_text_for_settings_twig_templating_debug_label: "Enable or disable Twig debug mode." 255 | admin_help_text_for_settings_twig_templating_cache_label: "Set to true to enable Twig caching." 256 | admin_help_text_for_settings_twig_templating_autoreload_label: "Refresh cache on changes." 257 | admin_help_text_for_settings_twig_templating_charset_label: "Templates charset." 258 | admin_help_text_for_settings_errors_display_label: "Display errors." 259 | admin_help_text_for_settings_errors_display_datails_label: "Display errors details." 260 | admin_help_text_for_settings_errors_whoops_editor_label: "Whoops editor." 261 | admin_help_text_for_settings_errors_whoops_page_title_label: "Whoops page title." 262 | admin_help_text_for_entry_label: "Entry title." 263 | admin_help_text_for_entry_name: "Entry unique name in lowercase chars only." 264 | admin_help_text_for_entry_type: "Entry type based on Fieldset." 265 | admin_message_fieldset_not_found: "Fieldset not found" 266 | admin_create_and_edit: "Create & Edit" 267 | admin_you_have_not_created_any_api_tokens_yet: "You haven't created any API's tokens yet!" 268 | admin_api_calls_limit: "API Calls limit" 269 | admin_help_text_for_api_calls_limit_label: "Limits for API Calls. Leave 0 for unlimited API Calls." 270 | admin_error_api_calls_empty_input: "API Calls limit has to be an numeric value." 271 | admin_help_text_for_api_token_icon: "API Token valid :link icon class." 272 | admin_state: "State" 273 | admin_help_text_for_settings_twig_extensions_label: "Twig Extensions to load." 274 | admin_twig_extensions: "Twig extensions" 275 | admin_help_text_for_settings_shortcodes_extensions_label: "Shortcodes Extensions to load." 276 | admin_shortcodes_extensions: "Shortcodes extensions" 277 | admin_created_at: "Created at" 278 | admin_updated_at: "Updated at" 279 | admin_you_have_not_created_any_fieldsets_yet: "You haven't created any Fieldset yet!" 280 | admin_create_new_fieldset: "Create New Fieldset" 281 | admin_token: "Token" 282 | admin_calls: "Calls" 283 | admin_yes_iam_sure: "Yes, I'm sure" 284 | admin_author: "Author" 285 | admin_files: "Files" 286 | admin_folders: "Folders" 287 | admin_system_settings: "System Settings" 288 | admin_you_have_not_created_any_entries_api_tokens_yet: "You haven't created any Entries tokens yet!" 289 | admin_you_have_not_created_any_files_api_tokens_yet: "You haven't created any Files tokens yet!" 290 | admin_you_have_not_created_any_folders_api_tokens_yet: "You haven't created Folders tokens yet!" 291 | admin_create_new_token: "Create New Token" 292 | admin_confirmation_required: "Confirmation Required" 293 | admin_confirmation_required_for_entry_delete: "Are you sure you want to delete this entry and all its children?" 294 | admin_confirmation_required_for_deactivate_plugin: "Are you sure you want to deactivate this plugin?" 295 | admin_message_entries_api_token_updated: "Token for entries updated." 296 | admin_message_entries_api_token_was_not_updated: "Token for entries was not updated." 297 | admin_message_entries_api_token_created: "Token for entries created." 298 | admin_message_entries_api_token_was_not_created: "Token for entries was not created." 299 | admin_message_entries_api_token_deleted: "Token for entries deleted." 300 | admin_message_entries_api_token_was_not_deleted: "Token for entries was not deleted." 301 | admin_confirmation_required_for_entries_token_delete: "Are you sure you want to delete this token for entries?" 302 | admin_you_have_not_created_any_images_api_tokens_yet: "You haven't created any Images tokens yet!" 303 | admin_you_have_not_created_any_registry_api_tokens_yet: "You haven't created any Registry tokens yet!" 304 | admin_message_registry_api_token_updated: "Token for registry updated." 305 | admin_message_registry_api_token_was_not_updated: "Token for registry was not updated." 306 | admin_message_registry_api_token_created: "Token for registry created." 307 | admin_message_registry_api_token_was_not_created: "Token for registry was not created." 308 | admin_message_registry_api_token_deleted: "Token for registry deleted." 309 | admin_message_registry_api_token_was_not_deleted: "Token for registry was not deleted." 310 | admin_confirmation_required_for_registry_token_delete: "Are you sure you want to delete this token for registry?" 311 | admin_confirmation_required_for_images_token_delete: "Are you sure you want to delete this token for images?" 312 | admin_message_images_api_token_updated: "Images token updated." 313 | admin_message_images_api_token_was_not_updated: "Images token was not updated." 314 | admin_message_images_api_token_created: "Images token created." 315 | admin_message_images_api_token_was_not_created: "Images token was not created." 316 | admin_message_images_api_token_deleted: "Images token deleted." 317 | admin_message_images_api_token_was_not_deleted: "Images token was not deleted." 318 | admin_confirmation_required_for_access_token_delete: "Are you sure you want to delete this access token ?" 319 | admin_confirmation_required_for_files_token_delete: "Are you sure you want to delete this token for files?" 320 | admin_message_files_api_token_updated: "Files token updated." 321 | admin_message_files_api_token_was_not_updated: "Files token was not updated." 322 | admin_message_files_api_token_created: "Files token created." 323 | admin_message_files_api_token_was_not_created: "Files token was not created." 324 | admin_message_files_api_token_deleted: "Files token deleted." 325 | admin_message_files_api_token_was_not_deleted: "Files token was not deleted." 326 | admin_confirmation_required_for_folders_token_delete: "Are you sure you want to delete this token for folders?" 327 | admin_message_folders_api_token_updated: "Folders token updated." 328 | admin_message_folders_api_token_was_not_updated: "Folders token was not updated." 329 | admin_message_folders_api_token_created: "Folders token created." 330 | admin_message_folders_api_token_was_not_created: "Folders token was not created." 331 | admin_message_folders_api_token_deleted: "Folders token deleted." 332 | admin_message_folders_api_token_was_not_deleted: "Folders token was not deleted." 333 | admin_message_access_api_token_updated: "Access token updated." 334 | admin_message_access_api_token_was_not_updated: "Access token was not updated." 335 | admin_message_access_api_token_created: "Access token created." 336 | admin_message_access_api_token_was_not_created: "Access token was not created." 337 | admin_message_access_api_token_deleted: "Access token deleted." 338 | admin_message_access_api_token_was_not_deleted: "Access token was not deleted." 339 | admin_access: "Access" 340 | admin_edit_token: "Edit Token" 341 | admin_you_have_not_created_any_access_api_tokens_yet: "You haven't created any Access tokens yet!" 342 | admin_installation_username_tip: "Lowercase chars only, e.g. admin" 343 | admin_installation_email_tip: "Valid email address" 344 | admin_installation_password_tip: "The password must have at least 8 characters, contain uppercase letters, lowercase letters, special characters and numbers." 345 | admin_direct_link: "Direct Link" 346 | admin_images_api_link: "Images Api Link" 347 | admin_confirmation_required_for_file_delete: "Are you sure you want to delete this file?" 348 | admin_you_have_not_upload_any_files_yet: "You have not upload any files yet." 349 | admin_selected_file: "Selected file" 350 | admin_select_file: "Select file" 351 | accounts_admin_you_have_no_acccounts: "You have no accounts" 352 | admin_changelog: "Changelog" 353 | admin_preflight: "Preflight" 354 | admin_icon_name: "Icon name" 355 | admin_icon_set: "Icon set" 356 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Admin", 3 | "version": "2.0.0", 4 | "description": "Admin Plugin for Flextype", 5 | "homepage": "https://flextype.org", 6 | "author": "Sergey Romanenko", 7 | "license": "MIT", 8 | "keywords": [ 9 | "flextype", 10 | "cms", 11 | "flat cms", 12 | "flatfile cms", 13 | "css", 14 | "html" 15 | ], 16 | "bugs": { 17 | "url": "https://github.com/flextype-plugins/admin/issues" 18 | }, 19 | "dependencies": { 20 | "clipboard": "^2.0.8", 21 | "gulp": "^4.0.2", 22 | "gulp-autoprefixer": "^7.0.1", 23 | "gulp-concat": "^2.6.1", 24 | "gulp-csso": "^4.0.1", 25 | "gulp-gzip": "^1.4.2", 26 | "gulp-postcss": "^8.0.0", 27 | "gulp-rename": "^2.0.0", 28 | "gulp-sass": "^4.1.0", 29 | "gulp-size": "^3.0.0", 30 | "node-sass": "^5.0.0", 31 | "postcss-import": "^12.0.0", 32 | "speakingurl": "^14.0.1" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /plugin.php: -------------------------------------------------------------------------------- 1 | get('plugins.admin.settings.route'); 21 | 22 | /** 23 | * Ensure vendor libraries exist 24 | */ 25 | ! is_file($adminAutoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: composer install admin plugin'); 26 | 27 | /** 28 | * Register The Auto Loader 29 | * 30 | * Composer provides a convenient, automatically generated class loader for 31 | * our application. We just need to utilize it! We'll simply require it 32 | * into the script here so that we don't have to worry about manual 33 | * loading any of our classes later on. It feels nice to relax. 34 | * Register The Auto Loader 35 | */ 36 | $adminLoader = require_once $adminAutoload; 37 | 38 | /** 39 | * Include web routes 40 | */ 41 | include_once 'src/admin/routes/web.php'; 42 | 43 | // Set Default Admin locale 44 | I18n::$locale = registry()->get('flextype.settings.locale'); 45 | 46 | // Add Admin Navigation 47 | registry()->set('assets.admin.css.admin', ['project/plugins/admin/assets/dist/css/admin.min.css']); 48 | registry()->set('assets.admin.js.admin', ['project/plugins/admin/assets/dist/js/admin.min.js']); 49 | 50 | 51 | -------------------------------------------------------------------------------- /plugin.yaml: -------------------------------------------------------------------------------- 1 | name: Admin 2 | version: 1.9.1 3 | description: Admin Panel plugin for Flextype. 4 | icon: 5 | name: speedometer2 6 | set: bootstrap 7 | author: 8 | name: Sergey Romanenko 9 | email: sergey.romanenko@flextype.org 10 | url: https://flextype.org 11 | homepage: https://github.com/flextype-plugins/admin 12 | documentation: https://github.com/flextype-plugins/admin 13 | changelog: https://github.com/flextype-plugins/admin/blob/master/CHANGELOG.md 14 | bugs: https://github.com/flextype-plugins/admin/issues 15 | license: MIT 16 | 17 | dependencies: 18 | flextype: 0.9.16 19 | twig: '>=2.0.0' 20 | icon: '>=2.0.0' 21 | form: '>=1.0.0' 22 | form-admin: '>=1.0.0' 23 | jquery: '>=1.0.0' 24 | acl: '>=1.0.0' 25 | accounts-admin: '>=1.0.0' 26 | phpmailer: '>=1.0.0' 27 | -------------------------------------------------------------------------------- /preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flextype-plugins/admin/9e3c18ffbaf6cbd1a7d803764c7846ac6fbc1446/preview.png -------------------------------------------------------------------------------- /settings.yaml: -------------------------------------------------------------------------------- 1 | # enabled: true or false to disable the plugin 2 | enabled: true 3 | 4 | # custom admin pane route 5 | route: admin 6 | 7 | # entries settings 8 | entries: 9 | slugify: true 10 | media: 11 | upload_images_quality: 70 12 | upload_images_width: 1600 13 | upload_images_height: 0 14 | accept_file_types: gif, jpg, jpeg, png, ico, zip, tgz, txt, md, doc, docx, pdf, epub, xls, xlsx, ppt, pptx, mp3, ogg, wav, m4a, mp4, m4v, ogv, wmv, avi, webm, svg 15 | 16 | # plugin priority 17 | priority: 50 18 | 19 | # admin navigation 20 | navigation: 21 | primary: [] 22 | secondary: [] 23 | -------------------------------------------------------------------------------- /src/admin/core/Controllers/DashboardController.php: -------------------------------------------------------------------------------- 1 | visibility = ['draft' => __('admin_entries_draft'), 39 | 'visible' => __('admin_entries_visible'), 40 | 'hidden' => __('admin_entries_hidden')]; 41 | 42 | $this->routable = [true => __('admin_yes'), 43 | false => __('admin_no')]; 44 | } 45 | 46 | /** 47 | * Index page 48 | * 49 | * @param Request $request PSR7 request 50 | * @param Response $response PSR7 response 51 | * 52 | * @return Response 53 | */ 54 | public function index(Request $request, Response $response): Response 55 | { 56 | // Get Query Params 57 | $query = $request->getQueryParams(); 58 | 59 | // Set Entry ID 60 | $query['id'] ??= ''; 61 | 62 | // Get blueprints 63 | $blueprints = []; 64 | foreach(blueprints()->fetch('', ['collection' => true]) as $name => $blueprint) { 65 | if (!empty($blueprint)) { 66 | $blueprints[$name] = $blueprint['title']; 67 | } 68 | } 69 | 70 | // Get entries collection 71 | $entries = []; 72 | $entriesCollection = []; 73 | $entriesCollection = arrays(entries()->fetch($query['id'], ['collection' => true, 'depth' => ['1']])) 74 | ->sortBy('published_at', 'DESC') 75 | ->toArray(); 76 | 77 | foreach ($entriesCollection as $entryID => $entryBody) { 78 | $entries[$entryID] = $entryBody; 79 | if (filesystem()->find()->in(PATH['project'] . '/entries/' . $entryID)->depth('>=1')->depth('<=2')->hasResults()) { 80 | $entries[$entryID]['has_children'] = true; 81 | } 82 | } 83 | 84 | return twig()->render( 85 | $response, 86 | 'plugins/admin/templates/entries/index.html', 87 | [ 88 | 'entries' => $entries, 89 | 'blueprints' => $blueprints, 90 | 'query' => $query, 91 | 'links' => [ 92 | 'content' => [ 93 | 'link' => urlFor('admin.entries.index'), 94 | 'title' => __('admin_entries') 95 | ] 96 | ] 97 | ] 98 | ); 99 | } 100 | 101 | /** 102 | * Create new content page 103 | * 104 | * @param Request $request PSR7 request 105 | * @param Response $response PSR7 response 106 | * 107 | * @return Response 108 | */ 109 | public function add(Request $request, Response $response): Response 110 | { 111 | // Get blueprints 112 | $blueprints = []; 113 | foreach(blueprints()->fetch('', ['collection' => true]) as $name => $blueprint) { 114 | if (!empty($blueprint)) { 115 | $blueprints[$name] = $blueprint['title']; 116 | } 117 | } 118 | 119 | return twig()->render( 120 | $response, 121 | 'plugins/admin/templates/entries/add.html', 122 | [ 123 | 'blueprints' => $blueprints, 124 | 'routable' => $this->routable, 125 | 'visibility' => $this->visibility, 126 | 'query' => $request->getQueryParams(), 127 | 'links' => [ 128 | 'content' => [ 129 | 'link' => urlFor('admin.entries.index'), 130 | 'title' => __('admin_entries') 131 | ] 132 | ] 133 | ] 134 | ); 135 | } 136 | 137 | /** 138 | * Create new content - process 139 | * 140 | * @param Request $request PSR7 request 141 | * @param Response $response PSR7 response 142 | * 143 | * @return Response 144 | */ 145 | public function addProcess(Request $request, Response $response): Response 146 | { 147 | // Get data from POST 148 | $data = $request->getParsedBody(); 149 | 150 | // Process form 151 | $form = blueprints()->form($data)->process(); 152 | 153 | // Check if content exists then try to create content 154 | if (!entries()->has($form->get('fields.id'))) { 155 | if (entries()->create($form->get('fields.id'), $form->copy()->delete('fields.id')->get('fields'))) { 156 | container()->get('flash')->addMessage('success', $form->get('messages.success')); 157 | } else { 158 | container()->get('flash')->addMessage('error', $form->get('messages.error')); 159 | } 160 | } else { 161 | container()->get('flash')->addMessage('error', $form->get('messages.error')); 162 | } 163 | 164 | return $response->withRedirect($form->get('redirect')); 165 | } 166 | 167 | /** 168 | * Move content 169 | * 170 | * @param Request $request PSR7 request 171 | * @param Response $response PSR7 response 172 | * 173 | * @return Response 174 | */ 175 | public function move(Request $request, Response $response): Response 176 | { 177 | // Get Query Params 178 | $query = $request->getQueryParams(); 179 | 180 | // Get content ID 181 | $query['id'] ??= ''; 182 | 183 | // Get current content ID 184 | $entryCurrentID = arraysFromString($query['id'], '/')->last(); 185 | 186 | // Get parrent content ID 187 | $entryParentID = arraysFromString($query['id'], '/')->slice(0, -1)->toString('/'); 188 | 189 | if (empty($entryParentID)) { 190 | $entryParentID = '/'; 191 | } else { 192 | $entries['/'] = '/'; 193 | } 194 | 195 | // Fetch content 196 | $entry = entries()->fetch($query['id'])->toArray(); 197 | 198 | // Get enties 199 | foreach (entries()->fetch('', ['collection' => true, 'find' => ['depth' => '>0'], 'filter' => ['order_by' => ['field' => ['id']]]])->toArray() as $_entry) { 200 | if ($_entry['id'] != $query['id'] && $_entry['id'] != $entryParentID) { 201 | if ($_entry['id'] != '') { 202 | $entries[$_entry['id']] = $_entry['id']; 203 | } else { 204 | $entries[registry()->get('flextype.entry.main')] = registry()->get('flextype.entry.main'); 205 | } 206 | } 207 | } 208 | 209 | return twig()->render( 210 | $response, 211 | 'plugins/admin/templates/entries/move.html', 212 | [ 213 | 'query' => $query, 214 | 'entries' => $entries, 215 | 'entryCurrentID' => $entryCurrentID, 216 | 'entryParentID' => $entryParentID, 217 | 'links' => [ 218 | 'content' => [ 219 | 'link' => urlFor('admin.entries.index'), 220 | 'title' => __('admin_entries') 221 | ] 222 | ] 223 | ] 224 | ); 225 | } 226 | 227 | /** 228 | * Move content - process 229 | * 230 | * @param Request $request PSR7 request 231 | * @param Response $response PSR7 response 232 | * 233 | * @return Response 234 | */ 235 | public function moveProcess(Request $request, Response $response) 236 | { 237 | // Get data from POST 238 | $data = $request->getParsedBody(); 239 | 240 | // Process form 241 | $form = blueprints()->form($data)->process(); 242 | 243 | if (!entries()->has(strings($form->get('fields.to') . '/' . $form->get('fields.content_current_id'))->trim('/')->toString())) { 244 | if (entries()->move( 245 | $form->get('fields.id'), 246 | strings($form->get('fields.to') . '/' . $form->get('fields.content_current_id'))->trim('/')->toString() 247 | )) { 248 | container()->get('flash')->addMessage('success', $form->get('messages.success')); 249 | } else { 250 | container()->get('flash')->addMessage('error', $form->get('messages.error')); 251 | } 252 | } else { 253 | container()->get('flash')->addMessage('error', $form->get('messages.error')); 254 | } 255 | 256 | return $response->withRedirect($form->get('redirect')); 257 | } 258 | 259 | /** 260 | * Rename content 261 | * 262 | * @param Request $request PSR7 request 263 | * @param Response $response PSR7 response 264 | * 265 | * @return Response 266 | */ 267 | public function rename(Request $request, Response $response): Response 268 | { 269 | // Get Query Params 270 | $query = $request->getQueryParams(); 271 | 272 | // Set content ID 273 | $query['id'] ??= ''; 274 | 275 | return twig()->render( 276 | $response, 277 | 'plugins/admin/templates/entries/rename.html', 278 | [ 279 | 'query' => $query, 280 | 'links' => [ 281 | 'content' => [ 282 | 'link' => urlFor('admin.entries.index'), 283 | 'title' => __('admin_entries') 284 | ] 285 | ] 286 | ] 287 | ); 288 | } 289 | 290 | /** 291 | * Rename content - process 292 | * 293 | * @param Request $request PSR7 request 294 | * @param Response $response PSR7 response 295 | * 296 | * @return Response 297 | */ 298 | public function renameProcess(Request $request, Response $response): Response 299 | { 300 | // Get data from POST 301 | $data = $request->getParsedBody(); 302 | 303 | // Process form 304 | $form = blueprints()->form($data)->process(); 305 | 306 | if (entries()->move( 307 | $form->get('fields.id'), 308 | $form->get('fields.new_id')) 309 | ) { 310 | container()->get('flash')->addMessage('success', $form->get('messages.success')); 311 | } else { 312 | container()->get('flash')->addMessage('error', $form->get('messages.error')); 313 | } 314 | 315 | return $response->withRedirect($form->get('redirect')); 316 | } 317 | 318 | /** 319 | * Delete content - process 320 | * 321 | * @param Request $request PSR7 request 322 | * @param Response $response PSR7 response 323 | * 324 | * @return Response 325 | */ 326 | public function deleteProcess(Request $request, Response $response): Response 327 | { 328 | // Get data from POST 329 | $data = $request->getParsedBody(); 330 | 331 | $id = $data['id']; 332 | $contentCurrentID = $data['id-current']; 333 | 334 | if (entries()->delete($id)) { 335 | container()->get('flash')->addMessage('success', __('admin_message_entries_deleted')); 336 | } else { 337 | container()->get('flash')->addMessage('error', __('admin_message_entries_was_not_deleted')); 338 | } 339 | 340 | return $response->withRedirect(urlFor('admin.entries.index') . '?id=' . $contentCurrentID); 341 | } 342 | 343 | /** 344 | * Duplicate content - process 345 | * 346 | * @param Request $request PSR7 request 347 | * @param Response $response PSR7 response 348 | * 349 | * @return Response 350 | */ 351 | public function duplicateProcess(Request $request, Response $response): Response 352 | { 353 | // Get data from POST 354 | $data = $request->getParsedBody(); 355 | 356 | // Get ID, parentID and newID 357 | $id = $data['id']; 358 | $parentID = arraysFromString($id, '/')->slice(0, -1)->toString('/'); 359 | $newID = $id . '-copy-' . date("Ymd-His"); 360 | 361 | // Get current content title, copy current content and update title for new content 362 | $title = entries()->fetch($id)['title']; 363 | entries()->copy($id, $newID, true); 364 | entries()->update($newID, ['title' => $title . ' copy']); 365 | 366 | container()->get('flash')->addMessage('success', __('admin_message_entries_duplicated')); 367 | 368 | return $response->withRedirect(urlFor('admin.entries.index') . '?id=' . $parentID); 369 | } 370 | 371 | /** 372 | * Edit content 373 | * 374 | * @param Request $request PSR7 request 375 | * @param Response $response PSR7 response 376 | * 377 | * @return Response 378 | */ 379 | public function edit(Request $request, Response $response): Response 380 | { 381 | // Get Query Params 382 | $query = $request->getQueryParams(); 383 | 384 | // Set content ID 385 | $query['id'] ??= ''; 386 | 387 | // Disable content parsers 388 | registry()->set('entry.fields.parsers.settings.enabled', false); 389 | 390 | // Fetch content 391 | $entry = entries()->fetch($query['id'])->toArray(); 392 | 393 | return twig()->render( 394 | $response, 395 | 'plugins/admin/templates/entries/edit.html', 396 | [ 397 | 'id' => $query['id'], 398 | 'entry' => $entry, 399 | 'routable' => $this->routable, 400 | 'visibility' => $this->visibility, 401 | 'query' => $query, 402 | 'links' => [ 403 | 'entry' => [ 404 | 'link' => urlFor('admin.entries.index') . '?id=' . arraysFromString($query['id'], '/')->slice(0, -1)->toString('/'), 405 | 'title' => __('admin_entries') 406 | ] 407 | ] 408 | ] 409 | ); 410 | } 411 | 412 | /** 413 | * Edit content process 414 | * 415 | * @param Request $request PSR7 request 416 | * @param Response $response PSR7 response 417 | * 418 | * @return Response 419 | */ 420 | public function editProcess(Request $request, Response $response): Response 421 | { 422 | // Get data from POST 423 | $data = $request->getParsedBody(); 424 | 425 | // Process form 426 | $form = blueprints()->form($data)->process(); 427 | 428 | if (entries()->update($form->get('fields.id'), $form->copy()->delete('fields.id')->get('fields'))) { 429 | container()->get('flash')->addMessage('success', $form->get('messages.success')); 430 | } else { 431 | container()->get('flash')->addMessage('error', $form->get('messages.error')); 432 | } 433 | 434 | return $response->withRedirect($form->get('redirect')); 435 | } 436 | } 437 | -------------------------------------------------------------------------------- /src/admin/core/Controllers/PluginsController.php: -------------------------------------------------------------------------------- 1 | get('plugins'); 27 | 28 | ksort($pluginsList); 29 | 30 | return twig()->render( 31 | $response, 32 | 'plugins/admin/templates/plugins/index.html', 33 | [ 34 | 'pluginsList' => $pluginsList, 35 | 'query' => $request->getQueryParams(), 36 | 'menu_item' => 'plugins', 37 | 'links' => [ 38 | 'plugins' => [ 39 | 'link' => urlFor('admin.plugins.index'), 40 | 'title' => __('admin_plugins'), 41 | 'active' => true 42 | ], 43 | ] 44 | ] 45 | ); 46 | } 47 | 48 | /** 49 | * Сhange plugin status process 50 | * 51 | * @param Request $request PSR7 request 52 | * @param Response $response PSR7 response 53 | */ 54 | public function pluginStatusProcess(Request $request, Response $response): Response 55 | { 56 | // Get data from the request 57 | $data = $request->getParsedBody(); 58 | 59 | $customPluginSettingsFile = PATH['project'] . '/config/plugins/' . $data['plugin-key'] . '/settings.yaml'; 60 | $customPluginSettingsFileContent = filesystem()->file($customPluginSettingsFile)->get(); 61 | $customPluginSettingsFileData = empty($customPluginSettingsFileContent) ? [] : serializers()->yaml()->decode($customPluginSettingsFileContent); 62 | 63 | $status = ($data['plugin-set-status'] == 'true') ? true : false; 64 | 65 | $customPluginSettingsFileData = arrays($customPluginSettingsFileData)->set('enabled', $status)->toArray(); 66 | 67 | filesystem()->file($customPluginSettingsFile)->put(serializers()->yaml()->encode($customPluginSettingsFileData)); 68 | 69 | // clear cache 70 | filesystem()->directory(PATH['tmp'] . '/data')->delete(true); 71 | 72 | // Redirect to plugins index page 73 | return redirect('admin.plugins.index'); 74 | } 75 | 76 | /** 77 | * Plugin information 78 | * 79 | * @param Request $request PSR7 request 80 | * @param Response $response PSR7 response 81 | */ 82 | public function information(Request $request, Response $response): Response 83 | { 84 | // Get Query Params 85 | $query = $request->getQueryParams(); 86 | 87 | // Set entry ID 88 | $query['id'] ??= ''; 89 | 90 | // Get manifest 91 | $manifest = serializers()->yaml()->decode(filesystem()->file(PATH['project'] . '/plugins/' . $query['id'] . '/plugin.yaml')->get()); 92 | 93 | return twig()->render( 94 | $response, 95 | 'plugins/admin/templates/plugins/information.html', 96 | [ 97 | 'menu_item' => 'plugins', 98 | 'id' => $query['id'], 99 | 'manifest' => $manifest, 100 | 'links' => [ 101 | 'plugins' => [ 102 | 'link' => urlFor('admin.plugins.index'), 103 | 'title' => __('admin_plugins'), 104 | ], 105 | 'plugins_name' => [ 106 | 'link' => urlFor('admin.plugins.information') . '?id=' . $query['id'], 107 | 'title' => $manifest['name'], 108 | ], 109 | ], 110 | ] 111 | ); 112 | } 113 | 114 | /** 115 | * Plugin settings 116 | * 117 | * @param Request $request PSR7 request 118 | * @param Response $response PSR7 response 119 | */ 120 | public function settings(Request $request, Response $response): Response 121 | { 122 | $query = $request->getQueryParams(); 123 | 124 | $customPluginSettingsFile = PATH['project'] . '/config/plugins/' . $query['id'] . '/settings.yaml'; 125 | $customPluginSettingsFileContent = Filesystem::read($customPluginSettingsFile); 126 | $customPluginManifestFile = PATH['project'] . '/plugins/' . $query['id'] . '/plugin.yaml'; 127 | $customPluginManifestFileContent = Filesystem::read($customPluginManifestFile); 128 | 129 | $pluginsManifest = serializers()->yaml()->decode($customPluginManifestFileContent); 130 | 131 | return twig()->render( 132 | $response, 133 | 'plugins/admin/templates/extends/plugins/settings.html', 134 | [ 135 | 'menu_item' => 'plugins', 136 | 'query' => $query, 137 | 'settings' => $customPluginSettingsFileContent, 138 | 'links' => [ 139 | 'plugins' => [ 140 | 'link' => urlFor('admin.plugins.index'), 141 | 'title' => __('admin_plugins'), 142 | ], 143 | 'plugins_settings' => [ 144 | 'link' => urlFor('admin.plugins.settings') . '?id=' . $query['id'], 145 | 'title' => $pluginsManifest['name'] 146 | ], 147 | ] 148 | ] 149 | ); 150 | } 151 | 152 | /** 153 | * Plugin settings process 154 | * 155 | * @param Request $request PSR7 request 156 | * @param Response $response PSR7 response 157 | */ 158 | public function settingsProcess(Request $request, Response $response): Response 159 | { 160 | // Process form 161 | $form = blueprints()->form($request->getParsedBody())->process(); 162 | 163 | $customPluginSettingsFile = PATH['project'] . '/config/plugins/' . $form->get('fields.id') . '/settings.yaml'; 164 | 165 | if (filesystem()->file($customPluginSettingsFile)->put($form->get('fields.settings'))) { 166 | container()->get('flash')->addMessage('success', __('admin_message_plugin_settings_saved')); 167 | } else { 168 | container()->get('flash')->addMessage('error', __('admin_message_plugin_settings_not_saved')); 169 | } 170 | 171 | return redirect('admin.plugins.settings') . '?id=' . $form->get('fields.id'); 172 | } 173 | } 174 | -------------------------------------------------------------------------------- /src/admin/core/Controllers/SettingsController.php: -------------------------------------------------------------------------------- 1 | render( 27 | $response, 28 | 'plugins/admin/templates/system/settings/index.html', 29 | [ 30 | 'settings' => filesystem()->file(PATH['project'] . '/config/flextype/settings.yaml')->get(), 31 | 'menu_item' => 'settings', 32 | 'links' => [ 33 | 'settings' => [ 34 | 'link' => urlFor('admin.settings.index'), 35 | 'title' => __('admin_settings') 36 | ], 37 | ] 38 | ] 39 | ); 40 | } 41 | 42 | /** 43 | * Update settings process 44 | * 45 | * @param Request $request PSR7 request 46 | * @param Response $response PSR7 response 47 | */ 48 | public function updateSettingsProcess(Request $request, Response $response): Response 49 | { 50 | // Process form 51 | $form = blueprints()->form($request->getParsedBody())->process(); 52 | 53 | if (filesystem()->file(PATH['project'] . '/config/flextype/settings.yaml')->put($form['fields']['settings'])) { 54 | container()->get('flash')->addMessage('success', $form['messages']['success']); 55 | } else { 56 | container()->get('flash')->addMessage('error', $form['messages']['error']); 57 | } 58 | 59 | return $response->withRedirect($form['redirect']); 60 | } 61 | 62 | /** 63 | * Return date formats allowed 64 | * 65 | * @return array 66 | */ 67 | public function dateFormats(): array 68 | { 69 | $now = new DateTime(); 70 | 71 | return [ 72 | 'd-m-Y H:i' => $now->format('d-m-Y H:i'), 73 | 'Y-m-d H:i' => $now->format('Y-m-d H:i'), 74 | 'm/d/Y h:i a' => $now->format('m/d/Y h:i a'), 75 | 'H:i d-m-Y' => $now->format('H:i d-m-Y'), 76 | 'h:i a m/d/Y' => $now->format('h:i a m/d/Y'), 77 | ]; 78 | } 79 | 80 | /** 81 | * Return display date formats allowed 82 | * 83 | * @return array 84 | */ 85 | public function displayDateFormats(): array 86 | { 87 | $now = new DateTime(); 88 | 89 | return [ 90 | 'F jS \\a\\t g:ia' => $now->format('F jS \\a\\t g:ia'), 91 | 'l jS \\of F g:i A' => $now->format('l jS \\of F g:i A'), 92 | 'D, d M Y G:i:s' => $now->format('m/d/Y h:i a'), 93 | 'd-m-y G:i' => $now->format('d-m-y G:i'), 94 | 'jS M Y' => $now->format('jS M Y'), 95 | ]; 96 | } 97 | } 98 | -------------------------------------------------------------------------------- /src/admin/core/Controllers/ToolsController.php: -------------------------------------------------------------------------------- 1 | render( 34 | $response, 35 | 'plugins/admin/templates/system/tools/index.html', 36 | [ 37 | 'menu_item' => 'tools', 38 | 'tools' => [ 39 | 'information' => [ 40 | 'title' => __('admin_information'), 41 | 'icon' => ['name' => 'info-circle', 'set' => 'bootstrap'], 42 | 'route' => 'admin.tools.information' 43 | ], 44 | 'сache' => [ 45 | 'title' => __('admin_сache'), 46 | 'icon' => ['name' => 'journal-richtext', 'set' => 'bootstrap'], 47 | 'route' => 'admin.tools.cache' 48 | ], 49 | 'registry' => [ 50 | 'title' => __('admin_registry'), 51 | 'icon' => ['name' => 'archive', 'set' => 'bootstrap'], 52 | 'route' => 'admin.tools.registry' 53 | ], 54 | ], 55 | 'links' => [ 56 | 'tools' => [ 57 | 'link' => urlFor('admin.tools.index'), 58 | 'title' => __('admin_tools') 59 | ], 60 | ], 61 | ] 62 | ); 63 | } 64 | 65 | /** 66 | * Information page 67 | * 68 | * @param Request $request PSR7 request 69 | * @param Response $response PSR7 response 70 | */ 71 | public function information(Request $request, Response $response): Response 72 | { 73 | return twig()->render( 74 | $response, 75 | 'plugins/admin/templates/system/tools/information.html', 76 | [ 77 | 'menu_item' => 'tools', 78 | 'php_uname' => php_uname(), 79 | 'webserver' => $_SERVER['SERVER_SOFTWARE'] ?? @getenv('SERVER_SOFTWARE'), 80 | 'php_sapi_name' => php_sapi_name(), 81 | 'links' => [ 82 | 'tools' => [ 83 | 'link' => urlFor('admin.tools.index'), 84 | 'title' => __('admin_tools') 85 | ], 86 | 'information' => [ 87 | 'link' => urlFor('admin.tools.information'), 88 | 'title' => __('admin_information'), 89 | 90 | ], 91 | ], 92 | ] 93 | ); 94 | } 95 | 96 | /** 97 | * Cache page 98 | * 99 | * @param Request $request PSR7 request 100 | * @param Response $response PSR7 response 101 | */ 102 | public function cache(Request $request, Response $response): Response 103 | { 104 | return twig()->render( 105 | $response, 106 | 'plugins/admin/templates/system/tools/cache.html', 107 | [ 108 | 'menu_item' => 'tools', 109 | 'data_size' => Number::byteFormat($this->getDirectorySize(PATH['tmp'] . '/data')), 110 | 'glide_size' => Number::byteFormat($this->getDirectorySize(PATH['tmp'] . '/glide')), 111 | 'twig_size' => Number::byteFormat($this->getDirectorySize(PATH['tmp'] . '/twig')), 112 | 'preflight_size' => Number::byteFormat($this->getDirectorySize(PATH['tmp'] . '/preflight')), 113 | 'links' => [ 114 | 'tools' => [ 115 | 'link' => urlFor('admin.tools.index'), 116 | 'title' => __('admin_tools'), 117 | 118 | ], 119 | 'cache' => [ 120 | 'link' => urlFor('admin.tools.cache'), 121 | 'title' => __('admin_cache'), 122 | 'active' => true 123 | ], 124 | ], 125 | ] 126 | ); 127 | } 128 | 129 | /** 130 | * Registry page 131 | * 132 | * @param Request $request PSR7 request 133 | * @param Response $response PSR7 response 134 | */ 135 | public function registry(Request $request, Response $response): Response 136 | { 137 | return twig()->render( 138 | $response, 139 | 'plugins/admin/templates/system/tools/registry.html', 140 | [ 141 | 'menu_item' => 'tools', 142 | 'registryDump' => registry()->copy()->dot()->all(), 143 | 'links' => [ 144 | 'tools' => [ 145 | 'link' => urlFor('admin.tools.index'), 146 | 'title' => __('admin_tools'), 147 | 148 | ], 149 | 'registry' => [ 150 | 'link' => urlFor('admin.tools.registry'), 151 | 'title' => __('admin_registry'), 152 | 'active' => true 153 | ], 154 | ], 155 | ] 156 | ); 157 | } 158 | 159 | /** 160 | * Clear cache process 161 | * 162 | * @param Request $request PSR7 request 163 | * @param Response $response PSR7 response 164 | */ 165 | public function clearCacheProcess(Request $request, Response $response): Response 166 | { 167 | $id = $request->getParsedBody()['cache-id']; 168 | 169 | if ($id == 'data') { 170 | Filesystem::deleteDir(PATH['tmp'] . '/data'); 171 | } 172 | 173 | if ($id == 'twig') { 174 | Filesystem::deleteDir(PATH['tmp'] . '/twig'); 175 | } 176 | 177 | if ($id == 'glide') { 178 | Filesystem::deleteDir(PATH['tmp'] . '/glide'); 179 | } 180 | 181 | if ($id == 'preflight') { 182 | Filesystem::deleteDir(PATH['tmp'] . '/preflight'); 183 | } 184 | 185 | if ($id == 'all') { 186 | Filesystem::deleteDir(ROOT_DIR . '/var'); 187 | } 188 | 189 | container()->get('flash')->addMessage('success', __('admin_message_cache_cleared')); 190 | 191 | return redirect('admin.tools.cache'); 192 | } 193 | 194 | /** 195 | * Clear cache process 196 | * 197 | * @param Request $request PSR7 request 198 | * @param Response $response PSR7 response 199 | */ 200 | public function clearCacheKeyProcess(Request $request, Response $response): Response 201 | { 202 | $key = strings($request->getParsedBody()['key'])->hash()->toString(); 203 | 204 | if (cache()->has($key)) { 205 | if (cache()->delete($key)) { 206 | container()->get('flash')->addMessage('success', __('admin_message_cache_cleared')); 207 | } else { 208 | container()->get('flash')->addMessage('error', __('admin_message_cache_was_not_cleared')); 209 | } 210 | } else { 211 | container()->get('flash')->addMessage('error', __('admin_message_cache_was_not_cleared')); 212 | } 213 | 214 | return redirect('admin.tools.cache'); 215 | } 216 | 217 | /** 218 | * _getDirectorySize 219 | */ 220 | private function getDirectorySize($path) 221 | { 222 | $bytestotal = 0; 223 | $path = realpath($path); 224 | if ($path!==false && $path!=='' && file_exists($path)) { 225 | foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path, FilesystemIterator::SKIP_DOTS)) as $object) { 226 | $bytestotal += $object->getSize(); 227 | } 228 | } 229 | 230 | return $bytestotal; 231 | } 232 | } 233 | -------------------------------------------------------------------------------- /src/admin/routes/web.php: -------------------------------------------------------------------------------- 1 | group('/' . $adminRoute, function (RouteCollectorProxy $group) : void { 16 | // Dashboard 17 | $group->get('', [DashboardController::class, 'index'])->setName('admin.dashboard.index'); 18 | 19 | // Entries Controller 20 | $group->get('/entries', [EntriesController::class, 'index'])->setName('admin.entries.index'); 21 | $group->get('/entries/edit', [EntriesController::class, 'edit'])->setName('admin.entries.edit'); 22 | $group->post('/entries/edit', [EntriesController::class, 'editProcess'])->setName('admin.entries.editProcess'); 23 | $group->get('/entries/add', [EntriesController::class, 'add'])->setName('admin.entries.add'); 24 | $group->post('/entries/add', [EntriesController::class, 'addProcess'])->setName('admin.entries.addProcess'); 25 | $group->get('/entries/move', [EntriesController::class, 'move'])->setName('admin.entries.move'); 26 | $group->post('/entries/move', [EntriesController::class, 'moveProcess'])->setName('admin.entries.moveProcess'); 27 | $group->get('/entries/rename', [EntriesController::class, 'rename'])->setName('admin.entries.rename'); 28 | $group->post('/entries/rename', [EntriesController::class, 'renameProcess'])->setName('admin.entries.renameProcess'); 29 | $group->post('/entries/duplicate', [EntriesController::class, 'duplicateProcess'])->setName('admin.entries.duplicateProcess'); 30 | $group->post('/entries/delete', [EntriesController::class, 'deleteProcess'])->setName('admin.entries.deleteProcess'); 31 | 32 | // Settings Controller 33 | $group->get('/settings', [SettingsController::class, 'index'])->setName('admin.settings.index'); 34 | $group->post('/settings', [SettingsController::class, 'updateSettingsProcess'])->setName('admin.settings.update'); 35 | 36 | // Plugins Controller 37 | $group->get('/plugins', [PluginsController::class, 'index'])->setName('admin.plugins.index'); 38 | $group->get('/plugins/information', [PluginsController::class, 'information'])->setName('admin.plugins.information'); 39 | $group->get('/plugins/settings', [PluginsController::class, 'settings'])->setName('admin.plugins.settings'); 40 | $group->post('/plugins/settings', [PluginsController::class, 'settingsProcess'])->setName('admin.plugins.settingsProcess'); 41 | $group->post('/plugins/update-status', [PluginsController::class, 'pluginStatusProcess'])->setName('admin.plugins.update-status'); 42 | 43 | // Tools Controller 44 | $group->get('/tools', [ToolsController::class, 'index'])->setName('admin.tools.index'); 45 | $group->get('/tools/information', [ToolsController::class, 'information'])->setName('admin.tools.information'); 46 | $group->get('/tools/registry', [ToolsController::class, 'registry'])->setName('admin.tools.registry'); 47 | $group->get('/tools/reports', [ToolsController::class, 'reports'])->setName('admin.tools.reports'); 48 | $group->get('/tools/cache', [ToolsController::class, 'cache'])->setName('admin.tools.cache'); 49 | $group->post('/tools/cache-clear', [ToolsController::class, 'clearCacheProcess'])->setName('admin.tools.clearCacheProcess'); 50 | $group->post('/tools/cache-clear-key', [ToolsController::class, 'clearCacheKeyProcess'])->setName('admin.tools.clearCacheKeyProcess'); 51 | 52 | })->add(new AclIsUserLoggedInMiddleware(['redirect' => 'admin.accounts.login'])) 53 | ->add(new AclIsUserLoggedInRolesInMiddleware(['redirect' => (acl()->isUserLoggedIn() ? 'admin.accounts.no-access' : 'admin.accounts.login'), 54 | 'roles' => 'admin'])) 55 | ->add(new CsrfMiddleware()); 56 | -------------------------------------------------------------------------------- /templates/entries/add.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/entries/partials/base.html" %} 2 | 3 | {% block content %} 4 | {{ blueprints().render('admin/content/add', {}, {'query': query, 5 | 'blueprints': blueprints, 6 | 'routable': routable, 7 | 'visibility': visibility}) }} 8 | {% endblock %} 9 | -------------------------------------------------------------------------------- /templates/entries/edit.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/entries/partials/base.html" %} 2 | 3 | {% block content %} 4 | {% set templates = [] %} 5 | {% for template in filesystem().find().depth(0).in(PATH_PROJECT ~ '/themes/' ~ registry().get('plugins.site.settings.theme') ~ '/templates/').files() %} 6 | {% if template.getExtension() == 'html' %} 7 | {% set templateName = template.getBasename('.html') %} 8 | {% set templates = templates|merge({(templateName): templateName}) %} 9 | {% endif %} 10 | {% endfor %} 11 | 12 | {% if entry['blueprint'] %} 13 | {% set blueprint = blueprints().fetch(entry['blueprint']) %} 14 | {% else %} 15 | {% set blueprint = blueprints().fetch('default') %} 16 | {% endif %} 17 | 18 | {% if entry['blocks'] %} 19 | {% set blueprint = arrays(blueprint).replace(entry['blocks'], true) %} 20 | {% endif %} 21 | 22 | {% set blueprint = blueprint.toArray() %} 23 | 24 | {{ blueprints().renderFromArray(blueprint, entry, {'templates': templates, 25 | 'routable': routable, 26 | 'entry': entry, 27 | 'visibility': visibility, 28 | 'query': query}) }} 29 | {% endblock %} 30 | -------------------------------------------------------------------------------- /templates/entries/index.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/entries/partials/base.html" %} 2 | 3 | {% block content %} 4 | {% if entries|length > 0 %} 5 | {#{ blueprints().render(flex, {}, {'query': query}) }#} 6 | {#% set e = blueprints().fetch('admin/entries/accounts/account').get('admin.entries.accounts.account.item') %#} 7 |
8 |
9 |
10 | {% set blueprint = [] %} 11 | {% for entry in entries %} 12 | {{ entry.id }} 13 | 14 | {{ blueprints().render('admin/entries/accounts/account/item', 15 | {}, 16 | {'entry': entry, 'query': query}) }} 17 | 18 | {#{ blueprints().renderFromArray(blueprints().fetch(entry.blueprint ~ '/account/item').toArray(), 19 | {}, 20 | {'entry': entry, 'query': query}) }#} 21 | {% endfor %} 22 | {% do arrays(blueprint).dump('dump') %} 23 | 24 |
25 |
26 |
27 | {% else %} 28 |
29 |
{{ icon('newspaper', 'bootstrap') }}
30 |

{{ __('admin_you_have_not_created_any_entries_yet') }}

31 | {{ __('admin_create_new_content') }} 32 |
33 | {% endif %} 34 | {% endblock %} 35 | -------------------------------------------------------------------------------- /templates/entries/move.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/entries/partials/base.html" %} 2 | 3 | {% block content %} 4 | {% if arraysFromString(query.id, '/')|length > 1 %} 5 | {% set parentEntry = entries().fetch(arraysFromString(query.id, '/').slice(0, -1).toString('/')) %} 6 | {% if parentEntry.blueprint %} 7 | {% set blueprint = parentEntry.blueprint ~ '/move' %} 8 | {% else %} 9 | {% set blueprint = 'admin/entries/default' ~ '/move' %} 10 | {% endif %} 11 | {% else %} 12 | {% set parentEntry = entries().fetch(query.id) %} 13 | {% if parentEntry.blueprint %} 14 | {% set blueprint = parentEntry.blueprint ~ '/move' %} 15 | {% else %} 16 | {% set blueprint = 'admin/entries/default' ~ '/move' %} 17 | {% endif %} 18 | {% endif %} 19 | 20 | {{ blueprints().render(blueprint, {}, {'entryCurrentID': entryCurrentID, 21 | 'entryParentID': entryParentID, 22 | 'entries': entries, 23 | 'query': query}) }} 24 | {% endblock %} -------------------------------------------------------------------------------- /templates/entries/partials/base.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/partials/base.html" %} 2 | 3 | {% block breadcrumbs %} 4 | {% if isCurrentUrl('admin.entries.index') or 5 | isCurrentUrl('admin.entries.edit') or 6 | isCurrentUrl('admin.entries.add') or 7 | isCurrentUrl('admin.entries.move') or 8 | isCurrentUrl('admin.entries.rename') %} 9 | {% set parts = query.id|split('/') %} 10 | {% for part in parts %} 11 | {% set entryID = strings(entryID ~ '/' ~ part).trimLeft('/') %} 12 | {% if (part != parts|last) %} 13 | 16 | {% elseif (part) %} 17 | 20 | {% endif %} 21 | {% endfor %} 22 | {% endif %} 23 | {% endblock %} 24 | 25 | {% block tail %} 26 | 35 | 36 |
37 | 52 |
53 | {% endblock %} -------------------------------------------------------------------------------- /templates/entries/rename.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/entries/partials/base.html" %} 2 | 3 | {% block content %} 4 | {% if arraysFromString(query.id, '/')|length > 1 %} 5 | {% set parentEntry = entries().fetch(arraysFromString(query.id, '/').slice(0, -1).toString('/')) %} 6 | {% if parentEntry.blueprint %} 7 | {% set blueprint = parentEntry.blueprint ~ '/rename' %} 8 | {% else %} 9 | {% set blueprint = 'admin/entries/default' ~ '/rename' %} 10 | {% endif %} 11 | {% else %} 12 | {% set parentEntry = entries().fetch(query.id) %} 13 | {% if parentEntry.blueprint %} 14 | {% set blueprint = parentEntry.blueprint ~ '/rename' %} 15 | {% else %} 16 | {% set blueprint = 'admin/entries/default' ~ '/rename' %} 17 | {% endif %} 18 | {% endif %} 19 | 20 | {{ blueprint }} 21 | 22 | {{ blueprints().render(blueprint, {}, {'query': query}) }} 23 | {% endblock %} 24 | -------------------------------------------------------------------------------- /templates/partials/base.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {% block head %} 5 | 6 | 7 | 8 | 9 | 10 | 11 | {% do emitter().emit('onAdminThemeMeta') %} 12 | 13 | {{ registry().get('plugins.admin.manifest.name') }} | Flextype 14 | 15 | {% for categories in registry().get('assets.admin.css') %} 16 | {% if categories %} 17 | {% for category in categories %} 18 | 19 | {% endfor %} 20 | {% endif %} 21 | {% endfor %} 22 | 23 | {% do emitter().emit('onAdminThemeHeader') %} 24 | {% endblock %} 25 | 26 | 27 | {% import "plugins/blueprints/blocks/macros/attr.html" as attr %} 28 | {% if acl().isUserLoggedInRolesIn('admin') %} 29 | 62 | {% endif %} 63 | 64 |
65 | {% block content %}{% endblock %} 66 |
67 | 68 | {% for categories in registry().get('assets.admin.js') %} 69 | {% if categories %} 70 | {% for category in categories %} 71 | 72 | {% endfor %} 73 | {% endif %} 74 | {% endfor %} 75 | 76 | {% include 'plugins/admin/templates/partials/messages.html' %} 77 | 78 | {% do emitter().emit('onAdminThemeTail') %} 79 | 80 | 86 | 87 | {% block tail %}{% endblock %} 88 | 89 | 90 | -------------------------------------------------------------------------------- /templates/partials/messages.html: -------------------------------------------------------------------------------- 1 | {% for message in flash().getMessages()['success'] %} 2 |
3 | 8 |
9 | 10 | {% endfor %} 11 | 12 | {% for message in flash().getMessages()['warning'] %} 13 |
14 | 19 |
20 | 21 | {% endfor %} 22 | 23 | {% for message in flash().getMessages()['error'] %} 24 |
25 | 30 |
31 | 32 | {% endfor %} 33 | 34 | 43 | -------------------------------------------------------------------------------- /templates/plugins/index.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/partials/base.html" %} 2 | 3 | {% block content %} 4 | {% if (pluginsList | length > 0) %} 5 | {{ blueprints().render('admin/plugins', {}, {'query': query}) }} 6 |
7 |
8 |
9 |
10 | {% for key, plugin in pluginsList %} 11 |
12 |
13 |
14 | {% if plugin.manifest.icon %} 15 | {{ icon(plugin.manifest.icon.name, plugin.manifest.icon.set) }} 16 | {% else %} 17 | {{ icon('plug', 'fontawesome|solid') }} 18 | {% endif %} 19 |
20 |
21 |
Plugin
22 | {{ plugin.manifest.name }} ({{ plugin.manifest.version }}) 23 |
24 |
25 |
Description
26 | {{ plugin.manifest.description }} 27 |
28 |
29 |
Author
30 | {{ plugin.manifest.author.name }} 31 |
32 | 70 |
71 |
72 | {% endfor %} 73 |
74 |
75 |
76 |
77 | {% else %} 78 |
79 |
{{ icon('box', 'bootstrap') }}
80 |

{{ __('admin_you_have_no_plugins') }}

81 | {{ __('admin_get_more_plugins') }} 82 |
83 | {% endif %} 84 | {% endblock %} 85 | 86 | 87 | {% block tail %} 88 | 97 | 98 | 115 | {% endblock %} 116 | -------------------------------------------------------------------------------- /templates/plugins/information.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/partials/base.html" %} 2 | 3 | {% block content %} 4 | {{ blueprints().render('admin/plugins/information', {}, {}) }} 5 |
6 |
7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 |
{{ __('admin_name') }}{{ manifest.name }}
{{ __('admin_version') }}{{ manifest.version }}
{{ __('admin_description') }}{{ manifest.description }}
{{ __('admin_icon_name') }}{{ manifest.icon.name }}
{{ __('admin_icon_set') }}{{ manifest.icon.set }}
{{ __('admin_author_name') }}{{ manifest.author.name }}
{{ __('admin_author_email') }}{{ manifest.author.email }}
{{ __('admin_author_url') }}{{ manifest.author.url }}
{{ __('admin_homepage') }}{{ manifest.homepage }}
{{ __('admin_documentation') }}{{ manifest.documentation }}
{{ __('admin_changelog') }}{{ manifest.changelog }}
{{ __('admin_bugs') }}{{ manifest.bugs }}
{{ __('admin_license') }}{{ manifest.license }}
64 |
65 |
66 |
67 | {% endblock %} 68 | -------------------------------------------------------------------------------- /templates/plugins/settings.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/partials/base.html" %} 2 | 3 | {% block content %} 4 | {{ blueprints().render('admin/plugins/settings', {'settings': settings}, {'query': query}) }} 5 | {% endblock %} 6 | -------------------------------------------------------------------------------- /templates/system/settings/index.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/partials/base.html" %} 2 | 3 | {% block content %} 4 | {{ blueprints().render('admin/system/settings', {}, {'settings': settings}) }} 5 | {% endblock %} 6 | -------------------------------------------------------------------------------- /templates/system/tools/cache.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/system/tools/partials/base.html" %} 2 | 3 | {% block content %} 4 | {{ blueprints().render('admin/system/tools/cache', {}, {'query': query}) }} 5 |
6 |
7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 25 | 28 | 50 | 51 | 52 | 55 | 58 | 62 | 81 | 82 | 83 | 86 | 89 | 93 | 112 | 113 | 114 | 117 | 120 | 124 | 143 | 144 | 145 |
{{ __('admin_cache') }}{{ __('admin_description') }}{{ __('admin_size') }}
20 | {{ __('admin_data') }} 21 | 23 | Cached data with built in PHPFastCache. 24 | 26 | {% if data_size %}{{ data_size }}{% else %}0 KB{% endif %} 27 | 29 | 49 |
53 | {{ __('admin_templates') }} 54 | 56 | Compiled and cached TWIG templates. 57 | 59 | {% if twig_size %}{{ twig_size }} 60 | {% else %}0 KB{% endif %} 61 | 63 | 80 |
84 | {{ __('admin_preflight') }} 85 | 87 | Compiled and cached Flextype preflight data and configuration. 88 | 90 | {% if preflight_size %}{{ preflight_size }} 91 | {% else %}0 KB{% endif %} 92 | 94 | 111 |
115 | {{ __('admin_images') }} 116 | 118 | Cached Images generated by built it GLIDE. 119 | 121 | {% if glide_size %}{{ glide_size }} 122 | {% else %}0 KB{% endif %} 123 | 125 | 142 |
146 |
147 |
148 |
149 | {% endblock %} 150 | -------------------------------------------------------------------------------- /templates/system/tools/index.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/system/tools/partials/base.html" %} 2 | 3 | {% block content %} 4 | {% if (tools|length > 0) %} 5 | {{ blueprints().render('admin/system/tools', {}, {'query': query}) }} 6 |
7 |
8 |
9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 | 19 | {% for key, tool in tools %} 20 | 21 | 24 | 29 | 30 | {% endfor %} 31 | 32 |
14 | {{ __('admin_name') }} 15 |
22 | {{ icon(tool.icon.name, tool.icon.set) }} 23 | 25 | 26 | {{ tool.title }} 27 | 28 |
33 |
34 |
35 |
36 | {% endif %} 37 | {% endblock %} -------------------------------------------------------------------------------- /templates/system/tools/information.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/partials/base.html" %} 2 | 3 | {% block content %} 4 | {{ blueprints().render('admin/system/tools/information', {}, {'query': query}) }} 5 |
6 |
7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 |
{{ __('admin_name') }}{{ registry().get('flextype.manifest.name') }}
{{ __('admin_version') }}{{ registry().get('flextype.manifest.version') }}
{{ __('admin_description') }}{{ registry().get('flextype.manifest.description') }}
{{ __('admin_author_name') }}{{ registry().get('flextype.manifest.author.name') }}
{{ __('admin_author_email') }}{{ registry().get('flextype.manifest.author.email') }}
{{ __('admin_author_url') }}{{ registry().get('flextype.manifest.url') }}
{{ __('admin_homepage') }}{{ registry().get('flextype.manifest.homepage') }}
{{ __('admin_documentation') }}{{ registry().get('flextype.manifest.documentation') }}
{{ __('admin_changelog') }}{{ registry().get('flextype.manifest.changelog') }}
{{ __('admin_bugs') }}{{ registry().get('flextype.manifest.bugs') }}
{{ __('admin_license') }}{{ registry().get('flextype.manifest.license') }}
56 |
57 |
58 |
59 | {% endblock %} 60 | -------------------------------------------------------------------------------- /templates/system/tools/partials/base.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/partials/base.html" %} 2 | 3 | {% block tail %} 4 | 10 | 11 | 15 | 16 | 45 | {% endblock %} -------------------------------------------------------------------------------- /templates/system/tools/registry.html: -------------------------------------------------------------------------------- 1 | {% extends "plugins/admin/templates/partials/base.html" %} 2 | 3 | {% block content %} 4 | {{ blueprints().render('admin/system/tools/registry', {}, {'query': query}) }} 5 |
6 |
7 |
8 | {% for key, value in registryDump %} 9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 | 19 | 24 | 25 | 26 |
{{ __('admin_key') }} 14 | {{ key }} 15 |
{{ __('admin_value') }} 20 | {% if value is not iterable %} 21 | {{ value }} 22 | {% endif %} 23 |
27 | {% endfor %} 28 |
29 |
30 |
31 | {% endblock %} 32 | --------------------------------------------------------------------------------