12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725 |
- <?php
- return [
- '@class' => 'Grav\\Common\\Config\\CompiledBlueprints',
- 'timestamp' => 1533136703,
- 'checksum' => '8adcdeef63232c2546b4b3b573a22ad6',
- 'files' => [
- 'user/plugins/admin/blueprints/config' => [
- 'media' => [
- 'file' => 'user/plugins/admin/blueprints/config/media.yaml',
- 'modified' => 1533014916
- ]
- ],
- 'system/blueprints/config' => [
- 'media' => [
- 'file' => 'system/blueprints/config/media.yaml',
- 'modified' => 1533014916
- ],
- 'site' => [
- 'file' => 'system/blueprints/config/site.yaml',
- 'modified' => 1533014916
- ],
- 'streams' => [
- 'file' => 'system/blueprints/config/streams.yaml',
- 'modified' => 1533014916
- ],
- 'system' => [
- 'file' => 'system/blueprints/config/system.yaml',
- 'modified' => 1533014916
- ]
- ],
- 'user/plugins' => [
- 'plugins/admin' => [
- 'file' => 'user/plugins/admin/blueprints.yaml',
- 'modified' => 1533014916
- ],
- 'plugins/markdown-notices' => [
- 'file' => 'user/plugins/markdown-notices/blueprints.yaml',
- 'modified' => 1533014916
- ],
- 'plugins/form' => [
- 'file' => 'user/plugins/form/blueprints.yaml',
- 'modified' => 1533014916
- ],
- 'plugins/login' => [
- 'file' => 'user/plugins/login/blueprints.yaml',
- 'modified' => 1533014916
- ],
- 'plugins/error' => [
- 'file' => 'user/plugins/error/blueprints.yaml',
- 'modified' => 1533014916
- ],
- 'plugins/email' => [
- 'file' => 'user/plugins/email/blueprints.yaml',
- 'modified' => 1533014916
- ],
- 'plugins/problems' => [
- 'file' => 'user/plugins/problems/blueprints.yaml',
- 'modified' => 1533014916
- ]
- ]
- ],
- 'data' => [
- 'items' => [
- 'media' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose'
- ]
- ],
- 'media.types' => [
- 'name' => 'media.types',
- 'type' => 'list',
- 'label' => 'PLUGIN_ADMIN.MEDIA_TYPES',
- 'style' => 'vertical',
- 'key' => 'extension',
- 'controls' => 'both',
- 'collapsed' => true,
- 'validation' => 'loose',
- 'array' => true
- ],
- 'media.types.*' => [
- 'type' => '_parent',
- 'name' => 'media.types.*',
- 'form_field' => false
- ],
- 'media.types.*.type' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_ADMIN.TYPE',
- 'name' => 'media.types.*.type',
- 'validation' => 'loose'
- ],
- 'media.types.*.thumb' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_ADMIN.THUMB',
- 'name' => 'media.types.*.thumb',
- 'validation' => 'loose'
- ],
- 'media.types.*.mime' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_ADMIN.MIME_TYPE',
- 'validate' => [
- 'type' => 'lower'
- ],
- 'name' => 'media.types.*.mime',
- 'validation' => 'loose'
- ],
- 'media.types.*.image' => [
- 'type' => 'textarea',
- 'yaml' => true,
- 'label' => 'PLUGIN_ADMIN.IMAGE_OPTIONS',
- 'validate' => [
- 'type' => 'yaml'
- ],
- 'name' => 'media.types.*.image',
- 'validation' => 'loose'
- ],
- 'site' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose'
- ]
- ],
- 'site.title' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_ADMIN.SITE_TITLE',
- 'size' => 'large',
- 'name' => 'site.title',
- 'validation' => 'loose'
- ],
- 'site.default_lang' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_ADMIN.SITE_DEFAULT_LANG',
- 'size' => 'x-small',
- 'name' => 'site.default_lang',
- 'validation' => 'loose'
- ],
- 'site.author' => [
- 'type' => '_parent',
- 'name' => 'site.author',
- 'form_field' => false
- ],
- 'site.author.name' => [
- 'type' => 'text',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_AUTHOR',
- 'name' => 'site.author.name',
- 'validation' => 'loose'
- ],
- 'site.author.email' => [
- 'type' => 'text',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_EMAIL',
- 'validate' => [
- 'type' => 'email'
- ],
- 'name' => 'site.author.email',
- 'validation' => 'loose'
- ],
- 'site.taxonomies' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.TAXONOMY_TYPES',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'site.taxonomies',
- 'validation' => 'loose'
- ],
- 'site.summary' => [
- 'type' => '_parent',
- 'name' => 'site.summary',
- 'form_field' => false
- ],
- 'site.summary.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLED',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'site.summary.enabled',
- 'validation' => 'loose'
- ],
- 'site.summary.size' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'append' => 'PLUGIN_ADMIN.CHARACTERS',
- 'label' => 'PLUGIN_ADMIN.SUMMARY_SIZE',
- 'validate' => [
- 'type' => 'int',
- 'min' => 0,
- 'max' => 65536
- ],
- 'name' => 'site.summary.size',
- 'validation' => 'loose'
- ],
- 'site.summary.format' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.FORMAT',
- 'classes' => 'fancy',
- 'highlight' => 'short',
- 'options' => [
- 'short' => 'PLUGIN_ADMIN.SHORT',
- 'long' => 'PLUGIN_ADMIN.LONG'
- ],
- 'name' => 'site.summary.format',
- 'validation' => 'loose'
- ],
- 'site.summary.delimiter' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_ADMIN.DELIMITER',
- 'name' => 'site.summary.delimiter',
- 'validation' => 'loose'
- ],
- 'site.metadata' => [
- 'type' => 'array',
- 'label' => 'PLUGIN_ADMIN.METADATA',
- 'name' => 'site.metadata',
- 'validation' => 'loose'
- ],
- 'site.redirects' => [
- 'type' => 'array',
- 'label' => 'PLUGIN_ADMIN.CUSTOM_REDIRECTS',
- 'name' => 'site.redirects',
- 'validation' => 'loose'
- ],
- 'site.routes' => [
- 'type' => 'array',
- 'label' => 'PLUGIN_ADMIN.CUSTOM_ROUTES',
- 'name' => 'site.routes',
- 'validation' => 'loose'
- ],
- 'streams' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose',
- 'hidden' => true
- ]
- ],
- 'streams.schemes' => [
- 'type' => '_parent',
- 'name' => 'streams.schemes',
- 'form_field' => false
- ],
- 'streams.schemes.xxx' => [
- 'type' => 'array',
- 'name' => 'streams.schemes.xxx',
- 'validation' => 'loose'
- ],
- 'system' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose'
- ]
- ],
- 'system.home' => [
- 'type' => '_parent',
- 'name' => 'system.home',
- 'form_field' => false
- ],
- 'system.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,
- 'name' => 'system.home.alias',
- 'validation' => 'loose'
- ],
- 'system.home.hide_in_urls' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.HIDE_HOME_IN_URLS',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.home.hide_in_urls',
- 'validation' => 'loose'
- ],
- 'system.pages' => [
- 'type' => '_parent',
- 'name' => 'system.pages',
- 'form_field' => false
- ],
- 'system.pages.theme' => [
- 'type' => 'themeselect',
- 'classes' => 'fancy',
- 'selectize' => true,
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_THEME',
- 'name' => 'system.pages.theme',
- 'validation' => 'loose'
- ],
- 'system.pages.process' => [
- 'type' => 'checkboxes',
- 'label' => 'PLUGIN_ADMIN.PROCESS',
- 'default' => [
- 0 => [
- 'markdown' => true
- ],
- 1 => [
- 'twig' => true
- ]
- ],
- 'options' => [
- 'markdown' => 'Markdown',
- 'twig' => 'Twig'
- ],
- 'use' => 'keys',
- 'name' => 'system.pages.process',
- 'validation' => 'loose'
- ],
- 'system.timezone' => [
- 'type' => 'select',
- 'label' => 'PLUGIN_ADMIN.TIMEZONE',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'data-options@' => '\\Grav\\Common\\Utils::timezones',
- 'default' => '',
- 'options' => [
- '' => 'Default (Server Timezone)'
- ],
- 'name' => 'system.timezone',
- 'validation' => 'loose'
- ],
- 'system.pages.dateformat' => [
- 'type' => '_parent',
- 'name' => 'system.pages.dateformat',
- 'form_field' => false
- ],
- 'system.pages.dateformat.default' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'selectize' => [
- 'create' => true
- ],
- 'label' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT',
- 'data-options@' => '\\Grav\\Common\\Utils::dateFormats',
- 'validate' => [
- 'type' => 'string'
- ],
- 'name' => 'system.pages.dateformat.default',
- 'validation' => 'loose'
- ],
- 'system.pages.dateformat.short' => [
- 'type' => 'dateformat',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.SHORT_DATE_FORMAT',
- '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'
- ],
- 'name' => 'system.pages.dateformat.short',
- 'validation' => 'loose'
- ],
- 'system.pages.dateformat.long' => [
- 'type' => 'dateformat',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.LONG_DATE_FORMAT',
- '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'
- ],
- 'name' => 'system.pages.dateformat.long',
- 'validation' => 'loose'
- ],
- 'system.pages.order' => [
- 'type' => '_parent',
- 'name' => 'system.pages.order',
- 'form_field' => false
- ],
- 'system.pages.order.by' => [
- 'type' => 'select',
- 'size' => 'large',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_ORDERING',
- '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'
- ],
- 'name' => 'system.pages.order.by',
- 'validation' => 'loose'
- ],
- 'system.pages.order.dir' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_ORDER_DIRECTION',
- 'highlight' => 'asc',
- 'default' => 'desc',
- 'options' => [
- 'asc' => 'PLUGIN_ADMIN.ASCENDING',
- 'desc' => 'PLUGIN_ADMIN.DESCENDING'
- ],
- 'name' => 'system.pages.order.dir',
- 'validation' => 'loose'
- ],
- 'system.pages.list' => [
- 'type' => '_parent',
- 'name' => 'system.pages.list',
- 'form_field' => false
- ],
- 'system.pages.list.count' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'append' => 'PLUGIN_ADMIN.PAGES',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_PAGE_COUNT',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'system.pages.list.count',
- 'validation' => 'loose'
- ],
- 'system.pages.publish_dates' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.DATE_BASED_PUBLISHING',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.publish_dates',
- 'validation' => 'loose'
- ],
- 'system.pages.events' => [
- 'type' => 'checkboxes',
- 'label' => 'PLUGIN_ADMIN.EVENTS',
- 'default' => [
- 0 => [
- 'page' => true
- ],
- 1 => [
- 'twig' => true
- ]
- ],
- 'options' => [
- 'page' => 'Page Events',
- 'twig' => 'Twig Events'
- ],
- 'use' => 'keys',
- 'name' => 'system.pages.events',
- 'validation' => 'loose'
- ],
- 'system.pages.append_url_extension' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_ADMIN.APPEND_URL_EXT',
- 'name' => 'system.pages.append_url_extension',
- 'validation' => 'loose'
- ],
- 'system.pages.redirect_default_route' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.REDIRECT_DEFAULT_ROUTE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.redirect_default_route',
- 'validation' => 'loose'
- ],
- 'system.pages.redirect_default_code' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.REDIRECT_DEFAULT_CODE',
- 'options' => [
- 301 => '301 - Permanent',
- 302 => '302 - Found',
- 303 => '303 - Other',
- 304 => '304 - Not Modified'
- ],
- 'name' => 'system.pages.redirect_default_code',
- 'validation' => 'loose'
- ],
- 'system.pages.redirect_trailing_slash' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.REDIRECT_TRAILING_SLASH',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.redirect_trailing_slash',
- 'validation' => 'loose'
- ],
- 'system.pages.ignore_hidden' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.IGNORE_HIDDEN',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.ignore_hidden',
- 'validation' => 'loose'
- ],
- 'system.pages.ignore_files' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.IGNORE_FILES',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'system.pages.ignore_files',
- 'validation' => 'loose'
- ],
- 'system.pages.ignore_folders' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.IGNORE_FOLDERS',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'system.pages.ignore_folders',
- 'validation' => 'loose'
- ],
- 'system.pages.url_taxonomy_filters' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ALLOW_URL_TAXONOMY_FILTERS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.url_taxonomy_filters',
- 'validation' => 'loose'
- ],
- 'system.pages.twig_first' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TWIG_FIRST',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.twig_first',
- 'validation' => 'loose'
- ],
- 'system.pages.never_cache_twig' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.NEVER_CACHE_TWIG',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.never_cache_twig',
- 'validation' => 'loose'
- ],
- 'system.pages.frontmatter' => [
- 'type' => '_parent',
- 'name' => 'system.pages.frontmatter',
- 'form_field' => false
- ],
- 'system.pages.frontmatter.process_twig' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.FRONTMATTER_PROCESS_TWIG',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.frontmatter.process_twig',
- 'validation' => 'loose'
- ],
- 'system.pages.frontmatter.ignore_fields' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.FRONTMATTER_IGNORE_FIELDS',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'system.pages.frontmatter.ignore_fields',
- 'validation' => 'loose'
- ],
- 'system.languages' => [
- 'type' => '_parent',
- 'name' => 'system.languages',
- 'form_field' => false
- ],
- 'system.languages.supported' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.SUPPORTED',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'system.languages.supported',
- 'validation' => 'loose'
- ],
- 'system.languages.include_default_lang' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.INCLUDE_DEFAULT_LANG',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.languages.include_default_lang',
- 'validation' => 'loose'
- ],
- 'system.languages.translations' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TRANSLATIONS_ENABLED',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.languages.translations',
- 'validation' => 'loose'
- ],
- 'system.languages.translations_fallback' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TRANSLATIONS_FALLBACK',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.languages.translations_fallback',
- 'validation' => 'loose'
- ],
- 'system.languages.session_store_active' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ACTIVE_LANGUAGE_IN_SESSION',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.languages.session_store_active',
- 'validation' => 'loose'
- ],
- 'system.languages.http_accept_language' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.HTTP_ACCEPT_LANGUAGE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.languages.http_accept_language',
- 'validation' => 'loose'
- ],
- 'system.languages.override_locale' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.OVERRIDE_LOCALE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.languages.override_locale',
- 'validation' => 'loose'
- ],
- 'system.pages.expires' => [
- 'type' => 'text',
- 'size' => 'small',
- 'append' => 'NICETIME.SECOND_PLURAL',
- 'label' => 'PLUGIN_ADMIN.EXPIRES',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'system.pages.expires',
- 'validation' => 'loose'
- ],
- 'system.pages.cache_control' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.CACHE_CONTROL',
- 'name' => 'system.pages.cache_control',
- 'validation' => 'loose'
- ],
- 'system.pages.last_modified' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.LAST_MODIFIED',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.last_modified',
- 'validation' => 'loose'
- ],
- 'system.pages.etag' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ETAG',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.etag',
- 'validation' => 'loose'
- ],
- 'system.pages.vary_accept_encoding' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.VARY_ACCEPT_ENCODING',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.vary_accept_encoding',
- 'validation' => 'loose'
- ],
- 'system.pages.markdown' => [
- 'type' => '_parent',
- 'name' => 'system.pages.markdown',
- 'form_field' => false
- ],
- 'system.pages.markdown.extra' => [
- 'type' => 'toggle',
- 'label' => 'Markdown extra',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.markdown.extra',
- 'validation' => 'loose'
- ],
- 'system.pages.markdown.auto_line_breaks' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.AUTO_LINE_BREAKS',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.markdown.auto_line_breaks',
- 'validation' => 'loose'
- ],
- 'system.pages.markdown.auto_url_links' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.AUTO_URL_LINKS',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.markdown.auto_url_links',
- 'validation' => 'loose'
- ],
- 'system.pages.markdown.escape_markup' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ESCAPE_MARKUP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.markdown.escape_markup',
- 'validation' => 'loose'
- ],
- 'system.cache' => [
- 'type' => '_parent',
- 'name' => 'system.cache',
- 'form_field' => false
- ],
- 'system.cache.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CACHING',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.cache.enabled',
- 'validation' => 'loose'
- ],
- 'system.cache.check' => [
- 'type' => '_parent',
- 'name' => 'system.cache.check',
- 'form_field' => false
- ],
- 'system.cache.check.method' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.CACHE_CHECK_METHOD',
- 'options' => [
- 'file' => 'Markdown + Yaml file timestamps',
- 'folder' => 'Folder timestamps',
- 'hash' => 'All files timestamps',
- 'none' => 'No timestamp checking'
- ],
- 'name' => 'system.cache.check.method',
- 'validation' => 'loose'
- ],
- 'system.cache.driver' => [
- 'type' => 'select',
- 'size' => 'small',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.CACHE_DRIVER',
- 'options' => [
- 'auto' => 'Auto detect',
- 'file' => 'File',
- 'apc' => 'APC',
- 'apcu' => 'APCu',
- 'xcache' => 'Xcache',
- 'memcache' => 'Memcache',
- 'memcached' => 'Memcached',
- 'wincache' => 'WinCache',
- 'redis' => 'Redis'
- ],
- 'name' => 'system.cache.driver',
- 'validation' => 'loose'
- ],
- 'system.cache.prefix' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_ADMIN.CACHE_PREFIX',
- 'name' => 'system.cache.prefix',
- 'validation' => 'loose'
- ],
- 'system.cache.clear_images_by_default' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CLEAR_IMAGES_BY_DEFAULT',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.cache.clear_images_by_default',
- 'validation' => 'loose'
- ],
- 'system.cache.cli_compatibility' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CLI_COMPATIBILITY',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.cache.cli_compatibility',
- 'validation' => 'loose'
- ],
- 'system.cache.lifetime' => [
- 'type' => 'text',
- 'size' => 'small',
- 'append' => 'NICETIME.SECOND_PLURAL',
- 'label' => 'PLUGIN_ADMIN.LIFETIME',
- 'validate' => [
- 'type' => 'number'
- ],
- 'name' => 'system.cache.lifetime',
- 'validation' => 'loose'
- ],
- 'system.cache.gzip' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GZIP_COMPRESSION',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.cache.gzip',
- 'validation' => 'loose'
- ],
- 'system.cache.allow_webserver_gzip' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ALLOW_WEBSERVER_GZIP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.cache.allow_webserver_gzip',
- 'validation' => 'loose'
- ],
- 'system.cache.memcache' => [
- 'type' => '_parent',
- 'name' => 'system.cache.memcache',
- 'form_field' => false
- ],
- 'system.cache.memcache.server' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.MEMCACHE_SERVER',
- 'name' => 'system.cache.memcache.server',
- 'validation' => 'loose'
- ],
- 'system.cache.memcache.port' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.MEMCACHE_PORT',
- 'name' => 'system.cache.memcache.port',
- 'validation' => 'loose'
- ],
- 'system.cache.memcached' => [
- 'type' => '_parent',
- 'name' => 'system.cache.memcached',
- 'form_field' => false
- ],
- 'system.cache.memcached.server' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.MEMCACHED_SERVER',
- 'name' => 'system.cache.memcached.server',
- 'validation' => 'loose'
- ],
- 'system.cache.memcached.port' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.MEMCACHED_PORT',
- 'name' => 'system.cache.memcached.port',
- 'validation' => 'loose'
- ],
- 'system.cache.redis' => [
- 'type' => '_parent',
- 'name' => 'system.cache.redis',
- 'form_field' => false
- ],
- 'system.cache.redis.socket' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.REDIS_SOCKET',
- 'name' => 'system.cache.redis.socket',
- 'validation' => 'loose'
- ],
- 'system.cache.redis.server' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.REDIS_SERVER',
- 'name' => 'system.cache.redis.server',
- 'validation' => 'loose'
- ],
- 'system.cache.redis.port' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.REDIS_PORT',
- 'name' => 'system.cache.redis.port',
- 'validation' => 'loose'
- ],
- 'system.cache.redis.password' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.REDIS_PASSWORD',
- 'name' => 'system.cache.redis.password',
- 'validation' => 'loose'
- ],
- 'system.twig' => [
- 'type' => '_parent',
- 'name' => 'system.twig',
- 'form_field' => false
- ],
- 'system.twig.cache' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TWIG_CACHING',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.twig.cache',
- 'validation' => 'loose'
- ],
- 'system.twig.debug' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TWIG_DEBUG',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.twig.debug',
- 'validation' => 'loose'
- ],
- 'system.twig.auto_reload' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.DETECT_CHANGES',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.twig.auto_reload',
- 'validation' => 'loose'
- ],
- 'system.twig.autoescape' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.AUTOESCAPE_VARIABLES',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.twig.autoescape',
- 'validation' => 'loose'
- ],
- 'system.twig.umask_fix' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TWIG_UMASK_FIX',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.twig.umask_fix',
- 'validation' => 'loose'
- ],
- 'system.assets' => [
- 'type' => '_parent',
- 'name' => 'system.assets',
- 'form_field' => false
- ],
- 'system.assets.css_pipeline' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_PIPELINE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.css_pipeline',
- 'validation' => 'loose'
- ],
- 'system.assets.css_pipeline_include_externals' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_PIPELINE_INCLUDE_EXTERNALS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.css_pipeline_include_externals',
- 'validation' => 'loose'
- ],
- 'system.assets.css_pipeline_before_excludes' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_PIPELINE_BEFORE_EXCLUDES',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.css_pipeline_before_excludes',
- 'validation' => 'loose'
- ],
- 'system.assets.css_minify' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_MINIFY',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.css_minify',
- 'validation' => 'loose'
- ],
- 'system.assets.css_minify_windows' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_MINIFY_WINDOWS_OVERRIDE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.css_minify_windows',
- 'validation' => 'loose'
- ],
- 'system.assets.css_rewrite' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_REWRITE',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.css_rewrite',
- 'validation' => 'loose'
- ],
- 'system.assets.js_pipeline' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.js_pipeline',
- 'validation' => 'loose'
- ],
- 'system.assets.js_pipeline_include_externals' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_INCLUDE_EXTERNALS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.js_pipeline_include_externals',
- 'validation' => 'loose'
- ],
- 'system.assets.js_pipeline_before_excludes' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_BEFORE_EXCLUDES',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.js_pipeline_before_excludes',
- 'validation' => 'loose'
- ],
- 'system.assets.js_minify' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_MINIFY',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.js_minify',
- 'validation' => 'loose'
- ],
- 'system.assets.enable_asset_timestamp' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLED_TIMESTAMPS_ON_ASSETS',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.enable_asset_timestamp',
- 'validation' => 'loose'
- ],
- 'system.assets.collections' => [
- 'type' => 'multilevel',
- 'label' => 'PLUGIN_ADMIN.COLLECTIONS',
- 'validate' => [
- 'type' => 'array'
- ],
- 'name' => 'system.assets.collections',
- 'validation' => 'loose'
- ],
- 'system.errors' => [
- 'type' => '_parent',
- 'name' => 'system.errors',
- 'form_field' => false
- ],
- 'system.errors.display' => [
- 'type' => 'select',
- 'label' => 'PLUGIN_ADMIN.DISPLAY_ERRORS',
- 'size' => 'medium',
- 'highlight' => 1,
- 'options' => [
- -1 => 'PLUGIN_ADMIN.ERROR_SYSTEM',
- 0 => 'PLUGIN_ADMIN.ERROR_SIMPLE',
- 1 => 'PLUGIN_ADMIN.ERROR_FULL_BACKTRACE'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'system.errors.display',
- 'validation' => 'loose'
- ],
- 'system.errors.log' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.LOG_ERRORS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.errors.log',
- 'validation' => 'loose'
- ],
- 'system.debugger' => [
- 'type' => '_parent',
- 'name' => 'system.debugger',
- 'form_field' => false
- ],
- 'system.debugger.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.DEBUGGER',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.debugger.enabled',
- 'validation' => 'loose'
- ],
- 'system.debugger.shutdown' => [
- 'type' => '_parent',
- 'name' => 'system.debugger.shutdown',
- 'form_field' => false
- ],
- 'system.debugger.shutdown.close_connection' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.SHUTDOWN_CLOSE_CONNECTION',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.debugger.shutdown.close_connection',
- 'validation' => 'loose'
- ],
- 'system.images' => [
- 'type' => '_parent',
- 'name' => 'system.images',
- 'form_field' => false
- ],
- 'system.images.default_image_quality' => [
- 'type' => 'range',
- 'append' => '%',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_IMAGE_QUALITY',
- 'validate' => [
- 'min' => 1,
- 'max' => 100
- ],
- 'name' => 'system.images.default_image_quality',
- 'validation' => 'loose'
- ],
- 'system.images.cache_all' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CACHE_ALL',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.images.cache_all',
- 'validation' => 'loose'
- ],
- 'system.images.cache_perms' => [
- 'type' => 'select',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.CACHE_PERMS',
- 'highlight' => '0755',
- 'options' => [
- '0755' => '0755',
- '0775' => '0775'
- ],
- 'name' => 'system.images.cache_perms',
- 'validation' => 'loose'
- ],
- 'system.images.debug' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.IMAGES_DEBUG',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.images.debug',
- 'validation' => 'loose'
- ],
- 'system.images.auto_fix_orientation' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.IMAGES_AUTO_FIX_ORIENTATION',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.images.auto_fix_orientation',
- 'validation' => 'loose'
- ],
- 'system.media' => [
- 'type' => '_parent',
- 'name' => 'system.media',
- 'form_field' => false
- ],
- 'system.media.enable_media_timestamp' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLE_MEDIA_TIMESTAMP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.media.enable_media_timestamp',
- 'validation' => 'loose'
- ],
- 'system.media.auto_metadata_exif' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLE_AUTO_METADATA',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.media.auto_metadata_exif',
- 'validation' => 'loose'
- ],
- 'system.media.allowed_fallback_types' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.FALLBACK_TYPES',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'system.media.allowed_fallback_types',
- 'validation' => 'loose'
- ],
- 'system.media.unsupported_inline_types' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.INLINE_TYPES',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'system.media.unsupported_inline_types',
- 'validation' => 'loose'
- ],
- 'system.session' => [
- 'type' => '_parent',
- 'name' => 'system.session',
- 'form_field' => false
- ],
- 'system.session.enabled' => [
- 'type' => 'hidden',
- 'label' => 'PLUGIN_ADMIN.ENABLED',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.session.enabled',
- 'validation' => 'loose'
- ],
- 'system.session.timeout' => [
- 'type' => 'text',
- 'size' => 'small',
- 'append' => 'NICETIME.SECOND_PLURAL',
- 'label' => 'PLUGIN_ADMIN.TIMEOUT',
- 'validate' => [
- 'type' => 'number',
- 'min' => 0
- ],
- 'name' => 'system.session.timeout',
- 'validation' => 'loose'
- ],
- 'system.session.name' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.NAME',
- 'name' => 'system.session.name',
- 'validation' => 'loose'
- ],
- 'system.session.secure' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.SESSION_SECURE',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => false,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.session.secure',
- 'validation' => 'loose'
- ],
- 'system.session.httponly' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.SESSION_HTTPONLY',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.session.httponly',
- 'validation' => 'loose'
- ],
- 'system.session.path' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.SESSION_PATH',
- 'name' => 'system.session.path',
- 'validation' => 'loose'
- ],
- 'system.session.split' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.SESSION_SPLIT',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.session.split',
- 'validation' => 'loose'
- ],
- 'system.gpm' => [
- 'type' => '_parent',
- 'name' => 'system.gpm',
- 'form_field' => false
- ],
- 'system.gpm.releases' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GPM_RELEASES',
- 'highlight' => 'stable',
- 'options' => [
- 'stable' => 'PLUGIN_ADMIN.STABLE',
- 'testing' => 'PLUGIN_ADMIN.TESTING'
- ],
- 'name' => 'system.gpm.releases',
- 'validation' => 'loose'
- ],
- 'system.gpm.proxy_url' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.PROXY_URL',
- 'name' => 'system.gpm.proxy_url',
- 'validation' => 'loose'
- ],
- 'system.gpm.method' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GPM_METHOD',
- 'highlight' => 'auto',
- 'options' => [
- 'auto' => 'PLUGIN_ADMIN.AUTO',
- 'fopen' => 'PLUGIN_ADMIN.FOPEN',
- 'curl' => 'PLUGIN_ADMIN.CURL'
- ],
- 'name' => 'system.gpm.method',
- 'validation' => 'loose'
- ],
- 'system.gpm.official_gpm_only' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GPM_OFFICIAL_ONLY',
- 'highlight' => 'auto',
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.gpm.official_gpm_only',
- 'validation' => 'loose'
- ],
- 'system.gpm.verify_peer' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GPM_VERIFY_PEER',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.gpm.verify_peer',
- 'validation' => 'loose'
- ],
- 'system.reverse_proxy_setup' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.REVERSE_PROXY',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.reverse_proxy_setup',
- 'validation' => 'loose'
- ],
- 'system.username_regex' => [
- 'type' => 'text',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.USERNAME_REGEX',
- 'name' => 'system.username_regex',
- 'validation' => 'loose'
- ],
- 'system.pwd_regex' => [
- 'type' => 'text',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.PWD_REGEX',
- 'name' => 'system.pwd_regex',
- 'validation' => 'loose'
- ],
- 'system.intl_enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.INTL_ENABLED',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.intl_enabled',
- 'validation' => 'loose'
- ],
- 'system.wrapped_site' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.WRAPPED_SITE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.wrapped_site',
- 'validation' => 'loose'
- ],
- 'system.absolute_urls' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ABSOLUTE_URLS',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.absolute_urls',
- 'validation' => 'loose'
- ],
- 'system.param_sep' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.PARAMETER_SEPARATOR',
- 'classes' => 'fancy',
- 'default' => '',
- 'options' => [
- ':' => ': (default)',
- ';' => '; (for Apache running on Windows)'
- ],
- 'name' => 'system.param_sep',
- 'validation' => 'loose'
- ],
- 'system.force_ssl' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.FORCE_SSL',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.force_ssl',
- 'validation' => 'loose'
- ],
- 'system.force_lowercase_urls' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.FORCE_LOWERCASE_URLS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.force_lowercase_urls',
- 'validation' => 'loose'
- ],
- 'system.custom_base_url' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.CUSTOM_BASE_URL',
- 'name' => 'system.custom_base_url',
- 'validation' => 'loose'
- ],
- 'plugins.admin' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose'
- ]
- ],
- 'plugins' => [
- 'type' => '_parent',
- 'name' => 'plugins',
- 'form_field' => false
- ],
- 'plugins.admin.enabled' => [
- 'type' => 'hidden',
- 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.enabled',
- 'validation' => 'loose'
- ],
- 'plugins.admin.cache_enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ADMIN_CACHING',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.cache_enabled',
- 'validation' => 'loose'
- ],
- 'plugins.admin.twofa_enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.2FA_TITLE',
- 'default' => 1,
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.twofa_enabled',
- 'validation' => 'loose'
- ],
- 'plugins.admin.route' => [
- 'type' => 'text',
- 'label' => 'Administrator path',
- 'size' => 'medium',
- 'name' => 'plugins.admin.route',
- 'validation' => 'loose'
- ],
- 'plugins.admin.logo_text' => [
- 'type' => 'text',
- 'label' => 'Logo text',
- 'size' => 'medium',
- 'name' => 'plugins.admin.logo_text',
- 'validation' => 'loose'
- ],
- 'plugins.admin.content_padding' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CONTENT_PADDING',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.content_padding',
- 'validation' => 'loose'
- ],
- 'plugins.admin.body_classes' => [
- 'type' => 'text',
- 'label' => 'Body classes',
- 'size' => 'medium',
- 'name' => 'plugins.admin.body_classes',
- 'validation' => 'loose'
- ],
- 'plugins.admin.sidebar' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.sidebar',
- 'form_field' => false
- ],
- 'plugins.admin.sidebar.activate' => [
- 'type' => 'select',
- 'label' => 'Sidebar Activation',
- 'size' => 'small',
- 'default' => 'tab',
- 'options' => [
- 'tab' => 'Tab',
- 'hover' => 'Hover'
- ],
- 'name' => 'plugins.admin.sidebar.activate',
- 'validation' => 'loose'
- ],
- 'plugins.admin.sidebar.hover_delay' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'append' => 'millseconds',
- 'label' => 'Hover delay',
- 'default' => 500,
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'plugins.admin.sidebar.hover_delay',
- 'validation' => 'loose'
- ],
- 'plugins.admin.sidebar.size' => [
- 'type' => 'select',
- 'label' => 'Sidebar Size',
- 'size' => 'medium',
- 'default' => 'auto',
- 'options' => [
- 'auto' => 'Automatic width',
- 'small' => 'Small width'
- ],
- 'name' => 'plugins.admin.sidebar.size',
- 'validation' => 'loose'
- ],
- 'plugins.admin.theme' => [
- 'type' => 'hidden',
- 'label' => 'Theme',
- 'default' => 'grav',
- 'name' => 'plugins.admin.theme',
- 'validation' => 'loose'
- ],
- 'plugins.admin.edit_mode' => [
- 'type' => 'select',
- 'label' => 'Edit mode',
- 'size' => 'small',
- 'default' => 'normal',
- 'options' => [
- 'normal' => 'Normal',
- 'expert' => 'Expert'
- ],
- 'name' => 'plugins.admin.edit_mode',
- 'validation' => 'loose'
- ],
- 'plugins.admin.frontend_preview_target' => [
- 'type' => 'select',
- 'label' => 'Preview pages target',
- 'size' => 'medium',
- 'default' => 'inline',
- 'options' => [
- 'inline' => 'Inline in Admin',
- '_blank' => 'New tab',
- '_self' => 'Current tab'
- ],
- 'name' => 'plugins.admin.frontend_preview_target',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pages' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.pages',
- 'form_field' => false
- ],
- 'plugins.admin.pages.show_parents' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'Parent dropdown',
- 'highlight' => 1,
- 'options' => [
- 'both' => 'Show slug and folder',
- 'folder' => 'Show folder',
- 'fullpath' => 'Show fullpath'
- ],
- 'name' => 'plugins.admin.pages.show_parents',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pages.parents_levels' => [
- 'type' => 'text',
- 'label' => 'Parents Levels',
- 'size' => 'small',
- 'name' => 'plugins.admin.pages.parents_levels',
- 'validation' => 'loose'
- ],
- 'plugins.admin.google_fonts' => [
- 'type' => 'toggle',
- 'label' => 'Use Google Fonts',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.google_fonts',
- 'validation' => 'loose'
- ],
- 'plugins.admin.admin_icons' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'Icon Style',
- 'default' => 'line-awesome',
- 'options' => [
- 'line-awesome' => 'Lighter Line Icons (LineAwesome)',
- 'font-awesome' => 'Darker Solid Icons (FontAwesome)'
- ],
- 'name' => 'plugins.admin.admin_icons',
- 'validation' => 'loose'
- ],
- 'plugins.admin.show_beta_msg' => [
- 'type' => 'hidden',
- 'name' => 'plugins.admin.show_beta_msg',
- 'validation' => 'loose'
- ],
- 'plugins.admin.show_github_msg' => [
- 'type' => 'toggle',
- 'label' => 'Show GitHub Link',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.show_github_msg',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pages_list_display_field' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'Pages List Display Field',
- 'name' => 'plugins.admin.pages_list_display_field',
- 'validation' => 'loose'
- ],
- 'plugins.admin.enable_auto_updates_check' => [
- 'type' => 'toggle',
- 'label' => 'Automatically check for updates',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.enable_auto_updates_check',
- 'validation' => 'loose'
- ],
- 'plugins.admin.session' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.session',
- 'form_field' => false
- ],
- 'plugins.admin.session.timeout' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'Session Timeout',
- 'append' => 'secs',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'plugins.admin.session.timeout',
- 'validation' => 'loose'
- ],
- 'plugins.admin.warnings' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.warnings',
- 'form_field' => false
- ],
- 'plugins.admin.warnings.delete_page' => [
- 'type' => 'toggle',
- 'label' => 'Warn on page delete',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.warnings.delete_page',
- 'validation' => 'loose'
- ],
- 'plugins.admin.hide_page_types' => [
- 'type' => 'array',
- 'label' => 'Hide page types in Admin',
- 'value_only' => true,
- 'name' => 'plugins.admin.hide_page_types',
- 'validation' => 'loose'
- ],
- 'plugins.admin.hide_modular_page_types' => [
- 'type' => 'array',
- 'label' => 'Hide modular page types in Admin',
- 'value_only' => true,
- 'name' => 'plugins.admin.hide_modular_page_types',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pagemedia' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.pagemedia',
- 'form_field' => false
- ],
- 'plugins.admin.pagemedia.resize_width' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'append' => 'pixels',
- 'label' => 'Resize Width',
- 'default' => 0,
- 'validate' => [
- 'type' => 'number'
- ],
- 'name' => 'plugins.admin.pagemedia.resize_width',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pagemedia.resize_height' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'append' => 'pixels',
- 'label' => 'Resize Height',
- 'default' => 0,
- 'validate' => [
- 'type' => 'number'
- ],
- 'name' => 'plugins.admin.pagemedia.resize_height',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pagemedia.res_min_width' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'append' => 'pixels',
- 'label' => 'Resolution Min Width',
- 'default' => 0,
- 'validate' => [
- 'type' => 'number'
- ],
- 'name' => 'plugins.admin.pagemedia.res_min_width',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pagemedia.res_min_height' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'append' => 'pixels',
- 'label' => 'Resolution Min Height',
- 'default' => 0,
- 'validate' => [
- 'type' => 'number'
- ],
- 'name' => 'plugins.admin.pagemedia.res_min_height',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pagemedia.res_max_width' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'append' => 'pixels',
- 'label' => 'Resolution Max Width',
- 'default' => 0,
- 'validate' => [
- 'type' => 'number'
- ],
- 'name' => 'plugins.admin.pagemedia.res_max_width',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pagemedia.res_max_height' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'append' => 'pixels',
- 'label' => 'Resolution Max Height',
- 'default' => 0,
- 'validate' => [
- 'type' => 'number'
- ],
- 'name' => 'plugins.admin.pagemedia.res_max_height',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pagemedia.resize_quality' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'append' => '0...1',
- 'label' => 'Resize Quality',
- 'default' => 0.8,
- 'validate' => [
- 'type' => 'number',
- 'step' => 0.01
- ],
- 'name' => 'plugins.admin.pagemedia.resize_quality',
- 'validation' => 'loose'
- ],
- 'plugins.admin.widgets' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.widgets',
- 'form_field' => false
- ],
- 'plugins.admin.widgets.dashboard-maintenance' => [
- 'type' => 'toggle',
- 'label' => 'Maintenance Widget',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.widgets.dashboard-maintenance',
- 'validation' => 'loose'
- ],
- 'plugins.admin.widgets.dashboard-statistics' => [
- 'type' => 'toggle',
- 'label' => 'Statistics Widget',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.widgets.dashboard-statistics',
- 'validation' => 'loose'
- ],
- 'plugins.admin.widgets.dashboard-notifications' => [
- 'type' => 'toggle',
- 'label' => 'Notifications Feed Widget',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.widgets.dashboard-notifications',
- 'validation' => 'loose'
- ],
- 'plugins.admin.widgets.dashboard-feed' => [
- 'type' => 'toggle',
- 'label' => 'News Feed Widget',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.widgets.dashboard-feed',
- 'validation' => 'loose'
- ],
- 'plugins.admin.widgets.dashboard-pages' => [
- 'type' => 'toggle',
- 'label' => 'Latest Pages Widget',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.widgets.dashboard-pages',
- 'validation' => 'loose'
- ],
- 'plugins.admin.notifications' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.notifications',
- 'form_field' => false
- ],
- 'plugins.admin.notifications.feed' => [
- 'type' => 'toggle',
- 'label' => 'Feed Notifications',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.notifications.feed',
- 'validation' => 'loose'
- ],
- 'plugins.admin.notifications.dashboard' => [
- 'type' => 'toggle',
- 'label' => 'Dashboard Notifications',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.notifications.dashboard',
- 'validation' => 'loose'
- ],
- 'plugins.admin.notifications.plugins' => [
- 'type' => 'toggle',
- 'label' => 'Plugins Notifications',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.notifications.plugins',
- 'validation' => 'loose'
- ],
- 'plugins.admin.notifications.themes' => [
- 'type' => 'toggle',
- 'label' => 'Themes Notifications',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.notifications.themes',
- 'validation' => 'loose'
- ],
- 'plugins.admin.popularity' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.popularity',
- 'form_field' => false
- ],
- 'plugins.admin.popularity.enabled' => [
- 'type' => 'toggle',
- 'label' => 'Visitor tracking',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.popularity.enabled',
- 'validation' => 'loose'
- ],
- 'plugins.admin.dashboard' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.dashboard',
- 'form_field' => false
- ],
- 'plugins.admin.dashboard.days_of_stats' => [
- 'type' => 'text',
- 'label' => 'Days of stats',
- 'append' => 'days',
- 'size' => 'x-small',
- 'default' => 7,
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.admin.dashboard.days_of_stats',
- 'validation' => 'loose'
- ],
- 'plugins.admin.popularity.ignore' => [
- 'type' => 'array',
- 'label' => 'Ignore',
- 'size' => 'large',
- 'default' => [
- 0 => '/test*',
- 1 => '/modular'
- ],
- 'value_only' => true,
- 'name' => 'plugins.admin.popularity.ignore',
- 'validation' => 'loose'
- ],
- 'plugins.admin.popularity.history' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.popularity.history',
- 'form_field' => false
- ],
- 'plugins.admin.popularity.history.daily' => [
- 'type' => 'hidden',
- 'label' => 'Daily history',
- 'default' => 30,
- 'name' => 'plugins.admin.popularity.history.daily',
- 'validation' => 'loose'
- ],
- 'plugins.admin.popularity.history.monthly' => [
- 'type' => 'hidden',
- 'label' => 'Monthly history',
- 'default' => 12,
- 'name' => 'plugins.admin.popularity.history.monthly',
- 'validation' => 'loose'
- ],
- 'plugins.admin.popularity.history.visitors' => [
- 'type' => 'hidden',
- 'label' => 'Visitors history',
- 'default' => 20,
- 'name' => 'plugins.admin.popularity.history.visitors',
- 'validation' => 'loose'
- ],
- 'plugins.markdown-notices' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'strict'
- ]
- ],
- 'plugins.markdown-notices.enabled' => [
- 'type' => 'toggle',
- 'label' => 'Plugin status',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.markdown-notices.enabled',
- 'validation' => 'strict'
- ],
- 'plugins.markdown-notices.built_in_css' => [
- 'type' => 'toggle',
- 'label' => 'Use built in CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.markdown-notices.built_in_css',
- 'validation' => 'strict'
- ],
- 'plugins.markdown-notices.level_classes' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'Level classes',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'plugins.markdown-notices.level_classes',
- 'validation' => 'strict'
- ],
- 'plugins.form' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'strict'
- ]
- ],
- 'plugins.form.enabled' => [
- 'type' => 'hidden',
- 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.enabled',
- 'validation' => 'strict'
- ],
- 'plugins.form.built_in_css' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.USE_BUILT_IN_CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.built_in_css',
- 'validation' => 'strict'
- ],
- 'plugins.form.inline_css' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.USE_INLINE_CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.inline_css',
- 'validation' => 'strict'
- ],
- 'plugins.form.refresh_prevention' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.REFRESH_PREVENTION',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.refresh_prevention',
- 'validation' => 'strict'
- ],
- 'plugins.form.client_side_validation' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.CLIENT_SIDE_VALIDATION',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.client_side_validation',
- 'validation' => 'strict'
- ],
- 'plugins.form.inline_errors' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.INLINE_ERRORS',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.inline_errors',
- 'validation' => 'strict'
- ],
- 'plugins.form.files' => [
- 'type' => '_parent',
- 'name' => 'plugins.form.files',
- 'form_field' => false
- ],
- 'plugins.form.files.multiple' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.ALLOW_MULTIPLE',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.files.multiple',
- 'validation' => 'strict'
- ],
- 'plugins.form.files.limit' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_FORM.LIMIT',
- 'default' => 10,
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'plugins.form.files.limit',
- 'validation' => 'strict'
- ],
- 'plugins.form.files.destination' => [
- 'type' => 'text',
- 'size' => 'large',
- 'label' => 'PLUGIN_FORM.DESTINATION',
- 'default' => '@self',
- 'name' => 'plugins.form.files.destination',
- 'validation' => 'strict'
- ],
- 'plugins.form.files.accept' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_FORM.ACCEPT',
- 'classes' => 'fancy',
- 'default' => [
- 0 => 'image/*'
- ],
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'plugins.form.files.accept',
- 'validation' => 'strict'
- ],
- 'plugins.form.files.filesize' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_FORM.FILESIZE',
- 'size' => 'x-small',
- 'default' => 5,
- 'validate' => [
- 'type' => 'number',
- 'min' => 0
- ],
- 'name' => 'plugins.form.files.filesize',
- 'validation' => 'strict'
- ],
- 'plugins.form.files.avoid_overwriting' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.AVOID_OVERWRITING',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.files.avoid_overwriting',
- 'validation' => 'strict'
- ],
- 'plugins.form.files.random_name' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.RANDOM_NAME',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.files.random_name',
- 'validation' => 'strict'
- ],
- 'plugins.form.recaptcha' => [
- 'type' => '_parent',
- 'name' => 'plugins.form.recaptcha',
- 'form_field' => false
- ],
- 'plugins.form.recaptcha.site_key' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_FORM.RECAPTCHA_SITE_KEY',
- 'default' => '',
- 'name' => 'plugins.form.recaptcha.site_key',
- 'validation' => 'strict'
- ],
- 'plugins.form.recaptcha.secret_key' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_FORM.RECAPTCHA_SECRET_KEY',
- 'default' => '',
- 'name' => 'plugins.form.recaptcha.secret_key',
- 'validation' => 'strict'
- ],
- 'plugins.login' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose'
- ]
- ],
- 'plugins.login.enabled' => [
- 'type' => 'hidden',
- 'label' => 'PLUGIN_LOGIN.PLUGIN_STATUS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.enabled',
- 'validation' => 'loose'
- ],
- 'plugins.login.built_in_css' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.BUILTIN_CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.built_in_css',
- 'validation' => 'loose'
- ],
- 'plugins.login.route' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_LOGIN.ROUTE',
- 'name' => 'plugins.login.route',
- 'validation' => 'loose'
- ],
- 'plugins.login.redirect_after_login' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_LOGIN',
- 'name' => 'plugins.login.redirect_after_login',
- 'validation' => 'loose'
- ],
- 'plugins.login.redirect_after_logout' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_LOGOUT',
- 'name' => 'plugins.login.redirect_after_logout',
- 'validation' => 'loose'
- ],
- 'plugins.login.route_forgot' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_LOGIN.ROUTE_FORGOT',
- 'name' => 'plugins.login.route_forgot',
- 'validation' => 'loose'
- ],
- 'plugins.login.route_reset' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_LOGIN.ROUTE_RESET',
- 'name' => 'plugins.login.route_reset',
- 'validation' => 'loose'
- ],
- 'plugins.login.route_profile' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_LOGIN.ROUTE_PROFILE',
- 'name' => 'plugins.login.route_profile',
- 'validation' => 'loose'
- ],
- 'plugins.login.parent_acl' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.USE_PARENT_ACL_LABEL',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.parent_acl',
- 'validation' => 'loose'
- ],
- 'plugins.login.dynamic_page_visibility' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.DYNAMIC_VISIBILITY',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.dynamic_page_visibility',
- 'validation' => 'loose'
- ],
- 'plugins.login.protect_protected_page_media' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.PROTECT_PROTECTED_PAGE_MEDIA_LABEL',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.protect_protected_page_media',
- 'validation' => 'loose'
- ],
- 'plugins.login.route_activate' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_LOGIN.ROUTE_ACTIVATE',
- 'name' => 'plugins.login.route_activate',
- 'validation' => 'loose'
- ],
- 'plugins.login.route_register' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_LOGIN.ROUTE_REGISTER',
- 'name' => 'plugins.login.route_register',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration' => [
- 'type' => '_parent',
- 'name' => 'plugins.login.user_registration',
- 'form_field' => false
- ],
- 'plugins.login.user_registration.redirect_after_registration' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_REGISTRATION',
- 'name' => 'plugins.login.user_registration.redirect_after_registration',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.redirect_after_activation' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_ACTIVATION',
- 'name' => 'plugins.login.user_registration.redirect_after_activation',
- 'validation' => 'loose'
- ],
- 'plugins.login.rememberme' => [
- 'type' => '_parent',
- 'name' => 'plugins.login.rememberme',
- 'form_field' => false
- ],
- 'plugins.login.rememberme.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLED',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.rememberme.enabled',
- 'validation' => 'loose'
- ],
- 'plugins.login.rememberme.timeout' => [
- 'type' => 'text',
- 'size' => 'small',
- 'default' => 604800,
- 'label' => 'PLUGIN_ADMIN.TIMEOUT',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'plugins.login.rememberme.timeout',
- 'validation' => 'loose'
- ],
- 'plugins.login.rememberme.name' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.NAME',
- 'name' => 'plugins.login.rememberme.name',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLED',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.enabled',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.fields' => [
- 'type' => 'array',
- 'value_only' => true,
- 'label' => 'PLUGIN_LOGIN.REGISTRATION_FIELDS',
- 'name' => 'plugins.login.user_registration.fields',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.default_values' => [
- 'type' => 'array',
- 'label' => 'PLUGIN_LOGIN.DEFAULT_VALUES',
- 'name' => 'plugins.login.user_registration.default_values',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.groups' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.GROUPS',
- '@data-options' => '\\Grav\\User\\Groups::groups',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'plugins.login.user_registration.groups',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.access' => [
- 'type' => '_parent',
- 'name' => 'plugins.login.user_registration.access',
- 'form_field' => false
- ],
- 'plugins.login.user_registration.access.site' => [
- 'type' => 'array',
- 'label' => 'PLUGIN_ADMIN.SITE_ACCESS',
- 'multiple' => false,
- 'validate' => [
- 'type' => 'array'
- ],
- 'name' => 'plugins.login.user_registration.access.site',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.options' => [
- 'type' => '_parent',
- 'name' => 'plugins.login.user_registration.options',
- 'form_field' => false
- ],
- 'plugins.login.user_registration.options.validate_password1_and_password2' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.VALIDATE_PASSWORD1_AND_PASSWORD2',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.options.validate_password1_and_password2',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.options.set_user_disabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.SET_USER_DISABLED',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.options.set_user_disabled',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.options.login_after_registration' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.LOGIN_AFTER_REGISTRATION',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.options.login_after_registration',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.options.send_activation_email' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.SEND_ACTIVATION_EMAIL',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.options.send_activation_email',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.options.send_notification_email' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.SEND_NOTIFICATION_EMAIL',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.options.send_notification_email',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.options.send_welcome_email' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.SEND_WELCOME_EMAIL',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'name' => 'plugins.login.user_registration.options.send_welcome_email',
- 'validation' => 'loose'
- ],
- 'plugins.login.max_pw_resets_count' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_LOGIN.MAX_RESETS_COUNT',
- 'append' => 'PLUGIN_LOGIN.RESETS',
- 'validate' => [
- 'type' => 'number',
- 'min' => 0
- ],
- 'name' => 'plugins.login.max_pw_resets_count',
- 'validation' => 'loose'
- ],
- 'plugins.login.max_pw_resets_interval' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_LOGIN.MAX_RESETS_INTERVAL',
- 'append' => 'PLUGIN_LOGIN.SECONDS',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'plugins.login.max_pw_resets_interval',
- 'validation' => 'loose'
- ],
- 'plugins.login.max_login_count' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_LOGIN.MAX_LOGINS_COUNT',
- 'append' => 'PLUGIN_LOGIN.ATTEMPTS',
- 'validate' => [
- 'type' => 'number',
- 'min' => 0
- ],
- 'name' => 'plugins.login.max_login_count',
- 'validation' => 'loose'
- ],
- 'plugins.login.max_login_interval' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_LOGIN.MAX_LOGINS_INTERVAL',
- 'append' => 'PLUGIN_LOGIN.SECONDS',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'plugins.login.max_login_interval',
- 'validation' => 'loose'
- ],
- 'plugins.error' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'strict'
- ]
- ],
- 'plugins.error.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.error.enabled',
- 'validation' => 'strict'
- ],
- 'plugins.error.routes' => [
- 'type' => '_parent',
- 'name' => 'plugins.error.routes',
- 'form_field' => false
- ],
- 'plugins.error.routes.404' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => '404 Route',
- 'default' => '/error',
- 'name' => 'plugins.error.routes.404',
- 'validation' => 'strict'
- ],
- 'plugins.email' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose'
- ]
- ],
- 'plugins.email.enabled' => [
- 'type' => 'hidden',
- 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.email.enabled',
- 'validation' => 'loose'
- ],
- 'plugins.email.mailer' => [
- 'type' => '_parent',
- 'name' => 'plugins.email.mailer',
- 'form_field' => false
- ],
- 'plugins.email.mailer.engine' => [
- 'type' => 'select',
- 'label' => 'Mail Engine',
- 'size' => 'medium',
- 'options' => [
- 'none' => 'Disabled',
- 'smtp' => 'SMTP',
- 'sendmail' => 'Sendmail'
- ],
- 'name' => 'plugins.email.mailer.engine',
- 'validation' => 'loose'
- ],
- 'plugins.email.content_type' => [
- 'type' => 'select',
- 'label' => 'Content type',
- 'size' => 'medium',
- 'default' => 'text/html',
- 'options' => [
- 'text/plain' => 'Plain text',
- 'text/html' => 'HTML'
- ],
- 'name' => 'plugins.email.content_type',
- 'validation' => 'loose'
- ],
- 'plugins.email.charset' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Charset',
- 'name' => 'plugins.email.charset',
- 'validation' => 'loose'
- ],
- 'plugins.email.from' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email from',
- 'validate' => [
- 'required' => true,
- 'type' => 'email'
- ],
- 'name' => 'plugins.email.from',
- 'validation' => 'loose'
- ],
- 'plugins.email.from_name' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Email from name',
- 'name' => 'plugins.email.from_name',
- 'validation' => 'loose'
- ],
- 'plugins.email.to' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email to',
- 'multiple' => true,
- 'validate' => [
- 'required' => true,
- 'type' => 'email'
- ],
- 'name' => 'plugins.email.to',
- 'validation' => 'loose'
- ],
- 'plugins.email.to_name' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Email to name',
- 'name' => 'plugins.email.to_name',
- 'validation' => 'loose'
- ],
- 'plugins.email.cc' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email CC',
- 'multiple' => true,
- 'validate' => [
- 'type' => 'email'
- ],
- 'name' => 'plugins.email.cc',
- 'validation' => 'loose'
- ],
- 'plugins.email.cc_name' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Email CC name',
- 'name' => 'plugins.email.cc_name',
- 'validation' => 'loose'
- ],
- 'plugins.email.bcc' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email BCC',
- 'multiple' => true,
- 'validate' => [
- 'type' => 'email'
- ],
- 'name' => 'plugins.email.bcc',
- 'validation' => 'loose'
- ],
- 'plugins.email.reply_to' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email reply-to',
- 'multiple' => true,
- 'validate' => [
- 'type' => 'email'
- ],
- 'name' => 'plugins.email.reply_to',
- 'validation' => 'loose'
- ],
- 'plugins.email.reply_to_name' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Email reply-to name',
- 'name' => 'plugins.email.reply_to_name',
- 'validation' => 'loose'
- ],
- 'plugins.email.body' => [
- 'type' => 'textarea',
- 'size' => 'medium',
- 'label' => 'Email body',
- 'name' => 'plugins.email.body',
- 'validation' => 'loose'
- ],
- 'plugins.email.mailer.smtp' => [
- 'type' => '_parent',
- 'name' => 'plugins.email.mailer.smtp',
- 'form_field' => false
- ],
- 'plugins.email.mailer.smtp.server' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'SMTP server',
- 'name' => 'plugins.email.mailer.smtp.server',
- 'validation' => 'loose'
- ],
- 'plugins.email.mailer.smtp.port' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'SMTP port',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1,
- 'max' => 65535
- ],
- 'name' => 'plugins.email.mailer.smtp.port',
- 'validation' => 'loose'
- ],
- 'plugins.email.mailer.smtp.encryption' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'SMTP encryption',
- 'options' => [
- 'none' => 'None',
- 'ssl' => 'SSL',
- 'tls' => 'TLS'
- ],
- 'name' => 'plugins.email.mailer.smtp.encryption',
- 'validation' => 'loose'
- ],
- 'plugins.email.mailer.smtp.user' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'SMTP login name',
- 'name' => 'plugins.email.mailer.smtp.user',
- 'validation' => 'loose'
- ],
- 'plugins.email.mailer.smtp.password' => [
- 'type' => 'password',
- 'size' => 'medium',
- 'label' => 'SMTP password',
- 'name' => 'plugins.email.mailer.smtp.password',
- 'validation' => 'loose'
- ],
- 'plugins.email.mailer.sendmail' => [
- 'type' => '_parent',
- 'name' => 'plugins.email.mailer.sendmail',
- 'form_field' => false
- ],
- 'plugins.email.mailer.sendmail.bin' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Path to sendmail',
- 'name' => 'plugins.email.mailer.sendmail.bin',
- 'validation' => 'loose'
- ],
- 'plugins.email.debug' => [
- 'type' => 'toggle',
- 'label' => 'Debug',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.email.debug',
- 'validation' => 'loose'
- ],
- 'plugins.problems' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'strict'
- ]
- ],
- 'plugins.problems.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.problems.enabled',
- 'validation' => 'strict'
- ],
- 'plugins.problems.built_in_css' => [
- 'type' => 'toggle',
- 'label' => 'Use built in CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.problems.built_in_css',
- 'validation' => 'strict'
- ]
- ],
- 'rules' => [
-
- ],
- 'nested' => [
- 'media' => [
- 'types' => [
- '*' => [
- 'type' => 'media.types.*.type',
- 'thumb' => 'media.types.*.thumb',
- 'mime' => 'media.types.*.mime',
- 'image' => 'media.types.*.image'
- ]
- ]
- ],
- 'site' => [
- 'title' => 'site.title',
- 'default_lang' => 'site.default_lang',
- 'author' => [
- 'name' => 'site.author.name',
- 'email' => 'site.author.email'
- ],
- 'taxonomies' => 'site.taxonomies',
- 'summary' => [
- 'enabled' => 'site.summary.enabled',
- 'size' => 'site.summary.size',
- 'format' => 'site.summary.format',
- 'delimiter' => 'site.summary.delimiter'
- ],
- 'metadata' => 'site.metadata',
- 'redirects' => 'site.redirects',
- 'routes' => 'site.routes'
- ],
- 'streams' => [
- 'schemes' => [
- 'xxx' => 'streams.schemes.xxx'
- ]
- ],
- 'system' => [
- 'home' => [
- 'alias' => 'system.home.alias',
- 'hide_in_urls' => 'system.home.hide_in_urls'
- ],
- 'pages' => [
- 'theme' => 'system.pages.theme',
- 'process' => 'system.pages.process',
- 'dateformat' => [
- 'default' => 'system.pages.dateformat.default',
- 'short' => 'system.pages.dateformat.short',
- 'long' => 'system.pages.dateformat.long'
- ],
- 'order' => [
- 'by' => 'system.pages.order.by',
- 'dir' => 'system.pages.order.dir'
- ],
- 'list' => [
- 'count' => 'system.pages.list.count'
- ],
- 'publish_dates' => 'system.pages.publish_dates',
- 'events' => 'system.pages.events',
- 'append_url_extension' => 'system.pages.append_url_extension',
- 'redirect_default_route' => 'system.pages.redirect_default_route',
- 'redirect_default_code' => 'system.pages.redirect_default_code',
- 'redirect_trailing_slash' => 'system.pages.redirect_trailing_slash',
- 'ignore_hidden' => 'system.pages.ignore_hidden',
- 'ignore_files' => 'system.pages.ignore_files',
- 'ignore_folders' => 'system.pages.ignore_folders',
- 'url_taxonomy_filters' => 'system.pages.url_taxonomy_filters',
- 'twig_first' => 'system.pages.twig_first',
- 'never_cache_twig' => 'system.pages.never_cache_twig',
- 'frontmatter' => [
- 'process_twig' => 'system.pages.frontmatter.process_twig',
- 'ignore_fields' => 'system.pages.frontmatter.ignore_fields'
- ],
- 'expires' => 'system.pages.expires',
- 'cache_control' => 'system.pages.cache_control',
- 'last_modified' => 'system.pages.last_modified',
- 'etag' => 'system.pages.etag',
- 'vary_accept_encoding' => 'system.pages.vary_accept_encoding',
- 'markdown' => [
- 'extra' => 'system.pages.markdown.extra',
- 'auto_line_breaks' => 'system.pages.markdown.auto_line_breaks',
- 'auto_url_links' => 'system.pages.markdown.auto_url_links',
- 'escape_markup' => 'system.pages.markdown.escape_markup'
- ]
- ],
- 'timezone' => 'system.timezone',
- 'languages' => [
- 'supported' => 'system.languages.supported',
- 'include_default_lang' => 'system.languages.include_default_lang',
- 'translations' => 'system.languages.translations',
- 'translations_fallback' => 'system.languages.translations_fallback',
- 'session_store_active' => 'system.languages.session_store_active',
- 'http_accept_language' => 'system.languages.http_accept_language',
- 'override_locale' => 'system.languages.override_locale'
- ],
- 'cache' => [
- 'enabled' => 'system.cache.enabled',
- 'check' => [
- 'method' => 'system.cache.check.method'
- ],
- 'driver' => 'system.cache.driver',
- 'prefix' => 'system.cache.prefix',
- 'clear_images_by_default' => 'system.cache.clear_images_by_default',
- 'cli_compatibility' => 'system.cache.cli_compatibility',
- 'lifetime' => 'system.cache.lifetime',
- 'gzip' => 'system.cache.gzip',
- 'allow_webserver_gzip' => 'system.cache.allow_webserver_gzip',
- 'memcache' => [
- 'server' => 'system.cache.memcache.server',
- 'port' => 'system.cache.memcache.port'
- ],
- 'memcached' => [
- 'server' => 'system.cache.memcached.server',
- 'port' => 'system.cache.memcached.port'
- ],
- 'redis' => [
- 'socket' => 'system.cache.redis.socket',
- 'server' => 'system.cache.redis.server',
- 'port' => 'system.cache.redis.port',
- 'password' => 'system.cache.redis.password'
- ]
- ],
- 'twig' => [
- 'cache' => 'system.twig.cache',
- 'debug' => 'system.twig.debug',
- 'auto_reload' => 'system.twig.auto_reload',
- 'autoescape' => 'system.twig.autoescape',
- 'umask_fix' => 'system.twig.umask_fix'
- ],
- 'assets' => [
- 'css_pipeline' => 'system.assets.css_pipeline',
- 'css_pipeline_include_externals' => 'system.assets.css_pipeline_include_externals',
- 'css_pipeline_before_excludes' => 'system.assets.css_pipeline_before_excludes',
- 'css_minify' => 'system.assets.css_minify',
- 'css_minify_windows' => 'system.assets.css_minify_windows',
- 'css_rewrite' => 'system.assets.css_rewrite',
- 'js_pipeline' => 'system.assets.js_pipeline',
- 'js_pipeline_include_externals' => 'system.assets.js_pipeline_include_externals',
- 'js_pipeline_before_excludes' => 'system.assets.js_pipeline_before_excludes',
- 'js_minify' => 'system.assets.js_minify',
- 'enable_asset_timestamp' => 'system.assets.enable_asset_timestamp',
- 'collections' => 'system.assets.collections'
- ],
- 'errors' => [
- 'display' => 'system.errors.display',
- 'log' => 'system.errors.log'
- ],
- 'debugger' => [
- 'enabled' => 'system.debugger.enabled',
- 'shutdown' => [
- 'close_connection' => 'system.debugger.shutdown.close_connection'
- ]
- ],
- 'images' => [
- 'default_image_quality' => 'system.images.default_image_quality',
- 'cache_all' => 'system.images.cache_all',
- 'cache_perms' => 'system.images.cache_perms',
- 'debug' => 'system.images.debug',
- 'auto_fix_orientation' => 'system.images.auto_fix_orientation'
- ],
- 'media' => [
- 'enable_media_timestamp' => 'system.media.enable_media_timestamp',
- 'auto_metadata_exif' => 'system.media.auto_metadata_exif',
- 'allowed_fallback_types' => 'system.media.allowed_fallback_types',
- 'unsupported_inline_types' => 'system.media.unsupported_inline_types'
- ],
- 'session' => [
- 'enabled' => 'system.session.enabled',
- 'timeout' => 'system.session.timeout',
- 'name' => 'system.session.name',
- 'secure' => 'system.session.secure',
- 'httponly' => 'system.session.httponly',
- 'path' => 'system.session.path',
- 'split' => 'system.session.split'
- ],
- 'gpm' => [
- 'releases' => 'system.gpm.releases',
- 'proxy_url' => 'system.gpm.proxy_url',
- 'method' => 'system.gpm.method',
- 'official_gpm_only' => 'system.gpm.official_gpm_only',
- 'verify_peer' => 'system.gpm.verify_peer'
- ],
- 'reverse_proxy_setup' => 'system.reverse_proxy_setup',
- 'username_regex' => 'system.username_regex',
- 'pwd_regex' => 'system.pwd_regex',
- 'intl_enabled' => 'system.intl_enabled',
- 'wrapped_site' => 'system.wrapped_site',
- 'absolute_urls' => 'system.absolute_urls',
- 'param_sep' => 'system.param_sep',
- 'force_ssl' => 'system.force_ssl',
- 'force_lowercase_urls' => 'system.force_lowercase_urls',
- 'custom_base_url' => 'system.custom_base_url'
- ],
- 'plugins' => [
- 'admin' => [
- 'enabled' => 'plugins.admin.enabled',
- 'cache_enabled' => 'plugins.admin.cache_enabled',
- 'twofa_enabled' => 'plugins.admin.twofa_enabled',
- 'route' => 'plugins.admin.route',
- 'logo_text' => 'plugins.admin.logo_text',
- 'content_padding' => 'plugins.admin.content_padding',
- 'body_classes' => 'plugins.admin.body_classes',
- 'sidebar' => [
- 'activate' => 'plugins.admin.sidebar.activate',
- 'hover_delay' => 'plugins.admin.sidebar.hover_delay',
- 'size' => 'plugins.admin.sidebar.size'
- ],
- 'theme' => 'plugins.admin.theme',
- 'edit_mode' => 'plugins.admin.edit_mode',
- 'frontend_preview_target' => 'plugins.admin.frontend_preview_target',
- 'pages' => [
- 'show_parents' => 'plugins.admin.pages.show_parents',
- 'parents_levels' => 'plugins.admin.pages.parents_levels'
- ],
- 'google_fonts' => 'plugins.admin.google_fonts',
- 'admin_icons' => 'plugins.admin.admin_icons',
- 'show_beta_msg' => 'plugins.admin.show_beta_msg',
- 'show_github_msg' => 'plugins.admin.show_github_msg',
- 'pages_list_display_field' => 'plugins.admin.pages_list_display_field',
- 'enable_auto_updates_check' => 'plugins.admin.enable_auto_updates_check',
- 'session' => [
- 'timeout' => 'plugins.admin.session.timeout'
- ],
- 'warnings' => [
- 'delete_page' => 'plugins.admin.warnings.delete_page'
- ],
- 'hide_page_types' => 'plugins.admin.hide_page_types',
- 'hide_modular_page_types' => 'plugins.admin.hide_modular_page_types',
- 'pagemedia' => [
- 'resize_width' => 'plugins.admin.pagemedia.resize_width',
- 'resize_height' => 'plugins.admin.pagemedia.resize_height',
- 'res_min_width' => 'plugins.admin.pagemedia.res_min_width',
- 'res_min_height' => 'plugins.admin.pagemedia.res_min_height',
- 'res_max_width' => 'plugins.admin.pagemedia.res_max_width',
- 'res_max_height' => 'plugins.admin.pagemedia.res_max_height',
- 'resize_quality' => 'plugins.admin.pagemedia.resize_quality'
- ],
- 'widgets' => [
- 'dashboard-maintenance' => 'plugins.admin.widgets.dashboard-maintenance',
- 'dashboard-statistics' => 'plugins.admin.widgets.dashboard-statistics',
- 'dashboard-notifications' => 'plugins.admin.widgets.dashboard-notifications',
- 'dashboard-feed' => 'plugins.admin.widgets.dashboard-feed',
- 'dashboard-pages' => 'plugins.admin.widgets.dashboard-pages'
- ],
- 'notifications' => [
- 'feed' => 'plugins.admin.notifications.feed',
- 'dashboard' => 'plugins.admin.notifications.dashboard',
- 'plugins' => 'plugins.admin.notifications.plugins',
- 'themes' => 'plugins.admin.notifications.themes'
- ],
- 'popularity' => [
- 'enabled' => 'plugins.admin.popularity.enabled',
- 'ignore' => 'plugins.admin.popularity.ignore',
- 'history' => [
- 'daily' => 'plugins.admin.popularity.history.daily',
- 'monthly' => 'plugins.admin.popularity.history.monthly',
- 'visitors' => 'plugins.admin.popularity.history.visitors'
- ]
- ],
- 'dashboard' => [
- 'days_of_stats' => 'plugins.admin.dashboard.days_of_stats'
- ]
- ],
- 'markdown-notices' => [
- 'enabled' => 'plugins.markdown-notices.enabled',
- 'built_in_css' => 'plugins.markdown-notices.built_in_css',
- 'level_classes' => 'plugins.markdown-notices.level_classes'
- ],
- 'form' => [
- 'enabled' => 'plugins.form.enabled',
- 'built_in_css' => 'plugins.form.built_in_css',
- 'inline_css' => 'plugins.form.inline_css',
- 'refresh_prevention' => 'plugins.form.refresh_prevention',
- 'client_side_validation' => 'plugins.form.client_side_validation',
- 'inline_errors' => 'plugins.form.inline_errors',
- 'files' => [
- 'multiple' => 'plugins.form.files.multiple',
- 'limit' => 'plugins.form.files.limit',
- 'destination' => 'plugins.form.files.destination',
- 'accept' => 'plugins.form.files.accept',
- 'filesize' => 'plugins.form.files.filesize',
- 'avoid_overwriting' => 'plugins.form.files.avoid_overwriting',
- 'random_name' => 'plugins.form.files.random_name'
- ],
- 'recaptcha' => [
- 'site_key' => 'plugins.form.recaptcha.site_key',
- 'secret_key' => 'plugins.form.recaptcha.secret_key'
- ]
- ],
- 'login' => [
- 'enabled' => 'plugins.login.enabled',
- 'built_in_css' => 'plugins.login.built_in_css',
- 'route' => 'plugins.login.route',
- 'redirect_after_login' => 'plugins.login.redirect_after_login',
- 'redirect_after_logout' => 'plugins.login.redirect_after_logout',
- 'route_forgot' => 'plugins.login.route_forgot',
- 'route_reset' => 'plugins.login.route_reset',
- 'route_profile' => 'plugins.login.route_profile',
- 'parent_acl' => 'plugins.login.parent_acl',
- 'dynamic_page_visibility' => 'plugins.login.dynamic_page_visibility',
- 'protect_protected_page_media' => 'plugins.login.protect_protected_page_media',
- 'route_activate' => 'plugins.login.route_activate',
- 'route_register' => 'plugins.login.route_register',
- 'user_registration' => [
- 'redirect_after_registration' => 'plugins.login.user_registration.redirect_after_registration',
- 'redirect_after_activation' => 'plugins.login.user_registration.redirect_after_activation',
- 'enabled' => 'plugins.login.user_registration.enabled',
- 'fields' => 'plugins.login.user_registration.fields',
- 'default_values' => 'plugins.login.user_registration.default_values',
- 'groups' => 'plugins.login.user_registration.groups',
- 'access' => [
- 'site' => 'plugins.login.user_registration.access.site'
- ],
- 'options' => [
- 'validate_password1_and_password2' => 'plugins.login.user_registration.options.validate_password1_and_password2',
- 'set_user_disabled' => 'plugins.login.user_registration.options.set_user_disabled',
- 'login_after_registration' => 'plugins.login.user_registration.options.login_after_registration',
- 'send_activation_email' => 'plugins.login.user_registration.options.send_activation_email',
- 'send_notification_email' => 'plugins.login.user_registration.options.send_notification_email',
- 'send_welcome_email' => 'plugins.login.user_registration.options.send_welcome_email'
- ]
- ],
- 'rememberme' => [
- 'enabled' => 'plugins.login.rememberme.enabled',
- 'timeout' => 'plugins.login.rememberme.timeout',
- 'name' => 'plugins.login.rememberme.name'
- ],
- 'max_pw_resets_count' => 'plugins.login.max_pw_resets_count',
- 'max_pw_resets_interval' => 'plugins.login.max_pw_resets_interval',
- 'max_login_count' => 'plugins.login.max_login_count',
- 'max_login_interval' => 'plugins.login.max_login_interval'
- ],
- 'error' => [
- 'enabled' => 'plugins.error.enabled',
- 'routes' => [
- 404 => 'plugins.error.routes.404'
- ]
- ],
- 'email' => [
- 'enabled' => 'plugins.email.enabled',
- 'mailer' => [
- 'engine' => 'plugins.email.mailer.engine',
- 'smtp' => [
- 'server' => 'plugins.email.mailer.smtp.server',
- 'port' => 'plugins.email.mailer.smtp.port',
- 'encryption' => 'plugins.email.mailer.smtp.encryption',
- 'user' => 'plugins.email.mailer.smtp.user',
- 'password' => 'plugins.email.mailer.smtp.password'
- ],
- 'sendmail' => [
- 'bin' => 'plugins.email.mailer.sendmail.bin'
- ]
- ],
- 'content_type' => 'plugins.email.content_type',
- 'charset' => 'plugins.email.charset',
- 'from' => 'plugins.email.from',
- 'from_name' => 'plugins.email.from_name',
- 'to' => 'plugins.email.to',
- 'to_name' => 'plugins.email.to_name',
- 'cc' => 'plugins.email.cc',
- 'cc_name' => 'plugins.email.cc_name',
- 'bcc' => 'plugins.email.bcc',
- 'reply_to' => 'plugins.email.reply_to',
- 'reply_to_name' => 'plugins.email.reply_to_name',
- 'body' => 'plugins.email.body',
- 'debug' => 'plugins.email.debug'
- ],
- 'problems' => [
- 'enabled' => 'plugins.problems.enabled',
- 'built_in_css' => 'plugins.problems.built_in_css'
- ]
- ]
- ],
- 'dynamic' => [
- 'system.timezone' => [
- 'options' => [
- 'action' => 'data',
- 'params' => '\\Grav\\Common\\Utils::timezones'
- ]
- ],
- 'system.pages.dateformat.default' => [
- 'options' => [
- 'action' => 'data',
- 'params' => '\\Grav\\Common\\Utils::dateFormats'
- ]
- ],
- 'plugins.login.user_registration.groups' => [
- 'options' => [
- 'action' => 'data',
- 'params' => '\\Grav\\User\\Groups::groups'
- ]
- ]
- ],
- 'filter' => [
- 'validation' => true
- ]
- ]
- ];
|