supprcss+add_resize_jq
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\Config\\CompiledBlueprints',
|
||||
'timestamp' => 1530517684,
|
||||
'timestamp' => 1530525683,
|
||||
'checksum' => 'b0eb8b14d56bcb4e56a44521f956677f',
|
||||
'files' => [
|
||||
'system/blueprints/config' => [
|
||||
|
||||
+7
-7
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\Config\\CompiledConfig',
|
||||
'timestamp' => 1530517684,
|
||||
'checksum' => 'cee1b440c355b716b42b76ad26dc52ac',
|
||||
'timestamp' => 1530525683,
|
||||
'checksum' => '081c4d2482f9c21109c135564922b00c',
|
||||
'files' => [
|
||||
'user/config' => [
|
||||
'media' => [
|
||||
@@ -23,7 +23,7 @@ return [
|
||||
],
|
||||
'system' => [
|
||||
'file' => 'user/config/system.yaml',
|
||||
'modified' => 1530517684
|
||||
'modified' => 1530525681
|
||||
]
|
||||
],
|
||||
'system/config' => [
|
||||
@@ -646,7 +646,7 @@ return [
|
||||
'etag' => false,
|
||||
'vary_accept_encoding' => false,
|
||||
'redirect_default_route' => false,
|
||||
'redirect_default_code' => 302,
|
||||
'redirect_default_code' => '302',
|
||||
'redirect_trailing_slash' => true,
|
||||
'ignore_files' => [
|
||||
0 => '.DS_Store'
|
||||
@@ -666,7 +666,7 @@ return [
|
||||
]
|
||||
],
|
||||
'cache' => [
|
||||
'enabled' => true,
|
||||
'enabled' => false,
|
||||
'check' => [
|
||||
'method' => 'file'
|
||||
],
|
||||
@@ -682,7 +682,7 @@ return [
|
||||
]
|
||||
],
|
||||
'twig' => [
|
||||
'cache' => true,
|
||||
'cache' => false,
|
||||
'debug' => true,
|
||||
'auto_reload' => true,
|
||||
'autoescape' => false,
|
||||
@@ -707,7 +707,7 @@ return [
|
||||
]
|
||||
],
|
||||
'errors' => [
|
||||
'display' => true,
|
||||
'display' => 1,
|
||||
'log' => true
|
||||
],
|
||||
'debugger' => [
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/r2c.net/system/blueprints/pages/modular.yaml',
|
||||
'modified' => 1529476888,
|
||||
'data' => [
|
||||
'title' => 'PLUGIN_ADMIN.MODULAR',
|
||||
'extends@' => 'default',
|
||||
'form' => [
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'type' => 'tabs',
|
||||
'active' => 1,
|
||||
'fields' => [
|
||||
'content' => [
|
||||
'fields' => [
|
||||
'modular_title' => [
|
||||
'type' => 'spacer',
|
||||
'title' => 'PLUGIN_ADMIN.MODULAR_SETUP'
|
||||
],
|
||||
'header.content.items' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.ITEMS',
|
||||
'default' => '@self.modular',
|
||||
'size' => 'medium'
|
||||
],
|
||||
'header.content.order.by' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.ORDER_BY',
|
||||
'placeholder' => 'date',
|
||||
'help' => NULL,
|
||||
'size' => 'small'
|
||||
],
|
||||
'header.content.order.dir' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.ORDER',
|
||||
'help' => '"desc" or "asc" are valid values',
|
||||
'placeholder' => 'desc',
|
||||
'size' => 'small'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,35 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/r2c.net/user/themes/r2c/blueprints/modular/text.yaml',
|
||||
'modified' => 1529476890,
|
||||
'data' => [
|
||||
'title' => 'Text',
|
||||
'@extends' => 'default',
|
||||
'form' => [
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'fields' => [
|
||||
'content' => [
|
||||
'fields' => [
|
||||
'header.media_order' => [
|
||||
'label' => 'Page Media (first one will be displayed next to your content)'
|
||||
],
|
||||
'header.image_align' => [
|
||||
'type' => 'select',
|
||||
'label' => 'Image position',
|
||||
'classes' => 'fancy',
|
||||
'default' => 'left',
|
||||
'options' => [
|
||||
'left' => 'Left',
|
||||
'right' => 'Right'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,33 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/r2c.net/user/themes/r2c/blueprints/default.yaml',
|
||||
'modified' => 1529476890,
|
||||
'data' => [
|
||||
'extends@' => 'default',
|
||||
'form' => [
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'fields' => [
|
||||
'advanced' => [
|
||||
'fields' => [
|
||||
'columns' => [
|
||||
'fields' => [
|
||||
'column1' => [
|
||||
'fields' => [
|
||||
'header.body_classes' => [
|
||||
'markdown' => true,
|
||||
'description' => 'Available classes in Quark Theme (space separated):<br />`header-fixed`, `header-animated`, `header-dark`, `header-transparent`, `sticky-footer`'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,18 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/r2c.net/user/plugins/admin/blueprints/admin/pages/move.yaml',
|
||||
'modified' => 1529476888,
|
||||
'data' => [
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PARENT',
|
||||
'classes' => 'fancy'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,407 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/r2c.net/system/blueprints/pages/default.yaml',
|
||||
'modified' => 1529476888,
|
||||
'data' => [
|
||||
'title' => 'PLUGIN_ADMIN.DEFAULT',
|
||||
'rules' => [
|
||||
'slug' => [
|
||||
'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
|
||||
'min' => 1,
|
||||
'max' => 200
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'type' => 'tabs',
|
||||
'active' => 1,
|
||||
'fields' => [
|
||||
'content' => [
|
||||
'type' => 'tab',
|
||||
'title' => 'PLUGIN_ADMIN.CONTENT',
|
||||
'fields' => [
|
||||
'header.title' => [
|
||||
'type' => 'text',
|
||||
'autofocus' => true,
|
||||
'style' => 'vertical',
|
||||
'label' => 'PLUGIN_ADMIN.TITLE'
|
||||
],
|
||||
'content' => [
|
||||
'type' => 'markdown',
|
||||
'validate' => [
|
||||
'type' => 'textarea'
|
||||
]
|
||||
],
|
||||
'header.media_order' => [
|
||||
'type' => 'pagemedia',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_MEDIA'
|
||||
]
|
||||
]
|
||||
],
|
||||
'options' => [
|
||||
'type' => 'tab',
|
||||
'title' => 'PLUGIN_ADMIN.OPTIONS',
|
||||
'fields' => [
|
||||
'publishing' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.PUBLISHING',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.published' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.PUBLISHED',
|
||||
'help' => 'PLUGIN_ADMIN.PUBLISHED_HELP',
|
||||
'highlight' => 1,
|
||||
'size' => 'medium',
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.date' => [
|
||||
'type' => 'datetime',
|
||||
'label' => 'PLUGIN_ADMIN.DATE',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.DATE_HELP'
|
||||
],
|
||||
'header.publish_date' => [
|
||||
'type' => 'datetime',
|
||||
'label' => 'PLUGIN_ADMIN.PUBLISHED_DATE',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.PUBLISHED_DATE_HELP'
|
||||
],
|
||||
'header.unpublish_date' => [
|
||||
'type' => 'datetime',
|
||||
'label' => 'PLUGIN_ADMIN.UNPUBLISHED_DATE',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.UNPUBLISHED_DATE_HELP'
|
||||
],
|
||||
'header.metadata' => [
|
||||
'toggleable' => true,
|
||||
'type' => 'array',
|
||||
'label' => 'PLUGIN_ADMIN.METADATA',
|
||||
'help' => 'PLUGIN_ADMIN.METADATA_HELP',
|
||||
'placeholder_key' => 'PLUGIN_ADMIN.METADATA_KEY',
|
||||
'placeholder_value' => 'PLUGIN_ADMIN.METADATA_VALUE'
|
||||
]
|
||||
]
|
||||
],
|
||||
'taxonomies' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.TAXONOMIES',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.taxonomy' => [
|
||||
'type' => 'taxonomy',
|
||||
'label' => 'PLUGIN_ADMIN.TAXONOMY',
|
||||
'multiple' => true,
|
||||
'validate' => [
|
||||
'type' => 'array'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
'advanced' => [
|
||||
'type' => 'tab',
|
||||
'title' => 'PLUGIN_ADMIN.ADVANCED',
|
||||
'fields' => [
|
||||
'columns' => [
|
||||
'type' => 'columns',
|
||||
'fields' => [
|
||||
'column1' => [
|
||||
'type' => 'column',
|
||||
'fields' => [
|
||||
'settings' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.SETTINGS',
|
||||
'underline' => true
|
||||
],
|
||||
'folder' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NAME',
|
||||
'validate' => [
|
||||
'rule' => 'slug'
|
||||
]
|
||||
],
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PARENT',
|
||||
'classes' => 'fancy'
|
||||
],
|
||||
'name' => [
|
||||
'type' => 'select',
|
||||
'classes' => 'fancy',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_FILE',
|
||||
'help' => 'PLUGIN_ADMIN.PAGE_FILE_HELP',
|
||||
'default' => 'default',
|
||||
'data-options@' => '\\Grav\\Common\\Page\\Pages::pageTypes'
|
||||
],
|
||||
'header.body_classes' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.BODY_CLASSES'
|
||||
]
|
||||
]
|
||||
],
|
||||
'column2' => [
|
||||
'type' => 'column',
|
||||
'fields' => [
|
||||
'order_title' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ORDERING',
|
||||
'underline' => true
|
||||
],
|
||||
'ordering' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NUMERIC_PREFIX',
|
||||
'help' => 'PLUGIN_ADMIN.FOLDER_NUMERIC_PREFIX_HELP',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'order' => [
|
||||
'type' => 'order',
|
||||
'label' => 'PLUGIN_ADMIN.SORTABLE_PAGES',
|
||||
'sitemap' => NULL
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
'overrides' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.OVERRIDES',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.dateformat' => [
|
||||
'toggleable' => true,
|
||||
'type' => 'select',
|
||||
'size' => 'medium',
|
||||
'selectize' => [
|
||||
'create' => true
|
||||
],
|
||||
'label' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT',
|
||||
'help' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT_HELP',
|
||||
'placeholder' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT_PLACEHOLDER',
|
||||
'data-options@' => '\\Grav\\Common\\Utils::dateFormats',
|
||||
'validate' => [
|
||||
'type' => 'string'
|
||||
]
|
||||
],
|
||||
'header.menu' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.MENU',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.MENU_HELP'
|
||||
],
|
||||
'header.slug' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.SLUG',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.SLUG_HELP',
|
||||
'validate' => [
|
||||
'message' => 'PLUGIN_ADMIN.SLUG_VALIDATE_MESSAGE',
|
||||
'rule' => 'slug'
|
||||
]
|
||||
],
|
||||
'header.redirect' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.REDIRECT',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.REDIRECT_HELP'
|
||||
],
|
||||
'header.process' => [
|
||||
'type' => 'checkboxes',
|
||||
'label' => 'PLUGIN_ADMIN.PROCESS',
|
||||
'toggleable' => true,
|
||||
'config-default@' => 'system.pages.process',
|
||||
'default' => [
|
||||
'markdown' => true,
|
||||
'twig' => false
|
||||
],
|
||||
'options' => [
|
||||
'markdown' => 'Markdown',
|
||||
'twig' => 'Twig'
|
||||
],
|
||||
'use' => 'keys'
|
||||
],
|
||||
'header.twig_first' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.TWIG_FIRST',
|
||||
'help' => 'PLUGIN_ADMIN.TWIG_FIRST_HELP',
|
||||
'highlight' => 0,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.never_cache_twig' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.NEVER_CACHE_TWIG',
|
||||
'help' => 'PLUGIN_ADMIN.NEVER_CACHE_TWIG_HELP',
|
||||
'highlight' => 0,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.child_type' => [
|
||||
'type' => 'select',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.DEFAULT_CHILD_TYPE',
|
||||
'default' => 'default',
|
||||
'placeholder' => 'PLUGIN_ADMIN.USE_GLOBAL',
|
||||
'data-options@' => '\\Grav\\Common\\Page\\Pages::types'
|
||||
],
|
||||
'header.routable' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.ROUTABLE',
|
||||
'help' => 'PLUGIN_ADMIN.ROUTABLE_HELP',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.cache_enable' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.CACHING',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.visible' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.VISIBLE',
|
||||
'help' => 'PLUGIN_ADMIN.VISIBLE_HELP',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.debugger' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.DEBUGGER',
|
||||
'help' => 'PLUGIN_ADMIN.DEBUGGER_HELP',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.template' => [
|
||||
'type' => 'text',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.DISPLAY_TEMPLATE'
|
||||
],
|
||||
'header.append_url_extension' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.APPEND_URL_EXT',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.APPEND_URL_EXT_HELP'
|
||||
]
|
||||
]
|
||||
],
|
||||
'routes_only' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ROUTE_OVERRIDES',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.routes.default' => [
|
||||
'type' => 'text',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.ROUTE_DEFAULT'
|
||||
],
|
||||
'header.routes.canonical' => [
|
||||
'type' => 'text',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.ROUTE_CANONICAL'
|
||||
],
|
||||
'header.routes.aliases' => [
|
||||
'type' => 'array',
|
||||
'toggleable' => true,
|
||||
'value_only' => true,
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.ROUTE_ALIASES'
|
||||
]
|
||||
]
|
||||
],
|
||||
'admin_only' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ADMIN_SPECIFIC_OVERRIDES',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.admin.children_display_order' => [
|
||||
'type' => 'select',
|
||||
'label' => 'PLUGIN_ADMIN.ADMIN_CHILDREN_DISPLAY_ORDER',
|
||||
'help' => 'PLUGIN_ADMIN.ADMIN_CHILDREN_DISPLAY_ORDER_HELP',
|
||||
'toggleable' => true,
|
||||
'classes' => 'fancy',
|
||||
'default' => 'collection',
|
||||
'options' => [
|
||||
'default' => 'Ordered by Folder name (default)',
|
||||
'collection' => 'Ordered by Collection definition'
|
||||
]
|
||||
],
|
||||
'header.order_by' => [
|
||||
'type' => 'hidden'
|
||||
],
|
||||
'header.order_manual' => [
|
||||
'type' => 'hidden',
|
||||
'validate' => [
|
||||
'type' => 'commalist'
|
||||
]
|
||||
],
|
||||
'blueprint' => [
|
||||
'type' => 'blueprint'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,139 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/r2c.net/system/blueprints/user/account.yaml',
|
||||
'modified' => 1529476888,
|
||||
'data' => [
|
||||
'title' => 'Account',
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'info' => [
|
||||
'type' => 'userinfo',
|
||||
'size' => 'large'
|
||||
],
|
||||
'avatar' => [
|
||||
'type' => 'file',
|
||||
'size' => 'large',
|
||||
'destination' => 'user://accounts/avatars',
|
||||
'multiple' => false,
|
||||
'random_name' => true
|
||||
],
|
||||
'content' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ACCOUNT',
|
||||
'underline' => true
|
||||
],
|
||||
'username' => [
|
||||
'type' => 'text',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.USERNAME',
|
||||
'disabled' => true,
|
||||
'readonly' => true
|
||||
],
|
||||
'email' => [
|
||||
'type' => 'email',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.EMAIL',
|
||||
'validate' => [
|
||||
'type' => 'email',
|
||||
'message' => 'PLUGIN_ADMIN.EMAIL_VALIDATION_MESSAGE',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'password' => [
|
||||
'type' => 'password',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.PASSWORD',
|
||||
'autocomplete' => 'new-password',
|
||||
'validate' => [
|
||||
'required' => false,
|
||||
'message' => 'PLUGIN_ADMIN.PASSWORD_VALIDATION_MESSAGE',
|
||||
'config-pattern@' => 'system.pwd_regex'
|
||||
]
|
||||
],
|
||||
'fullname' => [
|
||||
'type' => 'text',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.FULL_NAME',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'title' => [
|
||||
'type' => 'text',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.TITLE'
|
||||
],
|
||||
'language' => [
|
||||
'type' => 'select',
|
||||
'label' => 'PLUGIN_ADMIN.LANGUAGE',
|
||||
'size' => 'medium',
|
||||
'classes' => 'fancy',
|
||||
'data-options@' => '\\Grav\\Plugin\\Admin\\Admin::adminLanguages',
|
||||
'default' => 'en',
|
||||
'help' => 'PLUGIN_ADMIN.LANGUAGE_HELP'
|
||||
],
|
||||
'twofa_check' => [
|
||||
'type' => 'conditional',
|
||||
'condition' => 'config.plugins.admin.twofa_enabled',
|
||||
'fields' => [
|
||||
'twofa' => [
|
||||
'title' => 'PLUGIN_ADMIN.2FA_TITLE',
|
||||
'type' => 'section',
|
||||
'underline' => true
|
||||
],
|
||||
'twofa_enabled' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'PLUGIN_ADMIN.2FA_ENABLED',
|
||||
'classes' => 'twofa-toggle',
|
||||
'highlight' => 1,
|
||||
'default' => 0,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'twofa_secret' => [
|
||||
'type' => '2fa_secret',
|
||||
'outerclasses' => 'twofa-secret',
|
||||
'label' => 'PLUGIN_ADMIN.2FA_SECRET',
|
||||
'sublabel' => 'PLUGIN_ADMIN.2FA_SECRET_HELP'
|
||||
]
|
||||
]
|
||||
],
|
||||
'security' => [
|
||||
'title' => 'PLUGIN_ADMIN.ACCESS_LEVELS',
|
||||
'type' => 'section',
|
||||
'security' => 'admin.super',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'groups' => [
|
||||
'type' => 'select',
|
||||
'multiple' => true,
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.GROUPS',
|
||||
'data-options@' => '\\Grav\\Common\\User\\Group::groupNames',
|
||||
'classes' => 'fancy',
|
||||
'help' => 'PLUGIN_ADMIN.GROUPS_HELP',
|
||||
'validate' => [
|
||||
'type' => 'commalist'
|
||||
]
|
||||
],
|
||||
'access' => [
|
||||
'type' => 'permissions',
|
||||
'label' => 'PLUGIN_ADMIN.PERMISSIONS',
|
||||
'ignore_empty' => true,
|
||||
'validate' => [
|
||||
'type' => 'array'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/r2c.net/user/plugins/admin/blueprints/admin/pages/modular_new.yaml',
|
||||
'modified' => 1529476888,
|
||||
'data' => [
|
||||
'rules' => [
|
||||
'slug' => [
|
||||
'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
|
||||
'min' => 1,
|
||||
'max' => 200
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'section' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ADD_MODULAR_CONTENT'
|
||||
],
|
||||
'title' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_TITLE',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'folder' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NAME',
|
||||
'validate' => [
|
||||
'rule' => 'slug',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE',
|
||||
'classes' => 'fancy',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'name' => [
|
||||
'type' => 'select',
|
||||
'classes' => 'fancy',
|
||||
'label' => 'PLUGIN_ADMIN.MODULAR_TEMPLATE',
|
||||
'help' => 'PLUGIN_ADMIN.PAGE_FILE_HELP',
|
||||
'default' => 'default',
|
||||
'data-options@' => '\\Grav\\Plugin\\AdminPlugin::pagesModularTypes',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'modular' => [
|
||||
'type' => 'hidden',
|
||||
'default' => 1,
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'blueprint' => [
|
||||
'type' => 'blueprint'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,43 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/r2c.net/user/themes/r2c/blueprints/modular/features.yaml',
|
||||
'modified' => 1529476890,
|
||||
'data' => [
|
||||
'title' => 'Features',
|
||||
'@extends' => 'default',
|
||||
'form' => [
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'fields' => [
|
||||
'features' => [
|
||||
'type' => 'tab',
|
||||
'title' => 'Features',
|
||||
'fields' => [
|
||||
'header.features' => [
|
||||
'name' => 'features',
|
||||
'type' => 'list',
|
||||
'label' => 'Features',
|
||||
'fields' => [
|
||||
'.icon' => [
|
||||
'type' => 'iconpicker',
|
||||
'label' => 'Icon'
|
||||
],
|
||||
'.header' => [
|
||||
'type' => 'text',
|
||||
'label' => 'Header'
|
||||
],
|
||||
'.text' => [
|
||||
'type' => 'text',
|
||||
'label' => 'Text'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,44 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/r2c.net/user/plugins/admin/blueprints/admin/pages/new_folder.yaml',
|
||||
'modified' => 1529476888,
|
||||
'data' => [
|
||||
'rules' => [
|
||||
'slug' => [
|
||||
'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
|
||||
'min' => 1,
|
||||
'max' => 200
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'section' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ADD_FOLDER'
|
||||
],
|
||||
'folder' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NAME',
|
||||
'help' => 'PLUGIN_ADMIN.FOLDER_NAME_HELP',
|
||||
'validate' => [
|
||||
'rule' => 'slug',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PARENT_PAGE',
|
||||
'classes' => 'fancy',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'blueprint' => [
|
||||
'type' => 'blueprint'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1,79 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/r2c.net/user/plugins/admin/blueprints/admin/pages/new.yaml',
|
||||
'modified' => 1529476888,
|
||||
'data' => [
|
||||
'rules' => [
|
||||
'slug' => [
|
||||
'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
|
||||
'min' => 1,
|
||||
'max' => 200
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'section' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ADD_PAGE'
|
||||
],
|
||||
'title' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_TITLE',
|
||||
'help' => 'PLUGIN_ADMIN.PAGE_TITLE_HELP',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'folder' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NAME',
|
||||
'help' => 'PLUGIN_ADMIN.FOLDER_NAME_HELP',
|
||||
'validate' => [
|
||||
'rule' => 'slug',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PARENT_PAGE',
|
||||
'classes' => 'fancy',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'name' => [
|
||||
'type' => 'select',
|
||||
'classes' => 'fancy',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_FILE',
|
||||
'help' => 'PLUGIN_ADMIN.PAGE_FILE_HELP',
|
||||
'data-options@' => '\\Grav\\Plugin\\AdminPlugin::pagesTypes',
|
||||
'data-default@' => '\\Grav\\Plugin\\Admin\\Admin::getLastPageName',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'visible' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'PLUGIN_ADMIN.VISIBLE',
|
||||
'help' => 'PLUGIN_ADMIN.VISIBLE_HELP',
|
||||
'highlight' => '',
|
||||
'default' => '',
|
||||
'options' => [
|
||||
'' => 'Auto',
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'blueprint' => [
|
||||
'type' => 'blueprint'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -2,24 +2,18 @@
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/r2c.net/user/config/system.yaml',
|
||||
'modified' => 1530517684,
|
||||
'modified' => 1530525681,
|
||||
'data' => [
|
||||
'absolute_urls' => false,
|
||||
'timezone' => '',
|
||||
'default_locale' => NULL,
|
||||
'param_sep' => ':',
|
||||
'wrapped_site' => false,
|
||||
'reverse_proxy_setup' => false,
|
||||
'force_ssl' => false,
|
||||
'force_lowercase_urls' => true,
|
||||
'custom_base_url' => '',
|
||||
'username_regex' => '^[a-z0-9_-]{3,16}$',
|
||||
'pwd_regex' => '(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{8,}',
|
||||
'intl_enabled' => true,
|
||||
'languages' => [
|
||||
'supported' => [
|
||||
|
||||
],
|
||||
'include_default_lang' => true,
|
||||
'translations' => true,
|
||||
'translations_fallback' => true,
|
||||
@@ -41,7 +35,6 @@ return [
|
||||
'count' => 20
|
||||
],
|
||||
'dateformat' => [
|
||||
'default' => NULL,
|
||||
'short' => 'jS M Y',
|
||||
'long' => 'F jS \\a\\t g:ia'
|
||||
],
|
||||
@@ -75,14 +68,12 @@ return [
|
||||
5 => 'rss',
|
||||
6 => 'atom'
|
||||
],
|
||||
'append_url_extension' => '',
|
||||
'expires' => 604800,
|
||||
'cache_control' => NULL,
|
||||
'last_modified' => false,
|
||||
'etag' => false,
|
||||
'vary_accept_encoding' => false,
|
||||
'redirect_default_route' => false,
|
||||
'redirect_default_code' => 302,
|
||||
'redirect_default_code' => '302',
|
||||
'redirect_trailing_slash' => true,
|
||||
'ignore_files' => [
|
||||
0 => '.DS_Store'
|
||||
@@ -102,7 +93,7 @@ return [
|
||||
]
|
||||
],
|
||||
'cache' => [
|
||||
'enabled' => true,
|
||||
'enabled' => false,
|
||||
'check' => [
|
||||
'method' => 'file'
|
||||
],
|
||||
@@ -112,13 +103,10 @@ return [
|
||||
'cli_compatibility' => false,
|
||||
'lifetime' => 604800,
|
||||
'gzip' => false,
|
||||
'allow_webserver_gzip' => false,
|
||||
'redis' => [
|
||||
'socket' => false
|
||||
]
|
||||
'allow_webserver_gzip' => false
|
||||
],
|
||||
'twig' => [
|
||||
'cache' => true,
|
||||
'cache' => false,
|
||||
'debug' => true,
|
||||
'auto_reload' => true,
|
||||
'autoescape' => false,
|
||||
@@ -143,7 +131,7 @@ return [
|
||||
]
|
||||
],
|
||||
'errors' => [
|
||||
'display' => true,
|
||||
'display' => 1,
|
||||
'log' => true
|
||||
],
|
||||
'debugger' => [
|
||||
@@ -162,12 +150,6 @@ return [
|
||||
],
|
||||
'media' => [
|
||||
'enable_media_timestamp' => false,
|
||||
'unsupported_inline_types' => [
|
||||
|
||||
],
|
||||
'allowed_fallback_types' => [
|
||||
|
||||
],
|
||||
'auto_metadata_exif' => false,
|
||||
'upload_limit' => 2097152
|
||||
],
|
||||
@@ -178,12 +160,10 @@ return [
|
||||
'name' => 'grav-site',
|
||||
'secure' => false,
|
||||
'httponly' => true,
|
||||
'split' => true,
|
||||
'path' => NULL
|
||||
'split' => true
|
||||
],
|
||||
'gpm' => [
|
||||
'releases' => 'stable',
|
||||
'proxy_url' => NULL,
|
||||
'method' => 'auto',
|
||||
'verify_peer' => true,
|
||||
'official_gpm_only' => true
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\Config\\CompiledLanguages',
|
||||
'timestamp' => 1530517684,
|
||||
'timestamp' => 1530525683,
|
||||
'checksum' => 'a4aa3c65831c2a45a6ca566936aa2914',
|
||||
'files' => [
|
||||
'system/languages' => [
|
||||
@@ -22871,6 +22871,6 @@ Path: `%2$s`
|
||||
]
|
||||
],
|
||||
'checksum' => 'a4aa3c65831c2a45a6ca566936aa2914',
|
||||
'timestamp' => 1530517684
|
||||
'timestamp' => 1530525683
|
||||
]
|
||||
];
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
-2
@@ -1,2 +0,0 @@
|
||||
1531123088
|
||||
a:2:{s:7:"content";s:9:"<p>cc</p>";s:12:"content_meta";N;}
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
1531123323
|
||||
a:2:{s:7:"content";s:347:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>Images</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
-14
@@ -1,14 +0,0 @@
|
||||
1531123216
|
||||
a:2:{s:7:"content";s:334:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
-14
@@ -1,14 +0,0 @@
|
||||
1531123323
|
||||
a:2:{s:7:"content";s:347:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>mapweb</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
-14
@@ -1,14 +0,0 @@
|
||||
1531123268
|
||||
a:2:{s:7:"content";s:350:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>Interview</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
-2
@@ -1,2 +0,0 @@
|
||||
1531123323
|
||||
a:2:{s:7:"content";s:9:"<p>cc</p>";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
-14
@@ -1,14 +0,0 @@
|
||||
1531123088
|
||||
a:2:{s:7:"content";s:344:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>dza</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
-14
@@ -1,14 +0,0 @@
|
||||
1531123216
|
||||
a:2:{s:7:"content";s:334:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
-2
@@ -1,2 +0,0 @@
|
||||
1531122503
|
||||
a:2:{s:7:"content";s:49:"<p>Woops. Looks like this page doesn't exist.</p>";s:12:"content_meta";N;}
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
1531123345
|
||||
a:2:{s:7:"content";s:347:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>mapweb</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
1531123730
|
||||
a:2:{s:7:"content";s:364:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p><strong>Images</strong></p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
1531123268
|
||||
a:2:{s:7:"content";s:349:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>mapmonde</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
-14
@@ -1,14 +0,0 @@
|
||||
1531123268
|
||||
a:2:{s:7:"content";s:347:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>mapweb</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
-14
@@ -1,14 +0,0 @@
|
||||
1531123345
|
||||
a:2:{s:7:"content";s:347:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>Images</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
1531123216
|
||||
a:2:{s:7:"content";s:346:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>recit</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
-14
@@ -1,14 +0,0 @@
|
||||
1531123268
|
||||
a:2:{s:7:"content";s:347:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>Images</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
-2
@@ -1,2 +0,0 @@
|
||||
1531123063
|
||||
a:2:{s:7:"content";s:9:"<p>cc</p>";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
-14
@@ -1,14 +0,0 @@
|
||||
1531123323
|
||||
a:2:{s:7:"content";s:345:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>link</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
1531123323
|
||||
a:2:{s:7:"content";s:350:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>Interview</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
-2
@@ -1,2 +0,0 @@
|
||||
1531123268
|
||||
a:2:{s:7:"content";s:9:"<p>cc</p>";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
-14
@@ -1,14 +0,0 @@
|
||||
1531123323
|
||||
a:2:{s:7:"content";s:346:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>recit</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
-2
@@ -1,2 +0,0 @@
|
||||
1531123216
|
||||
a:2:{s:7:"content";s:9:"<p>cc</p>";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
-2
@@ -1,2 +0,0 @@
|
||||
1531123730
|
||||
a:2:{s:7:"content";s:9:"<p>cc</p>";s:12:"content_meta";N;}
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
1531123345
|
||||
a:2:{s:7:"content";s:349:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>mapmonde</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
-14
@@ -1,14 +0,0 @@
|
||||
1531123345
|
||||
a:2:{s:7:"content";s:350:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>Interview</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
1531123216
|
||||
a:2:{s:7:"content";s:345:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>link</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
1531123345
|
||||
a:2:{s:7:"content";s:346:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>recit</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
1531123345
|
||||
a:2:{s:7:"content";s:345:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>link</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
-14
@@ -1,14 +0,0 @@
|
||||
1531123323
|
||||
a:2:{s:7:"content";s:349:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>mapmonde</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
-14
@@ -1,14 +0,0 @@
|
||||
1531123089
|
||||
a:2:{s:7:"content";s:343:"
|
||||
<section id="modular-text" class="section bg-gray">
|
||||
<section class="container grid-lg">
|
||||
<div class="columns">
|
||||
<div class="column col-6 col-md-12">
|
||||
<p>CC</p>
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
";s:12:"content_meta";N;}
|
||||
-2
@@ -1,2 +0,0 @@
|
||||
1531123345
|
||||
a:2:{s:7:"content";s:9:"<p>cc</p>";s:12:"content_meta";N;}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
-113
@@ -1,113 +0,0 @@
|
||||
<?php
|
||||
|
||||
/* partials/logo.html.twig */
|
||||
class __TwigTemplate_db501bbd0c5636c69b7fcfdc1caa6eda4fec2a2fc522037fb3d8f56d51b0a63c extends Twig_Template
|
||||
{
|
||||
public function __construct(Twig_Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = array(
|
||||
);
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = array())
|
||||
{
|
||||
// line 1
|
||||
if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "logo_text", array())) {
|
||||
// line 2
|
||||
echo "<h3>
|
||||
\t<a href=\"";
|
||||
// line 3
|
||||
echo twig_escape_filter($this->env, ($context["base_url_relative"] ?? null), "html", null, true);
|
||||
echo "\">
|
||||
\t\t";
|
||||
// line 4
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "logo_text", array()), "html", null, true);
|
||||
echo "
|
||||
\t</a>
|
||||
\t<a class=\"front-end hint--left\" data-hint=\"";
|
||||
// line 6
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.VIEW_SITE_TIP"), "html", null, true);
|
||||
echo "\" target=\"_blank\" href=\"";
|
||||
echo twig_escape_filter($this->env, ($context["base_url_relative_frontend"] ?? null), "html", null, true);
|
||||
echo "\"> <i class=\"fa fa-bookmark-o\"></i></a>
|
||||
</h3>
|
||||
";
|
||||
} else {
|
||||
// line 9
|
||||
echo "<div class=\"admin-logo\">
|
||||
\t<a href=\"";
|
||||
// line 10
|
||||
echo twig_escape_filter($this->env, ($context["base_url_relative"] ?? null), "html", null, true);
|
||||
echo "\">
|
||||
\t\t<svg id=\"grav-logo-small\" class=\"grav-logo\" width=\"100%\" height=\"100%\" viewBox=\"0 0 91 103\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xml:space=\"preserve\" xmlns:serif=\"http://www.serif.com/\" style=\"fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;\"><g transform=\"matrix(1,0,0,1,-411.231,-328.021)\"><path d=\"M498.522,382.22L487.883,382.22C486.266,382.22 484.953,383.536 484.953,385.158L484.953,405.594L484.744,405.77C478.482,411.052 470.564,413.956 462.45,413.956C443.311,413.956 427.739,398.384 427.739,379.241C427.739,360.097 443.311,344.527 462.45,344.527C469.893,344.527 477.01,346.883 483.034,351.344C484.203,352.21 485.825,352.091 486.856,351.064L494.441,343.477C495.034,342.888 495.342,342.07 495.294,341.235C495.248,340.4 494.847,339.627 494.189,339.106C485.176,331.956 473.905,328.021 462.45,328.021C434.21,328.021 411.232,350.998 411.232,379.241C411.232,407.485 434.21,430.46 462.45,430.46C477.032,430.46 490.979,424.187 500.713,413.242C501.191,412.705 501.455,412.014 501.455,411.295L501.455,385.158C501.455,383.536 500.142,382.22 498.522,382.22\" style=\"fill-rule:nonzero;\"/></g></svg>
|
||||
\t\t<svg id=\"grav-logo-large\" class=\"grav-logo\" xmlns=\"http://www.w3.org/2000/svg\" fill-rule=\"evenodd\" viewBox=\"0 0 444 103\" clip-rule=\"evenodd\"><path d=\"M87.3 54.2H76.64c-1.6 0-2.93 1.3-2.93 2.94v20.43l-.2.18c-6.27 5.28-14.2 8.2-22.3 8.2-19.14-.02-34.7-15.6-34.7-34.73 0-19.14 15.56-34.7 34.7-34.7 7.44 0 14.56 2.34 20.58 6.8 1.17.87 2.8.75 3.83-.28l7.58-7.58c.6-.6.9-1.4.86-2.25-.04-.82-.44-1.6-1.1-2.12C73.94 3.94 62.66 0 51.22 0 22.98 0 0 22.98 0 51.22s22.98 51.22 51.22 51.22c14.58 0 28.53-6.27 38.26-17.22.48-.54.74-1.23.74-1.95V57.14c0-1.63-1.3-2.94-2.93-2.94M443.24 4.7c-.54-.8-1.47-1.3-2.45-1.3h-11.6c-1.16 0-2.22.68-2.68 1.76l-32.65 75.8-33.22-75.82c-.47-1.06-1.53-1.75-2.7-1.75h-11.6c-1 0-1.92.5-2.46 1.32-.55.83-.65 1.87-.24 2.78l40.24 91.8c.47 1.08 1.53 1.77 2.7 1.77h14.65c1.17 0 2.23-.7 2.7-1.77L443.5 7.48c.37-.9.28-1.95-.26-2.77\"/><path d=\"M291.1 5.14c-.48-1.06-1.53-1.75-2.7-1.75h-14.65c-1.17 0-2.23.68-2.7 1.76l-39.53 91.8c-.4.92-.3 1.96.24 2.78.54.83 1.46 1.33 2.45 1.33h11.6c1.16 0 2.22-.7 2.7-1.77l32.62-75.8 33.23 75.8c.47 1.08 1.52 1.77 2.68 1.77h11.63c1 0 1.92-.5 2.45-1.33.56-.83.64-1.88.25-2.8L291.1 5.15zM185.1 67.48l.65-.3c11.56-5.6 19.03-17.45 19.03-30.23 0-18.5-15.05-33.56-33.56-33.56h-42.5c-1.6 0-2.92 1.3-2.92 2.92v91.8c0 1.63 1.3 2.95 2.93 2.95h10.64c1.62 0 2.93-1.3 2.93-2.94V19.9h28.92c9.4 0 17.06 7.64 17.06 17.05 0 7.85-5.33 14.65-12.97 16.55-1.36.34-2.74.52-4.08.52h-10.64c-1.1 0-2.1.62-2.6 1.6-.5 1-.42 2.17.24 3.07l30.16 41.17c.55.75 1.42 1.2 2.36 1.2h13.22c1.1 0 2.12-.62 2.6-1.6.52-1 .42-2.18-.24-3.07l-21.2-28.92z\"/></svg>
|
||||
\t</a>
|
||||
\t<a class=\"front-end hint--left\" data-hint=\"";
|
||||
// line 14
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.VIEW_SITE_TIP"), "html", null, true);
|
||||
echo "\" target=\"_blank\" href=\"";
|
||||
echo twig_escape_filter($this->env, ($context["base_url_relative_frontend"] ?? null), "html", null, true);
|
||||
echo "\"> <i class=\"fa fa-external-link\"></i></a>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 17
|
||||
echo "
|
||||
|
||||
|
||||
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "partials/logo.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 59 => 17, 51 => 14, 44 => 10, 41 => 9, 33 => 6, 28 => 4, 24 => 3, 21 => 2, 19 => 1,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Twig_Source("{% if config.plugins.admin.logo_text %}
|
||||
<h3>
|
||||
\t<a href=\"{{ base_url_relative }}\">
|
||||
\t\t{{ config.plugins.admin.logo_text }}
|
||||
\t</a>
|
||||
\t<a class=\"front-end hint--left\" data-hint=\"{{ \"PLUGIN_ADMIN.VIEW_SITE_TIP\"|tu }}\" target=\"_blank\" href=\"{{ base_url_relative_frontend }}\"> <i class=\"fa fa-bookmark-o\"></i></a>
|
||||
</h3>
|
||||
{% else %}
|
||||
<div class=\"admin-logo\">
|
||||
\t<a href=\"{{ base_url_relative }}\">
|
||||
\t\t<svg id=\"grav-logo-small\" class=\"grav-logo\" width=\"100%\" height=\"100%\" viewBox=\"0 0 91 103\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xml:space=\"preserve\" xmlns:serif=\"http://www.serif.com/\" style=\"fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;\"><g transform=\"matrix(1,0,0,1,-411.231,-328.021)\"><path d=\"M498.522,382.22L487.883,382.22C486.266,382.22 484.953,383.536 484.953,385.158L484.953,405.594L484.744,405.77C478.482,411.052 470.564,413.956 462.45,413.956C443.311,413.956 427.739,398.384 427.739,379.241C427.739,360.097 443.311,344.527 462.45,344.527C469.893,344.527 477.01,346.883 483.034,351.344C484.203,352.21 485.825,352.091 486.856,351.064L494.441,343.477C495.034,342.888 495.342,342.07 495.294,341.235C495.248,340.4 494.847,339.627 494.189,339.106C485.176,331.956 473.905,328.021 462.45,328.021C434.21,328.021 411.232,350.998 411.232,379.241C411.232,407.485 434.21,430.46 462.45,430.46C477.032,430.46 490.979,424.187 500.713,413.242C501.191,412.705 501.455,412.014 501.455,411.295L501.455,385.158C501.455,383.536 500.142,382.22 498.522,382.22\" style=\"fill-rule:nonzero;\"/></g></svg>
|
||||
\t\t<svg id=\"grav-logo-large\" class=\"grav-logo\" xmlns=\"http://www.w3.org/2000/svg\" fill-rule=\"evenodd\" viewBox=\"0 0 444 103\" clip-rule=\"evenodd\"><path d=\"M87.3 54.2H76.64c-1.6 0-2.93 1.3-2.93 2.94v20.43l-.2.18c-6.27 5.28-14.2 8.2-22.3 8.2-19.14-.02-34.7-15.6-34.7-34.73 0-19.14 15.56-34.7 34.7-34.7 7.44 0 14.56 2.34 20.58 6.8 1.17.87 2.8.75 3.83-.28l7.58-7.58c.6-.6.9-1.4.86-2.25-.04-.82-.44-1.6-1.1-2.12C73.94 3.94 62.66 0 51.22 0 22.98 0 0 22.98 0 51.22s22.98 51.22 51.22 51.22c14.58 0 28.53-6.27 38.26-17.22.48-.54.74-1.23.74-1.95V57.14c0-1.63-1.3-2.94-2.93-2.94M443.24 4.7c-.54-.8-1.47-1.3-2.45-1.3h-11.6c-1.16 0-2.22.68-2.68 1.76l-32.65 75.8-33.22-75.82c-.47-1.06-1.53-1.75-2.7-1.75h-11.6c-1 0-1.92.5-2.46 1.32-.55.83-.65 1.87-.24 2.78l40.24 91.8c.47 1.08 1.53 1.77 2.7 1.77h14.65c1.17 0 2.23-.7 2.7-1.77L443.5 7.48c.37-.9.28-1.95-.26-2.77\"/><path d=\"M291.1 5.14c-.48-1.06-1.53-1.75-2.7-1.75h-14.65c-1.17 0-2.23.68-2.7 1.76l-39.53 91.8c-.4.92-.3 1.96.24 2.78.54.83 1.46 1.33 2.45 1.33h11.6c1.16 0 2.22-.7 2.7-1.77l32.62-75.8 33.23 75.8c.47 1.08 1.52 1.77 2.68 1.77h11.63c1 0 1.92-.5 2.45-1.33.56-.83.64-1.88.25-2.8L291.1 5.15zM185.1 67.48l.65-.3c11.56-5.6 19.03-17.45 19.03-30.23 0-18.5-15.05-33.56-33.56-33.56h-42.5c-1.6 0-2.92 1.3-2.92 2.92v91.8c0 1.63 1.3 2.95 2.93 2.95h10.64c1.62 0 2.93-1.3 2.93-2.94V19.9h28.92c9.4 0 17.06 7.64 17.06 17.05 0 7.85-5.33 14.65-12.97 16.55-1.36.34-2.74.52-4.08.52h-10.64c-1.1 0-2.1.62-2.6 1.6-.5 1-.42 2.17.24 3.07l30.16 41.17c.55.75 1.42 1.2 2.36 1.2h13.22c1.1 0 2.12-.62 2.6-1.6.52-1 .42-2.18-.24-3.07l-21.2-28.92z\"/></svg>
|
||||
\t</a>
|
||||
\t<a class=\"front-end hint--left\" data-hint=\"{{ \"PLUGIN_ADMIN.VIEW_SITE_TIP\"|tu }}\" target=\"_blank\" href=\"{{ base_url_relative_frontend }}\"> <i class=\"fa fa-external-link\"></i></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
|
||||
", "partials/logo.html.twig", "/mnt/data/Sites/r2c.net/user/plugins/admin/themes/grav/templates/partials/logo.html.twig");
|
||||
}
|
||||
}
|
||||
-166
@@ -1,166 +0,0 @@
|
||||
<?php
|
||||
|
||||
/* forms/fields/section/section.html.twig */
|
||||
class __TwigTemplate_6786fc3aeae24ca7f1260ac57d19a2fbfa6926b155ea564ea0e3618db9b9ae60 extends Twig_Template
|
||||
{
|
||||
public function __construct(Twig_Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = array(
|
||||
);
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = array())
|
||||
{
|
||||
// line 1
|
||||
if ((twig_test_empty($this->getAttribute(($context["field"] ?? null), "security", array())) || $this->env->getExtension('Grav\Common\Twig\TwigExtension')->authorize($this->env->getExtension('Grav\Common\Twig\TwigExtension')->arrayFunc($this->getAttribute(($context["field"] ?? null), "security", array()))))) {
|
||||
// line 2
|
||||
echo "
|
||||
";
|
||||
// line 3
|
||||
if (($this->getAttribute(($context["field"] ?? null), "title", array()) || $this->getAttribute(($context["field"] ?? null), "underline", array()))) {
|
||||
// line 4
|
||||
echo " <h1 ";
|
||||
if ( !$this->getAttribute(($context["field"] ?? null), "underline", array())) {
|
||||
echo "class=\"no_underline\"";
|
||||
}
|
||||
echo ">";
|
||||
if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "twig", array(), "any", false, true), "twig", array(), "any", false, true), "filters", array(), "any", false, true), "tu", array(), "array", true, true)) {
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter($this->getAttribute(($context["field"] ?? null), "title", array())), "html", null, true);
|
||||
} else {
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate($this->getAttribute(($context["field"] ?? null), "title", array())), "html", null, true);
|
||||
}
|
||||
echo "</h1>
|
||||
";
|
||||
}
|
||||
// line 6
|
||||
echo "
|
||||
";
|
||||
// line 7
|
||||
if ($this->getAttribute(($context["field"] ?? null), "text", array())) {
|
||||
// line 8
|
||||
echo " <p>";
|
||||
if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "twig", array(), "any", false, true), "twig", array(), "any", false, true), "filters", array(), "any", false, true), "tu", array(), "array", true, true)) {
|
||||
echo $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter($this->getAttribute(($context["field"] ?? null), "text", array()));
|
||||
} else {
|
||||
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate($this->getAttribute(($context["field"] ?? null), "text", array()));
|
||||
}
|
||||
echo "</p>
|
||||
";
|
||||
}
|
||||
// line 10
|
||||
echo "
|
||||
";
|
||||
// line 11
|
||||
if ($this->getAttribute(($context["field"] ?? null), "fields", array())) {
|
||||
// line 12
|
||||
echo " <div class=\"form-section ";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "field_classes", array()), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 13
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable($this->getAttribute($context["field"], "fields", array()));
|
||||
$context['loop'] = array(
|
||||
'parent' => $context['_parent'],
|
||||
'index0' => 0,
|
||||
'index' => 1,
|
||||
'first' => true,
|
||||
);
|
||||
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
|
||||
$length = count($context['_seq']);
|
||||
$context['loop']['revindex0'] = $length - 1;
|
||||
$context['loop']['revindex'] = $length;
|
||||
$context['loop']['length'] = $length;
|
||||
$context['loop']['last'] = 1 === $length;
|
||||
}
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
|
||||
// line 14
|
||||
echo " ";
|
||||
if ($this->getAttribute($context["field"], "type", array())) {
|
||||
// line 15
|
||||
echo " ";
|
||||
$context["value"] = (($this->getAttribute($context["field"], "name", array())) ? ($this->getAttribute(($context["data"] ?? null), "value", array(0 => $this->getAttribute($context["field"], "name", array())), "method")) : ($this->getAttribute(($context["data"] ?? null), "toArray", array())));
|
||||
// line 16
|
||||
echo " ";
|
||||
$this->loadTemplate(array(0 => (((("forms/fields/" . $this->getAttribute($context["field"], "type", array())) . "/") . $this->getAttribute($context["field"], "type", array())) . ".html.twig"), 1 => "forms/fields/text/text.html.twig"), "forms/fields/section/section.html.twig", 16)->display($context);
|
||||
// line 17
|
||||
echo " ";
|
||||
}
|
||||
// line 18
|
||||
echo " ";
|
||||
++$context['loop']['index0'];
|
||||
++$context['loop']['index'];
|
||||
$context['loop']['first'] = false;
|
||||
if (isset($context['loop']['length'])) {
|
||||
--$context['loop']['revindex0'];
|
||||
--$context['loop']['revindex'];
|
||||
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
||||
}
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 19
|
||||
echo " </div>
|
||||
";
|
||||
}
|
||||
// line 21
|
||||
echo "
|
||||
";
|
||||
}
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "forms/fields/section/section.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 112 => 21, 108 => 19, 94 => 18, 91 => 17, 88 => 16, 85 => 15, 82 => 14, 65 => 13, 60 => 12, 58 => 11, 55 => 10, 45 => 8, 43 => 7, 40 => 6, 26 => 4, 24 => 3, 21 => 2, 19 => 1,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Twig_Source("{% if field.security is empty or authorize(array(field.security)) %}
|
||||
|
||||
{% if field.title or field.underline %}
|
||||
<h1 {% if not field.underline %}class=\"no_underline\"{% endif %}>{% if grav.twig.twig.filters['tu'] is defined %}{{ field.title|tu }}{% else %}{{ field.title|t }}{% endif %}</h1>
|
||||
{% endif %}
|
||||
|
||||
{% if field.text %}
|
||||
<p>{% if grav.twig.twig.filters['tu'] is defined %}{{ field.text|tu|raw }}{% else %}{{ field.text|t|raw }}{% endif %}</p>
|
||||
{% endif %}
|
||||
|
||||
{% if field.fields %}
|
||||
<div class=\"form-section {{ field.field_classes }}\">
|
||||
{% for field in field.fields %}
|
||||
{% if field.type %}
|
||||
{% set value = field.name ? data.value(field.name) : data.toArray %}
|
||||
{% include [\"forms/fields/#{field.type}/#{field.type}.html.twig\", 'forms/fields/text/text.html.twig'] %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
", "forms/fields/section/section.html.twig", "/mnt/data/Sites/r2c.net/user/plugins/admin/themes/grav/templates/forms/fields/section/section.html.twig");
|
||||
}
|
||||
}
|
||||
-165
@@ -1,165 +0,0 @@
|
||||
<?php
|
||||
|
||||
/* forms/fields/text/text.html.twig */
|
||||
class __TwigTemplate_904d607a1dc45d40397a54b54a4486f178eaed587d7081bebb5f5d5a87701313 extends Twig_Template
|
||||
{
|
||||
public function __construct(Twig_Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
// line 1
|
||||
$this->parent = $this->loadTemplate("forms/field.html.twig", "forms/fields/text/text.html.twig", 1);
|
||||
$this->blocks = array(
|
||||
'prepend' => array($this, 'block_prepend'),
|
||||
'input_attributes' => array($this, 'block_input_attributes'),
|
||||
'append' => array($this, 'block_append'),
|
||||
'input' => array($this, 'block_input'),
|
||||
);
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context)
|
||||
{
|
||||
return "forms/field.html.twig";
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = array())
|
||||
{
|
||||
$this->parent->display($context, array_merge($this->blocks, $blocks));
|
||||
}
|
||||
|
||||
// line 3
|
||||
public function block_prepend($context, array $blocks = array())
|
||||
{
|
||||
// line 4
|
||||
if ($this->getAttribute(($context["field"] ?? null), "prepend", array())) {
|
||||
// line 5
|
||||
echo " <div class=\"form-input-addon form-input-prepend\">
|
||||
";
|
||||
// line 6
|
||||
if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "twig", array(), "any", false, true), "twig", array(), "any", false, true), "filters", array(), "any", false, true), "tu", array(), "array", true, true)) {
|
||||
// line 7
|
||||
echo $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter($this->getAttribute(($context["field"] ?? null), "prepend", array()));
|
||||
} else {
|
||||
// line 9
|
||||
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate($this->getAttribute(($context["field"] ?? null), "prepend", array()));
|
||||
}
|
||||
// line 11
|
||||
echo " </div>
|
||||
";
|
||||
}
|
||||
}
|
||||
|
||||
// line 15
|
||||
public function block_input_attributes($context, array $blocks = array())
|
||||
{
|
||||
// line 16
|
||||
echo " type=\"text\"
|
||||
";
|
||||
// line 17
|
||||
$this->displayParentBlock("input_attributes", $context, $blocks);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
// line 20
|
||||
public function block_append($context, array $blocks = array())
|
||||
{
|
||||
// line 21
|
||||
echo " ";
|
||||
if ($this->getAttribute(($context["field"] ?? null), "append", array())) {
|
||||
// line 22
|
||||
echo " <div class=\"form-input-addon form-input-append\">
|
||||
";
|
||||
// line 23
|
||||
if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "twig", array(), "any", false, true), "twig", array(), "any", false, true), "filters", array(), "any", false, true), "tu", array(), "array", true, true)) {
|
||||
// line 24
|
||||
echo $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter($this->getAttribute(($context["field"] ?? null), "append", array()));
|
||||
} else {
|
||||
// line 26
|
||||
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate($this->getAttribute(($context["field"] ?? null), "append", array()));
|
||||
}
|
||||
// line 28
|
||||
echo " </div>
|
||||
";
|
||||
}
|
||||
}
|
||||
|
||||
// line 32
|
||||
public function block_input($context, array $blocks = array())
|
||||
{
|
||||
// line 33
|
||||
if (($this->getAttribute(($context["field"] ?? null), "prepend", array()) || $this->getAttribute(($context["field"] ?? null), "append", array()))) {
|
||||
// line 34
|
||||
echo " ";
|
||||
$context["field"] = twig_array_merge(($context["field"] ?? null), array("wrapper_classes" => "form-input-addon-wrapper"));
|
||||
}
|
||||
// line 36
|
||||
$this->displayParentBlock("input", $context, $blocks);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "forms/fields/text/text.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 97 => 36, 93 => 34, 91 => 33, 88 => 32, 82 => 28, 79 => 26, 76 => 24, 74 => 23, 71 => 22, 68 => 21, 65 => 20, 59 => 17, 56 => 16, 53 => 15, 47 => 11, 44 => 9, 41 => 7, 39 => 6, 36 => 5, 34 => 4, 31 => 3, 11 => 1,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Twig_Source("{% extends \"forms/field.html.twig\" %}
|
||||
|
||||
{% block prepend %}
|
||||
{% if field.prepend %}
|
||||
<div class=\"form-input-addon form-input-prepend\">
|
||||
{% if grav.twig.twig.filters['tu'] is defined %}
|
||||
{{- field.prepend|tu|raw -}}
|
||||
{% else %}
|
||||
{{- field.prepend|t|raw -}}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block input_attributes %}
|
||||
type=\"text\"
|
||||
{{ parent() }}
|
||||
{% endblock %}
|
||||
|
||||
{% block append %}
|
||||
{% if field.append %}
|
||||
<div class=\"form-input-addon form-input-append\">
|
||||
{% if grav.twig.twig.filters['tu'] is defined %}
|
||||
{{- field.append|tu|raw -}}
|
||||
{% else %}
|
||||
{{- field.append|t|raw -}}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block input %}
|
||||
{% if field.prepend or field.append %}
|
||||
{% set field = field|merge({'wrapper_classes': 'form-input-addon-wrapper'}) %}
|
||||
{% endif %}
|
||||
{{ parent() }}
|
||||
{% endblock %}", "forms/fields/text/text.html.twig", "/mnt/data/Sites/r2c.net/user/plugins/form/templates/forms/fields/text/text.html.twig");
|
||||
}
|
||||
}
|
||||
-108
@@ -1,108 +0,0 @@
|
||||
<?php
|
||||
|
||||
/* partials/messages.html.twig */
|
||||
class __TwigTemplate_6f58fd3d3521dcf77a127627d70f3073695825e03c0e5b9d95256174efa22d9c extends Twig_Template
|
||||
{
|
||||
public function __construct(Twig_Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = array(
|
||||
);
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = array())
|
||||
{
|
||||
// line 1
|
||||
$context["admin_messages"] = twig_array_merge($this->getAttribute(($context["admin"] ?? null), "messages", array()), $this->getAttribute(($context["admin"] ?? null), "getTempMessages", array(), "method"));
|
||||
// line 2
|
||||
$context["form_message"] = $this->getAttribute(($context["form"] ?? null), "message", array());
|
||||
// line 3
|
||||
echo "<div id=\"messages\" class=\"top-notifications-container";
|
||||
echo (((twig_length_filter($this->env, ($context["admin_messages"] ?? null)) || ($context["form_message"] ?? null))) ? (" default-box-shadow") : (""));
|
||||
echo "\">
|
||||
<div class=\"single-notification info alert hidden\" data-gpm-grav></div>";
|
||||
// line 5
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(($context["admin_messages"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
|
||||
// line 6
|
||||
echo "<div class=\"";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["message"], "scope", array()));
|
||||
echo " alert\">";
|
||||
echo $this->getAttribute($context["message"], "message", array());
|
||||
echo "</div>";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 8
|
||||
if (($context["form_message"] ?? null)) {
|
||||
// line 9
|
||||
echo "<div class=\"error alert\">";
|
||||
echo ($context["form_message"] ?? null);
|
||||
echo "</div>";
|
||||
}
|
||||
// line 11
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(($context["plugin_messages"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
|
||||
// line 12
|
||||
echo "<div class=\"";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["message"], "scope", array()));
|
||||
echo " alert\">";
|
||||
echo $this->getAttribute($context["message"], "message", array());
|
||||
echo "</div>";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 14
|
||||
echo "</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "partials/messages.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 63 => 14, 53 => 12, 49 => 11, 44 => 9, 42 => 8, 32 => 6, 28 => 5, 23 => 3, 21 => 2, 19 => 1,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Twig_Source("{% set admin_messages = admin.messages|merge(admin.getTempMessages()) %}
|
||||
{% set form_message = form.message %}
|
||||
<div id=\"messages\" class=\"top-notifications-container{{ admin_messages|length or form_message ? ' default-box-shadow' : '' }}\">
|
||||
<div class=\"single-notification info alert hidden\" data-gpm-grav></div>
|
||||
{%- for message in admin_messages -%}
|
||||
<div class=\"{{ message.scope|e }} alert\">{{ message.message|raw }}</div>
|
||||
{%- endfor -%}
|
||||
{%- if form_message -%}
|
||||
<div class=\"error alert\">{{ form_message|raw }}</div>
|
||||
{%- endif -%}
|
||||
{%- for message in plugin_messages -%}
|
||||
<div class=\"{{ message.scope|e }} alert\">{{ message.message|raw }}</div>
|
||||
{%- endfor -%}
|
||||
</div>
|
||||
", "partials/messages.html.twig", "/mnt/data/Sites/r2c.net/user/plugins/admin/themes/grav/templates/partials/messages.html.twig");
|
||||
}
|
||||
}
|
||||
-86
@@ -1,86 +0,0 @@
|
||||
<?php
|
||||
|
||||
/* partials/javascripts.html.twig */
|
||||
class __TwigTemplate_4e830b743d18ca6c061062841c63c5992bd1354752b960823d1dbd64ed5e9c1e extends Twig_Template
|
||||
{
|
||||
public function __construct(Twig_Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = array(
|
||||
);
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = array())
|
||||
{
|
||||
// line 1
|
||||
$this->getAttribute(($context["assets"] ?? null), "add", array(0 => "jquery", 1 => 101), "method");
|
||||
// line 2
|
||||
if ($this->env->getExtension('Grav\Common\Twig\TwigExtension')->authorize(array(0 => "admin.login", 1 => "admin.super"))) {
|
||||
// line 3
|
||||
$this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => (($context["theme_url"] ?? null) . "/js/vendor.min.js"), 1 => array("loading" => "defer")), "method");
|
||||
// line 4
|
||||
$this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => (($context["theme_url"] ?? null) . "/js/admin.min.js"), 1 => array("loading" => "defer")), "method");
|
||||
// line 5
|
||||
echo "
|
||||
";
|
||||
// line 6
|
||||
if ((($this->getAttribute(($context["browser"] ?? null), "getBrowser", array()) == "msie") || ($this->getAttribute(($context["browser"] ?? null), "getBrowser", array()) == "edge"))) {
|
||||
// line 7
|
||||
echo " ";
|
||||
$this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => (($context["theme_url"] ?? null) . "/js/form-attr.polyfill.js")), "method");
|
||||
}
|
||||
// line 9
|
||||
echo "
|
||||
";
|
||||
// line 10
|
||||
try {
|
||||
$this->loadTemplate("partials/javascripts-extra.html.twig", "partials/javascripts.html.twig", 10)->display($context);
|
||||
} catch (Twig_Error_Loader $e) {
|
||||
// ignore missing template
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "partials/javascripts.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 39 => 10, 36 => 9, 32 => 7, 30 => 6, 27 => 5, 25 => 4, 23 => 3, 21 => 2, 19 => 1,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Twig_Source("{% do assets.add('jquery',101) %}
|
||||
{% if authorize(['admin.login', 'admin.super']) %}
|
||||
{% do assets.addJs(theme_url~'/js/vendor.min.js', { 'loading':'defer' }) %}
|
||||
{% do assets.addJs(theme_url~'/js/admin.min.js' , { 'loading':'defer' }) %}
|
||||
|
||||
{% if browser.getBrowser == 'msie' or browser.getBrowser == 'edge' %}
|
||||
{% do assets.addJs(theme_url~'/js/form-attr.polyfill.js') %}
|
||||
{% endif %}
|
||||
|
||||
{% include 'partials/javascripts-extra.html.twig' ignore missing %}
|
||||
{% endif %}
|
||||
", "partials/javascripts.html.twig", "/mnt/data/Sites/r2c.net/user/plugins/admin/themes/grav/templates/partials/javascripts.html.twig");
|
||||
}
|
||||
}
|
||||
-211
@@ -1,211 +0,0 @@
|
||||
<?php
|
||||
|
||||
/* partials/blueprints.html.twig */
|
||||
class __TwigTemplate_b4a152ec6b59d21a65d2afe64fa80cde0504b368aa8cb7de7b14851245497b04 extends Twig_Template
|
||||
{
|
||||
public function __construct(Twig_Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = array(
|
||||
);
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = array())
|
||||
{
|
||||
// line 1
|
||||
$context["form_id"] = ((($context["form_id"] ?? null)) ? (($context["form_id"] ?? null)) : ("blueprints"));
|
||||
// line 2
|
||||
$context["scope"] = ((($context["scope"] ?? null)) ? (($context["scope"] ?? null)) : ("data."));
|
||||
// line 3
|
||||
echo "
|
||||
";
|
||||
// line 4
|
||||
if ($this->getAttribute(($context["admin"] ?? null), "findFormFields", array(0 => "file", 1 => $this->getAttribute(($context["blueprints"] ?? null), "fields", array())), "method")) {
|
||||
// line 5
|
||||
echo " ";
|
||||
$context["multipart"] = " enctype=\"multipart/form-data\"";
|
||||
}
|
||||
// line 7
|
||||
echo "
|
||||
<form id=\"";
|
||||
// line 8
|
||||
echo twig_escape_filter($this->env, ($context["form_id"] ?? null), "html", null, true);
|
||||
echo "\" method=\"post\" data-grav-form=\"";
|
||||
echo twig_escape_filter($this->env, ($context["form_id"] ?? null), "html", null, true);
|
||||
echo "\" data-grav-keepalive=\"true\"";
|
||||
echo ($context["multipart"] ?? null);
|
||||
echo ">
|
||||
";
|
||||
// line 9
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["blueprints"] ?? null), "fields", array()));
|
||||
$context['loop'] = array(
|
||||
'parent' => $context['_parent'],
|
||||
'index0' => 0,
|
||||
'index' => 1,
|
||||
'first' => true,
|
||||
);
|
||||
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
|
||||
$length = count($context['_seq']);
|
||||
$context['loop']['revindex0'] = $length - 1;
|
||||
$context['loop']['revindex'] = $length;
|
||||
$context['loop']['length'] = $length;
|
||||
$context['loop']['last'] = 1 === $length;
|
||||
}
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
|
||||
// line 10
|
||||
echo " ";
|
||||
if ($this->getAttribute($context["field"], "type", array())) {
|
||||
// line 11
|
||||
echo " ";
|
||||
$context["value"] = (($this->getAttribute($context["field"], "name", array())) ? ($this->getAttribute(($context["data"] ?? null), "value", array(0 => $this->getAttribute($context["field"], "name", array())), "method")) : ($this->getAttribute(($context["data"] ?? null), "toArray", array())));
|
||||
// line 12
|
||||
echo " <div class=\"block block-";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "type", array()), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 13
|
||||
$this->loadTemplate(array(0 => (((("forms/fields/" . $this->getAttribute($context["field"], "type", array())) . "/") . $this->getAttribute($context["field"], "type", array())) . ".html.twig"), 1 => "forms/fields/text/text.html.twig"), "partials/blueprints.html.twig", 13)->display($context);
|
||||
// line 14
|
||||
echo " </div>
|
||||
";
|
||||
}
|
||||
// line 16
|
||||
echo " ";
|
||||
++$context['loop']['index0'];
|
||||
++$context['loop']['index'];
|
||||
$context['loop']['first'] = false;
|
||||
if (isset($context['loop']['length'])) {
|
||||
--$context['loop']['revindex0'];
|
||||
--$context['loop']['revindex'];
|
||||
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
||||
}
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 17
|
||||
echo "
|
||||
";
|
||||
// line 18
|
||||
if ($this->getAttribute(($context["data"] ?? null), "extra", array())) {
|
||||
// line 19
|
||||
echo " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["data"] ?? null), "extra", array()));
|
||||
$context['loop'] = array(
|
||||
'parent' => $context['_parent'],
|
||||
'index0' => 0,
|
||||
'index' => 1,
|
||||
'first' => true,
|
||||
);
|
||||
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
|
||||
$length = count($context['_seq']);
|
||||
$context['loop']['revindex0'] = $length - 1;
|
||||
$context['loop']['revindex'] = $length;
|
||||
$context['loop']['length'] = $length;
|
||||
$context['loop']['last'] = 1 === $length;
|
||||
}
|
||||
foreach ($context['_seq'] as $context["name"] => $context["value"]) {
|
||||
// line 20
|
||||
echo " ";
|
||||
if (!twig_in_filter($context["name"], array(0 => "_json", 1 => "task", 2 => "admin-nonce"))) {
|
||||
// line 21
|
||||
echo " ";
|
||||
$context["field"] = array("name" => ("_json." . $context["name"]));
|
||||
// line 22
|
||||
echo " ";
|
||||
$context["value"] = twig_jsonencode_filter($context["value"]);
|
||||
// line 23
|
||||
echo " ";
|
||||
$this->loadTemplate("forms/fields/hidden/hidden.html.twig", "partials/blueprints.html.twig", 23)->display($context);
|
||||
// line 24
|
||||
echo " ";
|
||||
}
|
||||
// line 25
|
||||
echo " ";
|
||||
++$context['loop']['index0'];
|
||||
++$context['loop']['index'];
|
||||
$context['loop']['first'] = false;
|
||||
if (isset($context['loop']['length'])) {
|
||||
--$context['loop']['revindex0'];
|
||||
--$context['loop']['revindex'];
|
||||
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
||||
}
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['name'], $context['value'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 26
|
||||
echo " ";
|
||||
}
|
||||
// line 27
|
||||
echo "
|
||||
";
|
||||
// line 28
|
||||
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->nonceFieldFunc("admin-form", "admin-nonce");
|
||||
echo "
|
||||
</form>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "partials/blueprints.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 149 => 28, 146 => 27, 143 => 26, 129 => 25, 126 => 24, 123 => 23, 120 => 22, 117 => 21, 114 => 20, 96 => 19, 94 => 18, 91 => 17, 77 => 16, 73 => 14, 71 => 13, 66 => 12, 63 => 11, 60 => 10, 43 => 9, 35 => 8, 32 => 7, 28 => 5, 26 => 4, 23 => 3, 21 => 2, 19 => 1,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Twig_Source("{% set form_id = form_id ? form_id : 'blueprints' %}
|
||||
{% set scope = scope ?: 'data.' %}
|
||||
|
||||
{% if admin.findFormFields('file', blueprints.fields) %}
|
||||
{% set multipart = ' enctype=\"multipart/form-data\"' %}
|
||||
{% endif %}
|
||||
|
||||
<form id=\"{{ form_id }}\" method=\"post\" data-grav-form=\"{{ form_id }}\" data-grav-keepalive=\"true\"{{ multipart|raw }}>
|
||||
{% for field in blueprints.fields %}
|
||||
{% if field.type %}
|
||||
{% set value = field.name ? data.value(field.name) : data.toArray %}
|
||||
<div class=\"block block-{{ field.type }}\">
|
||||
{% include [\"forms/fields/#{field.type}/#{field.type}.html.twig\", 'forms/fields/text/text.html.twig'] %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if data.extra %}
|
||||
{% for name, value in data.extra %}
|
||||
{% if name not in ['_json','task','admin-nonce'] %}
|
||||
{% set field = {name: '_json.' ~ name} %}
|
||||
{% set value = value|raw|json_encode %}
|
||||
{% include 'forms/fields/hidden/hidden.html.twig' %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{{ nonce_field('admin-form', 'admin-nonce')|raw }}
|
||||
</form>
|
||||
", "partials/blueprints.html.twig", "/mnt/data/Sites/r2c.net/user/plugins/admin/themes/grav/templates/partials/blueprints.html.twig");
|
||||
}
|
||||
}
|
||||
-476
@@ -1,476 +0,0 @@
|
||||
<?php
|
||||
|
||||
/* partials/base.html.twig */
|
||||
class __TwigTemplate_5c1e179e5651a7b19a8394edfa231a502c6da0cec9fc4110f9246f2a43174b55 extends Twig_Template
|
||||
{
|
||||
public function __construct(Twig_Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = array(
|
||||
'head' => array($this, 'block_head'),
|
||||
'stylesheets' => array($this, 'block_stylesheets'),
|
||||
'javascripts' => array($this, 'block_javascripts'),
|
||||
'body_classes' => array($this, 'block_body_classes'),
|
||||
'header' => array($this, 'block_header'),
|
||||
'header_navigation' => array($this, 'block_header_navigation'),
|
||||
'hero' => array($this, 'block_hero'),
|
||||
'body' => array($this, 'block_body'),
|
||||
'messages' => array($this, 'block_messages'),
|
||||
'content' => array($this, 'block_content'),
|
||||
'footer' => array($this, 'block_footer'),
|
||||
'bottom' => array($this, 'block_bottom'),
|
||||
);
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = array())
|
||||
{
|
||||
// line 1
|
||||
$context["body_classes"] = $this->env->getExtension('Grav\Common\Twig\TwigExtension')->bodyClassFunc(array(0 => "header-fixed", 1 => "header-animated", 2 => "header-dark", 3 => "header-transparent", 4 => "sticky-footer"));
|
||||
// line 2
|
||||
$context["grid_size"] = $this->env->getExtension('Grav\Common\Twig\TwigExtension')->themeVarFunc("grid-size");
|
||||
// line 3
|
||||
$context["compress"] = (($this->env->getExtension('Grav\Common\Twig\TwigExtension')->themeVarFunc("production_mode")) ? (".min.css") : (".css"));
|
||||
// line 4
|
||||
echo "<!DOCTYPE html>
|
||||
<html lang=\"";
|
||||
// line 5
|
||||
echo (($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "language", array()), "getActive", array())) ? ($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "language", array()), "getActive", array())) : ($this->getAttribute($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "config", array()), "site", array()), "default_lang", array())));
|
||||
echo "\">
|
||||
<head>
|
||||
";
|
||||
// line 7
|
||||
$this->displayBlock('head', $context, $blocks);
|
||||
// line 36
|
||||
echo "</head>
|
||||
<body id=\"top\" class=\"";
|
||||
// line 37
|
||||
$this->displayBlock('body_classes', $context, $blocks);
|
||||
echo "\">
|
||||
<div id=\"page-wrapper\">
|
||||
";
|
||||
// line 39
|
||||
$this->displayBlock('header', $context, $blocks);
|
||||
// line 70
|
||||
echo "
|
||||
";
|
||||
// line 71
|
||||
$this->displayBlock('hero', $context, $blocks);
|
||||
// line 72
|
||||
echo "
|
||||
<section id=\"start\">
|
||||
";
|
||||
// line 74
|
||||
$this->displayBlock('body', $context, $blocks);
|
||||
// line 84
|
||||
echo " </section>
|
||||
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 88
|
||||
$this->displayBlock('footer', $context, $blocks);
|
||||
// line 95
|
||||
echo "
|
||||
|
||||
<div class=\"mobile-container\">
|
||||
<div class=\"overlay\" id=\"overlay\">
|
||||
<div class=\"mobile-logo\">
|
||||
";
|
||||
// line 100
|
||||
$this->loadTemplate("@images/grav-logo.svg", "partials/base.html.twig", 100)->display($context);
|
||||
// line 101
|
||||
echo " </div>
|
||||
<nav class=\"overlay-menu\">
|
||||
";
|
||||
// line 103
|
||||
$this->loadTemplate("partials/navigation.html.twig", "partials/base.html.twig", 103)->display(array_merge($context, array("tree" => true)));
|
||||
// line 104
|
||||
echo " </nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 108
|
||||
$this->displayBlock('bottom', $context, $blocks);
|
||||
// line 111
|
||||
echo "
|
||||
</body>
|
||||
";
|
||||
}
|
||||
|
||||
// line 7
|
||||
public function block_head($context, array $blocks = array())
|
||||
{
|
||||
// line 8
|
||||
echo " <meta charset=\"utf-8\" />
|
||||
<title>";
|
||||
// line 9
|
||||
if ($this->getAttribute(($context["header"] ?? null), "title", array())) {
|
||||
echo twig_escape_filter($this->env, $this->getAttribute(($context["header"] ?? null), "title", array()), "html");
|
||||
echo " | ";
|
||||
}
|
||||
echo twig_escape_filter($this->env, $this->getAttribute(($context["site"] ?? null), "title", array()), "html");
|
||||
echo "</title>
|
||||
|
||||
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
|
||||
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
|
||||
";
|
||||
// line 13
|
||||
$this->loadTemplate("partials/metadata.html.twig", "partials/base.html.twig", 13)->display($context);
|
||||
// line 14
|
||||
echo "
|
||||
<link rel=\"icon\" type=\"image/png\" href=\"";
|
||||
// line 15
|
||||
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->urlFunc("theme://images/favicon.png");
|
||||
echo "\" />
|
||||
<link rel=\"canonical\" href=\"";
|
||||
// line 16
|
||||
echo $this->getAttribute(($context["page"] ?? null), "url", array(0 => true, 1 => true), "method");
|
||||
echo "\" />
|
||||
|
||||
";
|
||||
// line 18
|
||||
$this->displayBlock('stylesheets', $context, $blocks);
|
||||
// line 26
|
||||
echo " ";
|
||||
echo $this->getAttribute(($context["assets"] ?? null), "css", array(), "method");
|
||||
echo "
|
||||
|
||||
";
|
||||
// line 28
|
||||
$this->displayBlock('javascripts', $context, $blocks);
|
||||
// line 33
|
||||
echo " ";
|
||||
echo $this->getAttribute(($context["assets"] ?? null), "js", array(), "method");
|
||||
echo "
|
||||
|
||||
";
|
||||
}
|
||||
|
||||
// line 18
|
||||
public function block_stylesheets($context, array $blocks = array())
|
||||
{
|
||||
// line 19
|
||||
echo " ";
|
||||
$this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => ("theme://css-compiled/spectre" . ($context["compress"] ?? null))), "method");
|
||||
// line 20
|
||||
echo " ";
|
||||
if ($this->env->getExtension('Grav\Common\Twig\TwigExtension')->themeVarFunc("spectre.exp")) {
|
||||
$this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => ("theme://css-compiled/spectre-exp" . ($context["compress"] ?? null))), "method");
|
||||
}
|
||||
// line 21
|
||||
echo " ";
|
||||
if ($this->env->getExtension('Grav\Common\Twig\TwigExtension')->themeVarFunc("spectre.icons")) {
|
||||
$this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => ("theme://css-compiled/spectre-icons" . ($context["compress"] ?? null))), "method");
|
||||
}
|
||||
// line 22
|
||||
echo " ";
|
||||
$this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => ("theme://css-compiled/theme" . ($context["compress"] ?? null))), "method");
|
||||
// line 23
|
||||
echo " ";
|
||||
$this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => "theme://css/custom.css"), "method");
|
||||
// line 24
|
||||
echo " ";
|
||||
$this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => "theme://css/line-awesome.min.css"), "method");
|
||||
// line 25
|
||||
echo " ";
|
||||
}
|
||||
|
||||
// line 28
|
||||
public function block_javascripts($context, array $blocks = array())
|
||||
{
|
||||
// line 29
|
||||
echo " ";
|
||||
$this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => "jquery", 1 => 101), "method");
|
||||
// line 30
|
||||
echo " ";
|
||||
$this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => "theme://js/jquery.treemenu.js", 1 => array("group" => "bottom")), "method");
|
||||
// line 31
|
||||
echo " ";
|
||||
$this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => "theme://js/site.js", 1 => array("group" => "bottom")), "method");
|
||||
// line 32
|
||||
echo " ";
|
||||
}
|
||||
|
||||
// line 37
|
||||
public function block_body_classes($context, array $blocks = array())
|
||||
{
|
||||
echo ($context["body_classes"] ?? null);
|
||||
}
|
||||
|
||||
// line 39
|
||||
public function block_header($context, array $blocks = array())
|
||||
{
|
||||
// line 40
|
||||
echo " <section id=\"header\" class=\"section\">
|
||||
<section class=\"container ";
|
||||
// line 41
|
||||
echo ($context["grid_size"] ?? null);
|
||||
echo "\">
|
||||
<nav class=\"navbar\">
|
||||
<section class=\"navbar-section logo\">
|
||||
<a href=\"";
|
||||
// line 44
|
||||
echo ($context["home_url"] ?? null);
|
||||
echo "\" class=\"navbar-brand mr-10\">";
|
||||
$this->loadTemplate("@images/grav-logo.svg", "partials/base.html.twig", 44)->display($context);
|
||||
echo "</a>
|
||||
</section>
|
||||
<section class=\"navbar-section\">
|
||||
|
||||
<nav class=\"dropmenu animated\">
|
||||
";
|
||||
// line 49
|
||||
$this->displayBlock('header_navigation', $context, $blocks);
|
||||
// line 52
|
||||
echo " </nav>
|
||||
|
||||
";
|
||||
// line 54
|
||||
if (($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "login", array()), "enabled", array()) && $this->getAttribute($this->getAttribute(($context["grav"] ?? null), "user", array()), "username", array()))) {
|
||||
// line 55
|
||||
echo " <span class=\"login-status-wrapper\"><i class=\"fa fa-user\"></i> ";
|
||||
$this->loadTemplate("partials/login-status.html.twig", "partials/base.html.twig", 55)->display($context);
|
||||
echo "</span>
|
||||
";
|
||||
}
|
||||
// line 57
|
||||
echo "
|
||||
</section>
|
||||
</nav>
|
||||
</section>
|
||||
</section>
|
||||
<div class=\"mobile-menu\">
|
||||
<div class=\"button_container\" id=\"toggle\">
|
||||
<span class=\"top\"></span>
|
||||
<span class=\"middle\"></span>
|
||||
<span class=\"bottom\"></span>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
// line 49
|
||||
public function block_header_navigation($context, array $blocks = array())
|
||||
{
|
||||
// line 50
|
||||
echo " ";
|
||||
$this->loadTemplate("partials/navigation.html.twig", "partials/base.html.twig", 50)->display($context);
|
||||
// line 51
|
||||
echo " ";
|
||||
}
|
||||
|
||||
// line 71
|
||||
public function block_hero($context, array $blocks = array())
|
||||
{
|
||||
}
|
||||
|
||||
// line 74
|
||||
public function block_body($context, array $blocks = array())
|
||||
{
|
||||
// line 75
|
||||
echo " <section id=\"body-wrapper\" class=\"section\">
|
||||
<section class=\"container ";
|
||||
// line 76
|
||||
echo ($context["grid_size"] ?? null);
|
||||
echo "\">
|
||||
";
|
||||
// line 77
|
||||
$this->displayBlock('messages', $context, $blocks);
|
||||
// line 80
|
||||
echo " ";
|
||||
$this->displayBlock('content', $context, $blocks);
|
||||
// line 81
|
||||
echo " </section>
|
||||
</section>
|
||||
";
|
||||
}
|
||||
|
||||
// line 77
|
||||
public function block_messages($context, array $blocks = array())
|
||||
{
|
||||
// line 78
|
||||
echo " ";
|
||||
try {
|
||||
$this->loadTemplate("partials/messages.html.twig", "partials/base.html.twig", 78)->display($context);
|
||||
} catch (Twig_Error_Loader $e) {
|
||||
// ignore missing template
|
||||
}
|
||||
|
||||
// line 79
|
||||
echo " ";
|
||||
}
|
||||
|
||||
// line 80
|
||||
public function block_content($context, array $blocks = array())
|
||||
{
|
||||
}
|
||||
|
||||
// line 88
|
||||
public function block_footer($context, array $blocks = array())
|
||||
{
|
||||
// line 89
|
||||
echo " <section id=\"footer\" class=\"section bg-gray\">
|
||||
<section class=\"container ";
|
||||
// line 90
|
||||
echo ($context["grid_size"] ?? null);
|
||||
echo "\">
|
||||
<p><a href=\"http://getgrav.org\">Grav</a> was <i class=\"fa fa-code\"></i> with <i class=\"fa fa-heart-o pulse \"></i> by <a href=\"https://trilby.media\">Trilby Media</a>.</p>
|
||||
</section>
|
||||
</section>
|
||||
";
|
||||
}
|
||||
|
||||
// line 108
|
||||
public function block_bottom($context, array $blocks = array())
|
||||
{
|
||||
// line 109
|
||||
echo " ";
|
||||
echo $this->getAttribute(($context["assets"] ?? null), "js", array(0 => "bottom"), "method");
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "partials/base.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 331 => 109, 328 => 108, 319 => 90, 316 => 89, 313 => 88, 308 => 80, 304 => 79, 296 => 78, 293 => 77, 287 => 81, 284 => 80, 282 => 77, 278 => 76, 275 => 75, 272 => 74, 267 => 71, 263 => 51, 260 => 50, 257 => 49, 241 => 57, 235 => 55, 233 => 54, 229 => 52, 227 => 49, 217 => 44, 211 => 41, 208 => 40, 205 => 39, 199 => 37, 195 => 32, 192 => 31, 189 => 30, 186 => 29, 183 => 28, 179 => 25, 176 => 24, 173 => 23, 170 => 22, 165 => 21, 160 => 20, 157 => 19, 154 => 18, 146 => 33, 144 => 28, 138 => 26, 136 => 18, 131 => 16, 127 => 15, 124 => 14, 122 => 13, 111 => 9, 108 => 8, 105 => 7, 99 => 111, 97 => 108, 91 => 104, 89 => 103, 85 => 101, 83 => 100, 76 => 95, 74 => 88, 68 => 84, 66 => 74, 62 => 72, 60 => 71, 57 => 70, 55 => 39, 50 => 37, 47 => 36, 45 => 7, 40 => 5, 37 => 4, 35 => 3, 33 => 2, 31 => 1,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Twig_Source("{% set body_classes = body_class(['header-fixed', 'header-animated', 'header-dark', 'header-transparent', 'sticky-footer']) %}
|
||||
{% set grid_size = theme_var('grid-size') %}
|
||||
{% set compress = theme_var('production_mode') ? '.min.css' : '.css' %}
|
||||
<!DOCTYPE html>
|
||||
<html lang=\"{{ grav.language.getActive ?: grav.config.site.default_lang }}\">
|
||||
<head>
|
||||
{% block head %}
|
||||
<meta charset=\"utf-8\" />
|
||||
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
|
||||
|
||||
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
|
||||
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
|
||||
{% include 'partials/metadata.html.twig' %}
|
||||
|
||||
<link rel=\"icon\" type=\"image/png\" href=\"{{ url('theme://images/favicon.png') }}\" />
|
||||
<link rel=\"canonical\" href=\"{{ page.url(true, true) }}\" />
|
||||
|
||||
{% block stylesheets %}
|
||||
{% do assets.addCss('theme://css-compiled/spectre'~compress) %}
|
||||
{% if theme_var('spectre.exp') %}{% do assets.addCss('theme://css-compiled/spectre-exp'~compress) %}{% endif %}
|
||||
{% if theme_var('spectre.icons') %}{% do assets.addCss('theme://css-compiled/spectre-icons'~compress) %}{% endif %}
|
||||
{% do assets.addCss('theme://css-compiled/theme'~compress) %}
|
||||
{% do assets.addCss('theme://css/custom.css') %}
|
||||
{% do assets.addCss('theme://css/line-awesome.min.css') %}
|
||||
{% endblock %}
|
||||
{{ assets.css() }}
|
||||
|
||||
{% block javascripts %}
|
||||
{% do assets.addJs('jquery', 101) %}
|
||||
{% do assets.addJs('theme://js/jquery.treemenu.js', {group:'bottom'}) %}
|
||||
{% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
|
||||
{% endblock %}
|
||||
{{ assets.js() }}
|
||||
|
||||
{% endblock head %}
|
||||
</head>
|
||||
<body id=\"top\" class=\"{% block body_classes %}{{ body_classes }}{% endblock %}\">
|
||||
<div id=\"page-wrapper\">
|
||||
{% block header %}
|
||||
<section id=\"header\" class=\"section\">
|
||||
<section class=\"container {{ grid_size }}\">
|
||||
<nav class=\"navbar\">
|
||||
<section class=\"navbar-section logo\">
|
||||
<a href=\"{{ home_url }}\" class=\"navbar-brand mr-10\">{% include('@images/grav-logo.svg') %}</a>
|
||||
</section>
|
||||
<section class=\"navbar-section\">
|
||||
|
||||
<nav class=\"dropmenu animated\">
|
||||
{% block header_navigation %}
|
||||
{% include 'partials/navigation.html.twig' %}
|
||||
{% endblock %}
|
||||
</nav>
|
||||
|
||||
{% if config.plugins.login.enabled and grav.user.username %}
|
||||
<span class=\"login-status-wrapper\"><i class=\"fa fa-user\"></i> {% include 'partials/login-status.html.twig' %}</span>
|
||||
{% endif %}
|
||||
|
||||
</section>
|
||||
</nav>
|
||||
</section>
|
||||
</section>
|
||||
<div class=\"mobile-menu\">
|
||||
<div class=\"button_container\" id=\"toggle\">
|
||||
<span class=\"top\"></span>
|
||||
<span class=\"middle\"></span>
|
||||
<span class=\"bottom\"></span>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block hero %}{% endblock %}
|
||||
|
||||
<section id=\"start\">
|
||||
{% block body %}
|
||||
<section id=\"body-wrapper\" class=\"section\">
|
||||
<section class=\"container {{ grid_size }}\">
|
||||
{% block messages %}
|
||||
{% include 'partials/messages.html.twig' ignore missing %}
|
||||
{% endblock %}
|
||||
{% block content %}{% endblock %}
|
||||
</section>
|
||||
</section>
|
||||
{% endblock %}
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
{% block footer %}
|
||||
<section id=\"footer\" class=\"section bg-gray\">
|
||||
<section class=\"container {{ grid_size }}\">
|
||||
<p><a href=\"http://getgrav.org\">Grav</a> was <i class=\"fa fa-code\"></i> with <i class=\"fa fa-heart-o pulse \"></i> by <a href=\"https://trilby.media\">Trilby Media</a>.</p>
|
||||
</section>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
<div class=\"mobile-container\">
|
||||
<div class=\"overlay\" id=\"overlay\">
|
||||
<div class=\"mobile-logo\">
|
||||
{% include('@images/grav-logo.svg') %}
|
||||
</div>
|
||||
<nav class=\"overlay-menu\">
|
||||
{% include 'partials/navigation.html.twig' with {tree: true} %}
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% block bottom %}
|
||||
{{ assets.js('bottom') }}
|
||||
{% endblock %}
|
||||
|
||||
</body>
|
||||
", "partials/base.html.twig", "/mnt/data/Sites/r2c.net/user/themes/r2c/templates/partials/base.html.twig");
|
||||
}
|
||||
}
|
||||
-149
@@ -1,149 +0,0 @@
|
||||
<?php
|
||||
|
||||
/* forms/fields/spacer/spacer.html.twig */
|
||||
class __TwigTemplate_88c61b9b425c988f25dbba9db64146dcb4e6433ca2e3b7e949ab55358998117e extends Twig_Template
|
||||
{
|
||||
public function __construct(Twig_Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = array(
|
||||
);
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = array())
|
||||
{
|
||||
// line 1
|
||||
echo "<div class=\"form-spacer ";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "classes", array()), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 2
|
||||
if ($this->getAttribute(($context["field"] ?? null), "title", array())) {
|
||||
// line 3
|
||||
echo " <h3>
|
||||
";
|
||||
// line 4
|
||||
if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "twig", array(), "any", false, true), "twig", array(), "any", false, true), "filters", array(), "any", false, true), "tu", array(), "array", true, true)) {
|
||||
// line 5
|
||||
echo $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter($this->getAttribute(($context["field"] ?? null), "title", array()));
|
||||
} else {
|
||||
// line 7
|
||||
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate($this->getAttribute(($context["field"] ?? null), "title", array()));
|
||||
}
|
||||
// line 9
|
||||
echo " </h3>
|
||||
";
|
||||
}
|
||||
// line 11
|
||||
echo "
|
||||
";
|
||||
// line 12
|
||||
if ($this->getAttribute(($context["field"] ?? null), "markdown", array())) {
|
||||
// line 13
|
||||
echo " <p>
|
||||
";
|
||||
// line 14
|
||||
if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "twig", array(), "any", false, true), "twig", array(), "any", false, true), "filters", array(), "any", false, true), "tu", array(), "array", true, true)) {
|
||||
// line 15
|
||||
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->markdownFunction($this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter($this->getAttribute(($context["field"] ?? null), "text", array())));
|
||||
} else {
|
||||
// line 17
|
||||
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->markdownFunction($this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate($this->getAttribute(($context["field"] ?? null), "text", array())));
|
||||
}
|
||||
// line 19
|
||||
echo " </p>
|
||||
";
|
||||
} else {
|
||||
// line 21
|
||||
echo " <p>
|
||||
";
|
||||
// line 22
|
||||
if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "twig", array(), "any", false, true), "twig", array(), "any", false, true), "filters", array(), "any", false, true), "tu", array(), "array", true, true)) {
|
||||
// line 23
|
||||
echo $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter($this->getAttribute(($context["field"] ?? null), "text", array()));
|
||||
} else {
|
||||
// line 25
|
||||
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate($this->getAttribute(($context["field"] ?? null), "text", array()));
|
||||
}
|
||||
// line 27
|
||||
echo " </p>
|
||||
";
|
||||
}
|
||||
// line 29
|
||||
echo "
|
||||
";
|
||||
// line 30
|
||||
if ($this->getAttribute(($context["field"] ?? null), "underline", array())) {
|
||||
// line 31
|
||||
echo " <hr />
|
||||
";
|
||||
}
|
||||
// line 33
|
||||
echo "</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "forms/fields/spacer/spacer.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 85 => 33, 81 => 31, 79 => 30, 76 => 29, 72 => 27, 69 => 25, 66 => 23, 64 => 22, 61 => 21, 57 => 19, 54 => 17, 51 => 15, 49 => 14, 46 => 13, 44 => 12, 41 => 11, 37 => 9, 34 => 7, 31 => 5, 29 => 4, 26 => 3, 24 => 2, 19 => 1,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Twig_Source("<div class=\"form-spacer {{ field.classes }}\">
|
||||
{% if field.title %}
|
||||
<h3>
|
||||
{% if grav.twig.twig.filters['tu'] is defined %}
|
||||
{{- field.title|tu|raw -}}
|
||||
{% else %}
|
||||
{{- field.title|t|raw -}}
|
||||
{% endif %}
|
||||
</h3>
|
||||
{% endif %}
|
||||
|
||||
{% if field.markdown %}
|
||||
<p>
|
||||
{% if grav.twig.twig.filters['tu'] is defined %}
|
||||
{{- field.text|tu|markdown|raw -}}
|
||||
{% else %}
|
||||
{{- field.text|t|markdown|raw -}}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% else %}
|
||||
<p>
|
||||
{% if grav.twig.twig.filters['tu'] is defined %}
|
||||
{{- field.text|tu|raw -}}
|
||||
{% else %}
|
||||
{{- field.text|t|raw -}}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if field.underline %}
|
||||
<hr />
|
||||
{% endif %}
|
||||
</div>
|
||||
", "forms/fields/spacer/spacer.html.twig", "/mnt/data/Sites/r2c.net/user/plugins/form/templates/forms/fields/spacer/spacer.html.twig");
|
||||
}
|
||||
}
|
||||
-104
@@ -1,104 +0,0 @@
|
||||
<?php
|
||||
|
||||
/* forms/fields/columns/columns.html.twig */
|
||||
class __TwigTemplate_0ff56dad288d0fa61c39617dbdd8cc18e26947e034dbd674c140c06914df2870 extends Twig_Template
|
||||
{
|
||||
public function __construct(Twig_Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = array(
|
||||
);
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = array())
|
||||
{
|
||||
// line 1
|
||||
echo "<div class=\"form-columns grid pure-g\">
|
||||
";
|
||||
// line 2
|
||||
if ($this->getAttribute(($context["field"] ?? null), "fields", array())) {
|
||||
// line 3
|
||||
echo " ";
|
||||
$context["cols"] = twig_length_filter($this->env, $this->getAttribute(($context["field"] ?? null), "fields", array()));
|
||||
// line 4
|
||||
echo " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable($this->getAttribute($context["field"], "fields", array()));
|
||||
$context['loop'] = array(
|
||||
'parent' => $context['_parent'],
|
||||
'index0' => 0,
|
||||
'index' => 1,
|
||||
'first' => true,
|
||||
);
|
||||
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
|
||||
$length = count($context['_seq']);
|
||||
$context['loop']['revindex0'] = $length - 1;
|
||||
$context['loop']['revindex'] = $length;
|
||||
$context['loop']['length'] = $length;
|
||||
$context['loop']['last'] = 1 === $length;
|
||||
}
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
|
||||
// line 5
|
||||
echo " ";
|
||||
$this->loadTemplate(array(0 => (((("forms/fields/" . $this->getAttribute($context["field"], "type", array())) . "/") . $this->getAttribute($context["field"], "type", array())) . ".html.twig"), 1 => "forms/fields/column/column.html.twig"), "forms/fields/columns/columns.html.twig", 5)->display(array_merge($context, array("cols" => ($context["cols"] ?? null))));
|
||||
// line 6
|
||||
echo " ";
|
||||
++$context['loop']['index0'];
|
||||
++$context['loop']['index'];
|
||||
$context['loop']['first'] = false;
|
||||
if (isset($context['loop']['length'])) {
|
||||
--$context['loop']['revindex0'];
|
||||
--$context['loop']['revindex'];
|
||||
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
||||
}
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
}
|
||||
// line 8
|
||||
echo "</div>
|
||||
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "forms/fields/columns/columns.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 63 => 8, 48 => 6, 45 => 5, 27 => 4, 24 => 3, 22 => 2, 19 => 1,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Twig_Source("<div class=\"form-columns grid pure-g\">
|
||||
{% if field.fields %}
|
||||
{% set cols = field.fields|length %}
|
||||
{% for field in field.fields %}
|
||||
{% include [\"forms/fields/#{field.type}/#{field.type}.html.twig\", 'forms/fields/column/column.html.twig'] with {'cols':cols} %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
", "forms/fields/columns/columns.html.twig", "/mnt/data/Sites/r2c.net/user/plugins/admin/themes/grav/templates/forms/fields/columns/columns.html.twig");
|
||||
}
|
||||
}
|
||||
-146
@@ -1,146 +0,0 @@
|
||||
<?php
|
||||
|
||||
/* partials/blueprints-new.html.twig */
|
||||
class __TwigTemplate_abf39275bee51c3ee4e3e299cef4a80b22f59c45b9cea9a473a48aed9b41351f extends Twig_Template
|
||||
{
|
||||
public function __construct(Twig_Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = array(
|
||||
);
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = array())
|
||||
{
|
||||
// line 1
|
||||
$context["form_id"] = ((($context["form_id"] ?? null)) ? (($context["form_id"] ?? null)) : ("blueprints"));
|
||||
// line 2
|
||||
$context["scope"] = ((($context["scope"] ?? null)) ? (($context["scope"] ?? null)) : ("data."));
|
||||
// line 3
|
||||
echo "
|
||||
<form id=\"";
|
||||
// line 4
|
||||
echo twig_escape_filter($this->env, ($context["form_id"] ?? null), "html", null, true);
|
||||
echo "\" method=\"post\" data-grav-form=\"";
|
||||
echo twig_escape_filter($this->env, ($context["form_id"] ?? null), "html", null, true);
|
||||
echo "\" data-grav-keepalive=\"true\">
|
||||
";
|
||||
// line 5
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["blueprints"] ?? null), "fields", array()));
|
||||
$context['loop'] = array(
|
||||
'parent' => $context['_parent'],
|
||||
'index0' => 0,
|
||||
'index' => 1,
|
||||
'first' => true,
|
||||
);
|
||||
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
|
||||
$length = count($context['_seq']);
|
||||
$context['loop']['revindex0'] = $length - 1;
|
||||
$context['loop']['revindex'] = $length;
|
||||
$context['loop']['length'] = $length;
|
||||
$context['loop']['last'] = 1 === $length;
|
||||
}
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
|
||||
// line 6
|
||||
echo " ";
|
||||
if ($this->getAttribute($context["field"], "type", array())) {
|
||||
// line 7
|
||||
echo " ";
|
||||
$context["value"] = (($this->getAttribute($context["field"], "name", array())) ? ($this->getAttribute(($context["data"] ?? null), "value", array(0 => $this->getAttribute($context["field"], "name", array())), "method")) : ($this->getAttribute(($context["data"] ?? null), "toArray", array())));
|
||||
// line 8
|
||||
echo " <div class=\"block block-";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "type", array()), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 9
|
||||
$this->loadTemplate(array(0 => (((("forms/fields/" . $this->getAttribute($context["field"], "type", array())) . "/") . $this->getAttribute($context["field"], "type", array())) . ".html.twig"), 1 => "forms/fields/text/text.html.twig"), "partials/blueprints-new.html.twig", 9)->display($context);
|
||||
// line 10
|
||||
echo " </div>
|
||||
";
|
||||
}
|
||||
// line 12
|
||||
echo " ";
|
||||
++$context['loop']['index0'];
|
||||
++$context['loop']['index'];
|
||||
$context['loop']['first'] = false;
|
||||
if (isset($context['loop']['length'])) {
|
||||
--$context['loop']['revindex0'];
|
||||
--$context['loop']['revindex'];
|
||||
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
||||
}
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 13
|
||||
echo "
|
||||
<input type=\"hidden\" name=\"task\" value=\"continue\" />
|
||||
<div class=\"button-bar\">
|
||||
<button class=\"button primary\">";
|
||||
// line 16
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CONTINUE"), "html", null, true);
|
||||
echo "</button>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 19
|
||||
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->nonceFieldFunc("admin-form", "admin-nonce");
|
||||
echo "
|
||||
|
||||
</form>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "partials/blueprints-new.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 91 => 19, 85 => 16, 80 => 13, 66 => 12, 62 => 10, 60 => 9, 55 => 8, 52 => 7, 49 => 6, 32 => 5, 26 => 4, 23 => 3, 21 => 2, 19 => 1,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Twig_Source("{% set form_id = form_id ? form_id : 'blueprints' %}
|
||||
{% set scope = scope ?: 'data.' %}
|
||||
|
||||
<form id=\"{{ form_id }}\" method=\"post\" data-grav-form=\"{{ form_id }}\" data-grav-keepalive=\"true\">
|
||||
{% for field in blueprints.fields %}
|
||||
{% if field.type %}
|
||||
{% set value = field.name ? data.value(field.name) : data.toArray %}
|
||||
<div class=\"block block-{{field.type}}\">
|
||||
{% include [\"forms/fields/#{field.type}/#{field.type}.html.twig\", 'forms/fields/text/text.html.twig'] %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<input type=\"hidden\" name=\"task\" value=\"continue\" />
|
||||
<div class=\"button-bar\">
|
||||
<button class=\"button primary\">{{ \"PLUGIN_ADMIN.CONTINUE\"|tu }}</button>
|
||||
</div>
|
||||
|
||||
{{ nonce_field('admin-form', 'admin-nonce')|raw }}
|
||||
|
||||
</form>
|
||||
", "partials/blueprints-new.html.twig", "/mnt/data/Sites/r2c.net/user/plugins/admin/themes/grav/templates/partials/blueprints-new.html.twig");
|
||||
}
|
||||
}
|
||||
-146
@@ -1,146 +0,0 @@
|
||||
<?php
|
||||
|
||||
/* partials/blueprints-new-folder.html.twig */
|
||||
class __TwigTemplate_487cc382211de17265e423b41f783e1595418b7f9b72c030e94769633d28b348 extends Twig_Template
|
||||
{
|
||||
public function __construct(Twig_Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = array(
|
||||
);
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = array())
|
||||
{
|
||||
// line 1
|
||||
$context["form_id"] = ((($context["form_id"] ?? null)) ? (($context["form_id"] ?? null)) : ("blueprints"));
|
||||
// line 2
|
||||
$context["scope"] = ((($context["scope"] ?? null)) ? (($context["scope"] ?? null)) : ("data."));
|
||||
// line 3
|
||||
echo "
|
||||
<form id=\"";
|
||||
// line 4
|
||||
echo twig_escape_filter($this->env, ($context["form_id"] ?? null), "html", null, true);
|
||||
echo "\" method=\"post\" data-grav-form=\"";
|
||||
echo twig_escape_filter($this->env, ($context["form_id"] ?? null), "html", null, true);
|
||||
echo "\" data-grav-keepalive=\"true\">
|
||||
";
|
||||
// line 5
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["blueprints"] ?? null), "fields", array()));
|
||||
$context['loop'] = array(
|
||||
'parent' => $context['_parent'],
|
||||
'index0' => 0,
|
||||
'index' => 1,
|
||||
'first' => true,
|
||||
);
|
||||
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
|
||||
$length = count($context['_seq']);
|
||||
$context['loop']['revindex0'] = $length - 1;
|
||||
$context['loop']['revindex'] = $length;
|
||||
$context['loop']['length'] = $length;
|
||||
$context['loop']['last'] = 1 === $length;
|
||||
}
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
|
||||
// line 6
|
||||
echo " ";
|
||||
if ($this->getAttribute($context["field"], "type", array())) {
|
||||
// line 7
|
||||
echo " ";
|
||||
$context["value"] = (($this->getAttribute($context["field"], "name", array())) ? ($this->getAttribute(($context["data"] ?? null), "value", array(0 => $this->getAttribute($context["field"], "name", array())), "method")) : ($this->getAttribute(($context["data"] ?? null), "toArray", array())));
|
||||
// line 8
|
||||
echo " <div class=\"block block-";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "type", array()), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 9
|
||||
$this->loadTemplate(array(0 => (((("forms/fields/" . $this->getAttribute($context["field"], "type", array())) . "/") . $this->getAttribute($context["field"], "type", array())) . ".html.twig"), 1 => "forms/fields/text/text.html.twig"), "partials/blueprints-new-folder.html.twig", 9)->display($context);
|
||||
// line 10
|
||||
echo " </div>
|
||||
";
|
||||
}
|
||||
// line 12
|
||||
echo " ";
|
||||
++$context['loop']['index0'];
|
||||
++$context['loop']['index'];
|
||||
$context['loop']['first'] = false;
|
||||
if (isset($context['loop']['length'])) {
|
||||
--$context['loop']['revindex0'];
|
||||
--$context['loop']['revindex'];
|
||||
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
||||
}
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 13
|
||||
echo "
|
||||
<input type=\"hidden\" name=\"task\" value=\"saveNewFolder\" />
|
||||
<div class=\"button-bar\">
|
||||
<button class=\"button primary\">";
|
||||
// line 16
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.SAVE"), "html", null, true);
|
||||
echo "</button>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 19
|
||||
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->nonceFieldFunc("admin-form", "admin-nonce");
|
||||
echo "
|
||||
|
||||
</form>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "partials/blueprints-new-folder.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 91 => 19, 85 => 16, 80 => 13, 66 => 12, 62 => 10, 60 => 9, 55 => 8, 52 => 7, 49 => 6, 32 => 5, 26 => 4, 23 => 3, 21 => 2, 19 => 1,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Twig_Source("{% set form_id = form_id ? form_id : 'blueprints' %}
|
||||
{% set scope = scope ?: 'data.' %}
|
||||
|
||||
<form id=\"{{ form_id }}\" method=\"post\" data-grav-form=\"{{ form_id }}\" data-grav-keepalive=\"true\">
|
||||
{% for field in blueprints.fields %}
|
||||
{% if field.type %}
|
||||
{% set value = field.name ? data.value(field.name) : data.toArray %}
|
||||
<div class=\"block block-{{field.type}}\">
|
||||
{% include [\"forms/fields/#{field.type}/#{field.type}.html.twig\", 'forms/fields/text/text.html.twig'] %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<input type=\"hidden\" name=\"task\" value=\"saveNewFolder\" />
|
||||
<div class=\"button-bar\">
|
||||
<button class=\"button primary\">{{ \"PLUGIN_ADMIN.SAVE\"|tu }}</button>
|
||||
</div>
|
||||
|
||||
{{ nonce_field('admin-form', 'admin-nonce')|raw }}
|
||||
|
||||
</form>
|
||||
", "partials/blueprints-new-folder.html.twig", "/mnt/data/Sites/r2c.net/user/plugins/admin/themes/grav/templates/partials/blueprints-new-folder.html.twig");
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user