12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397 |
- <?php
- return [
- '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
- 'filename' => '/mnt/data/Sites/hehe.net/system/blueprints/config/system.yaml',
- 'modified' => 1533014916,
- 'data' => [
- 'title' => 'PLUGIN_ADMIN.SYSTEM',
- 'form' => [
- 'validation' => 'loose',
- 'fields' => [
- 'content' => [
- 'type' => 'section',
- 'title' => 'PLUGIN_ADMIN.CONTENT',
- 'underline' => true,
- 'fields' => [
- 'home.alias' => [
- 'type' => 'pages',
- 'size' => 'large',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.HOME_PAGE',
- 'show_all' => false,
- 'show_modular' => false,
- 'show_root' => false,
- 'show_slug' => true,
- 'help' => 'PLUGIN_ADMIN.HOME_PAGE_HELP'
- ],
- 'home.hide_in_urls' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.HIDE_HOME_IN_URLS',
- 'help' => 'PLUGIN_ADMIN.HIDE_HOME_IN_URLS_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'pages.theme' => [
- 'type' => 'themeselect',
- 'classes' => 'fancy',
- 'selectize' => true,
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_THEME',
- 'help' => 'PLUGIN_ADMIN.DEFAULT_THEME_HELP'
- ],
- 'pages.process' => [
- 'type' => 'checkboxes',
- 'label' => 'PLUGIN_ADMIN.PROCESS',
- 'help' => 'PLUGIN_ADMIN.PROCESS_HELP',
- 'default' => [
- 0 => [
- 'markdown' => true
- ],
- 1 => [
- 'twig' => true
- ]
- ],
- 'options' => [
- 'markdown' => 'Markdown',
- 'twig' => 'Twig'
- ],
- 'use' => 'keys'
- ],
- 'timezone' => [
- 'type' => 'select',
- 'label' => 'PLUGIN_ADMIN.TIMEZONE',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'help' => 'PLUGIN_ADMIN.TIMEZONE_HELP',
- 'data-options@' => '\\Grav\\Common\\Utils::timezones',
- 'default' => '',
- 'options' => [
- '' => 'Default (Server Timezone)'
- ]
- ],
- 'pages.dateformat.default' => [
- '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'
- ]
- ],
- 'pages.dateformat.short' => [
- 'type' => 'dateformat',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.SHORT_DATE_FORMAT',
- 'help' => 'PLUGIN_ADMIN.SHORT_DATE_FORMAT_HELP',
- 'default' => 'jS M Y',
- 'options' => [
- 'F jS \\a\\t g:ia' => 'Date1',
- 'l jS \\of F g:i A' => 'Date2',
- 'D, d M Y G:i:s' => 'Date3',
- 'd-m-y G:i' => 'Date4',
- 'jS M Y' => 'Date5'
- ]
- ],
- 'pages.dateformat.long' => [
- 'type' => 'dateformat',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.LONG_DATE_FORMAT',
- 'help' => 'PLUGIN_ADMIN.LONG_DATE_FORMAT_HELP',
- 'options' => [
- 'F jS \\a\\t g:ia' => 'Date1',
- 'l jS \\of F g:i A' => 'Date2',
- 'D, d M Y G:i:s' => 'Date3',
- 'd-m-y G:i' => 'Date4',
- 'jS M Y' => 'Date5'
- ]
- ],
- 'pages.order.by' => [
- 'type' => 'select',
- 'size' => 'large',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_ORDERING',
- 'help' => 'PLUGIN_ADMIN.DEFAULT_ORDERING_HELP',
- 'options' => [
- 'default' => 'PLUGIN_ADMIN.DEFAULT_ORDERING_DEFAULT',
- 'folder' => 'PLUGIN_ADMIN.DEFAULT_ORDERING_FOLDER',
- 'title' => 'PLUGIN_ADMIN.DEFAULT_ORDERING_TITLE',
- 'date' => 'PLUGIN_ADMIN.DEFAULT_ORDERING_DATE'
- ]
- ],
- 'pages.order.dir' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_ORDER_DIRECTION',
- 'highlight' => 'asc',
- 'default' => 'desc',
- 'help' => 'PLUGIN_ADMIN.DEFAULT_ORDER_DIRECTION_HELP',
- 'options' => [
- 'asc' => 'PLUGIN_ADMIN.ASCENDING',
- 'desc' => 'PLUGIN_ADMIN.DESCENDING'
- ]
- ],
- 'pages.list.count' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'append' => 'PLUGIN_ADMIN.PAGES',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_PAGE_COUNT',
- 'help' => 'PLUGIN_ADMIN.DEFAULT_PAGE_COUNT_HELP',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ]
- ],
- 'pages.publish_dates' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.DATE_BASED_PUBLISHING',
- 'help' => 'PLUGIN_ADMIN.DATE_BASED_PUBLISHING_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'pages.events' => [
- 'type' => 'checkboxes',
- 'label' => 'PLUGIN_ADMIN.EVENTS',
- 'help' => 'PLUGIN_ADMIN.EVENTS_HELP',
- 'default' => [
- 0 => [
- 'page' => true
- ],
- 1 => [
- 'twig' => true
- ]
- ],
- 'options' => [
- 'page' => 'Page Events',
- 'twig' => 'Twig Events'
- ],
- 'use' => 'keys'
- ],
- 'pages.append_url_extension' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'placeholder' => 'e.g. .html',
- 'label' => 'PLUGIN_ADMIN.APPEND_URL_EXT',
- 'help' => 'PLUGIN_ADMIN.APPEND_URL_EXT_HELP'
- ],
- 'pages.redirect_default_route' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.REDIRECT_DEFAULT_ROUTE',
- 'help' => 'PLUGIN_ADMIN.REDIRECT_DEFAULT_ROUTE_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'pages.redirect_default_code' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.REDIRECT_DEFAULT_CODE',
- 'help' => 'PLUGIN_ADMIN.REDIRECT_DEFAULT_CODE_HELP',
- 'options' => [
- 301 => '301 - Permanent',
- 302 => '302 - Found',
- 303 => '303 - Other',
- 304 => '304 - Not Modified'
- ]
- ],
- 'pages.redirect_trailing_slash' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.REDIRECT_TRAILING_SLASH',
- 'help' => 'PLUGIN_ADMIN.REDIRECT_TRAILING_SLASH_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'pages.ignore_hidden' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.IGNORE_HIDDEN',
- 'help' => 'PLUGIN_ADMIN.IGNORE_HIDDEN_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'pages.ignore_files' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.IGNORE_FILES',
- 'help' => 'PLUGIN_ADMIN.IGNORE_FILES_HELP',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ]
- ],
- 'pages.ignore_folders' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.IGNORE_FOLDERS',
- 'help' => 'PLUGIN_ADMIN.IGNORE_FOLDERS_HELP',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ]
- ],
- 'pages.url_taxonomy_filters' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ALLOW_URL_TAXONOMY_FILTERS',
- 'help' => 'PLUGIN_ADMIN.ALLOW_URL_TAXONOMY_FILTERS_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'pages.twig_first' => [
- 'type' => 'toggle',
- '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'
- ]
- ],
- 'pages.never_cache_twig' => [
- 'type' => 'toggle',
- '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'
- ]
- ],
- 'pages.frontmatter.process_twig' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.FRONTMATTER_PROCESS_TWIG',
- 'help' => 'PLUGIN_ADMIN.FRONTMATTER_PROCESS_TWIG_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'pages.frontmatter.ignore_fields' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'placeholder' => 'e.g. forms',
- 'label' => 'PLUGIN_ADMIN.FRONTMATTER_IGNORE_FIELDS',
- 'help' => 'PLUGIN_ADMIN.FRONTMATTER_IGNORE_FIELDS_HELP',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ]
- ]
- ]
- ],
- 'languages' => [
- 'type' => 'section',
- 'title' => 'PLUGIN_ADMIN.LANGUAGES',
- 'underline' => true,
- 'fields' => [
- 'languages.supported' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'placeholder' => 'e.g. en, fr',
- 'label' => 'PLUGIN_ADMIN.SUPPORTED',
- 'help' => 'PLUGIN_ADMIN.SUPPORTED_HELP',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ]
- ],
- 'languages.include_default_lang' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.INCLUDE_DEFAULT_LANG',
- 'help' => 'PLUGIN_ADMIN.INCLUDE_DEFAULT_LANG_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'languages.translations' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TRANSLATIONS_ENABLED',
- 'help' => 'PLUGIN_ADMIN.TRANSLATIONS_ENABLED_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'languages.translations_fallback' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TRANSLATIONS_FALLBACK',
- 'help' => 'PLUGIN_ADMIN.TRANSLATIONS_FALLBACK_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'languages.session_store_active' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ACTIVE_LANGUAGE_IN_SESSION',
- 'help' => 'PLUGIN_ADMIN.ACTIVE_LANGUAGE_IN_SESSION_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'languages.http_accept_language' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.HTTP_ACCEPT_LANGUAGE',
- 'help' => 'PLUGIN_ADMIN.HTTP_ACCEPT_LANGUAGE_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'languages.override_locale' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.OVERRIDE_LOCALE',
- 'help' => 'PLUGIN_ADMIN.OVERRIDE_LOCALE_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ]
- ]
- ],
- 'http_headers' => [
- 'type' => 'section',
- 'title' => 'PLUGIN_ADMIN.HTTP_HEADERS',
- 'underline' => true,
- 'fields' => [
- 'pages.expires' => [
- 'type' => 'text',
- 'size' => 'small',
- 'append' => 'NICETIME.SECOND_PLURAL',
- 'label' => 'PLUGIN_ADMIN.EXPIRES',
- 'help' => 'PLUGIN_ADMIN.EXPIRES_HELP',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ]
- ],
- 'pages.cache_control' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.CACHE_CONTROL',
- 'help' => 'PLUGIN_ADMIN.CACHE_CONTROL_HELP',
- 'placeholder' => 'e.g. public, max-age=31536000'
- ],
- 'pages.last_modified' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.LAST_MODIFIED',
- 'help' => 'PLUGIN_ADMIN.LAST_MODIFIED_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'pages.etag' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ETAG',
- 'help' => 'PLUGIN_ADMIN.ETAG_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'pages.vary_accept_encoding' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.VARY_ACCEPT_ENCODING',
- 'help' => 'PLUGIN_ADMIN.VARY_ACCEPT_ENCODING_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ]
- ]
- ],
- 'markdown' => [
- 'type' => 'section',
- 'title' => 'Markdown',
- 'underline' => true,
- 'fields' => [
- 'pages.markdown.extra' => [
- 'type' => 'toggle',
- 'label' => 'Markdown extra',
- 'help' => 'PLUGIN_ADMIN.MARKDOWN_EXTRA_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'pages.markdown.auto_line_breaks' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.AUTO_LINE_BREAKS',
- 'help' => 'PLUGIN_ADMIN.AUTO_LINE_BREAKS_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'pages.markdown.auto_url_links' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.AUTO_URL_LINKS',
- 'help' => 'PLUGIN_ADMIN.AUTO_URL_LINKS_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'pages.markdown.escape_markup' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ESCAPE_MARKUP',
- 'help' => 'PLUGIN_ADMIN.ESCAPE_MARKUP_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ]
- ]
- ],
- 'caching' => [
- 'type' => 'section',
- 'title' => 'PLUGIN_ADMIN.CACHING',
- 'underline' => true,
- 'fields' => [
- 'cache.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CACHING',
- 'help' => 'PLUGIN_ADMIN.CACHING_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'cache.check.method' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.CACHE_CHECK_METHOD',
- 'help' => 'PLUGIN_ADMIN.CACHE_CHECK_METHOD_HELP',
- 'options' => [
- 'file' => 'Markdown + Yaml file timestamps',
- 'folder' => 'Folder timestamps',
- 'hash' => 'All files timestamps',
- 'none' => 'No timestamp checking'
- ]
- ],
- 'cache.driver' => [
- 'type' => 'select',
- 'size' => 'small',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.CACHE_DRIVER',
- 'help' => 'PLUGIN_ADMIN.CACHE_DRIVER_HELP',
- 'options' => [
- 'auto' => 'Auto detect',
- 'file' => 'File',
- 'apc' => 'APC',
- 'apcu' => 'APCu',
- 'xcache' => 'Xcache',
- 'memcache' => 'Memcache',
- 'memcached' => 'Memcached',
- 'wincache' => 'WinCache',
- 'redis' => 'Redis'
- ]
- ],
- 'cache.prefix' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_ADMIN.CACHE_PREFIX',
- 'help' => 'PLUGIN_ADMIN.CACHE_PREFIX_HELP',
- 'placeholder' => 'PLUGIN_ADMIN.CACHE_PREFIX_PLACEHOLDER'
- ],
- 'cache.clear_images_by_default' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CLEAR_IMAGES_BY_DEFAULT',
- 'help' => 'PLUGIN_ADMIN.CLEAR_IMAGES_BY_DEFAULT_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'cache.cli_compatibility' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CLI_COMPATIBILITY',
- 'help' => 'PLUGIN_ADMIN.CLI_COMPATIBILITY_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'cache.lifetime' => [
- 'type' => 'text',
- 'size' => 'small',
- 'append' => 'NICETIME.SECOND_PLURAL',
- 'label' => 'PLUGIN_ADMIN.LIFETIME',
- 'help' => 'PLUGIN_ADMIN.LIFETIME_HELP',
- 'validate' => [
- 'type' => 'number'
- ]
- ],
- 'cache.gzip' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GZIP_COMPRESSION',
- 'help' => 'PLUGIN_ADMIN.GZIP_COMPRESSION_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'cache.allow_webserver_gzip' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ALLOW_WEBSERVER_GZIP',
- 'help' => 'PLUGIN_ADMIN.ALLOW_WEBSERVER_GZIP_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'cache.memcache.server' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.MEMCACHE_SERVER',
- 'help' => 'PLUGIN_ADMIN.MEMCACHE_SERVER_HELP',
- 'placeholder' => 'localhost'
- ],
- 'cache.memcache.port' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.MEMCACHE_PORT',
- 'help' => 'PLUGIN_ADMIN.MEMCACHE_PORT_HELP',
- 'placeholder' => '11211'
- ],
- 'cache.memcached.server' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.MEMCACHED_SERVER',
- 'help' => 'PLUGIN_ADMIN.MEMCACHED_SERVER_HELP',
- 'placeholder' => 'localhost'
- ],
- 'cache.memcached.port' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.MEMCACHED_PORT',
- 'help' => 'PLUGIN_ADMIN.MEMCACHED_PORT_HELP',
- 'placeholder' => '11211'
- ],
- 'cache.redis.socket' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.REDIS_SOCKET',
- 'help' => 'PLUGIN_ADMIN.REDIS_SOCKET_HELP',
- 'placeholder' => '/var/run/redis/redis.sock'
- ],
- 'cache.redis.server' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.REDIS_SERVER',
- 'help' => 'PLUGIN_ADMIN.REDIS_SERVER_HELP',
- 'placeholder' => 'localhost'
- ],
- 'cache.redis.port' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.REDIS_PORT',
- 'help' => 'PLUGIN_ADMIN.REDIS_PORT_HELP',
- 'placeholder' => '6379'
- ],
- 'cache.redis.password' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.REDIS_PASSWORD'
- ]
- ]
- ],
- 'twig' => [
- 'type' => 'section',
- 'title' => 'PLUGIN_ADMIN.TWIG_TEMPLATING',
- 'underline' => true,
- 'fields' => [
- 'twig.cache' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TWIG_CACHING',
- 'help' => 'PLUGIN_ADMIN.TWIG_CACHING_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'twig.debug' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TWIG_DEBUG',
- 'help' => 'PLUGIN_ADMIN.TWIG_DEBUG_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'twig.auto_reload' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.DETECT_CHANGES',
- 'help' => 'PLUGIN_ADMIN.DETECT_CHANGES_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'twig.autoescape' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.AUTOESCAPE_VARIABLES',
- 'help' => 'PLUGIN_ADMIN.AUTOESCAPE_VARIABLES_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'twig.umask_fix' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TWIG_UMASK_FIX',
- 'help' => 'PLUGIN_ADMIN.TWIG_UMASK_FIX_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ]
- ]
- ],
- 'assets' => [
- 'type' => 'section',
- 'title' => 'PLUGIN_ADMIN.ASSETS',
- 'underline' => true,
- 'fields' => [
- 'assets.css_pipeline' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_PIPELINE',
- 'help' => 'PLUGIN_ADMIN.CSS_PIPELINE_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'assets.css_pipeline_include_externals' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_PIPELINE_INCLUDE_EXTERNALS',
- 'help' => 'PLUGIN_ADMIN.CSS_PIPELINE_INCLUDE_EXTERNALS_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'assets.css_pipeline_before_excludes' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_PIPELINE_BEFORE_EXCLUDES',
- 'help' => 'PLUGIN_ADMIN.CSS_PIPELINE_BEFORE_EXCLUDES_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'assets.css_minify' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_MINIFY',
- 'help' => 'PLUGIN_ADMIN.CSS_MINIFY_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'assets.css_minify_windows' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_MINIFY_WINDOWS_OVERRIDE',
- 'help' => 'PLUGIN_ADMIN.CSS_MINIFY_WINDOWS_OVERRIDE_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'assets.css_rewrite' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_REWRITE',
- 'help' => 'PLUGIN_ADMIN.CSS_REWRITE_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'assets.js_pipeline' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE',
- 'help' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'assets.js_pipeline_include_externals' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_INCLUDE_EXTERNALS',
- 'help' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_INCLUDE_EXTERNALS_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'assets.js_pipeline_before_excludes' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_BEFORE_EXCLUDES',
- 'help' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_BEFORE_EXCLUDES_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'assets.js_minify' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_MINIFY',
- 'help' => 'PLUGIN_ADMIN.JAVASCRIPT_MINIFY_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'assets.enable_asset_timestamp' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLED_TIMESTAMPS_ON_ASSETS',
- 'help' => 'PLUGIN_ADMIN.ENABLED_TIMESTAMPS_ON_ASSETS_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'assets.collections' => [
- 'type' => 'multilevel',
- 'label' => 'PLUGIN_ADMIN.COLLECTIONS',
- 'placeholder_key' => 'collection_name',
- 'placeholder_value' => 'collection_path',
- 'validate' => [
- 'type' => 'array'
- ]
- ]
- ]
- ],
- 'errors' => [
- 'type' => 'section',
- 'title' => 'PLUGIN_ADMIN.ERROR_HANDLER',
- 'underline' => true,
- 'fields' => [
- 'errors.display' => [
- 'type' => 'select',
- 'label' => 'PLUGIN_ADMIN.DISPLAY_ERRORS',
- 'help' => 'PLUGIN_ADMIN.DISPLAY_ERRORS_HELP',
- 'size' => 'medium',
- 'highlight' => 1,
- 'options' => [
- -1 => 'PLUGIN_ADMIN.ERROR_SYSTEM',
- 0 => 'PLUGIN_ADMIN.ERROR_SIMPLE',
- 1 => 'PLUGIN_ADMIN.ERROR_FULL_BACKTRACE'
- ],
- 'validate' => [
- 'type' => 'int'
- ]
- ],
- 'errors.log' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.LOG_ERRORS',
- 'help' => 'PLUGIN_ADMIN.LOG_ERRORS_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ]
- ]
- ],
- 'debugger' => [
- 'type' => 'section',
- 'title' => 'PLUGIN_ADMIN.DEBUGGER',
- 'underline' => true,
- 'fields' => [
- 'debugger.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.DEBUGGER',
- 'help' => 'PLUGIN_ADMIN.DEBUGGER_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'debugger.shutdown.close_connection' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.SHUTDOWN_CLOSE_CONNECTION',
- 'help' => 'PLUGIN_ADMIN.SHUTDOWN_CLOSE_CONNECTION_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ]
- ]
- ],
- 'media' => [
- 'type' => 'section',
- 'title' => 'PLUGIN_ADMIN.MEDIA',
- 'underline' => true,
- 'fields' => [
- 'images.default_image_quality' => [
- 'type' => 'range',
- 'append' => '%',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_IMAGE_QUALITY',
- 'help' => 'PLUGIN_ADMIN.DEFAULT_IMAGE_QUALITY_HELP',
- 'validate' => [
- 'min' => 1,
- 'max' => 100
- ]
- ],
- 'images.cache_all' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CACHE_ALL',
- 'help' => 'PLUGIN_ADMIN.CACHE_ALL_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'images.cache_perms' => [
- 'type' => 'select',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.CACHE_PERMS',
- 'help' => 'PLUGIN_ADMIN.CACHE_PERMS_HELP',
- 'highlight' => '0755',
- 'options' => [
- '0755' => '0755',
- '0775' => '0775'
- ]
- ],
- 'images.debug' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.IMAGES_DEBUG',
- 'help' => 'PLUGIN_ADMIN.IMAGES_DEBUG_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'images.auto_fix_orientation' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.IMAGES_AUTO_FIX_ORIENTATION',
- 'help' => 'PLUGIN_ADMIN.IMAGES_AUTO_FIX_ORIENTATION_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'media.enable_media_timestamp' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLE_MEDIA_TIMESTAMP',
- 'help' => 'PLUGIN_ADMIN.ENABLE_MEDIA_TIMESTAMP_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'media.auto_metadata_exif' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLE_AUTO_METADATA',
- 'help' => 'PLUGIN_ADMIN.ENABLE_AUTO_METADATA_HELP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'media.allowed_fallback_types' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.FALLBACK_TYPES',
- 'help' => 'PLUGIN_ADMIN.FALLBACK_TYPES_HELP',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ]
- ],
- 'media.unsupported_inline_types' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.INLINE_TYPES',
- 'help' => 'PLUGIN_ADMIN.INLINE_TYPES_HELP',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ]
- ]
- ]
- ],
- 'session' => [
- 'type' => 'section',
- 'title' => 'PLUGIN_ADMIN.SESSION',
- 'underline' => true,
- 'fields' => [
- 'session.enabled' => [
- 'type' => 'hidden',
- 'label' => 'PLUGIN_ADMIN.ENABLED',
- 'help' => 'PLUGIN_ADMIN.SESSION_ENABLED_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'session.timeout' => [
- 'type' => 'text',
- 'size' => 'small',
- 'append' => 'NICETIME.SECOND_PLURAL',
- 'label' => 'PLUGIN_ADMIN.TIMEOUT',
- 'help' => 'PLUGIN_ADMIN.TIMEOUT_HELP',
- 'validate' => [
- 'type' => 'number',
- 'min' => 0
- ]
- ],
- 'session.name' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.NAME',
- 'help' => 'PLUGIN_ADMIN.SESSION_NAME_HELP'
- ],
- 'session.secure' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.SESSION_SECURE',
- 'help' => 'PLUGIN_ADMIN.SESSION_SECURE_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => false,
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'session.httponly' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.SESSION_HTTPONLY',
- 'help' => 'PLUGIN_ADMIN.SESSION_HTTPONLY_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'session.path' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.SESSION_PATH',
- 'help' => 'PLUGIN_ADMIN.SESSION_PATH_HELP'
- ],
- 'session.split' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.SESSION_SPLIT',
- 'help' => 'PLUGIN_ADMIN.SESSION_SPLIT_HELP',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ]
- ]
- ]
- ],
- 'advanced' => [
- 'type' => 'section',
- 'title' => 'PLUGIN_ADMIN.ADVANCED',
- 'underline' => true,
- 'fields' => [
- 'gpm.releases' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GPM_RELEASES',
- 'highlight' => 'stable',
- 'help' => 'PLUGIN_ADMIN.GPM_RELEASES_HELP',
- 'options' => [
- 'stable' => 'PLUGIN_ADMIN.STABLE',
- 'testing' => 'PLUGIN_ADMIN.TESTING'
- ]
- ],
- 'gpm.proxy_url' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'placeholder' => 'e.g. 127.0.0.1:3128',
- 'label' => 'PLUGIN_ADMIN.PROXY_URL',
- 'help' => 'PLUGIN_ADMIN.PROXY_URL_HELP'
- ],
- 'gpm.method' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GPM_METHOD',
- 'highlight' => 'auto',
- 'help' => 'PLUGIN_ADMIN.GPM_METHOD_HELP',
- 'options' => [
- 'auto' => 'PLUGIN_ADMIN.AUTO',
- 'fopen' => 'PLUGIN_ADMIN.FOPEN',
- 'curl' => 'PLUGIN_ADMIN.CURL'
- ]
- ],
- 'gpm.official_gpm_only' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GPM_OFFICIAL_ONLY',
- 'highlight' => 'auto',
- 'help' => 'PLUGIN_ADMIN.GPM_OFFICIAL_ONLY_HELP',
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'gpm.verify_peer' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GPM_VERIFY_PEER',
- 'highlight' => 1,
- 'help' => 'PLUGIN_ADMIN.GPM_VERIFY_PEER_HELP',
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'reverse_proxy_setup' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.REVERSE_PROXY',
- 'highlight' => 0,
- 'help' => 'PLUGIN_ADMIN.REVERSE_PROXY_HELP',
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'username_regex' => [
- 'type' => 'text',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.USERNAME_REGEX',
- 'help' => 'PLUGIN_ADMIN.USERNAME_REGEX_HELP'
- ],
- 'pwd_regex' => [
- 'type' => 'text',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.PWD_REGEX',
- 'help' => 'PLUGIN_ADMIN.PWD_REGEX_HELP'
- ],
- 'intl_enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.INTL_ENABLED',
- 'highlight' => 1,
- 'help' => 'PLUGIN_ADMIN.INTL_ENABLED_HELP',
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'wrapped_site' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.WRAPPED_SITE',
- 'highlight' => 0,
- 'help' => 'PLUGIN_ADMIN.WRAPPED_SITE_HELP',
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'absolute_urls' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ABSOLUTE_URLS',
- 'highlight' => 0,
- 'help' => 'PLUGIN_ADMIN.ABSOLUTE_URLS_HELP',
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'param_sep' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.PARAMETER_SEPARATOR',
- 'classes' => 'fancy',
- 'help' => 'PLUGIN_ADMIN.PARAMETER_SEPARATOR_HELP',
- 'default' => '',
- 'options' => [
- ':' => ': (default)',
- ';' => '; (for Apache running on Windows)'
- ]
- ],
- 'force_ssl' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.FORCE_SSL',
- 'highlight' => 0,
- 'help' => 'PLUGIN_ADMIN.FORCE_SSL_HELP',
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'force_lowercase_urls' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.FORCE_LOWERCASE_URLS',
- 'highlight' => 1,
- 'default' => 1,
- 'help' => 'PLUGIN_ADMIN.FORCE_LOWERCASE_URLS_HELP',
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'custom_base_url' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'placeholder' => 'e.g. http://yoursite.com/yourpath',
- 'label' => 'PLUGIN_ADMIN.CUSTOM_BASE_URL',
- 'help' => 'PLUGIN_ADMIN.CUSTOM_BASE_URL_HELP'
- ]
- ]
- ]
- ]
- ]
- ]
- ];
|