123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392 |
- <?php
- return [
- '@class' => 'Grav\\Common\\Config\\CompiledBlueprints',
- 'timestamp' => 1547558590,
- 'checksum' => '2c9289f6ec54c83247ae7e774c10fb4a',
- 'files' => [
- 'user/plugins/admin/blueprints/config' => [
- 'media' => [
- 'file' => 'user/plugins/admin/blueprints/config/media.yaml',
- 'modified' => 1544136638
- ]
- ],
- 'system/blueprints/config' => [
- 'media' => [
- 'file' => 'system/blueprints/config/media.yaml',
- 'modified' => 1544136609
- ],
- 'security' => [
- 'file' => 'system/blueprints/config/security.yaml',
- 'modified' => 1544136609
- ],
- 'site' => [
- 'file' => 'system/blueprints/config/site.yaml',
- 'modified' => 1544136609
- ],
- 'streams' => [
- 'file' => 'system/blueprints/config/streams.yaml',
- 'modified' => 1544136609
- ],
- 'system' => [
- 'file' => 'system/blueprints/config/system.yaml',
- 'modified' => 1544136609
- ]
- ],
- 'user/plugins' => [
- 'plugins/admin' => [
- 'file' => 'user/plugins/admin/blueprints.yaml',
- 'modified' => 1544136638
- ],
- 'plugins/markdown-notices' => [
- 'file' => 'user/plugins/markdown-notices/blueprints.yaml',
- 'modified' => 1543269410
- ],
- 'plugins/form' => [
- 'file' => 'user/plugins/form/blueprints.yaml',
- 'modified' => 1544136635
- ],
- 'plugins/login' => [
- 'file' => 'user/plugins/login/blueprints.yaml',
- 'modified' => 1544136625
- ],
- 'plugins/error' => [
- 'file' => 'user/plugins/error/blueprints.yaml',
- 'modified' => 1543269411
- ],
- 'plugins/email' => [
- 'file' => 'user/plugins/email/blueprints.yaml',
- 'modified' => 1543269413
- ],
- 'plugins/taxonomylist' => [
- 'file' => 'user/plugins/taxonomylist/blueprints.yaml',
- 'modified' => 1544136627
- ],
- 'plugins/youtube' => [
- 'file' => 'user/plugins/youtube/blueprints.yaml',
- 'modified' => 1544136631
- ],
- 'plugins/problems' => [
- 'file' => 'user/plugins/problems/blueprints.yaml',
- 'modified' => 1544136633
- ],
- 'plugins/language-selector' => [
- 'file' => 'user/plugins/language-selector/blueprints.yaml',
- 'modified' => 1544136629
- ]
- ]
- ],
- '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'
- ],
- 'security' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose'
- ]
- ],
- 'security.xss_whitelist' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.XSS_WHITELIST_PERMISSIONS',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'security.xss_whitelist',
- 'validation' => 'loose'
- ],
- 'security.xss_enabled' => [
- 'type' => '_parent',
- 'name' => 'security.xss_enabled',
- 'form_field' => false
- ],
- 'security.xss_enabled.on_events' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_ON_EVENTS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'security.xss_enabled.on_events',
- 'validation' => 'loose'
- ],
- 'security.xss_enabled.invalid_protocols' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_INVALID_PROTOCOLS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'security.xss_enabled.invalid_protocols',
- 'validation' => 'loose'
- ],
- 'security.xss_enabled.moz_binding' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_MOZ_BINDINGS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'security.xss_enabled.moz_binding',
- 'validation' => 'loose'
- ],
- 'security.xss_enabled.html_inline_styles' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_HTML_INLINE_STYLES',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'security.xss_enabled.html_inline_styles',
- 'validation' => 'loose'
- ],
- 'security.xss_enabled.dangerous_tags' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_DANGEROUS_TAGS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'security.xss_enabled.dangerous_tags',
- 'validation' => 'loose'
- ],
- 'security.xss_dangerous_tags' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.XSS_DANGEROUS_TAGS_LIST',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'security.xss_dangerous_tags',
- 'validation' => 'loose'
- ],
- 'security.uploads_dangerous_extensions' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.UPLOADS_DANGEROUS_EXTENSIONS',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'security.uploads_dangerous_extensions',
- '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.initialize' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.SESSION_INITIALIZE',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.session.initialize',
- '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'
- ],
- 'system.strict_mode' => [
- 'type' => '_parent',
- 'name' => 'system.strict_mode',
- 'form_field' => false
- ],
- 'system.strict_mode.yaml_compat' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.STRICT_YAML_COMPAT',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.strict_mode.yaml_compat',
- 'validation' => 'loose'
- ],
- 'system.strict_mode.twig_compat' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.STRICT_TWIG_COMPAT',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.strict_mode.twig_compat',
- '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' => 0,
- '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' => 0,
- '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.manually_enable' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.MANUALLY_ENABLE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.options.manually_enable',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.options.send_notification_email' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.SEND_NOTIFICATION_EMAIL',
- 'highlight' => 0,
- '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' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- '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.taxonomylist' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'strict'
- ]
- ],
- 'plugins.taxonomylist.enabled' => [
- 'type' => 'toggle',
- 'label' => 'Plugin status',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.taxonomylist.enabled',
- 'validation' => 'strict'
- ],
- 'plugins.taxonomylist.route' => [
- 'type' => 'text',
- 'label' => 'Route to blog',
- 'validate' => [
- 'pattern' => '/([a-z\\-_]+/?)+'
- ],
- 'name' => 'plugins.taxonomylist.route',
- 'validation' => 'strict'
- ],
- 'plugins.youtube' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'strict'
- ]
- ],
- 'plugins.youtube.enabled' => [
- 'type' => 'toggle',
- 'label' => 'Plugin status',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.youtube.enabled',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.built_in_css' => [
- 'type' => 'toggle',
- 'label' => 'Use built in CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.youtube.built_in_css',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.add_editor_button' => [
- 'type' => 'toggle',
- 'label' => 'Add editor button',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.youtube.add_editor_button',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.privacy_enhanced_mode' => [
- 'type' => 'toggle',
- 'label' => 'Privacy-enhanced mode',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.youtube.privacy_enhanced_mode',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters' => [
- 'type' => '_parent',
- 'name' => 'plugins.youtube.player_parameters',
- 'form_field' => false
- ],
- 'plugins.youtube.player_parameters.vq' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'Preferred video quality',
- 'default' => 'default',
- 'options' => [
- 'default' => 'Default',
- 'small' => 'Small',
- 'medium' => 'Medium',
- 'large' => 'Large',
- 'highres' => 'High resolution',
- 'hd1080' => 'High definition (1080)',
- 'hd720' => 'High definition (720)'
- ],
- 'validate' => [
- 'type' => 'string'
- ],
- 'name' => 'plugins.youtube.player_parameters.vq',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.autoplay' => [
- 'type' => 'toggle',
- 'label' => 'Autoplay',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.autoplay',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.loop' => [
- 'type' => 'toggle',
- 'label' => 'Loop',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.loop',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.showinfo' => [
- 'type' => 'toggle',
- 'label' => 'Show information',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.showinfo',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.rel' => [
- 'type' => 'toggle',
- 'label' => 'Related videos',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.rel',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.modestbranding' => [
- 'type' => 'toggle',
- 'label' => 'Modest branding',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.modestbranding',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.color' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'Color',
- 'default' => 'red',
- 'options' => [
- 'red' => 'Red',
- 'white' => 'White'
- ],
- 'validate' => [
- 'type' => 'string'
- ],
- 'name' => 'plugins.youtube.player_parameters.color',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.cc_load_policy' => [
- 'type' => 'toggle',
- 'label' => 'Show closed captions by default',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.cc_load_policy',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.iv_load_policy' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'Video annotations',
- 'default' => 1,
- 'options' => [
- 1 => 'Displayed by default',
- 3 => 'Hidden by default'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.iv_load_policy',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.controls' => [
- 'type' => 'toggle',
- 'label' => 'Controls',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.controls',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.disablekb' => [
- 'type' => 'toggle',
- 'label' => 'Keyboard controls',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.disablekb',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.fs' => [
- 'type' => 'toggle',
- 'label' => 'Fullscreen button',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.fs',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.hl' => [
- 'type' => 'text',
- 'label' => 'Language',
- 'default' => '',
- 'validate' => [
- 'type' => 'string'
- ],
- 'name' => 'plugins.youtube.player_parameters.hl',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.enablejsapi' => [
- 'type' => 'toggle',
- 'label' => 'JavaScript API',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.enablejsapi',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.origin' => [
- 'type' => 'text',
- 'label' => 'Origin',
- 'default' => '',
- 'validate' => [
- 'type' => 'string'
- ],
- 'name' => 'plugins.youtube.player_parameters.origin',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.playsinline' => [
- 'type' => 'toggle',
- 'label' => 'iOS playback behavior',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 0 => 'Fullscreen',
- 1 => 'Inline'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.playsinline',
- 'validation' => 'strict'
- ],
- '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'
- ],
- 'plugins.language-selector' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'strict'
- ]
- ],
- 'plugins.language-selector.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGINS.LANGUAGE_SELECTOR.PLUGIN_STATUS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.language-selector.enabled',
- 'validation' => 'strict'
- ],
- 'plugins.language-selector.built_in_css' => [
- 'type' => 'toggle',
- 'label' => 'PLUGINS.LANGUAGE_SELECTOR.BUILT_IN_CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.language-selector.built_in_css',
- 'validation' => 'strict'
- ],
- 'plugins.language-selector.untranslated_pages_behavior' => [
- 'type' => 'select',
- 'label' => 'PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.LABEL',
- 'default' => 'none',
- 'options' => [
- 'none' => 'PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.OPT_NONE',
- 'redirect' => 'PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.OPT_REDIR',
- 'hide' => 'PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.OPT_HIDE'
- ],
- 'name' => 'plugins.language-selector.untranslated_pages_behavior',
- 'validation' => 'strict'
- ],
- 'plugins.language-selector.button_display' => [
- 'type' => 'select',
- 'label' => 'PLUGINS.LANGUAGE_SELECTOR.BUTTON_DISPLAY.LABEL',
- 'default' => 'default',
- 'options' => [
- 'default' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_DEFAULT',
- 'flag' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_FLAG',
- 'name' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_NAME'
- ],
- 'name' => 'plugins.language-selector.button_display',
- 'validation' => 'strict'
- ],
- 'plugins.language-selector.select_display' => [
- 'type' => 'select',
- 'label' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.LABEL',
- 'default' => 'default',
- 'options' => [
- 'default' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_DEFAULT',
- 'flag' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_FLAG',
- 'name' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_NAME'
- ],
- 'name' => 'plugins.language-selector.select_display',
- 'validation' => 'strict'
- ]
- ],
- 'rules' => [
-
- ],
- 'nested' => [
- 'media' => [
- 'types' => [
- '*' => [
- 'type' => 'media.types.*.type',
- 'thumb' => 'media.types.*.thumb',
- 'mime' => 'media.types.*.mime',
- 'image' => 'media.types.*.image'
- ]
- ]
- ],
- 'security' => [
- 'xss_whitelist' => 'security.xss_whitelist',
- 'xss_enabled' => [
- 'on_events' => 'security.xss_enabled.on_events',
- 'invalid_protocols' => 'security.xss_enabled.invalid_protocols',
- 'moz_binding' => 'security.xss_enabled.moz_binding',
- 'html_inline_styles' => 'security.xss_enabled.html_inline_styles',
- 'dangerous_tags' => 'security.xss_enabled.dangerous_tags'
- ],
- 'xss_dangerous_tags' => 'security.xss_dangerous_tags',
- 'uploads_dangerous_extensions' => 'security.uploads_dangerous_extensions'
- ],
- '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',
- 'initialize' => 'system.session.initialize',
- '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',
- 'strict_mode' => [
- 'yaml_compat' => 'system.strict_mode.yaml_compat',
- 'twig_compat' => 'system.strict_mode.twig_compat'
- ]
- ],
- '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',
- 'manually_enable' => 'plugins.login.user_registration.options.manually_enable',
- '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'
- ],
- 'taxonomylist' => [
- 'enabled' => 'plugins.taxonomylist.enabled',
- 'route' => 'plugins.taxonomylist.route'
- ],
- 'youtube' => [
- 'enabled' => 'plugins.youtube.enabled',
- 'built_in_css' => 'plugins.youtube.built_in_css',
- 'add_editor_button' => 'plugins.youtube.add_editor_button',
- 'privacy_enhanced_mode' => 'plugins.youtube.privacy_enhanced_mode',
- 'player_parameters' => [
- 'vq' => 'plugins.youtube.player_parameters.vq',
- 'autoplay' => 'plugins.youtube.player_parameters.autoplay',
- 'loop' => 'plugins.youtube.player_parameters.loop',
- 'showinfo' => 'plugins.youtube.player_parameters.showinfo',
- 'rel' => 'plugins.youtube.player_parameters.rel',
- 'modestbranding' => 'plugins.youtube.player_parameters.modestbranding',
- 'color' => 'plugins.youtube.player_parameters.color',
- 'cc_load_policy' => 'plugins.youtube.player_parameters.cc_load_policy',
- 'iv_load_policy' => 'plugins.youtube.player_parameters.iv_load_policy',
- 'controls' => 'plugins.youtube.player_parameters.controls',
- 'disablekb' => 'plugins.youtube.player_parameters.disablekb',
- 'fs' => 'plugins.youtube.player_parameters.fs',
- 'hl' => 'plugins.youtube.player_parameters.hl',
- 'enablejsapi' => 'plugins.youtube.player_parameters.enablejsapi',
- 'origin' => 'plugins.youtube.player_parameters.origin',
- 'playsinline' => 'plugins.youtube.player_parameters.playsinline'
- ]
- ],
- 'problems' => [
- 'enabled' => 'plugins.problems.enabled',
- 'built_in_css' => 'plugins.problems.built_in_css'
- ],
- 'language-selector' => [
- 'enabled' => 'plugins.language-selector.enabled',
- 'built_in_css' => 'plugins.language-selector.built_in_css',
- 'untranslated_pages_behavior' => 'plugins.language-selector.untranslated_pages_behavior',
- 'button_display' => 'plugins.language-selector.button_display',
- 'select_display' => 'plugins.language-selector.select_display'
- ]
- ]
- ],
- '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
- ]
- ]
- ];
|