master-localhost.php 205 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253
  1. <?php
  2. return [
  3. '@class' => 'Grav\\Common\\Config\\CompiledBlueprints',
  4. 'timestamp' => 1591883669,
  5. 'checksum' => 'acb6c37cdb7402cc9c78d5934c479a09',
  6. 'files' => [
  7. 'system/blueprints/config' => [
  8. 'backups' => [
  9. 'file' => 'system/blueprints/config/backups.yaml',
  10. 'modified' => 1591823779
  11. ],
  12. 'media' => [
  13. 'file' => 'system/blueprints/config/media.yaml',
  14. 'modified' => 1591823779
  15. ],
  16. 'scheduler' => [
  17. 'file' => 'system/blueprints/config/scheduler.yaml',
  18. 'modified' => 1591823779
  19. ],
  20. 'security' => [
  21. 'file' => 'system/blueprints/config/security.yaml',
  22. 'modified' => 1591823779
  23. ],
  24. 'site' => [
  25. 'file' => 'system/blueprints/config/site.yaml',
  26. 'modified' => 1591823779
  27. ],
  28. 'streams' => [
  29. 'file' => 'system/blueprints/config/streams.yaml',
  30. 'modified' => 1591823779
  31. ],
  32. 'system' => [
  33. 'file' => 'system/blueprints/config/system.yaml',
  34. 'modified' => 1591823779
  35. ]
  36. ],
  37. 'user/plugins' => [
  38. 'plugins/admin' => [
  39. 'file' => 'user/plugins/admin/blueprints.yaml',
  40. 'modified' => 1591823801
  41. ],
  42. 'plugins/markdown-notices' => [
  43. 'file' => 'user/plugins/markdown-notices/blueprints.yaml',
  44. 'modified' => 1591823175
  45. ],
  46. 'plugins/admin-addon-user-manager' => [
  47. 'file' => 'user/plugins/admin-addon-user-manager/blueprints.yaml',
  48. 'modified' => 1591823819
  49. ],
  50. 'plugins/form' => [
  51. 'file' => 'user/plugins/form/blueprints.yaml',
  52. 'modified' => 1591823840
  53. ],
  54. 'plugins/login' => [
  55. 'file' => 'user/plugins/login/blueprints.yaml',
  56. 'modified' => 1591823843
  57. ],
  58. 'plugins/error' => [
  59. 'file' => 'user/plugins/error/blueprints.yaml',
  60. 'modified' => 1591823175
  61. ],
  62. 'plugins/email' => [
  63. 'file' => 'user/plugins/email/blueprints.yaml',
  64. 'modified' => 1591823799
  65. ],
  66. 'plugins/taxonomylist' => [
  67. 'file' => 'user/plugins/taxonomylist/blueprints.yaml',
  68. 'modified' => 1591823175
  69. ],
  70. 'plugins/vimeo' => [
  71. 'file' => 'user/plugins/vimeo/blueprints.yaml',
  72. 'modified' => 1591824173
  73. ],
  74. 'plugins/problems' => [
  75. 'file' => 'user/plugins/problems/blueprints.yaml',
  76. 'modified' => 1591823175
  77. ]
  78. ]
  79. ],
  80. 'data' => [
  81. 'items' => [
  82. 'backups' => [
  83. 'type' => '_root',
  84. 'form_field' => false,
  85. 'form' => [
  86. 'validation' => 'loose'
  87. ]
  88. ],
  89. 'backups.history_title' => [
  90. 'type' => 'section',
  91. 'underline' => true,
  92. 'name' => 'backups.history_title',
  93. 'validation' => 'loose'
  94. ],
  95. 'backups.history' => [
  96. 'type' => 'backupshistory',
  97. 'name' => 'backups.history',
  98. 'validation' => 'loose'
  99. ],
  100. 'backups.config_title' => [
  101. 'type' => 'section',
  102. 'underline' => true,
  103. 'name' => 'backups.config_title',
  104. 'validation' => 'loose'
  105. ],
  106. 'backups.purge' => [
  107. 'type' => '_parent',
  108. 'name' => 'backups.purge',
  109. 'form_field' => false
  110. ],
  111. 'backups.purge.trigger' => [
  112. 'type' => 'select',
  113. 'label' => 'PLUGIN_ADMIN.BACKUPS_STORAGE_PURGE_TRIGGER',
  114. 'size' => 'medium',
  115. 'default' => 'space',
  116. 'options' => [
  117. 'space' => 'Maximum Backup Space',
  118. 'number' => 'Maximum Number of Backups',
  119. 'time' => 'maximum Retention Time'
  120. ],
  121. 'validate' => [
  122. 'required' => true
  123. ],
  124. 'name' => 'backups.purge.trigger',
  125. 'validation' => 'loose'
  126. ],
  127. 'backups.purge.max_backups_count' => [
  128. 'type' => 'number',
  129. 'label' => 'PLUGIN_ADMIN.BACKUPS_MAX_COUNT',
  130. 'default' => 25,
  131. 'size' => 'x-small',
  132. 'validate' => [
  133. 'min' => 0,
  134. 'type' => 'number',
  135. 'required' => true,
  136. 'message' => 'Must be a number 0 or greater'
  137. ],
  138. 'name' => 'backups.purge.max_backups_count',
  139. 'validation' => 'loose'
  140. ],
  141. 'backups.purge.max_backups_space' => [
  142. 'type' => 'number',
  143. 'label' => 'PLUGIN_ADMIN.BACKUPS_MAX_SPACE',
  144. 'append' => 'in GB',
  145. 'size' => 'x-small',
  146. 'default' => 5,
  147. 'validate' => [
  148. 'min' => 1,
  149. 'type' => 'number',
  150. 'required' => true,
  151. 'message' => 'Space must be 1GB or greater'
  152. ],
  153. 'name' => 'backups.purge.max_backups_space',
  154. 'validation' => 'loose'
  155. ],
  156. 'backups.purge.max_backups_time' => [
  157. 'type' => 'number',
  158. 'label' => 'PLUGIN_ADMIN.BACKUPS_MAX_RETENTION_TIME',
  159. 'append' => 'PLUGIN_ADMIN.BACKUPS_MAX_RETENTION_TIME_APPEND',
  160. 'size' => 'x-small',
  161. 'default' => 365,
  162. 'validate' => [
  163. 'min' => 7,
  164. 'type' => 'number',
  165. 'required' => true,
  166. 'message' => 'Rentenion days must be 7 or greater'
  167. ],
  168. 'name' => 'backups.purge.max_backups_time',
  169. 'validation' => 'loose'
  170. ],
  171. 'backups.profiles_title' => [
  172. 'type' => 'section',
  173. 'underline' => true,
  174. 'name' => 'backups.profiles_title',
  175. 'validation' => 'loose'
  176. ],
  177. 'backups.profiles' => [
  178. 'type' => 'list',
  179. 'style' => 'vertical',
  180. 'label' => NULL,
  181. 'classes' => 'backups-list compact',
  182. 'sort' => false,
  183. 'name' => 'backups.profiles',
  184. 'validation' => 'loose'
  185. ],
  186. 'backups.profiles.name' => [
  187. 'type' => 'text',
  188. 'label' => 'PLUGIN_ADMIN.NAME',
  189. 'validate' => [
  190. 'max' => 20,
  191. 'message' => 'Name must be less than 20 characters',
  192. 'required' => true
  193. ],
  194. 'name' => 'backups.profiles.name',
  195. 'validation' => 'loose'
  196. ],
  197. 'backups.profiles.root' => [
  198. 'type' => 'text',
  199. 'label' => 'PLUGIN_ADMIN.BACKUPS_PROFILE_ROOT_FOLDER',
  200. 'default' => '/',
  201. 'validate' => [
  202. 'required' => true
  203. ],
  204. 'name' => 'backups.profiles.root',
  205. 'validation' => 'loose'
  206. ],
  207. 'backups.profiles.exclude_paths' => [
  208. 'type' => 'textarea',
  209. 'label' => 'PLUGIN_ADMIN.BACKUPS_PROFILE_EXCLUDE_PATHS',
  210. 'rows' => 5,
  211. 'name' => 'backups.profiles.exclude_paths',
  212. 'validation' => 'loose'
  213. ],
  214. 'backups.profiles.exclude_files' => [
  215. 'type' => 'textarea',
  216. 'label' => 'PLUGIN_ADMIN.BACKUPS_PROFILE_EXCLUDE_FILES',
  217. 'rows' => 5,
  218. 'name' => 'backups.profiles.exclude_files',
  219. 'validation' => 'loose'
  220. ],
  221. 'backups.profiles.schedule' => [
  222. 'type' => 'toggle',
  223. 'label' => 'PLUGIN_ADMIN.BACKUPS_PROFILE_SCHEDULE',
  224. 'highlight' => 1,
  225. 'default' => 1,
  226. 'options' => [
  227. 1 => 'PLUGIN_ADMIN.YES',
  228. 0 => 'PLUGIN_ADMIN.NO'
  229. ],
  230. 'validate' => [
  231. 'type' => 'bool'
  232. ],
  233. 'name' => 'backups.profiles.schedule',
  234. 'validation' => 'loose'
  235. ],
  236. 'backups.profiles.schedule_at' => [
  237. 'type' => 'cron',
  238. 'label' => 'PLUGIN_ADMIN.BACKUPS_PROFILE_SCHEDULE_AT',
  239. 'default' => '* 3 * * *',
  240. 'validate' => [
  241. 'required' => true
  242. ],
  243. 'name' => 'backups.profiles.schedule_at',
  244. 'validation' => 'loose'
  245. ],
  246. 'media' => [
  247. 'type' => '_root',
  248. 'form_field' => false,
  249. 'form' => [
  250. 'validation' => 'loose'
  251. ]
  252. ],
  253. 'scheduler' => [
  254. 'type' => '_root',
  255. 'form_field' => false,
  256. 'form' => [
  257. 'validation' => 'loose'
  258. ]
  259. ],
  260. 'scheduler.status_title' => [
  261. 'type' => 'section',
  262. 'underline' => true,
  263. 'name' => 'scheduler.status_title',
  264. 'validation' => 'loose'
  265. ],
  266. 'scheduler.status' => [
  267. 'type' => 'cronstatus',
  268. 'validate' => [
  269. 'type' => 'commalist'
  270. ],
  271. 'name' => 'scheduler.status',
  272. 'validation' => 'loose'
  273. ],
  274. 'scheduler.jobs_title' => [
  275. 'type' => 'section',
  276. 'underline' => true,
  277. 'name' => 'scheduler.jobs_title',
  278. 'validation' => 'loose'
  279. ],
  280. 'scheduler.custom_jobs' => [
  281. 'type' => 'list',
  282. 'style' => 'vertical',
  283. 'label' => NULL,
  284. 'classes' => 'cron-job-list compact',
  285. 'key' => 'id',
  286. 'name' => 'scheduler.custom_jobs',
  287. 'validation' => 'loose'
  288. ],
  289. 'scheduler.custom_jobs.id' => [
  290. 'type' => 'key',
  291. 'label' => 'ID',
  292. 'validate' => [
  293. 'required' => true,
  294. 'pattern' => '[a-zа-я0-9_\\-]+',
  295. 'max' => 20,
  296. 'message' => 'ID must be lowercase with dashes/underscores only and less than 20 characters'
  297. ],
  298. 'name' => 'scheduler.custom_jobs.id',
  299. 'validation' => 'loose'
  300. ],
  301. 'scheduler.custom_jobs.command' => [
  302. 'type' => 'text',
  303. 'label' => 'PLUGIN_ADMIN.COMMAND',
  304. 'validate' => [
  305. 'required' => true
  306. ],
  307. 'name' => 'scheduler.custom_jobs.command',
  308. 'validation' => 'loose'
  309. ],
  310. 'scheduler.custom_jobs.args' => [
  311. 'type' => 'text',
  312. 'label' => 'PLUGIN_ADMIN.EXTRA_ARGUMENTS',
  313. 'name' => 'scheduler.custom_jobs.args',
  314. 'validation' => 'loose'
  315. ],
  316. 'scheduler.custom_jobs.at' => [
  317. 'type' => 'cron',
  318. 'label' => 'PLUGIN_ADMIN.SCHEDULER_RUNAT',
  319. 'validate' => [
  320. 'required' => true
  321. ],
  322. 'name' => 'scheduler.custom_jobs.at',
  323. 'validation' => 'loose'
  324. ],
  325. 'scheduler.custom_jobs.output' => [
  326. 'type' => 'text',
  327. 'label' => 'PLUGIN_ADMIN.SCHEDULER_OUTPUT',
  328. 'name' => 'scheduler.custom_jobs.output',
  329. 'validation' => 'loose'
  330. ],
  331. 'scheduler.custom_jobs.output_mode' => [
  332. 'type' => 'select',
  333. 'label' => 'PLUGIN_ADMIN.SCHEDULER_OUTPUT_TYPE',
  334. 'default' => 'append',
  335. 'options' => [
  336. 'append' => 'Append',
  337. 'overwrite' => 'Overwrite'
  338. ],
  339. 'name' => 'scheduler.custom_jobs.output_mode',
  340. 'validation' => 'loose'
  341. ],
  342. 'scheduler.custom_jobs.email' => [
  343. 'type' => 'text',
  344. 'label' => 'PLUGIN_ADMIN.SCHEDULER_EMAIL',
  345. 'name' => 'scheduler.custom_jobs.email',
  346. 'validation' => 'loose'
  347. ],
  348. 'security' => [
  349. 'type' => '_root',
  350. 'form_field' => false,
  351. 'form' => [
  352. 'validation' => 'loose'
  353. ]
  354. ],
  355. 'security.xss_section' => [
  356. 'type' => 'section',
  357. 'underline' => true,
  358. 'name' => 'security.xss_section',
  359. 'validation' => 'loose'
  360. ],
  361. 'security.xss_whitelist' => [
  362. 'type' => 'selectize',
  363. 'size' => 'large',
  364. 'label' => 'PLUGIN_ADMIN.XSS_WHITELIST_PERMISSIONS',
  365. 'classes' => 'fancy',
  366. 'validate' => [
  367. 'type' => 'commalist'
  368. ],
  369. 'name' => 'security.xss_whitelist',
  370. 'validation' => 'loose'
  371. ],
  372. 'security.xss_enabled' => [
  373. 'type' => '_parent',
  374. 'name' => 'security.xss_enabled',
  375. 'form_field' => false
  376. ],
  377. 'security.xss_enabled.on_events' => [
  378. 'type' => 'toggle',
  379. 'label' => 'PLUGIN_ADMIN.XSS_ON_EVENTS',
  380. 'highlight' => 1,
  381. 'options' => [
  382. 1 => 'PLUGIN_ADMIN.YES',
  383. 0 => 'PLUGIN_ADMIN.NO'
  384. ],
  385. 'default' => true,
  386. 'validate' => [
  387. 'type' => 'bool'
  388. ],
  389. 'name' => 'security.xss_enabled.on_events',
  390. 'validation' => 'loose'
  391. ],
  392. 'security.xss_enabled.invalid_protocols' => [
  393. 'type' => 'toggle',
  394. 'label' => 'PLUGIN_ADMIN.XSS_INVALID_PROTOCOLS',
  395. 'highlight' => 1,
  396. 'options' => [
  397. 1 => 'PLUGIN_ADMIN.YES',
  398. 0 => 'PLUGIN_ADMIN.NO'
  399. ],
  400. 'default' => true,
  401. 'validate' => [
  402. 'type' => 'bool'
  403. ],
  404. 'name' => 'security.xss_enabled.invalid_protocols',
  405. 'validation' => 'loose'
  406. ],
  407. 'security.xss_invalid_protocols' => [
  408. 'type' => 'selectize',
  409. 'size' => 'large',
  410. 'label' => 'PLUGIN_ADMIN.XSS_INVALID_PROTOCOLS_LIST',
  411. 'classes' => 'fancy',
  412. 'validate' => [
  413. 'type' => 'commalist'
  414. ],
  415. 'name' => 'security.xss_invalid_protocols',
  416. 'validation' => 'loose'
  417. ],
  418. 'security.xss_enabled.moz_binding' => [
  419. 'type' => 'toggle',
  420. 'label' => 'PLUGIN_ADMIN.XSS_MOZ_BINDINGS',
  421. 'highlight' => 1,
  422. 'options' => [
  423. 1 => 'PLUGIN_ADMIN.YES',
  424. 0 => 'PLUGIN_ADMIN.NO'
  425. ],
  426. 'default' => true,
  427. 'validate' => [
  428. 'type' => 'bool'
  429. ],
  430. 'name' => 'security.xss_enabled.moz_binding',
  431. 'validation' => 'loose'
  432. ],
  433. 'security.xss_enabled.html_inline_styles' => [
  434. 'type' => 'toggle',
  435. 'label' => 'PLUGIN_ADMIN.XSS_HTML_INLINE_STYLES',
  436. 'highlight' => 1,
  437. 'options' => [
  438. 1 => 'PLUGIN_ADMIN.YES',
  439. 0 => 'PLUGIN_ADMIN.NO'
  440. ],
  441. 'default' => true,
  442. 'validate' => [
  443. 'type' => 'bool'
  444. ],
  445. 'name' => 'security.xss_enabled.html_inline_styles',
  446. 'validation' => 'loose'
  447. ],
  448. 'security.xss_enabled.dangerous_tags' => [
  449. 'type' => 'toggle',
  450. 'label' => 'PLUGIN_ADMIN.XSS_DANGEROUS_TAGS',
  451. 'highlight' => 1,
  452. 'options' => [
  453. 1 => 'PLUGIN_ADMIN.YES',
  454. 0 => 'PLUGIN_ADMIN.NO'
  455. ],
  456. 'default' => true,
  457. 'validate' => [
  458. 'type' => 'bool'
  459. ],
  460. 'name' => 'security.xss_enabled.dangerous_tags',
  461. 'validation' => 'loose'
  462. ],
  463. 'security.xss_dangerous_tags' => [
  464. 'type' => 'selectize',
  465. 'size' => 'large',
  466. 'label' => 'PLUGIN_ADMIN.XSS_DANGEROUS_TAGS_LIST',
  467. 'classes' => 'fancy',
  468. 'validate' => [
  469. 'type' => 'commalist'
  470. ],
  471. 'name' => 'security.xss_dangerous_tags',
  472. 'validation' => 'loose'
  473. ],
  474. 'security.uploads_section' => [
  475. 'type' => 'section',
  476. 'underline' => true,
  477. 'name' => 'security.uploads_section',
  478. 'validation' => 'loose'
  479. ],
  480. 'security.uploads_dangerous_extensions' => [
  481. 'type' => 'selectize',
  482. 'size' => 'large',
  483. 'label' => 'PLUGIN_ADMIN.UPLOADS_DANGEROUS_EXTENSIONS',
  484. 'classes' => 'fancy',
  485. 'validate' => [
  486. 'type' => 'commalist'
  487. ],
  488. 'name' => 'security.uploads_dangerous_extensions',
  489. 'validation' => 'loose'
  490. ],
  491. 'site' => [
  492. 'type' => '_root',
  493. 'form_field' => false,
  494. 'form' => [
  495. 'validation' => 'loose'
  496. ]
  497. ],
  498. 'site.title' => [
  499. 'type' => 'text',
  500. 'label' => 'PLUGIN_ADMIN.SITE_TITLE',
  501. 'size' => 'large',
  502. 'name' => 'site.title',
  503. 'validation' => 'loose'
  504. ],
  505. 'site.default_lang' => [
  506. 'type' => 'text',
  507. 'label' => 'PLUGIN_ADMIN.SITE_DEFAULT_LANG',
  508. 'size' => 'x-small',
  509. 'name' => 'site.default_lang',
  510. 'validation' => 'loose'
  511. ],
  512. 'site.author' => [
  513. 'type' => '_parent',
  514. 'name' => 'site.author',
  515. 'form_field' => false
  516. ],
  517. 'site.author.name' => [
  518. 'type' => 'text',
  519. 'size' => 'large',
  520. 'label' => 'PLUGIN_ADMIN.DEFAULT_AUTHOR',
  521. 'name' => 'site.author.name',
  522. 'validation' => 'loose'
  523. ],
  524. 'site.author.email' => [
  525. 'type' => 'text',
  526. 'size' => 'large',
  527. 'label' => 'PLUGIN_ADMIN.DEFAULT_EMAIL',
  528. 'validate' => [
  529. 'type' => 'email'
  530. ],
  531. 'name' => 'site.author.email',
  532. 'validation' => 'loose'
  533. ],
  534. 'site.taxonomies' => [
  535. 'type' => 'selectize',
  536. 'size' => 'large',
  537. 'label' => 'PLUGIN_ADMIN.TAXONOMY_TYPES',
  538. 'classes' => 'fancy',
  539. 'validate' => [
  540. 'type' => 'commalist'
  541. ],
  542. 'name' => 'site.taxonomies',
  543. 'validation' => 'loose'
  544. ],
  545. 'site.content' => [
  546. 'type' => 'section',
  547. 'underline' => true,
  548. 'name' => 'site.content',
  549. 'validation' => 'loose'
  550. ],
  551. 'site.summary' => [
  552. 'type' => 'section',
  553. 'underline' => true,
  554. 'name' => 'site.summary',
  555. 'validation' => 'loose'
  556. ],
  557. 'site.summary.enabled' => [
  558. 'type' => 'toggle',
  559. 'label' => 'PLUGIN_ADMIN.ENABLED',
  560. 'highlight' => 1,
  561. 'options' => [
  562. 1 => 'PLUGIN_ADMIN.YES',
  563. 0 => 'PLUGIN_ADMIN.NO'
  564. ],
  565. 'validate' => [
  566. 'type' => 'bool'
  567. ],
  568. 'name' => 'site.summary.enabled',
  569. 'validation' => 'loose'
  570. ],
  571. 'site.summary.size' => [
  572. 'type' => 'text',
  573. 'size' => 'small',
  574. 'append' => 'PLUGIN_ADMIN.CHARACTERS',
  575. 'label' => 'PLUGIN_ADMIN.SUMMARY_SIZE',
  576. 'validate' => [
  577. 'type' => 'int',
  578. 'min' => 0,
  579. 'max' => 65536
  580. ],
  581. 'name' => 'site.summary.size',
  582. 'validation' => 'loose'
  583. ],
  584. 'site.summary.format' => [
  585. 'type' => 'toggle',
  586. 'label' => 'PLUGIN_ADMIN.FORMAT',
  587. 'classes' => 'fancy',
  588. 'highlight' => 'short',
  589. 'options' => [
  590. 'short' => 'PLUGIN_ADMIN.SHORT',
  591. 'long' => 'PLUGIN_ADMIN.LONG'
  592. ],
  593. 'name' => 'site.summary.format',
  594. 'validation' => 'loose'
  595. ],
  596. 'site.summary.delimiter' => [
  597. 'type' => 'text',
  598. 'size' => 'x-small',
  599. 'label' => 'PLUGIN_ADMIN.DELIMITER',
  600. 'name' => 'site.summary.delimiter',
  601. 'validation' => 'loose'
  602. ],
  603. 'site.metadata' => [
  604. 'type' => 'section',
  605. 'underline' => true,
  606. 'name' => 'site.metadata',
  607. 'validation' => 'loose'
  608. ],
  609. 'site.redirects' => [
  610. 'type' => 'array',
  611. 'label' => 'PLUGIN_ADMIN.CUSTOM_REDIRECTS',
  612. 'name' => 'site.redirects',
  613. 'validation' => 'loose'
  614. ],
  615. 'site.routes' => [
  616. 'type' => 'section',
  617. 'underline' => true,
  618. 'name' => 'site.routes',
  619. 'validation' => 'loose'
  620. ],
  621. 'streams' => [
  622. 'type' => '_root',
  623. 'form_field' => false,
  624. 'form' => [
  625. 'validation' => 'loose',
  626. 'hidden' => true
  627. ]
  628. ],
  629. 'streams.schemes' => [
  630. 'type' => '_parent',
  631. 'name' => 'streams.schemes',
  632. 'form_field' => false
  633. ],
  634. 'streams.schemes.xxx' => [
  635. 'type' => 'array',
  636. 'name' => 'streams.schemes.xxx',
  637. 'validation' => 'loose'
  638. ],
  639. 'system' => [
  640. 'type' => '_root',
  641. 'form_field' => false,
  642. 'form' => [
  643. 'validation' => 'loose'
  644. ]
  645. ],
  646. 'system.content_section' => [
  647. 'type' => 'section',
  648. 'underline' => true,
  649. 'name' => 'system.content_section',
  650. 'validation' => 'loose'
  651. ],
  652. 'system.home' => [
  653. 'type' => '_parent',
  654. 'name' => 'system.home',
  655. 'form_field' => false
  656. ],
  657. 'system.home.alias' => [
  658. 'type' => 'pages',
  659. 'size' => 'large',
  660. 'classes' => 'fancy',
  661. 'label' => 'PLUGIN_ADMIN.HOME_PAGE',
  662. 'show_all' => false,
  663. 'show_modular' => false,
  664. 'show_root' => false,
  665. 'show_slug' => true,
  666. 'name' => 'system.home.alias',
  667. 'validation' => 'loose'
  668. ],
  669. 'system.home.hide_in_urls' => [
  670. 'type' => 'toggle',
  671. 'label' => 'PLUGIN_ADMIN.HIDE_HOME_IN_URLS',
  672. 'highlight' => 0,
  673. 'options' => [
  674. 1 => 'PLUGIN_ADMIN.YES',
  675. 0 => 'PLUGIN_ADMIN.NO'
  676. ],
  677. 'validate' => [
  678. 'type' => 'bool'
  679. ],
  680. 'name' => 'system.home.hide_in_urls',
  681. 'validation' => 'loose'
  682. ],
  683. 'system.pages' => [
  684. 'type' => '_parent',
  685. 'name' => 'system.pages',
  686. 'form_field' => false
  687. ],
  688. 'system.pages.theme' => [
  689. 'type' => 'themeselect',
  690. 'classes' => 'fancy',
  691. 'selectize' => true,
  692. 'size' => 'medium',
  693. 'label' => 'PLUGIN_ADMIN.DEFAULT_THEME',
  694. 'name' => 'system.pages.theme',
  695. 'validation' => 'loose'
  696. ],
  697. 'system.pages.process' => [
  698. 'type' => 'checkboxes',
  699. 'label' => 'PLUGIN_ADMIN.PROCESS',
  700. 'default' => [
  701. 0 => [
  702. 'markdown' => true
  703. ],
  704. 1 => [
  705. 'twig' => true
  706. ]
  707. ],
  708. 'options' => [
  709. 'markdown' => 'Markdown',
  710. 'twig' => 'Twig'
  711. ],
  712. 'use' => 'keys',
  713. 'name' => 'system.pages.process',
  714. 'validation' => 'loose'
  715. ],
  716. 'system.pages.types' => [
  717. 'type' => 'array',
  718. 'label' => 'PLUGIN_ADMIN.PAGE_TYPES',
  719. 'size' => 'small',
  720. 'default' => [
  721. 0 => 'html',
  722. 1 => 'htm',
  723. 2 => 'json',
  724. 3 => 'xml',
  725. 4 => 'txt',
  726. 5 => 'rss',
  727. 6 => 'atom'
  728. ],
  729. 'value_only' => true,
  730. 'name' => 'system.pages.types',
  731. 'validation' => 'loose'
  732. ],
  733. 'system.timezone' => [
  734. 'type' => 'select',
  735. 'label' => 'PLUGIN_ADMIN.TIMEZONE',
  736. 'size' => 'medium',
  737. 'classes' => 'fancy',
  738. 'data-options@' => '\\Grav\\Common\\Utils::timezones',
  739. 'default' => '',
  740. 'options' => [
  741. '' => 'Default (Server Timezone)'
  742. ],
  743. 'name' => 'system.timezone',
  744. 'validation' => 'loose'
  745. ],
  746. 'system.pages.dateformat' => [
  747. 'type' => '_parent',
  748. 'name' => 'system.pages.dateformat',
  749. 'form_field' => false
  750. ],
  751. 'system.pages.dateformat.default' => [
  752. 'type' => 'select',
  753. 'size' => 'medium',
  754. 'selectize' => [
  755. 'create' => true
  756. ],
  757. 'label' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT',
  758. 'data-options@' => '\\Grav\\Common\\Utils::dateFormats',
  759. 'validate' => [
  760. 'type' => 'string'
  761. ],
  762. 'name' => 'system.pages.dateformat.default',
  763. 'validation' => 'loose'
  764. ],
  765. 'system.pages.dateformat.short' => [
  766. 'type' => 'dateformat',
  767. 'size' => 'medium',
  768. 'classes' => 'fancy',
  769. 'label' => 'PLUGIN_ADMIN.SHORT_DATE_FORMAT',
  770. 'default' => 'jS M Y',
  771. 'options' => [
  772. 'F jS \\a\\t g:ia' => 'Date1',
  773. 'l jS \\of F g:i A' => 'Date2',
  774. 'D, d M Y G:i:s' => 'Date3',
  775. 'd-m-y G:i' => 'Date4',
  776. 'jS M Y' => 'Date5'
  777. ],
  778. 'name' => 'system.pages.dateformat.short',
  779. 'validation' => 'loose'
  780. ],
  781. 'system.pages.dateformat.long' => [
  782. 'type' => 'dateformat',
  783. 'size' => 'medium',
  784. 'classes' => 'fancy',
  785. 'label' => 'PLUGIN_ADMIN.LONG_DATE_FORMAT',
  786. 'options' => [
  787. 'F jS \\a\\t g:ia' => 'Date1',
  788. 'l jS \\of F g:i A' => 'Date2',
  789. 'D, d M Y G:i:s' => 'Date3',
  790. 'd-m-y G:i' => 'Date4',
  791. 'jS M Y' => 'Date5'
  792. ],
  793. 'name' => 'system.pages.dateformat.long',
  794. 'validation' => 'loose'
  795. ],
  796. 'system.pages.order' => [
  797. 'type' => '_parent',
  798. 'name' => 'system.pages.order',
  799. 'form_field' => false
  800. ],
  801. 'system.pages.order.by' => [
  802. 'type' => 'select',
  803. 'size' => 'large',
  804. 'classes' => 'fancy',
  805. 'label' => 'PLUGIN_ADMIN.DEFAULT_ORDERING',
  806. 'options' => [
  807. 'default' => 'PLUGIN_ADMIN.DEFAULT_ORDERING_DEFAULT',
  808. 'folder' => 'PLUGIN_ADMIN.DEFAULT_ORDERING_FOLDER',
  809. 'title' => 'PLUGIN_ADMIN.DEFAULT_ORDERING_TITLE',
  810. 'date' => 'PLUGIN_ADMIN.DEFAULT_ORDERING_DATE'
  811. ],
  812. 'name' => 'system.pages.order.by',
  813. 'validation' => 'loose'
  814. ],
  815. 'system.pages.order.dir' => [
  816. 'type' => 'toggle',
  817. 'label' => 'PLUGIN_ADMIN.DEFAULT_ORDER_DIRECTION',
  818. 'highlight' => 'asc',
  819. 'default' => 'desc',
  820. 'options' => [
  821. 'asc' => 'PLUGIN_ADMIN.ASCENDING',
  822. 'desc' => 'PLUGIN_ADMIN.DESCENDING'
  823. ],
  824. 'name' => 'system.pages.order.dir',
  825. 'validation' => 'loose'
  826. ],
  827. 'system.pages.list' => [
  828. 'type' => '_parent',
  829. 'name' => 'system.pages.list',
  830. 'form_field' => false
  831. ],
  832. 'system.pages.list.count' => [
  833. 'type' => 'text',
  834. 'size' => 'x-small',
  835. 'append' => 'PLUGIN_ADMIN.PAGES',
  836. 'label' => 'PLUGIN_ADMIN.DEFAULT_PAGE_COUNT',
  837. 'validate' => [
  838. 'type' => 'number',
  839. 'min' => 1
  840. ],
  841. 'name' => 'system.pages.list.count',
  842. 'validation' => 'loose'
  843. ],
  844. 'system.pages.publish_dates' => [
  845. 'type' => 'toggle',
  846. 'label' => 'PLUGIN_ADMIN.DATE_BASED_PUBLISHING',
  847. 'highlight' => 1,
  848. 'options' => [
  849. 1 => 'PLUGIN_ADMIN.YES',
  850. 0 => 'PLUGIN_ADMIN.NO'
  851. ],
  852. 'validate' => [
  853. 'type' => 'bool'
  854. ],
  855. 'name' => 'system.pages.publish_dates',
  856. 'validation' => 'loose'
  857. ],
  858. 'system.pages.events' => [
  859. 'type' => 'checkboxes',
  860. 'label' => 'PLUGIN_ADMIN.EVENTS',
  861. 'default' => [
  862. 0 => [
  863. 'page' => true
  864. ],
  865. 1 => [
  866. 'twig' => true
  867. ]
  868. ],
  869. 'options' => [
  870. 'page' => 'Page Events',
  871. 'twig' => 'Twig Events'
  872. ],
  873. 'use' => 'keys',
  874. 'name' => 'system.pages.events',
  875. 'validation' => 'loose'
  876. ],
  877. 'system.pages.append_url_extension' => [
  878. 'type' => 'text',
  879. 'size' => 'x-small',
  880. 'label' => 'PLUGIN_ADMIN.APPEND_URL_EXT',
  881. 'name' => 'system.pages.append_url_extension',
  882. 'validation' => 'loose'
  883. ],
  884. 'system.pages.redirect_default_route' => [
  885. 'type' => 'toggle',
  886. 'label' => 'PLUGIN_ADMIN.REDIRECT_DEFAULT_ROUTE',
  887. 'highlight' => 0,
  888. 'options' => [
  889. 1 => 'PLUGIN_ADMIN.YES',
  890. 0 => 'PLUGIN_ADMIN.NO'
  891. ],
  892. 'validate' => [
  893. 'type' => 'bool'
  894. ],
  895. 'name' => 'system.pages.redirect_default_route',
  896. 'validation' => 'loose'
  897. ],
  898. 'system.pages.redirect_default_code' => [
  899. 'type' => 'select',
  900. 'size' => 'medium',
  901. 'classes' => 'fancy',
  902. 'label' => 'PLUGIN_ADMIN.REDIRECT_DEFAULT_CODE',
  903. 'options' => [
  904. 301 => '301 - Permanent',
  905. 302 => '302 - Found',
  906. 303 => '303 - Other',
  907. 304 => '304 - Not Modified'
  908. ],
  909. 'name' => 'system.pages.redirect_default_code',
  910. 'validation' => 'loose'
  911. ],
  912. 'system.pages.redirect_trailing_slash' => [
  913. 'type' => 'toggle',
  914. 'label' => 'PLUGIN_ADMIN.REDIRECT_TRAILING_SLASH',
  915. 'highlight' => 1,
  916. 'options' => [
  917. 1 => 'PLUGIN_ADMIN.YES',
  918. 0 => 'PLUGIN_ADMIN.NO'
  919. ],
  920. 'validate' => [
  921. 'type' => 'bool'
  922. ],
  923. 'name' => 'system.pages.redirect_trailing_slash',
  924. 'validation' => 'loose'
  925. ],
  926. 'system.pages.ignore_hidden' => [
  927. 'type' => 'toggle',
  928. 'label' => 'PLUGIN_ADMIN.IGNORE_HIDDEN',
  929. 'highlight' => 1,
  930. 'options' => [
  931. 1 => 'PLUGIN_ADMIN.YES',
  932. 0 => 'PLUGIN_ADMIN.NO'
  933. ],
  934. 'validate' => [
  935. 'type' => 'bool'
  936. ],
  937. 'name' => 'system.pages.ignore_hidden',
  938. 'validation' => 'loose'
  939. ],
  940. 'system.pages.ignore_files' => [
  941. 'type' => 'selectize',
  942. 'size' => 'large',
  943. 'label' => 'PLUGIN_ADMIN.IGNORE_FILES',
  944. 'classes' => 'fancy',
  945. 'validate' => [
  946. 'type' => 'commalist'
  947. ],
  948. 'name' => 'system.pages.ignore_files',
  949. 'validation' => 'loose'
  950. ],
  951. 'system.pages.ignore_folders' => [
  952. 'type' => 'selectize',
  953. 'size' => 'large',
  954. 'label' => 'PLUGIN_ADMIN.IGNORE_FOLDERS',
  955. 'classes' => 'fancy',
  956. 'validate' => [
  957. 'type' => 'commalist'
  958. ],
  959. 'name' => 'system.pages.ignore_folders',
  960. 'validation' => 'loose'
  961. ],
  962. 'system.pages.hide_empty_folders' => [
  963. 'type' => 'toggle',
  964. 'label' => 'PLUGIN_ADMIN.HIDE_EMPTY_FOLDERS',
  965. 'highlight' => 0,
  966. 'options' => [
  967. 1 => 'PLUGIN_ADMIN.YES',
  968. 0 => 'PLUGIN_ADMIN.NO'
  969. ],
  970. 'validate' => [
  971. 'type' => 'bool'
  972. ],
  973. 'name' => 'system.pages.hide_empty_folders',
  974. 'validation' => 'loose'
  975. ],
  976. 'system.pages.url_taxonomy_filters' => [
  977. 'type' => 'toggle',
  978. 'label' => 'PLUGIN_ADMIN.ALLOW_URL_TAXONOMY_FILTERS',
  979. 'highlight' => 1,
  980. 'options' => [
  981. 1 => 'PLUGIN_ADMIN.YES',
  982. 0 => 'PLUGIN_ADMIN.NO'
  983. ],
  984. 'validate' => [
  985. 'type' => 'bool'
  986. ],
  987. 'name' => 'system.pages.url_taxonomy_filters',
  988. 'validation' => 'loose'
  989. ],
  990. 'system.pages.twig_first' => [
  991. 'type' => 'toggle',
  992. 'label' => 'PLUGIN_ADMIN.TWIG_FIRST',
  993. 'highlight' => 0,
  994. 'options' => [
  995. 1 => 'PLUGIN_ADMIN.YES',
  996. 0 => 'PLUGIN_ADMIN.NO'
  997. ],
  998. 'validate' => [
  999. 'type' => 'bool'
  1000. ],
  1001. 'name' => 'system.pages.twig_first',
  1002. 'validation' => 'loose'
  1003. ],
  1004. 'system.pages.never_cache_twig' => [
  1005. 'type' => 'toggle',
  1006. 'label' => 'PLUGIN_ADMIN.NEVER_CACHE_TWIG',
  1007. 'highlight' => 0,
  1008. 'options' => [
  1009. 1 => 'PLUGIN_ADMIN.YES',
  1010. 0 => 'PLUGIN_ADMIN.NO'
  1011. ],
  1012. 'validate' => [
  1013. 'type' => 'bool'
  1014. ],
  1015. 'name' => 'system.pages.never_cache_twig',
  1016. 'validation' => 'loose'
  1017. ],
  1018. 'system.pages.frontmatter' => [
  1019. 'type' => '_parent',
  1020. 'name' => 'system.pages.frontmatter',
  1021. 'form_field' => false
  1022. ],
  1023. 'system.pages.frontmatter.process_twig' => [
  1024. 'type' => 'toggle',
  1025. 'label' => 'PLUGIN_ADMIN.FRONTMATTER_PROCESS_TWIG',
  1026. 'highlight' => 0,
  1027. 'options' => [
  1028. 1 => 'PLUGIN_ADMIN.YES',
  1029. 0 => 'PLUGIN_ADMIN.NO'
  1030. ],
  1031. 'validate' => [
  1032. 'type' => 'bool'
  1033. ],
  1034. 'name' => 'system.pages.frontmatter.process_twig',
  1035. 'validation' => 'loose'
  1036. ],
  1037. 'system.pages.frontmatter.ignore_fields' => [
  1038. 'type' => 'selectize',
  1039. 'size' => 'large',
  1040. 'label' => 'PLUGIN_ADMIN.FRONTMATTER_IGNORE_FIELDS',
  1041. 'classes' => 'fancy',
  1042. 'validate' => [
  1043. 'type' => 'commalist'
  1044. ],
  1045. 'name' => 'system.pages.frontmatter.ignore_fields',
  1046. 'validation' => 'loose'
  1047. ],
  1048. 'system.content' => [
  1049. 'type' => 'tab',
  1050. 'name' => 'system.content',
  1051. 'validation' => 'loose'
  1052. ],
  1053. 'system.languages-section' => [
  1054. 'type' => 'section',
  1055. 'underline' => true,
  1056. 'name' => 'system.languages-section',
  1057. 'validation' => 'loose'
  1058. ],
  1059. 'system.languages' => [
  1060. 'type' => 'tab',
  1061. 'name' => 'system.languages',
  1062. 'validation' => 'loose'
  1063. ],
  1064. 'system.languages.supported' => [
  1065. 'type' => 'selectize',
  1066. 'size' => 'large',
  1067. 'label' => 'PLUGIN_ADMIN.SUPPORTED',
  1068. 'classes' => 'fancy',
  1069. 'validate' => [
  1070. 'type' => 'commalist'
  1071. ],
  1072. 'name' => 'system.languages.supported',
  1073. 'validation' => 'loose'
  1074. ],
  1075. 'system.languages.default_lang' => [
  1076. 'type' => 'text',
  1077. 'size' => 'x-small',
  1078. 'label' => 'PLUGIN_ADMIN.DEFAULT_LANG',
  1079. 'name' => 'system.languages.default_lang',
  1080. 'validation' => 'loose'
  1081. ],
  1082. 'system.languages.include_default_lang' => [
  1083. 'type' => 'toggle',
  1084. 'label' => 'PLUGIN_ADMIN.INCLUDE_DEFAULT_LANG',
  1085. 'highlight' => 1,
  1086. 'options' => [
  1087. 1 => 'PLUGIN_ADMIN.YES',
  1088. 0 => 'PLUGIN_ADMIN.NO'
  1089. ],
  1090. 'validate' => [
  1091. 'type' => 'bool'
  1092. ],
  1093. 'name' => 'system.languages.include_default_lang',
  1094. 'validation' => 'loose'
  1095. ],
  1096. 'system.languages.pages_fallback_only' => [
  1097. 'type' => 'toggle',
  1098. 'label' => 'PLUGIN_ADMIN.PAGES_FALLBACK_ONLY',
  1099. 'highlight' => 0,
  1100. 'options' => [
  1101. 1 => 'PLUGIN_ADMIN.YES',
  1102. 0 => 'PLUGIN_ADMIN.NO'
  1103. ],
  1104. 'validate' => [
  1105. 'type' => 'bool'
  1106. ],
  1107. 'name' => 'system.languages.pages_fallback_only',
  1108. 'validation' => 'loose'
  1109. ],
  1110. 'system.languages.translations' => [
  1111. 'type' => 'toggle',
  1112. 'label' => 'PLUGIN_ADMIN.TRANSLATIONS_ENABLED',
  1113. 'highlight' => 1,
  1114. 'options' => [
  1115. 1 => 'PLUGIN_ADMIN.YES',
  1116. 0 => 'PLUGIN_ADMIN.NO'
  1117. ],
  1118. 'validate' => [
  1119. 'type' => 'bool'
  1120. ],
  1121. 'name' => 'system.languages.translations',
  1122. 'validation' => 'loose'
  1123. ],
  1124. 'system.languages.translations_fallback' => [
  1125. 'type' => 'toggle',
  1126. 'label' => 'PLUGIN_ADMIN.TRANSLATIONS_FALLBACK',
  1127. 'highlight' => 1,
  1128. 'options' => [
  1129. 1 => 'PLUGIN_ADMIN.YES',
  1130. 0 => 'PLUGIN_ADMIN.NO'
  1131. ],
  1132. 'validate' => [
  1133. 'type' => 'bool'
  1134. ],
  1135. 'name' => 'system.languages.translations_fallback',
  1136. 'validation' => 'loose'
  1137. ],
  1138. 'system.languages.session_store_active' => [
  1139. 'type' => 'toggle',
  1140. 'label' => 'PLUGIN_ADMIN.ACTIVE_LANGUAGE_IN_SESSION',
  1141. 'highlight' => 0,
  1142. 'options' => [
  1143. 1 => 'PLUGIN_ADMIN.YES',
  1144. 0 => 'PLUGIN_ADMIN.NO'
  1145. ],
  1146. 'validate' => [
  1147. 'type' => 'bool'
  1148. ],
  1149. 'name' => 'system.languages.session_store_active',
  1150. 'validation' => 'loose'
  1151. ],
  1152. 'system.languages.http_accept_language' => [
  1153. 'type' => 'toggle',
  1154. 'label' => 'PLUGIN_ADMIN.HTTP_ACCEPT_LANGUAGE',
  1155. 'highlight' => 0,
  1156. 'options' => [
  1157. 1 => 'PLUGIN_ADMIN.YES',
  1158. 0 => 'PLUGIN_ADMIN.NO'
  1159. ],
  1160. 'validate' => [
  1161. 'type' => 'bool'
  1162. ],
  1163. 'name' => 'system.languages.http_accept_language',
  1164. 'validation' => 'loose'
  1165. ],
  1166. 'system.languages.override_locale' => [
  1167. 'type' => 'toggle',
  1168. 'label' => 'PLUGIN_ADMIN.OVERRIDE_LOCALE',
  1169. 'highlight' => 0,
  1170. 'options' => [
  1171. 1 => 'PLUGIN_ADMIN.YES',
  1172. 0 => 'PLUGIN_ADMIN.NO'
  1173. ],
  1174. 'validate' => [
  1175. 'type' => 'bool'
  1176. ],
  1177. 'name' => 'system.languages.override_locale',
  1178. 'validation' => 'loose'
  1179. ],
  1180. 'system.http_headers_section' => [
  1181. 'type' => 'section',
  1182. 'underline' => true,
  1183. 'name' => 'system.http_headers_section',
  1184. 'validation' => 'loose'
  1185. ],
  1186. 'system.pages.expires' => [
  1187. 'type' => 'text',
  1188. 'size' => 'small',
  1189. 'append' => 'GRAV.NICETIME.SECOND_PLURAL',
  1190. 'label' => 'PLUGIN_ADMIN.EXPIRES',
  1191. 'validate' => [
  1192. 'type' => 'number',
  1193. 'min' => 1
  1194. ],
  1195. 'name' => 'system.pages.expires',
  1196. 'validation' => 'loose'
  1197. ],
  1198. 'system.pages.cache_control' => [
  1199. 'type' => 'text',
  1200. 'size' => 'medium',
  1201. 'label' => 'PLUGIN_ADMIN.CACHE_CONTROL',
  1202. 'name' => 'system.pages.cache_control',
  1203. 'validation' => 'loose'
  1204. ],
  1205. 'system.pages.last_modified' => [
  1206. 'type' => 'toggle',
  1207. 'label' => 'PLUGIN_ADMIN.LAST_MODIFIED',
  1208. 'highlight' => 0,
  1209. 'options' => [
  1210. 1 => 'PLUGIN_ADMIN.YES',
  1211. 0 => 'PLUGIN_ADMIN.NO'
  1212. ],
  1213. 'validate' => [
  1214. 'type' => 'bool'
  1215. ],
  1216. 'name' => 'system.pages.last_modified',
  1217. 'validation' => 'loose'
  1218. ],
  1219. 'system.pages.etag' => [
  1220. 'type' => 'toggle',
  1221. 'label' => 'PLUGIN_ADMIN.ETAG',
  1222. 'highlight' => 0,
  1223. 'options' => [
  1224. 1 => 'PLUGIN_ADMIN.YES',
  1225. 0 => 'PLUGIN_ADMIN.NO'
  1226. ],
  1227. 'validate' => [
  1228. 'type' => 'bool'
  1229. ],
  1230. 'name' => 'system.pages.etag',
  1231. 'validation' => 'loose'
  1232. ],
  1233. 'system.pages.vary_accept_encoding' => [
  1234. 'type' => 'toggle',
  1235. 'label' => 'PLUGIN_ADMIN.VARY_ACCEPT_ENCODING',
  1236. 'highlight' => 0,
  1237. 'options' => [
  1238. 1 => 'PLUGIN_ADMIN.YES',
  1239. 0 => 'PLUGIN_ADMIN.NO'
  1240. ],
  1241. 'validate' => [
  1242. 'type' => 'bool'
  1243. ],
  1244. 'name' => 'system.pages.vary_accept_encoding',
  1245. 'validation' => 'loose'
  1246. ],
  1247. 'system.http_headers' => [
  1248. 'type' => 'tab',
  1249. 'name' => 'system.http_headers',
  1250. 'validation' => 'loose'
  1251. ],
  1252. 'system.markdow_section' => [
  1253. 'type' => 'section',
  1254. 'underline' => true,
  1255. 'name' => 'system.markdow_section',
  1256. 'validation' => 'loose'
  1257. ],
  1258. 'system.pages.markdown' => [
  1259. 'type' => '_parent',
  1260. 'name' => 'system.pages.markdown',
  1261. 'form_field' => false
  1262. ],
  1263. 'system.pages.markdown.extra' => [
  1264. 'type' => 'toggle',
  1265. 'label' => 'Markdown extra',
  1266. 'highlight' => 0,
  1267. 'options' => [
  1268. 1 => 'PLUGIN_ADMIN.YES',
  1269. 0 => 'PLUGIN_ADMIN.NO'
  1270. ],
  1271. 'validate' => [
  1272. 'type' => 'bool'
  1273. ],
  1274. 'name' => 'system.pages.markdown.extra',
  1275. 'validation' => 'loose'
  1276. ],
  1277. 'system.pages.markdown.auto_line_breaks' => [
  1278. 'type' => 'toggle',
  1279. 'label' => 'PLUGIN_ADMIN.AUTO_LINE_BREAKS',
  1280. 'highlight' => 0,
  1281. 'options' => [
  1282. 1 => 'PLUGIN_ADMIN.YES',
  1283. 0 => 'PLUGIN_ADMIN.NO'
  1284. ],
  1285. 'validate' => [
  1286. 'type' => 'bool'
  1287. ],
  1288. 'name' => 'system.pages.markdown.auto_line_breaks',
  1289. 'validation' => 'loose'
  1290. ],
  1291. 'system.pages.markdown.auto_url_links' => [
  1292. 'type' => 'toggle',
  1293. 'label' => 'PLUGIN_ADMIN.AUTO_URL_LINKS',
  1294. 'highlight' => 0,
  1295. 'options' => [
  1296. 1 => 'PLUGIN_ADMIN.YES',
  1297. 0 => 'PLUGIN_ADMIN.NO'
  1298. ],
  1299. 'validate' => [
  1300. 'type' => 'bool'
  1301. ],
  1302. 'name' => 'system.pages.markdown.auto_url_links',
  1303. 'validation' => 'loose'
  1304. ],
  1305. 'system.pages.markdown.escape_markup' => [
  1306. 'type' => 'toggle',
  1307. 'label' => 'PLUGIN_ADMIN.ESCAPE_MARKUP',
  1308. 'highlight' => 0,
  1309. 'options' => [
  1310. 1 => 'PLUGIN_ADMIN.YES',
  1311. 0 => 'PLUGIN_ADMIN.NO'
  1312. ],
  1313. 'validate' => [
  1314. 'type' => 'bool'
  1315. ],
  1316. 'name' => 'system.pages.markdown.escape_markup',
  1317. 'validation' => 'loose'
  1318. ],
  1319. 'system.pages.markdown.valid_link_attributes' => [
  1320. 'type' => 'selectize',
  1321. 'size' => 'large',
  1322. 'label' => 'PLUGIN_ADMIN.VALID_LINK_ATTRIBUTES',
  1323. 'classes' => 'fancy',
  1324. 'validate' => [
  1325. 'type' => 'commalist'
  1326. ],
  1327. 'name' => 'system.pages.markdown.valid_link_attributes',
  1328. 'validation' => 'loose'
  1329. ],
  1330. 'system.markdown' => [
  1331. 'type' => 'tab',
  1332. 'name' => 'system.markdown',
  1333. 'validation' => 'loose'
  1334. ],
  1335. 'system.caching_section' => [
  1336. 'type' => 'section',
  1337. 'underline' => true,
  1338. 'name' => 'system.caching_section',
  1339. 'validation' => 'loose'
  1340. ],
  1341. 'system.cache' => [
  1342. 'type' => '_parent',
  1343. 'name' => 'system.cache',
  1344. 'form_field' => false
  1345. ],
  1346. 'system.cache.enabled' => [
  1347. 'type' => 'toggle',
  1348. 'label' => 'PLUGIN_ADMIN.CACHING',
  1349. 'highlight' => 1,
  1350. 'options' => [
  1351. 1 => 'PLUGIN_ADMIN.YES',
  1352. 0 => 'PLUGIN_ADMIN.NO'
  1353. ],
  1354. 'validate' => [
  1355. 'type' => 'bool'
  1356. ],
  1357. 'name' => 'system.cache.enabled',
  1358. 'validation' => 'loose'
  1359. ],
  1360. 'system.cache.check' => [
  1361. 'type' => '_parent',
  1362. 'name' => 'system.cache.check',
  1363. 'form_field' => false
  1364. ],
  1365. 'system.cache.check.method' => [
  1366. 'type' => 'select',
  1367. 'size' => 'medium',
  1368. 'classes' => 'fancy',
  1369. 'label' => 'PLUGIN_ADMIN.CACHE_CHECK_METHOD',
  1370. 'options' => [
  1371. 'file' => 'Markdown + Yaml file timestamps',
  1372. 'folder' => 'Folder timestamps',
  1373. 'hash' => 'All files timestamps',
  1374. 'none' => 'No timestamp checking'
  1375. ],
  1376. 'name' => 'system.cache.check.method',
  1377. 'validation' => 'loose'
  1378. ],
  1379. 'system.cache.driver' => [
  1380. 'type' => 'select',
  1381. 'size' => 'small',
  1382. 'classes' => 'fancy',
  1383. 'label' => 'PLUGIN_ADMIN.CACHE_DRIVER',
  1384. 'options' => [
  1385. 'auto' => 'Auto detect',
  1386. 'file' => 'File',
  1387. 'apc' => 'APC',
  1388. 'apcu' => 'APCu',
  1389. 'xcache' => 'Xcache',
  1390. 'memcache' => 'Memcache',
  1391. 'memcached' => 'Memcached',
  1392. 'wincache' => 'WinCache',
  1393. 'redis' => 'Redis'
  1394. ],
  1395. 'name' => 'system.cache.driver',
  1396. 'validation' => 'loose'
  1397. ],
  1398. 'system.cache.prefix' => [
  1399. 'type' => 'text',
  1400. 'size' => 'x-small',
  1401. 'label' => 'PLUGIN_ADMIN.CACHE_PREFIX',
  1402. 'name' => 'system.cache.prefix',
  1403. 'validation' => 'loose'
  1404. ],
  1405. 'system.cache.purge_at' => [
  1406. 'type' => 'cron',
  1407. 'label' => 'PLUGIN_ADMIN.CACHE_PURGE_JOB',
  1408. 'default' => '* 4 * * *',
  1409. 'name' => 'system.cache.purge_at',
  1410. 'validation' => 'loose'
  1411. ],
  1412. 'system.cache.clear_at' => [
  1413. 'type' => 'cron',
  1414. 'label' => 'PLUGIN_ADMIN.CACHE_CLEAR_JOB',
  1415. 'default' => '* 3 * * *',
  1416. 'name' => 'system.cache.clear_at',
  1417. 'validation' => 'loose'
  1418. ],
  1419. 'system.cache.clear_job_type' => [
  1420. 'type' => 'select',
  1421. 'size' => 'medium',
  1422. 'label' => 'PLUGIN_ADMIN.CACHE_JOB_TYPE',
  1423. 'options' => [
  1424. 'standard' => 'Standard Cache Folders',
  1425. 'all' => 'All Cache Folders'
  1426. ],
  1427. 'name' => 'system.cache.clear_job_type',
  1428. 'validation' => 'loose'
  1429. ],
  1430. 'system.cache.clear_images_by_default' => [
  1431. 'type' => 'toggle',
  1432. 'label' => 'PLUGIN_ADMIN.CLEAR_IMAGES_BY_DEFAULT',
  1433. 'highlight' => 1,
  1434. 'options' => [
  1435. 1 => 'PLUGIN_ADMIN.YES',
  1436. 0 => 'PLUGIN_ADMIN.NO'
  1437. ],
  1438. 'validate' => [
  1439. 'type' => 'bool'
  1440. ],
  1441. 'name' => 'system.cache.clear_images_by_default',
  1442. 'validation' => 'loose'
  1443. ],
  1444. 'system.cache.cli_compatibility' => [
  1445. 'type' => 'toggle',
  1446. 'label' => 'PLUGIN_ADMIN.CLI_COMPATIBILITY',
  1447. 'highlight' => 0,
  1448. 'options' => [
  1449. 1 => 'PLUGIN_ADMIN.YES',
  1450. 0 => 'PLUGIN_ADMIN.NO'
  1451. ],
  1452. 'validate' => [
  1453. 'type' => 'bool'
  1454. ],
  1455. 'name' => 'system.cache.cli_compatibility',
  1456. 'validation' => 'loose'
  1457. ],
  1458. 'system.cache.lifetime' => [
  1459. 'type' => 'text',
  1460. 'size' => 'small',
  1461. 'append' => 'GRAV.NICETIME.SECOND_PLURAL',
  1462. 'label' => 'PLUGIN_ADMIN.LIFETIME',
  1463. 'validate' => [
  1464. 'type' => 'number'
  1465. ],
  1466. 'name' => 'system.cache.lifetime',
  1467. 'validation' => 'loose'
  1468. ],
  1469. 'system.cache.gzip' => [
  1470. 'type' => 'toggle',
  1471. 'label' => 'PLUGIN_ADMIN.GZIP_COMPRESSION',
  1472. 'highlight' => 0,
  1473. 'options' => [
  1474. 1 => 'PLUGIN_ADMIN.YES',
  1475. 0 => 'PLUGIN_ADMIN.NO'
  1476. ],
  1477. 'validate' => [
  1478. 'type' => 'bool'
  1479. ],
  1480. 'name' => 'system.cache.gzip',
  1481. 'validation' => 'loose'
  1482. ],
  1483. 'system.cache.allow_webserver_gzip' => [
  1484. 'type' => 'toggle',
  1485. 'label' => 'PLUGIN_ADMIN.ALLOW_WEBSERVER_GZIP',
  1486. 'highlight' => 0,
  1487. 'options' => [
  1488. 1 => 'PLUGIN_ADMIN.YES',
  1489. 0 => 'PLUGIN_ADMIN.NO'
  1490. ],
  1491. 'validate' => [
  1492. 'type' => 'bool'
  1493. ],
  1494. 'name' => 'system.cache.allow_webserver_gzip',
  1495. 'validation' => 'loose'
  1496. ],
  1497. 'system.cache.memcache' => [
  1498. 'type' => '_parent',
  1499. 'name' => 'system.cache.memcache',
  1500. 'form_field' => false
  1501. ],
  1502. 'system.cache.memcache.server' => [
  1503. 'type' => 'text',
  1504. 'size' => 'medium',
  1505. 'label' => 'PLUGIN_ADMIN.MEMCACHE_SERVER',
  1506. 'name' => 'system.cache.memcache.server',
  1507. 'validation' => 'loose'
  1508. ],
  1509. 'system.cache.memcache.port' => [
  1510. 'type' => 'text',
  1511. 'size' => 'small',
  1512. 'label' => 'PLUGIN_ADMIN.MEMCACHE_PORT',
  1513. 'name' => 'system.cache.memcache.port',
  1514. 'validation' => 'loose'
  1515. ],
  1516. 'system.cache.memcached' => [
  1517. 'type' => '_parent',
  1518. 'name' => 'system.cache.memcached',
  1519. 'form_field' => false
  1520. ],
  1521. 'system.cache.memcached.server' => [
  1522. 'type' => 'text',
  1523. 'size' => 'medium',
  1524. 'label' => 'PLUGIN_ADMIN.MEMCACHED_SERVER',
  1525. 'name' => 'system.cache.memcached.server',
  1526. 'validation' => 'loose'
  1527. ],
  1528. 'system.cache.memcached.port' => [
  1529. 'type' => 'text',
  1530. 'size' => 'small',
  1531. 'label' => 'PLUGIN_ADMIN.MEMCACHED_PORT',
  1532. 'name' => 'system.cache.memcached.port',
  1533. 'validation' => 'loose'
  1534. ],
  1535. 'system.cache.redis' => [
  1536. 'type' => '_parent',
  1537. 'name' => 'system.cache.redis',
  1538. 'form_field' => false
  1539. ],
  1540. 'system.cache.redis.socket' => [
  1541. 'type' => 'text',
  1542. 'size' => 'medium',
  1543. 'label' => 'PLUGIN_ADMIN.REDIS_SOCKET',
  1544. 'name' => 'system.cache.redis.socket',
  1545. 'validation' => 'loose'
  1546. ],
  1547. 'system.cache.redis.server' => [
  1548. 'type' => 'text',
  1549. 'size' => 'medium',
  1550. 'label' => 'PLUGIN_ADMIN.REDIS_SERVER',
  1551. 'name' => 'system.cache.redis.server',
  1552. 'validation' => 'loose'
  1553. ],
  1554. 'system.cache.redis.port' => [
  1555. 'type' => 'text',
  1556. 'size' => 'small',
  1557. 'label' => 'PLUGIN_ADMIN.REDIS_PORT',
  1558. 'name' => 'system.cache.redis.port',
  1559. 'validation' => 'loose'
  1560. ],
  1561. 'system.cache.redis.password' => [
  1562. 'type' => 'text',
  1563. 'size' => 'small',
  1564. 'label' => 'PLUGIN_ADMIN.REDIS_PASSWORD',
  1565. 'name' => 'system.cache.redis.password',
  1566. 'validation' => 'loose'
  1567. ],
  1568. 'system.caching' => [
  1569. 'type' => 'tab',
  1570. 'name' => 'system.caching',
  1571. 'validation' => 'loose'
  1572. ],
  1573. 'system.twig_section' => [
  1574. 'type' => 'section',
  1575. 'underline' => true,
  1576. 'name' => 'system.twig_section',
  1577. 'validation' => 'loose'
  1578. ],
  1579. 'system.twig' => [
  1580. 'type' => 'tab',
  1581. 'name' => 'system.twig',
  1582. 'validation' => 'loose'
  1583. ],
  1584. 'system.twig.cache' => [
  1585. 'type' => 'toggle',
  1586. 'label' => 'PLUGIN_ADMIN.TWIG_CACHING',
  1587. 'highlight' => 1,
  1588. 'options' => [
  1589. 1 => 'PLUGIN_ADMIN.YES',
  1590. 0 => 'PLUGIN_ADMIN.NO'
  1591. ],
  1592. 'validate' => [
  1593. 'type' => 'bool'
  1594. ],
  1595. 'name' => 'system.twig.cache',
  1596. 'validation' => 'loose'
  1597. ],
  1598. 'system.twig.debug' => [
  1599. 'type' => 'toggle',
  1600. 'label' => 'PLUGIN_ADMIN.TWIG_DEBUG',
  1601. 'highlight' => 1,
  1602. 'options' => [
  1603. 1 => 'PLUGIN_ADMIN.YES',
  1604. 0 => 'PLUGIN_ADMIN.NO'
  1605. ],
  1606. 'validate' => [
  1607. 'type' => 'bool'
  1608. ],
  1609. 'name' => 'system.twig.debug',
  1610. 'validation' => 'loose'
  1611. ],
  1612. 'system.twig.auto_reload' => [
  1613. 'type' => 'toggle',
  1614. 'label' => 'PLUGIN_ADMIN.DETECT_CHANGES',
  1615. 'highlight' => 1,
  1616. 'options' => [
  1617. 1 => 'PLUGIN_ADMIN.YES',
  1618. 0 => 'PLUGIN_ADMIN.NO'
  1619. ],
  1620. 'validate' => [
  1621. 'type' => 'bool'
  1622. ],
  1623. 'name' => 'system.twig.auto_reload',
  1624. 'validation' => 'loose'
  1625. ],
  1626. 'system.twig.autoescape' => [
  1627. 'type' => 'toggle',
  1628. 'label' => 'PLUGIN_ADMIN.AUTOESCAPE_VARIABLES',
  1629. 'highlight' => 0,
  1630. 'options' => [
  1631. 1 => 'PLUGIN_ADMIN.YES',
  1632. 0 => 'PLUGIN_ADMIN.NO'
  1633. ],
  1634. 'validate' => [
  1635. 'type' => 'bool'
  1636. ],
  1637. 'name' => 'system.twig.autoescape',
  1638. 'validation' => 'loose'
  1639. ],
  1640. 'system.twig.umask_fix' => [
  1641. 'type' => 'toggle',
  1642. 'label' => 'PLUGIN_ADMIN.TWIG_UMASK_FIX',
  1643. 'highlight' => 0,
  1644. 'options' => [
  1645. 1 => 'PLUGIN_ADMIN.YES',
  1646. 0 => 'PLUGIN_ADMIN.NO'
  1647. ],
  1648. 'validate' => [
  1649. 'type' => 'bool'
  1650. ],
  1651. 'name' => 'system.twig.umask_fix',
  1652. 'validation' => 'loose'
  1653. ],
  1654. 'system.assets_section' => [
  1655. 'type' => 'section',
  1656. 'underline' => true,
  1657. 'name' => 'system.assets_section',
  1658. 'validation' => 'loose'
  1659. ],
  1660. 'system.assets' => [
  1661. 'type' => 'tab',
  1662. 'name' => 'system.assets',
  1663. 'validation' => 'loose'
  1664. ],
  1665. 'system.assets.css_pipeline' => [
  1666. 'type' => 'toggle',
  1667. 'label' => 'PLUGIN_ADMIN.CSS_PIPELINE',
  1668. 'highlight' => 0,
  1669. 'options' => [
  1670. 1 => 'PLUGIN_ADMIN.YES',
  1671. 0 => 'PLUGIN_ADMIN.NO'
  1672. ],
  1673. 'validate' => [
  1674. 'type' => 'bool'
  1675. ],
  1676. 'name' => 'system.assets.css_pipeline',
  1677. 'validation' => 'loose'
  1678. ],
  1679. 'system.assets.css_pipeline_include_externals' => [
  1680. 'type' => 'toggle',
  1681. 'label' => 'PLUGIN_ADMIN.CSS_PIPELINE_INCLUDE_EXTERNALS',
  1682. 'highlight' => 1,
  1683. 'options' => [
  1684. 1 => 'PLUGIN_ADMIN.YES',
  1685. 0 => 'PLUGIN_ADMIN.NO'
  1686. ],
  1687. 'validate' => [
  1688. 'type' => 'bool'
  1689. ],
  1690. 'name' => 'system.assets.css_pipeline_include_externals',
  1691. 'validation' => 'loose'
  1692. ],
  1693. 'system.assets.css_pipeline_before_excludes' => [
  1694. 'type' => 'toggle',
  1695. 'label' => 'PLUGIN_ADMIN.CSS_PIPELINE_BEFORE_EXCLUDES',
  1696. 'highlight' => 1,
  1697. 'options' => [
  1698. 1 => 'PLUGIN_ADMIN.YES',
  1699. 0 => 'PLUGIN_ADMIN.NO'
  1700. ],
  1701. 'validate' => [
  1702. 'type' => 'bool'
  1703. ],
  1704. 'name' => 'system.assets.css_pipeline_before_excludes',
  1705. 'validation' => 'loose'
  1706. ],
  1707. 'system.assets.css_minify' => [
  1708. 'type' => 'toggle',
  1709. 'label' => 'PLUGIN_ADMIN.CSS_MINIFY',
  1710. 'highlight' => 1,
  1711. 'options' => [
  1712. 1 => 'PLUGIN_ADMIN.YES',
  1713. 0 => 'PLUGIN_ADMIN.NO'
  1714. ],
  1715. 'validate' => [
  1716. 'type' => 'bool'
  1717. ],
  1718. 'name' => 'system.assets.css_minify',
  1719. 'validation' => 'loose'
  1720. ],
  1721. 'system.assets.css_minify_windows' => [
  1722. 'type' => 'toggle',
  1723. 'label' => 'PLUGIN_ADMIN.CSS_MINIFY_WINDOWS_OVERRIDE',
  1724. 'highlight' => 0,
  1725. 'options' => [
  1726. 1 => 'PLUGIN_ADMIN.YES',
  1727. 0 => 'PLUGIN_ADMIN.NO'
  1728. ],
  1729. 'validate' => [
  1730. 'type' => 'bool'
  1731. ],
  1732. 'name' => 'system.assets.css_minify_windows',
  1733. 'validation' => 'loose'
  1734. ],
  1735. 'system.assets.css_rewrite' => [
  1736. 'type' => 'toggle',
  1737. 'label' => 'PLUGIN_ADMIN.CSS_REWRITE',
  1738. 'highlight' => 1,
  1739. 'options' => [
  1740. 1 => 'PLUGIN_ADMIN.YES',
  1741. 0 => 'PLUGIN_ADMIN.NO'
  1742. ],
  1743. 'validate' => [
  1744. 'type' => 'bool'
  1745. ],
  1746. 'name' => 'system.assets.css_rewrite',
  1747. 'validation' => 'loose'
  1748. ],
  1749. 'system.assets.js_pipeline' => [
  1750. 'type' => 'toggle',
  1751. 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE',
  1752. 'highlight' => 0,
  1753. 'options' => [
  1754. 1 => 'PLUGIN_ADMIN.YES',
  1755. 0 => 'PLUGIN_ADMIN.NO'
  1756. ],
  1757. 'validate' => [
  1758. 'type' => 'bool'
  1759. ],
  1760. 'name' => 'system.assets.js_pipeline',
  1761. 'validation' => 'loose'
  1762. ],
  1763. 'system.assets.js_pipeline_include_externals' => [
  1764. 'type' => 'toggle',
  1765. 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_INCLUDE_EXTERNALS',
  1766. 'highlight' => 1,
  1767. 'options' => [
  1768. 1 => 'PLUGIN_ADMIN.YES',
  1769. 0 => 'PLUGIN_ADMIN.NO'
  1770. ],
  1771. 'validate' => [
  1772. 'type' => 'bool'
  1773. ],
  1774. 'name' => 'system.assets.js_pipeline_include_externals',
  1775. 'validation' => 'loose'
  1776. ],
  1777. 'system.assets.js_pipeline_before_excludes' => [
  1778. 'type' => 'toggle',
  1779. 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_BEFORE_EXCLUDES',
  1780. 'highlight' => 1,
  1781. 'options' => [
  1782. 1 => 'PLUGIN_ADMIN.YES',
  1783. 0 => 'PLUGIN_ADMIN.NO'
  1784. ],
  1785. 'validate' => [
  1786. 'type' => 'bool'
  1787. ],
  1788. 'name' => 'system.assets.js_pipeline_before_excludes',
  1789. 'validation' => 'loose'
  1790. ],
  1791. 'system.assets.js_minify' => [
  1792. 'type' => 'toggle',
  1793. 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_MINIFY',
  1794. 'highlight' => 1,
  1795. 'options' => [
  1796. 1 => 'PLUGIN_ADMIN.YES',
  1797. 0 => 'PLUGIN_ADMIN.NO'
  1798. ],
  1799. 'validate' => [
  1800. 'type' => 'bool'
  1801. ],
  1802. 'name' => 'system.assets.js_minify',
  1803. 'validation' => 'loose'
  1804. ],
  1805. 'system.assets.enable_asset_timestamp' => [
  1806. 'type' => 'toggle',
  1807. 'label' => 'PLUGIN_ADMIN.ENABLED_TIMESTAMPS_ON_ASSETS',
  1808. 'highlight' => 0,
  1809. 'options' => [
  1810. 1 => 'PLUGIN_ADMIN.YES',
  1811. 0 => 'PLUGIN_ADMIN.NO'
  1812. ],
  1813. 'validate' => [
  1814. 'type' => 'bool'
  1815. ],
  1816. 'name' => 'system.assets.enable_asset_timestamp',
  1817. 'validation' => 'loose'
  1818. ],
  1819. 'system.assets.collections' => [
  1820. 'type' => 'multilevel',
  1821. 'label' => 'PLUGIN_ADMIN.COLLECTIONS',
  1822. 'validate' => [
  1823. 'type' => 'array'
  1824. ],
  1825. 'name' => 'system.assets.collections',
  1826. 'validation' => 'loose'
  1827. ],
  1828. 'system.errors_section' => [
  1829. 'type' => 'section',
  1830. 'underline' => true,
  1831. 'name' => 'system.errors_section',
  1832. 'validation' => 'loose'
  1833. ],
  1834. 'system.errors' => [
  1835. 'type' => 'tab',
  1836. 'name' => 'system.errors',
  1837. 'validation' => 'loose'
  1838. ],
  1839. 'system.errors.display' => [
  1840. 'type' => 'select',
  1841. 'label' => 'PLUGIN_ADMIN.DISPLAY_ERRORS',
  1842. 'size' => 'medium',
  1843. 'highlight' => 1,
  1844. 'options' => [
  1845. -1 => 'PLUGIN_ADMIN.ERROR_SYSTEM',
  1846. 0 => 'PLUGIN_ADMIN.ERROR_SIMPLE',
  1847. 1 => 'PLUGIN_ADMIN.ERROR_FULL_BACKTRACE'
  1848. ],
  1849. 'validate' => [
  1850. 'type' => 'int'
  1851. ],
  1852. 'name' => 'system.errors.display',
  1853. 'validation' => 'loose'
  1854. ],
  1855. 'system.errors.log' => [
  1856. 'type' => 'toggle',
  1857. 'label' => 'PLUGIN_ADMIN.LOG_ERRORS',
  1858. 'highlight' => 1,
  1859. 'options' => [
  1860. 1 => 'PLUGIN_ADMIN.YES',
  1861. 0 => 'PLUGIN_ADMIN.NO'
  1862. ],
  1863. 'validate' => [
  1864. 'type' => 'bool'
  1865. ],
  1866. 'name' => 'system.errors.log',
  1867. 'validation' => 'loose'
  1868. ],
  1869. 'system.log' => [
  1870. 'type' => '_parent',
  1871. 'name' => 'system.log',
  1872. 'form_field' => false
  1873. ],
  1874. 'system.log.handler' => [
  1875. 'type' => 'select',
  1876. 'size' => 'small',
  1877. 'label' => 'PLUGIN_ADMIN.LOG_HANDLER',
  1878. 'default' => 'file',
  1879. 'options' => [
  1880. 'file' => 'File',
  1881. 'syslog' => 'Syslog'
  1882. ],
  1883. 'name' => 'system.log.handler',
  1884. 'validation' => 'loose'
  1885. ],
  1886. 'system.log.syslog' => [
  1887. 'type' => '_parent',
  1888. 'name' => 'system.log.syslog',
  1889. 'form_field' => false
  1890. ],
  1891. 'system.log.syslog.facility' => [
  1892. 'type' => 'select',
  1893. 'size' => 'small',
  1894. 'label' => 'PLUGIN_ADMIN.SYSLOG_FACILITY',
  1895. 'default' => 'local6',
  1896. 'options' => [
  1897. 'auth' => 'auth',
  1898. 'authpriv' => 'authpriv',
  1899. 'cron' => 'cron',
  1900. 'daemon' => 'daemon',
  1901. 'kern' => 'kern',
  1902. 'lpr' => 'lpr',
  1903. 'mail' => 'mail',
  1904. 'news' => 'news',
  1905. 'syslog' => 'syslog',
  1906. 'user' => 'user',
  1907. 'uucp' => 'uucp',
  1908. 'local0' => 'local0',
  1909. 'local1' => 'local1',
  1910. 'local2' => 'local2',
  1911. 'local3' => 'local3',
  1912. 'local4' => 'local4',
  1913. 'local5' => 'local5',
  1914. 'local6' => 'local6',
  1915. 'local7' => 'local7'
  1916. ],
  1917. 'name' => 'system.log.syslog.facility',
  1918. 'validation' => 'loose'
  1919. ],
  1920. 'system.debugger_section' => [
  1921. 'type' => 'section',
  1922. 'underline' => true,
  1923. 'name' => 'system.debugger_section',
  1924. 'validation' => 'loose'
  1925. ],
  1926. 'system.debugger' => [
  1927. 'type' => 'tab',
  1928. 'name' => 'system.debugger',
  1929. 'validation' => 'loose'
  1930. ],
  1931. 'system.debugger.enabled' => [
  1932. 'type' => 'toggle',
  1933. 'label' => 'PLUGIN_ADMIN.DEBUGGER',
  1934. 'highlight' => 0,
  1935. 'options' => [
  1936. 1 => 'PLUGIN_ADMIN.YES',
  1937. 0 => 'PLUGIN_ADMIN.NO'
  1938. ],
  1939. 'validate' => [
  1940. 'type' => 'bool'
  1941. ],
  1942. 'name' => 'system.debugger.enabled',
  1943. 'validation' => 'loose'
  1944. ],
  1945. 'system.debugger.shutdown' => [
  1946. 'type' => '_parent',
  1947. 'name' => 'system.debugger.shutdown',
  1948. 'form_field' => false
  1949. ],
  1950. 'system.debugger.shutdown.close_connection' => [
  1951. 'type' => 'toggle',
  1952. 'label' => 'PLUGIN_ADMIN.SHUTDOWN_CLOSE_CONNECTION',
  1953. 'highlight' => 1,
  1954. 'options' => [
  1955. 1 => 'PLUGIN_ADMIN.YES',
  1956. 0 => 'PLUGIN_ADMIN.NO'
  1957. ],
  1958. 'validate' => [
  1959. 'type' => 'bool'
  1960. ],
  1961. 'name' => 'system.debugger.shutdown.close_connection',
  1962. 'validation' => 'loose'
  1963. ],
  1964. 'system.media_section' => [
  1965. 'type' => 'section',
  1966. 'underline' => true,
  1967. 'name' => 'system.media_section',
  1968. 'validation' => 'loose'
  1969. ],
  1970. 'system.images' => [
  1971. 'type' => '_parent',
  1972. 'name' => 'system.images',
  1973. 'form_field' => false
  1974. ],
  1975. 'system.images.default_image_quality' => [
  1976. 'type' => 'range',
  1977. 'append' => '%',
  1978. 'label' => 'PLUGIN_ADMIN.DEFAULT_IMAGE_QUALITY',
  1979. 'validate' => [
  1980. 'min' => 1,
  1981. 'max' => 100
  1982. ],
  1983. 'name' => 'system.images.default_image_quality',
  1984. 'validation' => 'loose'
  1985. ],
  1986. 'system.images.cache_all' => [
  1987. 'type' => 'toggle',
  1988. 'label' => 'PLUGIN_ADMIN.CACHE_ALL',
  1989. 'highlight' => 0,
  1990. 'options' => [
  1991. 1 => 'PLUGIN_ADMIN.YES',
  1992. 0 => 'PLUGIN_ADMIN.NO'
  1993. ],
  1994. 'validate' => [
  1995. 'type' => 'bool'
  1996. ],
  1997. 'name' => 'system.images.cache_all',
  1998. 'validation' => 'loose'
  1999. ],
  2000. 'system.images.cache_perms' => [
  2001. 'type' => 'select',
  2002. 'size' => 'small',
  2003. 'label' => 'PLUGIN_ADMIN.CACHE_PERMS',
  2004. 'highlight' => '0755',
  2005. 'options' => [
  2006. '0755' => '0755',
  2007. '0775' => '0775'
  2008. ],
  2009. 'name' => 'system.images.cache_perms',
  2010. 'validation' => 'loose'
  2011. ],
  2012. 'system.images.debug' => [
  2013. 'type' => 'toggle',
  2014. 'label' => 'PLUGIN_ADMIN.IMAGES_DEBUG',
  2015. 'highlight' => 0,
  2016. 'options' => [
  2017. 1 => 'PLUGIN_ADMIN.YES',
  2018. 0 => 'PLUGIN_ADMIN.NO'
  2019. ],
  2020. 'validate' => [
  2021. 'type' => 'bool'
  2022. ],
  2023. 'name' => 'system.images.debug',
  2024. 'validation' => 'loose'
  2025. ],
  2026. 'system.images.auto_fix_orientation' => [
  2027. 'type' => 'toggle',
  2028. 'label' => 'PLUGIN_ADMIN.IMAGES_AUTO_FIX_ORIENTATION',
  2029. 'highlight' => 0,
  2030. 'options' => [
  2031. 1 => 'PLUGIN_ADMIN.YES',
  2032. 0 => 'PLUGIN_ADMIN.NO'
  2033. ],
  2034. 'validate' => [
  2035. 'type' => 'bool'
  2036. ],
  2037. 'name' => 'system.images.auto_fix_orientation',
  2038. 'validation' => 'loose'
  2039. ],
  2040. 'system.images.seofriendly' => [
  2041. 'type' => 'toggle',
  2042. 'label' => 'PLUGIN_ADMIN.IMAGES_SEOFRIENDLY',
  2043. 'highlight' => 0,
  2044. 'options' => [
  2045. 1 => 'PLUGIN_ADMIN.YES',
  2046. 0 => 'PLUGIN_ADMIN.NO'
  2047. ],
  2048. 'validate' => [
  2049. 'type' => 'bool'
  2050. ],
  2051. 'name' => 'system.images.seofriendly',
  2052. 'validation' => 'loose'
  2053. ],
  2054. 'system.media' => [
  2055. 'type' => 'tab',
  2056. 'name' => 'system.media',
  2057. 'validation' => 'loose'
  2058. ],
  2059. 'system.media.enable_media_timestamp' => [
  2060. 'type' => 'toggle',
  2061. 'label' => 'PLUGIN_ADMIN.ENABLE_MEDIA_TIMESTAMP',
  2062. 'highlight' => 0,
  2063. 'options' => [
  2064. 1 => 'PLUGIN_ADMIN.YES',
  2065. 0 => 'PLUGIN_ADMIN.NO'
  2066. ],
  2067. 'validate' => [
  2068. 'type' => 'bool'
  2069. ],
  2070. 'name' => 'system.media.enable_media_timestamp',
  2071. 'validation' => 'loose'
  2072. ],
  2073. 'system.media.auto_metadata_exif' => [
  2074. 'type' => 'toggle',
  2075. 'label' => 'PLUGIN_ADMIN.ENABLE_AUTO_METADATA',
  2076. 'highlight' => 0,
  2077. 'options' => [
  2078. 1 => 'PLUGIN_ADMIN.YES',
  2079. 0 => 'PLUGIN_ADMIN.NO'
  2080. ],
  2081. 'validate' => [
  2082. 'type' => 'bool'
  2083. ],
  2084. 'name' => 'system.media.auto_metadata_exif',
  2085. 'validation' => 'loose'
  2086. ],
  2087. 'system.media.allowed_fallback_types' => [
  2088. 'type' => 'selectize',
  2089. 'size' => 'large',
  2090. 'label' => 'PLUGIN_ADMIN.FALLBACK_TYPES',
  2091. 'classes' => 'fancy',
  2092. 'validate' => [
  2093. 'type' => 'commalist'
  2094. ],
  2095. 'name' => 'system.media.allowed_fallback_types',
  2096. 'validation' => 'loose'
  2097. ],
  2098. 'system.media.unsupported_inline_types' => [
  2099. 'type' => 'selectize',
  2100. 'size' => 'large',
  2101. 'label' => 'PLUGIN_ADMIN.INLINE_TYPES',
  2102. 'classes' => 'fancy',
  2103. 'validate' => [
  2104. 'type' => 'commalist'
  2105. ],
  2106. 'name' => 'system.media.unsupported_inline_types',
  2107. 'validation' => 'loose'
  2108. ],
  2109. 'system.session_section' => [
  2110. 'type' => 'section',
  2111. 'underline' => true,
  2112. 'name' => 'system.session_section',
  2113. 'validation' => 'loose'
  2114. ],
  2115. 'system.session' => [
  2116. 'type' => 'tab',
  2117. 'name' => 'system.session',
  2118. 'validation' => 'loose'
  2119. ],
  2120. 'system.session.enabled' => [
  2121. 'type' => 'hidden',
  2122. 'label' => 'PLUGIN_ADMIN.ENABLED',
  2123. 'highlight' => 1,
  2124. 'options' => [
  2125. 1 => 'PLUGIN_ADMIN.YES',
  2126. 0 => 'PLUGIN_ADMIN.NO'
  2127. ],
  2128. 'default' => true,
  2129. 'validate' => [
  2130. 'type' => 'bool'
  2131. ],
  2132. 'name' => 'system.session.enabled',
  2133. 'validation' => 'loose'
  2134. ],
  2135. 'system.session.initialize' => [
  2136. 'type' => 'toggle',
  2137. 'label' => 'PLUGIN_ADMIN.SESSION_INITIALIZE',
  2138. 'highlight' => 1,
  2139. 'options' => [
  2140. 1 => 'PLUGIN_ADMIN.YES',
  2141. 0 => 'PLUGIN_ADMIN.NO'
  2142. ],
  2143. 'default' => true,
  2144. 'validate' => [
  2145. 'type' => 'bool'
  2146. ],
  2147. 'name' => 'system.session.initialize',
  2148. 'validation' => 'loose'
  2149. ],
  2150. 'system.session.timeout' => [
  2151. 'type' => 'text',
  2152. 'size' => 'small',
  2153. 'append' => 'GRAV.NICETIME.SECOND_PLURAL',
  2154. 'label' => 'PLUGIN_ADMIN.TIMEOUT',
  2155. 'validate' => [
  2156. 'type' => 'number',
  2157. 'min' => 0
  2158. ],
  2159. 'name' => 'system.session.timeout',
  2160. 'validation' => 'loose'
  2161. ],
  2162. 'system.session.name' => [
  2163. 'type' => 'text',
  2164. 'size' => 'small',
  2165. 'label' => 'PLUGIN_ADMIN.NAME',
  2166. 'name' => 'system.session.name',
  2167. 'validation' => 'loose'
  2168. ],
  2169. 'system.session.uniqueness' => [
  2170. 'type' => 'select',
  2171. 'size' => 'medium',
  2172. 'label' => 'PLUGIN_ADMIN.SESSION_UNIQUENESS',
  2173. 'highlight' => 'path',
  2174. 'default' => 'path',
  2175. 'options' => [
  2176. 'path' => 'Grav\'s root file path',
  2177. 'salt' => 'Grav\'s random security salt'
  2178. ],
  2179. 'name' => 'system.session.uniqueness',
  2180. 'validation' => 'loose'
  2181. ],
  2182. 'system.session.secure' => [
  2183. 'type' => 'toggle',
  2184. 'label' => 'PLUGIN_ADMIN.SESSION_SECURE',
  2185. 'highlight' => 1,
  2186. 'options' => [
  2187. 1 => 'PLUGIN_ADMIN.YES',
  2188. 0 => 'PLUGIN_ADMIN.NO'
  2189. ],
  2190. 'default' => false,
  2191. 'validate' => [
  2192. 'type' => 'bool'
  2193. ],
  2194. 'name' => 'system.session.secure',
  2195. 'validation' => 'loose'
  2196. ],
  2197. 'system.session.httponly' => [
  2198. 'type' => 'toggle',
  2199. 'label' => 'PLUGIN_ADMIN.SESSION_HTTPONLY',
  2200. 'highlight' => 1,
  2201. 'options' => [
  2202. 1 => 'PLUGIN_ADMIN.YES',
  2203. 0 => 'PLUGIN_ADMIN.NO'
  2204. ],
  2205. 'default' => true,
  2206. 'validate' => [
  2207. 'type' => 'bool'
  2208. ],
  2209. 'name' => 'system.session.httponly',
  2210. 'validation' => 'loose'
  2211. ],
  2212. 'system.session.path' => [
  2213. 'type' => 'text',
  2214. 'size' => 'small',
  2215. 'label' => 'PLUGIN_ADMIN.SESSION_PATH',
  2216. 'name' => 'system.session.path',
  2217. 'validation' => 'loose'
  2218. ],
  2219. 'system.session.split' => [
  2220. 'type' => 'toggle',
  2221. 'label' => 'PLUGIN_ADMIN.SESSION_SPLIT',
  2222. 'highlight' => 1,
  2223. 'options' => [
  2224. 1 => 'PLUGIN_ADMIN.YES',
  2225. 0 => 'PLUGIN_ADMIN.NO'
  2226. ],
  2227. 'default' => true,
  2228. 'validate' => [
  2229. 'type' => 'bool'
  2230. ],
  2231. 'name' => 'system.session.split',
  2232. 'validation' => 'loose'
  2233. ],
  2234. 'system.advanced_section' => [
  2235. 'type' => 'section',
  2236. 'underline' => true,
  2237. 'name' => 'system.advanced_section',
  2238. 'validation' => 'loose'
  2239. ],
  2240. 'system.gpm' => [
  2241. 'type' => '_parent',
  2242. 'name' => 'system.gpm',
  2243. 'form_field' => false
  2244. ],
  2245. 'system.gpm.releases' => [
  2246. 'type' => 'toggle',
  2247. 'label' => 'PLUGIN_ADMIN.GPM_RELEASES',
  2248. 'highlight' => 'stable',
  2249. 'options' => [
  2250. 'stable' => 'PLUGIN_ADMIN.STABLE',
  2251. 'testing' => 'PLUGIN_ADMIN.TESTING'
  2252. ],
  2253. 'name' => 'system.gpm.releases',
  2254. 'validation' => 'loose'
  2255. ],
  2256. 'system.gpm.proxy_url' => [
  2257. 'type' => 'text',
  2258. 'size' => 'medium',
  2259. 'label' => 'PLUGIN_ADMIN.PROXY_URL',
  2260. 'name' => 'system.gpm.proxy_url',
  2261. 'validation' => 'loose'
  2262. ],
  2263. 'system.gpm.method' => [
  2264. 'type' => 'toggle',
  2265. 'label' => 'PLUGIN_ADMIN.GPM_METHOD',
  2266. 'highlight' => 'auto',
  2267. 'options' => [
  2268. 'auto' => 'PLUGIN_ADMIN.AUTO',
  2269. 'fopen' => 'PLUGIN_ADMIN.FOPEN',
  2270. 'curl' => 'PLUGIN_ADMIN.CURL'
  2271. ],
  2272. 'name' => 'system.gpm.method',
  2273. 'validation' => 'loose'
  2274. ],
  2275. 'system.gpm.official_gpm_only' => [
  2276. 'type' => 'toggle',
  2277. 'label' => 'PLUGIN_ADMIN.GPM_OFFICIAL_ONLY',
  2278. 'highlight' => 1,
  2279. 'options' => [
  2280. 1 => 'PLUGIN_ADMIN.YES',
  2281. 0 => 'PLUGIN_ADMIN.NO'
  2282. ],
  2283. 'default' => true,
  2284. 'validate' => [
  2285. 'type' => 'bool'
  2286. ],
  2287. 'name' => 'system.gpm.official_gpm_only',
  2288. 'validation' => 'loose'
  2289. ],
  2290. 'system.gpm.verify_peer' => [
  2291. 'type' => 'toggle',
  2292. 'label' => 'PLUGIN_ADMIN.GPM_VERIFY_PEER',
  2293. 'highlight' => 1,
  2294. 'options' => [
  2295. 1 => 'PLUGIN_ADMIN.YES',
  2296. 0 => 'PLUGIN_ADMIN.NO'
  2297. ],
  2298. 'validate' => [
  2299. 'type' => 'bool'
  2300. ],
  2301. 'name' => 'system.gpm.verify_peer',
  2302. 'validation' => 'loose'
  2303. ],
  2304. 'system.reverse_proxy_setup' => [
  2305. 'type' => 'toggle',
  2306. 'label' => 'PLUGIN_ADMIN.REVERSE_PROXY',
  2307. 'highlight' => 0,
  2308. 'options' => [
  2309. 1 => 'PLUGIN_ADMIN.YES',
  2310. 0 => 'PLUGIN_ADMIN.NO'
  2311. ],
  2312. 'validate' => [
  2313. 'type' => 'bool'
  2314. ],
  2315. 'name' => 'system.reverse_proxy_setup',
  2316. 'validation' => 'loose'
  2317. ],
  2318. 'system.username_regex' => [
  2319. 'type' => 'text',
  2320. 'size' => 'large',
  2321. 'label' => 'PLUGIN_ADMIN.USERNAME_REGEX',
  2322. 'name' => 'system.username_regex',
  2323. 'validation' => 'loose'
  2324. ],
  2325. 'system.pwd_regex' => [
  2326. 'type' => 'text',
  2327. 'size' => 'large',
  2328. 'label' => 'PLUGIN_ADMIN.PWD_REGEX',
  2329. 'name' => 'system.pwd_regex',
  2330. 'validation' => 'loose'
  2331. ],
  2332. 'system.intl_enabled' => [
  2333. 'type' => 'toggle',
  2334. 'label' => 'PLUGIN_ADMIN.INTL_ENABLED',
  2335. 'highlight' => 1,
  2336. 'options' => [
  2337. 1 => 'PLUGIN_ADMIN.YES',
  2338. 0 => 'PLUGIN_ADMIN.NO'
  2339. ],
  2340. 'validate' => [
  2341. 'type' => 'bool'
  2342. ],
  2343. 'name' => 'system.intl_enabled',
  2344. 'validation' => 'loose'
  2345. ],
  2346. 'system.wrapped_site' => [
  2347. 'type' => 'toggle',
  2348. 'label' => 'PLUGIN_ADMIN.WRAPPED_SITE',
  2349. 'highlight' => 0,
  2350. 'options' => [
  2351. 1 => 'PLUGIN_ADMIN.YES',
  2352. 0 => 'PLUGIN_ADMIN.NO'
  2353. ],
  2354. 'validate' => [
  2355. 'type' => 'bool'
  2356. ],
  2357. 'name' => 'system.wrapped_site',
  2358. 'validation' => 'loose'
  2359. ],
  2360. 'system.absolute_urls' => [
  2361. 'type' => 'toggle',
  2362. 'label' => 'PLUGIN_ADMIN.ABSOLUTE_URLS',
  2363. 'highlight' => 0,
  2364. 'options' => [
  2365. 1 => 'PLUGIN_ADMIN.YES',
  2366. 0 => 'PLUGIN_ADMIN.NO'
  2367. ],
  2368. 'validate' => [
  2369. 'type' => 'bool'
  2370. ],
  2371. 'name' => 'system.absolute_urls',
  2372. 'validation' => 'loose'
  2373. ],
  2374. 'system.param_sep' => [
  2375. 'type' => 'select',
  2376. 'size' => 'medium',
  2377. 'label' => 'PLUGIN_ADMIN.PARAMETER_SEPARATOR',
  2378. 'classes' => 'fancy',
  2379. 'default' => '',
  2380. 'options' => [
  2381. ':' => ': (default)',
  2382. ';' => '; (for Apache running on Windows)'
  2383. ],
  2384. 'name' => 'system.param_sep',
  2385. 'validation' => 'loose'
  2386. ],
  2387. 'system.force_ssl' => [
  2388. 'type' => 'toggle',
  2389. 'label' => 'PLUGIN_ADMIN.FORCE_SSL',
  2390. 'highlight' => 0,
  2391. 'options' => [
  2392. 1 => 'PLUGIN_ADMIN.YES',
  2393. 0 => 'PLUGIN_ADMIN.NO'
  2394. ],
  2395. 'validate' => [
  2396. 'type' => 'bool'
  2397. ],
  2398. 'name' => 'system.force_ssl',
  2399. 'validation' => 'loose'
  2400. ],
  2401. 'system.force_lowercase_urls' => [
  2402. 'type' => 'toggle',
  2403. 'label' => 'PLUGIN_ADMIN.FORCE_LOWERCASE_URLS',
  2404. 'highlight' => 1,
  2405. 'default' => 1,
  2406. 'options' => [
  2407. 1 => 'PLUGIN_ADMIN.YES',
  2408. 0 => 'PLUGIN_ADMIN.NO'
  2409. ],
  2410. 'validate' => [
  2411. 'type' => 'bool'
  2412. ],
  2413. 'name' => 'system.force_lowercase_urls',
  2414. 'validation' => 'loose'
  2415. ],
  2416. 'system.custom_base_url' => [
  2417. 'type' => 'text',
  2418. 'size' => 'medium',
  2419. 'label' => 'PLUGIN_ADMIN.CUSTOM_BASE_URL',
  2420. 'name' => 'system.custom_base_url',
  2421. 'validation' => 'loose'
  2422. ],
  2423. 'system.http_x_forwarded' => [
  2424. 'type' => '_parent',
  2425. 'name' => 'system.http_x_forwarded',
  2426. 'form_field' => false
  2427. ],
  2428. 'system.http_x_forwarded.protocol' => [
  2429. 'type' => 'toggle',
  2430. 'label' => 'HTTP_X_FORWARDED_PROTO Enabled',
  2431. 'highlight' => 1,
  2432. 'default' => 1,
  2433. 'options' => [
  2434. 1 => 'PLUGIN_ADMIN.YES',
  2435. 0 => 'PLUGIN_ADMIN.NO'
  2436. ],
  2437. 'validate' => [
  2438. 'type' => 'bool'
  2439. ],
  2440. 'name' => 'system.http_x_forwarded.protocol',
  2441. 'validation' => 'loose'
  2442. ],
  2443. 'system.http_x_forwarded.host' => [
  2444. 'type' => 'toggle',
  2445. 'label' => 'HTTP_X_FORWARDED_HOST Enabled',
  2446. 'highlight' => 0,
  2447. 'default' => 0,
  2448. 'options' => [
  2449. 1 => 'PLUGIN_ADMIN.YES',
  2450. 0 => 'PLUGIN_ADMIN.NO'
  2451. ],
  2452. 'validate' => [
  2453. 'type' => 'bool'
  2454. ],
  2455. 'name' => 'system.http_x_forwarded.host',
  2456. 'validation' => 'loose'
  2457. ],
  2458. 'system.http_x_forwarded.port' => [
  2459. 'type' => 'toggle',
  2460. 'label' => 'HTTP_X_FORWARDED_PORT Enabled',
  2461. 'highlight' => 1,
  2462. 'default' => 1,
  2463. 'options' => [
  2464. 1 => 'PLUGIN_ADMIN.YES',
  2465. 0 => 'PLUGIN_ADMIN.NO'
  2466. ],
  2467. 'validate' => [
  2468. 'type' => 'bool'
  2469. ],
  2470. 'name' => 'system.http_x_forwarded.port',
  2471. 'validation' => 'loose'
  2472. ],
  2473. 'system.http_x_forwarded.ip' => [
  2474. 'type' => 'toggle',
  2475. 'label' => 'HTTP_X_FORWARDED IP Enabled',
  2476. 'highlight' => 1,
  2477. 'default' => 1,
  2478. 'options' => [
  2479. 1 => 'PLUGIN_ADMIN.YES',
  2480. 0 => 'PLUGIN_ADMIN.NO'
  2481. ],
  2482. 'validate' => [
  2483. 'type' => 'bool'
  2484. ],
  2485. 'name' => 'system.http_x_forwarded.ip',
  2486. 'validation' => 'loose'
  2487. ],
  2488. 'system.accounts' => [
  2489. 'type' => '_parent',
  2490. 'name' => 'system.accounts',
  2491. 'form_field' => false
  2492. ],
  2493. 'system.accounts.type' => [
  2494. 'type' => 'hidden',
  2495. 'name' => 'system.accounts.type',
  2496. 'validation' => 'loose'
  2497. ],
  2498. 'system.accounts.storage' => [
  2499. 'type' => 'hidden',
  2500. 'name' => 'system.accounts.storage',
  2501. 'validation' => 'loose'
  2502. ],
  2503. 'system.strict_mode' => [
  2504. 'type' => '_parent',
  2505. 'name' => 'system.strict_mode',
  2506. 'form_field' => false
  2507. ],
  2508. 'system.strict_mode.yaml_compat' => [
  2509. 'type' => 'toggle',
  2510. 'label' => 'PLUGIN_ADMIN.STRICT_YAML_COMPAT',
  2511. 'highlight' => 1,
  2512. 'default' => 1,
  2513. 'options' => [
  2514. 1 => 'PLUGIN_ADMIN.YES',
  2515. 0 => 'PLUGIN_ADMIN.NO'
  2516. ],
  2517. 'validate' => [
  2518. 'type' => 'bool'
  2519. ],
  2520. 'name' => 'system.strict_mode.yaml_compat',
  2521. 'validation' => 'loose'
  2522. ],
  2523. 'system.strict_mode.twig_compat' => [
  2524. 'type' => 'toggle',
  2525. 'label' => 'PLUGIN_ADMIN.STRICT_TWIG_COMPAT',
  2526. 'highlight' => 1,
  2527. 'default' => 1,
  2528. 'options' => [
  2529. 1 => 'PLUGIN_ADMIN.YES',
  2530. 0 => 'PLUGIN_ADMIN.NO'
  2531. ],
  2532. 'validate' => [
  2533. 'type' => 'bool'
  2534. ],
  2535. 'name' => 'system.strict_mode.twig_compat',
  2536. 'validation' => 'loose'
  2537. ],
  2538. 'system.advanced' => [
  2539. 'type' => 'tab',
  2540. 'name' => 'system.advanced',
  2541. 'validation' => 'loose'
  2542. ],
  2543. 'system.system_tabs' => [
  2544. 'type' => 'tabs',
  2545. 'classes' => 'side-tabs',
  2546. 'name' => 'system.system_tabs',
  2547. 'validation' => 'loose'
  2548. ],
  2549. 'plugins.admin' => [
  2550. 'type' => '_root',
  2551. 'form_field' => false,
  2552. 'form' => [
  2553. 'validation' => 'loose'
  2554. ]
  2555. ],
  2556. 'plugins' => [
  2557. 'type' => '_parent',
  2558. 'name' => 'plugins',
  2559. 'form_field' => false
  2560. ],
  2561. 'plugins.admin.Basics' => [
  2562. 'type' => 'section',
  2563. 'underline' => false,
  2564. 'name' => 'plugins.admin.Basics',
  2565. 'validation' => 'loose'
  2566. ],
  2567. 'plugins.admin.enabled' => [
  2568. 'type' => 'hidden',
  2569. 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
  2570. 'highlight' => 1,
  2571. 'default' => 0,
  2572. 'options' => [
  2573. 1 => 'PLUGIN_ADMIN.ENABLED',
  2574. 0 => 'PLUGIN_ADMIN.DISABLED'
  2575. ],
  2576. 'validate' => [
  2577. 'type' => 'bool'
  2578. ],
  2579. 'name' => 'plugins.admin.enabled',
  2580. 'validation' => 'loose'
  2581. ],
  2582. 'plugins.admin.cache_enabled' => [
  2583. 'type' => 'toggle',
  2584. 'label' => 'PLUGIN_ADMIN.ADMIN_CACHING',
  2585. 'highlight' => 0,
  2586. 'options' => [
  2587. 1 => 'PLUGIN_ADMIN.YES',
  2588. 0 => 'PLUGIN_ADMIN.NO'
  2589. ],
  2590. 'validate' => [
  2591. 'type' => 'bool'
  2592. ],
  2593. 'name' => 'plugins.admin.cache_enabled',
  2594. 'validation' => 'loose'
  2595. ],
  2596. 'plugins.admin.twofa_enabled' => [
  2597. 'type' => 'toggle',
  2598. 'label' => 'PLUGIN_LOGIN.2FA_TITLE',
  2599. 'default' => 1,
  2600. 'highlight' => 1,
  2601. 'options' => [
  2602. 1 => 'PLUGIN_ADMIN.YES',
  2603. 0 => 'PLUGIN_ADMIN.NO'
  2604. ],
  2605. 'validate' => [
  2606. 'type' => 'bool'
  2607. ],
  2608. 'name' => 'plugins.admin.twofa_enabled',
  2609. 'validation' => 'loose'
  2610. ],
  2611. 'plugins.admin.route' => [
  2612. 'type' => 'text',
  2613. 'label' => 'Administrator path',
  2614. 'size' => 'medium',
  2615. 'name' => 'plugins.admin.route',
  2616. 'validation' => 'loose'
  2617. ],
  2618. 'plugins.admin.logo_text' => [
  2619. 'type' => 'text',
  2620. 'label' => 'Logo text',
  2621. 'size' => 'medium',
  2622. 'name' => 'plugins.admin.logo_text',
  2623. 'validation' => 'loose'
  2624. ],
  2625. 'plugins.admin.content_padding' => [
  2626. 'type' => 'toggle',
  2627. 'label' => 'PLUGIN_ADMIN.CONTENT_PADDING',
  2628. 'highlight' => 1,
  2629. 'options' => [
  2630. 1 => 'PLUGIN_ADMIN.YES',
  2631. 0 => 'PLUGIN_ADMIN.NO'
  2632. ],
  2633. 'validate' => [
  2634. 'type' => 'bool'
  2635. ],
  2636. 'name' => 'plugins.admin.content_padding',
  2637. 'validation' => 'loose'
  2638. ],
  2639. 'plugins.admin.body_classes' => [
  2640. 'type' => 'text',
  2641. 'label' => 'Body classes',
  2642. 'size' => 'medium',
  2643. 'name' => 'plugins.admin.body_classes',
  2644. 'validation' => 'loose'
  2645. ],
  2646. 'plugins.admin.sidebar' => [
  2647. 'type' => '_parent',
  2648. 'name' => 'plugins.admin.sidebar',
  2649. 'form_field' => false
  2650. ],
  2651. 'plugins.admin.sidebar.activate' => [
  2652. 'type' => 'select',
  2653. 'label' => 'Sidebar Activation',
  2654. 'size' => 'small',
  2655. 'default' => 'tab',
  2656. 'options' => [
  2657. 'tab' => 'Tab',
  2658. 'hover' => 'Hover'
  2659. ],
  2660. 'name' => 'plugins.admin.sidebar.activate',
  2661. 'validation' => 'loose'
  2662. ],
  2663. 'plugins.admin.sidebar.hover_delay' => [
  2664. 'type' => 'text',
  2665. 'size' => 'x-small',
  2666. 'append' => 'millseconds',
  2667. 'label' => 'Hover delay',
  2668. 'default' => 500,
  2669. 'validate' => [
  2670. 'type' => 'number',
  2671. 'min' => 1
  2672. ],
  2673. 'name' => 'plugins.admin.sidebar.hover_delay',
  2674. 'validation' => 'loose'
  2675. ],
  2676. 'plugins.admin.sidebar.size' => [
  2677. 'type' => 'select',
  2678. 'label' => 'Sidebar Size',
  2679. 'size' => 'medium',
  2680. 'default' => 'auto',
  2681. 'options' => [
  2682. 'auto' => 'Automatic width',
  2683. 'small' => 'Small width'
  2684. ],
  2685. 'name' => 'plugins.admin.sidebar.size',
  2686. 'validation' => 'loose'
  2687. ],
  2688. 'plugins.admin.theme' => [
  2689. 'type' => 'hidden',
  2690. 'label' => 'Theme',
  2691. 'default' => 'grav',
  2692. 'name' => 'plugins.admin.theme',
  2693. 'validation' => 'loose'
  2694. ],
  2695. 'plugins.admin.edit_mode' => [
  2696. 'type' => 'select',
  2697. 'label' => 'Edit mode',
  2698. 'size' => 'small',
  2699. 'default' => 'normal',
  2700. 'options' => [
  2701. 'normal' => 'Normal',
  2702. 'expert' => 'Expert'
  2703. ],
  2704. 'name' => 'plugins.admin.edit_mode',
  2705. 'validation' => 'loose'
  2706. ],
  2707. 'plugins.admin.frontend_preview_target' => [
  2708. 'type' => 'select',
  2709. 'label' => 'Preview pages target',
  2710. 'size' => 'medium',
  2711. 'default' => 'inline',
  2712. 'options' => [
  2713. 'inline' => 'Inline in Admin',
  2714. '_blank' => 'New tab',
  2715. '_self' => 'Current tab'
  2716. ],
  2717. 'name' => 'plugins.admin.frontend_preview_target',
  2718. 'validation' => 'loose'
  2719. ],
  2720. 'plugins.admin.pages' => [
  2721. 'type' => '_parent',
  2722. 'name' => 'plugins.admin.pages',
  2723. 'form_field' => false
  2724. ],
  2725. 'plugins.admin.pages.show_parents' => [
  2726. 'type' => 'select',
  2727. 'size' => 'medium',
  2728. 'label' => 'Parent dropdown',
  2729. 'highlight' => 1,
  2730. 'options' => [
  2731. 'both' => 'Show slug and folder',
  2732. 'folder' => 'Show folder',
  2733. 'fullpath' => 'Show fullpath'
  2734. ],
  2735. 'name' => 'plugins.admin.pages.show_parents',
  2736. 'validation' => 'loose'
  2737. ],
  2738. 'plugins.admin.pages.parents_levels' => [
  2739. 'type' => 'text',
  2740. 'label' => 'Parents Levels',
  2741. 'size' => 'small',
  2742. 'name' => 'plugins.admin.pages.parents_levels',
  2743. 'validation' => 'loose'
  2744. ],
  2745. 'plugins.admin.pages.show_modular' => [
  2746. 'type' => 'toggle',
  2747. 'label' => 'Modular parents',
  2748. 'highlight' => 1,
  2749. 'default' => 1,
  2750. 'options' => [
  2751. 1 => 'PLUGIN_ADMIN.ENABLED',
  2752. 0 => 'PLUGIN_ADMIN.DISABLED'
  2753. ],
  2754. 'validate' => [
  2755. 'type' => 'bool'
  2756. ],
  2757. 'name' => 'plugins.admin.pages.show_modular',
  2758. 'validation' => 'loose'
  2759. ],
  2760. 'plugins.admin.google_fonts' => [
  2761. 'type' => 'toggle',
  2762. 'label' => 'Use Google Fonts',
  2763. 'highlight' => 0,
  2764. 'default' => 0,
  2765. 'options' => [
  2766. 1 => 'PLUGIN_ADMIN.ENABLED',
  2767. 0 => 'PLUGIN_ADMIN.DISABLED'
  2768. ],
  2769. 'validate' => [
  2770. 'type' => 'bool'
  2771. ],
  2772. 'name' => 'plugins.admin.google_fonts',
  2773. 'validation' => 'loose'
  2774. ],
  2775. 'plugins.admin.show_beta_msg' => [
  2776. 'type' => 'hidden',
  2777. 'name' => 'plugins.admin.show_beta_msg',
  2778. 'validation' => 'loose'
  2779. ],
  2780. 'plugins.admin.show_github_msg' => [
  2781. 'type' => 'toggle',
  2782. 'label' => 'Show GitHub Link',
  2783. 'highlight' => 1,
  2784. 'default' => 1,
  2785. 'options' => [
  2786. 1 => 'PLUGIN_ADMIN.ENABLED',
  2787. 0 => 'PLUGIN_ADMIN.DISABLED'
  2788. ],
  2789. 'validate' => [
  2790. 'type' => 'bool'
  2791. ],
  2792. 'name' => 'plugins.admin.show_github_msg',
  2793. 'validation' => 'loose'
  2794. ],
  2795. 'plugins.admin.pages_list_display_field' => [
  2796. 'type' => 'text',
  2797. 'size' => 'small',
  2798. 'label' => 'Pages List Display Field',
  2799. 'name' => 'plugins.admin.pages_list_display_field',
  2800. 'validation' => 'loose'
  2801. ],
  2802. 'plugins.admin.enable_auto_updates_check' => [
  2803. 'type' => 'toggle',
  2804. 'label' => 'Automatically check for updates',
  2805. 'highlight' => 1,
  2806. 'default' => 1,
  2807. 'options' => [
  2808. 1 => 'PLUGIN_ADMIN.ENABLED',
  2809. 0 => 'PLUGIN_ADMIN.DISABLED'
  2810. ],
  2811. 'validate' => [
  2812. 'type' => 'bool'
  2813. ],
  2814. 'name' => 'plugins.admin.enable_auto_updates_check',
  2815. 'validation' => 'loose'
  2816. ],
  2817. 'plugins.admin.session' => [
  2818. 'type' => '_parent',
  2819. 'name' => 'plugins.admin.session',
  2820. 'form_field' => false
  2821. ],
  2822. 'plugins.admin.session.timeout' => [
  2823. 'type' => 'text',
  2824. 'size' => 'small',
  2825. 'label' => 'Session Timeout',
  2826. 'append' => 'secs',
  2827. 'validate' => [
  2828. 'type' => 'number',
  2829. 'min' => 1
  2830. ],
  2831. 'name' => 'plugins.admin.session.timeout',
  2832. 'validation' => 'loose'
  2833. ],
  2834. 'plugins.admin.warnings' => [
  2835. 'type' => '_parent',
  2836. 'name' => 'plugins.admin.warnings',
  2837. 'form_field' => false
  2838. ],
  2839. 'plugins.admin.warnings.delete_page' => [
  2840. 'type' => 'toggle',
  2841. 'label' => 'Warn on page delete',
  2842. 'highlight' => 1,
  2843. 'default' => 1,
  2844. 'options' => [
  2845. 1 => 'PLUGIN_ADMIN.ENABLED',
  2846. 0 => 'PLUGIN_ADMIN.DISABLED'
  2847. ],
  2848. 'validate' => [
  2849. 'type' => 'bool'
  2850. ],
  2851. 'name' => 'plugins.admin.warnings.delete_page',
  2852. 'validation' => 'loose'
  2853. ],
  2854. 'plugins.admin.warnings.secure_delete' => [
  2855. 'type' => 'toggle',
  2856. 'label' => 'Secure Delete',
  2857. 'highlight' => 1,
  2858. 'default' => 1,
  2859. 'options' => [
  2860. 1 => 'PLUGIN_ADMIN.ENABLED',
  2861. 0 => 'PLUGIN_ADMIN.DISABLED'
  2862. ],
  2863. 'validate' => [
  2864. 'type' => 'bool'
  2865. ],
  2866. 'name' => 'plugins.admin.warnings.secure_delete',
  2867. 'validation' => 'loose'
  2868. ],
  2869. 'plugins.admin.hide_page_types' => [
  2870. 'type' => 'array',
  2871. 'label' => 'Hide page types in Admin',
  2872. 'value_only' => true,
  2873. 'name' => 'plugins.admin.hide_page_types',
  2874. 'validation' => 'loose'
  2875. ],
  2876. 'plugins.admin.hide_modular_page_types' => [
  2877. 'type' => 'array',
  2878. 'label' => 'Hide modular page types in Admin',
  2879. 'value_only' => true,
  2880. 'name' => 'plugins.admin.hide_modular_page_types',
  2881. 'validation' => 'loose'
  2882. ],
  2883. 'plugins.admin.log_viewer_files' => [
  2884. 'type' => 'selectize',
  2885. 'size' => 'medium',
  2886. 'label' => 'PLUGIN_ADMIN.LOG_VIEWER_FILES',
  2887. 'classes' => 'fancy',
  2888. 'validate' => [
  2889. 'type' => 'commalist'
  2890. ],
  2891. 'name' => 'plugins.admin.log_viewer_files',
  2892. 'validation' => 'loose'
  2893. ],
  2894. 'plugins.admin.MediaResize' => [
  2895. 'type' => 'section',
  2896. 'underline' => true,
  2897. 'name' => 'plugins.admin.MediaResize',
  2898. 'validation' => 'loose'
  2899. ],
  2900. 'plugins.admin.MediaResizeNote' => [
  2901. 'type' => 'spacer',
  2902. 'text' => 'PLUGIN_ADMIN.PAGEMEDIA_RESIZER',
  2903. 'markdown' => true,
  2904. 'name' => 'plugins.admin.MediaResizeNote',
  2905. 'validation' => 'loose'
  2906. ],
  2907. 'plugins.admin.pagemedia' => [
  2908. 'type' => '_parent',
  2909. 'name' => 'plugins.admin.pagemedia',
  2910. 'form_field' => false
  2911. ],
  2912. 'plugins.admin.pagemedia.resize_width' => [
  2913. 'type' => 'number',
  2914. 'size' => 'x-small',
  2915. 'append' => 'pixels',
  2916. 'label' => 'Resize Width',
  2917. 'default' => 0,
  2918. 'validate' => [
  2919. 'type' => 'number'
  2920. ],
  2921. 'name' => 'plugins.admin.pagemedia.resize_width',
  2922. 'validation' => 'loose'
  2923. ],
  2924. 'plugins.admin.pagemedia.resize_height' => [
  2925. 'type' => 'number',
  2926. 'size' => 'x-small',
  2927. 'append' => 'pixels',
  2928. 'label' => 'Resize Height',
  2929. 'default' => 0,
  2930. 'validate' => [
  2931. 'type' => 'number'
  2932. ],
  2933. 'name' => 'plugins.admin.pagemedia.resize_height',
  2934. 'validation' => 'loose'
  2935. ],
  2936. 'plugins.admin.pagemedia.res_min_width' => [
  2937. 'type' => 'number',
  2938. 'size' => 'x-small',
  2939. 'append' => 'pixels',
  2940. 'label' => 'Resolution Min Width',
  2941. 'default' => 0,
  2942. 'validate' => [
  2943. 'type' => 'number'
  2944. ],
  2945. 'name' => 'plugins.admin.pagemedia.res_min_width',
  2946. 'validation' => 'loose'
  2947. ],
  2948. 'plugins.admin.pagemedia.res_min_height' => [
  2949. 'type' => 'number',
  2950. 'size' => 'x-small',
  2951. 'append' => 'pixels',
  2952. 'label' => 'Resolution Min Height',
  2953. 'default' => 0,
  2954. 'validate' => [
  2955. 'type' => 'number'
  2956. ],
  2957. 'name' => 'plugins.admin.pagemedia.res_min_height',
  2958. 'validation' => 'loose'
  2959. ],
  2960. 'plugins.admin.pagemedia.res_max_width' => [
  2961. 'type' => 'number',
  2962. 'size' => 'x-small',
  2963. 'append' => 'pixels',
  2964. 'label' => 'Resolution Max Width',
  2965. 'default' => 0,
  2966. 'validate' => [
  2967. 'type' => 'number'
  2968. ],
  2969. 'name' => 'plugins.admin.pagemedia.res_max_width',
  2970. 'validation' => 'loose'
  2971. ],
  2972. 'plugins.admin.pagemedia.res_max_height' => [
  2973. 'type' => 'number',
  2974. 'size' => 'x-small',
  2975. 'append' => 'pixels',
  2976. 'label' => 'Resolution Max Height',
  2977. 'default' => 0,
  2978. 'validate' => [
  2979. 'type' => 'number'
  2980. ],
  2981. 'name' => 'plugins.admin.pagemedia.res_max_height',
  2982. 'validation' => 'loose'
  2983. ],
  2984. 'plugins.admin.pagemedia.resize_quality' => [
  2985. 'type' => 'number',
  2986. 'size' => 'x-small',
  2987. 'append' => '0...1',
  2988. 'label' => 'Resize Quality',
  2989. 'default' => 0.8,
  2990. 'validate' => [
  2991. 'type' => 'number',
  2992. 'step' => 0.01
  2993. ],
  2994. 'name' => 'plugins.admin.pagemedia.resize_quality',
  2995. 'validation' => 'loose'
  2996. ],
  2997. 'plugins.admin.Dashboard' => [
  2998. 'type' => 'section',
  2999. 'underline' => true,
  3000. 'name' => 'plugins.admin.Dashboard',
  3001. 'validation' => 'loose'
  3002. ],
  3003. 'plugins.admin.widgets' => [
  3004. 'type' => '_parent',
  3005. 'name' => 'plugins.admin.widgets',
  3006. 'form_field' => false
  3007. ],
  3008. 'plugins.admin.widgets.dashboard-maintenance' => [
  3009. 'type' => 'toggle',
  3010. 'label' => 'Maintenance Widget',
  3011. 'highlight' => 1,
  3012. 'default' => 1,
  3013. 'options' => [
  3014. 1 => 'PLUGIN_ADMIN.ENABLED',
  3015. 0 => 'PLUGIN_ADMIN.DISABLED'
  3016. ],
  3017. 'validate' => [
  3018. 'type' => 'bool'
  3019. ],
  3020. 'name' => 'plugins.admin.widgets.dashboard-maintenance',
  3021. 'validation' => 'loose'
  3022. ],
  3023. 'plugins.admin.widgets.dashboard-statistics' => [
  3024. 'type' => 'toggle',
  3025. 'label' => 'Statistics Widget',
  3026. 'highlight' => 1,
  3027. 'default' => 1,
  3028. 'options' => [
  3029. 1 => 'PLUGIN_ADMIN.ENABLED',
  3030. 0 => 'PLUGIN_ADMIN.DISABLED'
  3031. ],
  3032. 'validate' => [
  3033. 'type' => 'bool'
  3034. ],
  3035. 'name' => 'plugins.admin.widgets.dashboard-statistics',
  3036. 'validation' => 'loose'
  3037. ],
  3038. 'plugins.admin.widgets.dashboard-notifications' => [
  3039. 'type' => 'toggle',
  3040. 'label' => 'Notifications Feed Widget',
  3041. 'highlight' => 1,
  3042. 'default' => 1,
  3043. 'options' => [
  3044. 1 => 'PLUGIN_ADMIN.ENABLED',
  3045. 0 => 'PLUGIN_ADMIN.DISABLED'
  3046. ],
  3047. 'validate' => [
  3048. 'type' => 'bool'
  3049. ],
  3050. 'name' => 'plugins.admin.widgets.dashboard-notifications',
  3051. 'validation' => 'loose'
  3052. ],
  3053. 'plugins.admin.widgets.dashboard-feed' => [
  3054. 'type' => 'toggle',
  3055. 'label' => 'News Feed Widget',
  3056. 'highlight' => 1,
  3057. 'default' => 1,
  3058. 'options' => [
  3059. 1 => 'PLUGIN_ADMIN.ENABLED',
  3060. 0 => 'PLUGIN_ADMIN.DISABLED'
  3061. ],
  3062. 'validate' => [
  3063. 'type' => 'bool'
  3064. ],
  3065. 'name' => 'plugins.admin.widgets.dashboard-feed',
  3066. 'validation' => 'loose'
  3067. ],
  3068. 'plugins.admin.widgets.dashboard-pages' => [
  3069. 'type' => 'toggle',
  3070. 'label' => 'Latest Pages Widget',
  3071. 'highlight' => 1,
  3072. 'default' => 1,
  3073. 'options' => [
  3074. 1 => 'PLUGIN_ADMIN.ENABLED',
  3075. 0 => 'PLUGIN_ADMIN.DISABLED'
  3076. ],
  3077. 'validate' => [
  3078. 'type' => 'bool'
  3079. ],
  3080. 'name' => 'plugins.admin.widgets.dashboard-pages',
  3081. 'validation' => 'loose'
  3082. ],
  3083. 'plugins.admin.Notifications' => [
  3084. 'type' => 'section',
  3085. 'underline' => true,
  3086. 'name' => 'plugins.admin.Notifications',
  3087. 'validation' => 'loose'
  3088. ],
  3089. 'plugins.admin.notifications' => [
  3090. 'type' => '_parent',
  3091. 'name' => 'plugins.admin.notifications',
  3092. 'form_field' => false
  3093. ],
  3094. 'plugins.admin.notifications.feed' => [
  3095. 'type' => 'toggle',
  3096. 'label' => 'Feed Notifications',
  3097. 'highlight' => 1,
  3098. 'default' => 1,
  3099. 'options' => [
  3100. 1 => 'PLUGIN_ADMIN.ENABLED',
  3101. 0 => 'PLUGIN_ADMIN.DISABLED'
  3102. ],
  3103. 'validate' => [
  3104. 'type' => 'bool'
  3105. ],
  3106. 'name' => 'plugins.admin.notifications.feed',
  3107. 'validation' => 'loose'
  3108. ],
  3109. 'plugins.admin.notifications.dashboard' => [
  3110. 'type' => 'toggle',
  3111. 'label' => 'Dashboard Notifications',
  3112. 'highlight' => 1,
  3113. 'default' => 1,
  3114. 'options' => [
  3115. 1 => 'PLUGIN_ADMIN.ENABLED',
  3116. 0 => 'PLUGIN_ADMIN.DISABLED'
  3117. ],
  3118. 'validate' => [
  3119. 'type' => 'bool'
  3120. ],
  3121. 'name' => 'plugins.admin.notifications.dashboard',
  3122. 'validation' => 'loose'
  3123. ],
  3124. 'plugins.admin.notifications.plugins' => [
  3125. 'type' => 'toggle',
  3126. 'label' => 'Plugins Notifications',
  3127. 'highlight' => 1,
  3128. 'default' => 1,
  3129. 'options' => [
  3130. 1 => 'PLUGIN_ADMIN.ENABLED',
  3131. 0 => 'PLUGIN_ADMIN.DISABLED'
  3132. ],
  3133. 'validate' => [
  3134. 'type' => 'bool'
  3135. ],
  3136. 'name' => 'plugins.admin.notifications.plugins',
  3137. 'validation' => 'loose'
  3138. ],
  3139. 'plugins.admin.notifications.themes' => [
  3140. 'type' => 'toggle',
  3141. 'label' => 'Themes Notifications',
  3142. 'highlight' => 1,
  3143. 'default' => 1,
  3144. 'options' => [
  3145. 1 => 'PLUGIN_ADMIN.ENABLED',
  3146. 0 => 'PLUGIN_ADMIN.DISABLED'
  3147. ],
  3148. 'validate' => [
  3149. 'type' => 'bool'
  3150. ],
  3151. 'name' => 'plugins.admin.notifications.themes',
  3152. 'validation' => 'loose'
  3153. ],
  3154. 'plugins.admin.Popularity' => [
  3155. 'type' => 'section',
  3156. 'underline' => true,
  3157. 'name' => 'plugins.admin.Popularity',
  3158. 'validation' => 'loose'
  3159. ],
  3160. 'plugins.admin.popularity' => [
  3161. 'type' => '_parent',
  3162. 'name' => 'plugins.admin.popularity',
  3163. 'form_field' => false
  3164. ],
  3165. 'plugins.admin.popularity.enabled' => [
  3166. 'type' => 'toggle',
  3167. 'label' => 'Visitor tracking',
  3168. 'highlight' => 1,
  3169. 'default' => 1,
  3170. 'options' => [
  3171. 1 => 'PLUGIN_ADMIN.ENABLED',
  3172. 0 => 'PLUGIN_ADMIN.DISABLED'
  3173. ],
  3174. 'validate' => [
  3175. 'type' => 'bool'
  3176. ],
  3177. 'name' => 'plugins.admin.popularity.enabled',
  3178. 'validation' => 'loose'
  3179. ],
  3180. 'plugins.admin.dashboard' => [
  3181. 'type' => '_parent',
  3182. 'name' => 'plugins.admin.dashboard',
  3183. 'form_field' => false
  3184. ],
  3185. 'plugins.admin.dashboard.days_of_stats' => [
  3186. 'type' => 'text',
  3187. 'label' => 'Days of stats',
  3188. 'append' => 'days',
  3189. 'size' => 'x-small',
  3190. 'default' => 7,
  3191. 'validate' => [
  3192. 'type' => 'int'
  3193. ],
  3194. 'name' => 'plugins.admin.dashboard.days_of_stats',
  3195. 'validation' => 'loose'
  3196. ],
  3197. 'plugins.admin.popularity.ignore' => [
  3198. 'type' => 'array',
  3199. 'label' => 'Ignore',
  3200. 'size' => 'large',
  3201. 'default' => [
  3202. 0 => '/test*',
  3203. 1 => '/modular'
  3204. ],
  3205. 'value_only' => true,
  3206. 'name' => 'plugins.admin.popularity.ignore',
  3207. 'validation' => 'loose'
  3208. ],
  3209. 'plugins.admin.popularity.history' => [
  3210. 'type' => '_parent',
  3211. 'name' => 'plugins.admin.popularity.history',
  3212. 'form_field' => false
  3213. ],
  3214. 'plugins.admin.popularity.history.daily' => [
  3215. 'type' => 'hidden',
  3216. 'label' => 'Daily history',
  3217. 'default' => 30,
  3218. 'name' => 'plugins.admin.popularity.history.daily',
  3219. 'validation' => 'loose'
  3220. ],
  3221. 'plugins.admin.popularity.history.monthly' => [
  3222. 'type' => 'hidden',
  3223. 'label' => 'Monthly history',
  3224. 'default' => 12,
  3225. 'name' => 'plugins.admin.popularity.history.monthly',
  3226. 'validation' => 'loose'
  3227. ],
  3228. 'plugins.admin.popularity.history.visitors' => [
  3229. 'type' => 'hidden',
  3230. 'label' => 'Visitors history',
  3231. 'default' => 20,
  3232. 'name' => 'plugins.admin.popularity.history.visitors',
  3233. 'validation' => 'loose'
  3234. ],
  3235. 'plugins.markdown-notices' => [
  3236. 'type' => '_root',
  3237. 'form_field' => false,
  3238. 'form' => [
  3239. 'validation' => 'strict'
  3240. ]
  3241. ],
  3242. 'plugins.markdown-notices.enabled' => [
  3243. 'type' => 'toggle',
  3244. 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
  3245. 'highlight' => 1,
  3246. 'default' => 0,
  3247. 'options' => [
  3248. 1 => 'PLUGIN_ADMIN.ENABLED',
  3249. 0 => 'PLUGIN_ADMIN.DISABLED'
  3250. ],
  3251. 'validate' => [
  3252. 'type' => 'bool'
  3253. ],
  3254. 'name' => 'plugins.markdown-notices.enabled',
  3255. 'validation' => 'strict'
  3256. ],
  3257. 'plugins.markdown-notices.built_in_css' => [
  3258. 'type' => 'toggle',
  3259. 'label' => 'PLUGIN_MARKDOWN_NOTICES.USE_BUILT_IN_CSS',
  3260. 'highlight' => 1,
  3261. 'default' => 1,
  3262. 'options' => [
  3263. 1 => 'PLUGIN_ADMIN.ENABLED',
  3264. 0 => 'PLUGIN_ADMIN.DISABLED'
  3265. ],
  3266. 'validate' => [
  3267. 'type' => 'bool'
  3268. ],
  3269. 'name' => 'plugins.markdown-notices.built_in_css',
  3270. 'validation' => 'strict'
  3271. ],
  3272. 'plugins.markdown-notices.base_classes' => [
  3273. 'type' => 'selectize',
  3274. 'label' => 'PLUGIN_MARKDOWN_NOTICES.BASE_CLASSES',
  3275. 'size' => 'large',
  3276. 'classes' => 'fancy',
  3277. 'validate' => [
  3278. 'type' => 'string'
  3279. ],
  3280. 'name' => 'plugins.markdown-notices.base_classes',
  3281. 'validation' => 'strict'
  3282. ],
  3283. 'plugins.markdown-notices.level_classes' => [
  3284. 'type' => 'selectize',
  3285. 'label' => 'PLUGIN_MARKDOWN_NOTICES.LEVEL_CLASSES',
  3286. 'size' => 'large',
  3287. 'classes' => 'fancy',
  3288. 'validate' => [
  3289. 'type' => 'commalist'
  3290. ],
  3291. 'name' => 'plugins.markdown-notices.level_classes',
  3292. 'validation' => 'strict'
  3293. ],
  3294. 'plugins.admin-addon-user-manager' => [
  3295. 'type' => '_root',
  3296. 'form_field' => false,
  3297. 'form' => [
  3298. 'validation' => 'strict'
  3299. ]
  3300. ],
  3301. 'plugins.admin-addon-user-manager.enabled' => [
  3302. 'type' => 'toggle',
  3303. 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
  3304. 'highlight' => 1,
  3305. 'default' => 0,
  3306. 'options' => [
  3307. 1 => 'PLUGIN_ADMIN.ENABLED',
  3308. 0 => 'PLUGIN_ADMIN.DISABLED'
  3309. ],
  3310. 'validate' => [
  3311. 'type' => 'bool'
  3312. ],
  3313. 'name' => 'plugins.admin-addon-user-manager.enabled',
  3314. 'validation' => 'strict'
  3315. ],
  3316. 'plugins.admin-addon-user-manager.default_list_style' => [
  3317. 'label' => 'PLUGIN_ADMIN_ADDON_USER_MANAGER.DEFAULT_LIST_STYLE',
  3318. 'type' => 'select',
  3319. 'options' => [
  3320. 'grid' => 'PLUGIN_ADMIN_ADDON_USER_MANAGER.GRID',
  3321. 'list' => 'PLUGIN_ADMIN_ADDON_USER_MANAGER.LIST'
  3322. ],
  3323. 'name' => 'plugins.admin-addon-user-manager.default_list_style',
  3324. 'validation' => 'strict'
  3325. ],
  3326. 'plugins.admin-addon-user-manager.pagination' => [
  3327. 'type' => '_parent',
  3328. 'name' => 'plugins.admin-addon-user-manager.pagination',
  3329. 'form_field' => false
  3330. ],
  3331. 'plugins.admin-addon-user-manager.pagination.per_page' => [
  3332. 'label' => 'PLUGIN_ADMIN_ADDON_USER_MANAGER.USERS_PER_PAGE',
  3333. 'type' => 'select',
  3334. 'options' => [
  3335. 10 => 10,
  3336. 20 => 20,
  3337. 30 => 30,
  3338. 40 => 40,
  3339. 50 => 50,
  3340. 60 => 60,
  3341. 70 => 70,
  3342. 80 => 80,
  3343. 90 => 90,
  3344. 100 => 100
  3345. ],
  3346. 'name' => 'plugins.admin-addon-user-manager.pagination.per_page',
  3347. 'validation' => 'strict'
  3348. ],
  3349. 'plugins.admin-addon-user-manager.custom_permissions' => [
  3350. 'label' => 'PLUGIN_ADMIN_ADDON_USER_MANAGER.CUSTOM_PERMISSIONS',
  3351. 'type' => 'array',
  3352. 'value_only' => true,
  3353. 'name' => 'plugins.admin-addon-user-manager.custom_permissions',
  3354. 'validation' => 'strict'
  3355. ],
  3356. 'plugins.form' => [
  3357. 'type' => '_root',
  3358. 'form_field' => false,
  3359. 'form' => [
  3360. 'validation' => 'strict'
  3361. ]
  3362. ],
  3363. 'plugins.form.enabled' => [
  3364. 'type' => 'hidden',
  3365. 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
  3366. 'highlight' => 1,
  3367. 'default' => 0,
  3368. 'options' => [
  3369. 1 => 'PLUGIN_ADMIN.ENABLED',
  3370. 0 => 'PLUGIN_ADMIN.DISABLED'
  3371. ],
  3372. 'validate' => [
  3373. 'type' => 'bool'
  3374. ],
  3375. 'name' => 'plugins.form.enabled',
  3376. 'validation' => 'strict'
  3377. ],
  3378. 'plugins.form.built_in_css' => [
  3379. 'type' => 'toggle',
  3380. 'label' => 'PLUGIN_FORM.USE_BUILT_IN_CSS',
  3381. 'highlight' => 1,
  3382. 'default' => 1,
  3383. 'options' => [
  3384. 1 => 'PLUGIN_ADMIN.ENABLED',
  3385. 0 => 'PLUGIN_ADMIN.DISABLED'
  3386. ],
  3387. 'validate' => [
  3388. 'type' => 'bool'
  3389. ],
  3390. 'name' => 'plugins.form.built_in_css',
  3391. 'validation' => 'strict'
  3392. ],
  3393. 'plugins.form.inline_css' => [
  3394. 'type' => 'toggle',
  3395. 'label' => 'PLUGIN_FORM.USE_INLINE_CSS',
  3396. 'highlight' => 1,
  3397. 'default' => 1,
  3398. 'options' => [
  3399. 1 => 'PLUGIN_ADMIN.ENABLED',
  3400. 0 => 'PLUGIN_ADMIN.DISABLED'
  3401. ],
  3402. 'validate' => [
  3403. 'type' => 'bool'
  3404. ],
  3405. 'name' => 'plugins.form.inline_css',
  3406. 'validation' => 'strict'
  3407. ],
  3408. 'plugins.form.refresh_prevention' => [
  3409. 'type' => 'toggle',
  3410. 'label' => 'PLUGIN_FORM.REFRESH_PREVENTION',
  3411. 'highlight' => 1,
  3412. 'default' => 0,
  3413. 'options' => [
  3414. 1 => 'PLUGIN_ADMIN.ENABLED',
  3415. 0 => 'PLUGIN_ADMIN.DISABLED'
  3416. ],
  3417. 'validate' => [
  3418. 'type' => 'bool'
  3419. ],
  3420. 'name' => 'plugins.form.refresh_prevention',
  3421. 'validation' => 'strict'
  3422. ],
  3423. 'plugins.form.client_side_validation' => [
  3424. 'type' => 'toggle',
  3425. 'label' => 'PLUGIN_FORM.CLIENT_SIDE_VALIDATION',
  3426. 'highlight' => 1,
  3427. 'default' => 1,
  3428. 'options' => [
  3429. 1 => 'PLUGIN_ADMIN.ENABLED',
  3430. 0 => 'PLUGIN_ADMIN.DISABLED'
  3431. ],
  3432. 'validate' => [
  3433. 'type' => 'bool'
  3434. ],
  3435. 'name' => 'plugins.form.client_side_validation',
  3436. 'validation' => 'strict'
  3437. ],
  3438. 'plugins.form.inline_errors' => [
  3439. 'type' => 'toggle',
  3440. 'label' => 'PLUGIN_FORM.INLINE_ERRORS',
  3441. 'highlight' => 0,
  3442. 'default' => 0,
  3443. 'options' => [
  3444. 1 => 'PLUGIN_ADMIN.ENABLED',
  3445. 0 => 'PLUGIN_ADMIN.DISABLED'
  3446. ],
  3447. 'validate' => [
  3448. 'type' => 'bool'
  3449. ],
  3450. 'name' => 'plugins.form.inline_errors',
  3451. 'validation' => 'strict'
  3452. ],
  3453. 'plugins.form.general' => [
  3454. 'type' => 'section',
  3455. 'name' => 'plugins.form.general',
  3456. 'validation' => 'strict'
  3457. ],
  3458. 'plugins.form.files' => [
  3459. 'type' => 'section',
  3460. 'name' => 'plugins.form.files',
  3461. 'validation' => 'strict'
  3462. ],
  3463. 'plugins.form.files.multiple' => [
  3464. 'type' => 'toggle',
  3465. 'label' => 'PLUGIN_FORM.ALLOW_MULTIPLE',
  3466. 'highlight' => 1,
  3467. 'default' => 0,
  3468. 'options' => [
  3469. 1 => 'PLUGIN_ADMIN.ENABLED',
  3470. 0 => 'PLUGIN_ADMIN.DISABLED'
  3471. ],
  3472. 'validate' => [
  3473. 'type' => 'bool'
  3474. ],
  3475. 'name' => 'plugins.form.files.multiple',
  3476. 'validation' => 'strict'
  3477. ],
  3478. 'plugins.form.files.limit' => [
  3479. 'type' => 'text',
  3480. 'size' => 'x-small',
  3481. 'label' => 'PLUGIN_FORM.LIMIT',
  3482. 'default' => 10,
  3483. 'validate' => [
  3484. 'type' => 'number',
  3485. 'min' => 1
  3486. ],
  3487. 'name' => 'plugins.form.files.limit',
  3488. 'validation' => 'strict'
  3489. ],
  3490. 'plugins.form.files.destination' => [
  3491. 'type' => 'text',
  3492. 'size' => 'large',
  3493. 'label' => 'PLUGIN_FORM.DESTINATION',
  3494. 'default' => '@self',
  3495. 'name' => 'plugins.form.files.destination',
  3496. 'validation' => 'strict'
  3497. ],
  3498. 'plugins.form.files.accept' => [
  3499. 'type' => 'selectize',
  3500. 'size' => 'large',
  3501. 'label' => 'PLUGIN_FORM.ACCEPT',
  3502. 'classes' => 'fancy',
  3503. 'default' => [
  3504. 0 => 'image/*'
  3505. ],
  3506. 'validate' => [
  3507. 'type' => 'commalist'
  3508. ],
  3509. 'name' => 'plugins.form.files.accept',
  3510. 'validation' => 'strict'
  3511. ],
  3512. 'plugins.form.files.filesize' => [
  3513. 'type' => 'text',
  3514. 'label' => 'PLUGIN_FORM.FILESIZE',
  3515. 'size' => 'x-small',
  3516. 'default' => 5,
  3517. 'validate' => [
  3518. 'type' => 'number',
  3519. 'min' => 0
  3520. ],
  3521. 'name' => 'plugins.form.files.filesize',
  3522. 'validation' => 'strict'
  3523. ],
  3524. 'plugins.form.files.avoid_overwriting' => [
  3525. 'type' => 'toggle',
  3526. 'label' => 'PLUGIN_FORM.AVOID_OVERWRITING',
  3527. 'highlight' => 0,
  3528. 'default' => 0,
  3529. 'options' => [
  3530. 1 => 'PLUGIN_ADMIN.ENABLED',
  3531. 0 => 'PLUGIN_ADMIN.DISABLED'
  3532. ],
  3533. 'validate' => [
  3534. 'type' => 'bool'
  3535. ],
  3536. 'name' => 'plugins.form.files.avoid_overwriting',
  3537. 'validation' => 'strict'
  3538. ],
  3539. 'plugins.form.files.random_name' => [
  3540. 'type' => 'toggle',
  3541. 'label' => 'PLUGIN_FORM.RANDOM_NAME',
  3542. 'highlight' => 0,
  3543. 'default' => 0,
  3544. 'options' => [
  3545. 1 => 'PLUGIN_ADMIN.ENABLED',
  3546. 0 => 'PLUGIN_ADMIN.DISABLED'
  3547. ],
  3548. 'validate' => [
  3549. 'type' => 'bool'
  3550. ],
  3551. 'name' => 'plugins.form.files.random_name',
  3552. 'validation' => 'strict'
  3553. ],
  3554. 'plugins.form.recaptcha' => [
  3555. 'type' => 'section',
  3556. 'name' => 'plugins.form.recaptcha',
  3557. 'validation' => 'strict'
  3558. ],
  3559. 'plugins.form.recaptcha.version' => [
  3560. 'type' => 'select',
  3561. 'label' => 'PLUGIN_FORM.RECAPTCHA_VERSION',
  3562. 'default' => '2-checkbox',
  3563. 'options' => [
  3564. '2-checkbox' => 'PLUGIN_FORM.RECAPTCHA_VERSION_V2_CHECKBOX',
  3565. '2-invisible' => 'PLUGIN_FORM.RECAPTCHA_VERSION_V2_INVISIBLE',
  3566. 3 => 'PLUGIN_FORM.RECAPTCHA_VERSION_V3_LATEST'
  3567. ],
  3568. 'name' => 'plugins.form.recaptcha.version',
  3569. 'validation' => 'strict'
  3570. ],
  3571. 'plugins.form.recaptcha.theme' => [
  3572. 'type' => 'select',
  3573. 'label' => 'PLUGIN_FORM.RECAPTCHA_THEME',
  3574. 'default' => 'light',
  3575. 'options' => [
  3576. 'light' => 'PLUGIN_FORM.RECAPTCHA_THEME_LIGHT',
  3577. 'dark' => 'PLUGIN_FORM.RECAPTCHA_THEME_DARK'
  3578. ],
  3579. 'recaptcha.site_key' => NULL,
  3580. 'name' => 'plugins.form.recaptcha.theme',
  3581. 'validation' => 'strict'
  3582. ],
  3583. 'plugins.form.recaptcha.site_key' => [
  3584. 'type' => 'text',
  3585. 'label' => 'PLUGIN_FORM.RECAPTCHA_SITE_KEY',
  3586. 'default' => '',
  3587. 'name' => 'plugins.form.recaptcha.site_key',
  3588. 'validation' => 'strict'
  3589. ],
  3590. 'plugins.form.recaptcha.secret_key' => [
  3591. 'type' => 'text',
  3592. 'label' => 'PLUGIN_FORM.RECAPTCHA_SECRET_KEY',
  3593. 'default' => '',
  3594. 'name' => 'plugins.form.recaptcha.secret_key',
  3595. 'validation' => 'strict'
  3596. ],
  3597. 'plugins.login' => [
  3598. 'type' => '_root',
  3599. 'form_field' => false,
  3600. 'form' => [
  3601. 'validation' => 'loose'
  3602. ]
  3603. ],
  3604. 'plugins.login.enabled' => [
  3605. 'type' => 'hidden',
  3606. 'label' => 'PLUGIN_LOGIN.PLUGIN_STATUS',
  3607. 'highlight' => 1,
  3608. 'default' => 1,
  3609. 'options' => [
  3610. 1 => 'PLUGIN_ADMIN.ENABLED',
  3611. 0 => 'PLUGIN_ADMIN.DISABLED'
  3612. ],
  3613. 'validate' => [
  3614. 'type' => 'bool'
  3615. ],
  3616. 'name' => 'plugins.login.enabled',
  3617. 'validation' => 'loose'
  3618. ],
  3619. 'plugins.login.built_in_css' => [
  3620. 'type' => 'toggle',
  3621. 'label' => 'PLUGIN_LOGIN.BUILTIN_CSS',
  3622. 'highlight' => 1,
  3623. 'default' => 1,
  3624. 'options' => [
  3625. 1 => 'PLUGIN_ADMIN.ENABLED',
  3626. 0 => 'PLUGIN_ADMIN.DISABLED'
  3627. ],
  3628. 'validate' => [
  3629. 'type' => 'bool'
  3630. ],
  3631. 'name' => 'plugins.login.built_in_css',
  3632. 'validation' => 'loose'
  3633. ],
  3634. 'plugins.login.redirect_to_login' => [
  3635. 'type' => 'toggle',
  3636. 'label' => 'PLUGIN_LOGIN.REDIRECT_TO_LOGIN',
  3637. 'default' => 0,
  3638. 'highlight' => 0,
  3639. 'options' => [
  3640. 1 => 'PLUGIN_ADMIN.ENABLED',
  3641. 0 => 'PLUGIN_ADMIN.DISABLED'
  3642. ],
  3643. 'validate' => [
  3644. 'type' => 'bool'
  3645. ],
  3646. 'name' => 'plugins.login.redirect_to_login',
  3647. 'validation' => 'loose'
  3648. ],
  3649. 'plugins.login.redirect_after_login' => [
  3650. 'type' => 'toggle',
  3651. 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_LOGIN',
  3652. 'force_bool' => true,
  3653. 'default' => 0,
  3654. 'highlight' => 0,
  3655. 'options' => [
  3656. 1 => 'PLUGIN_ADMIN.ENABLED',
  3657. 0 => 'PLUGIN_ADMIN.DISABLED'
  3658. ],
  3659. 'validate' => [
  3660. 'type' => 'bool'
  3661. ],
  3662. 'name' => 'plugins.login.redirect_after_login',
  3663. 'validation' => 'loose'
  3664. ],
  3665. 'plugins.login.redirect_after_logout' => [
  3666. 'type' => 'toggle',
  3667. 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_LOGOUT',
  3668. 'force_bool' => true,
  3669. 'default' => 1,
  3670. 'highlight' => 1,
  3671. 'options' => [
  3672. 1 => 'PLUGIN_ADMIN.ENABLED',
  3673. 0 => 'PLUGIN_ADMIN.DISABLED'
  3674. ],
  3675. 'validate' => [
  3676. 'type' => 'bool'
  3677. ],
  3678. 'name' => 'plugins.login.redirect_after_logout',
  3679. 'validation' => 'loose'
  3680. ],
  3681. 'plugins.login.parent_acl' => [
  3682. 'type' => 'toggle',
  3683. 'label' => 'PLUGIN_LOGIN.USE_PARENT_ACL_LABEL',
  3684. 'highlight' => 0,
  3685. 'default' => 0,
  3686. 'options' => [
  3687. 1 => 'PLUGIN_ADMIN.ENABLED',
  3688. 0 => 'PLUGIN_ADMIN.DISABLED'
  3689. ],
  3690. 'validate' => [
  3691. 'type' => 'bool'
  3692. ],
  3693. 'name' => 'plugins.login.parent_acl',
  3694. 'validation' => 'loose'
  3695. ],
  3696. 'plugins.login.dynamic_page_visibility' => [
  3697. 'type' => 'toggle',
  3698. 'label' => 'PLUGIN_LOGIN.DYNAMIC_VISIBILITY',
  3699. 'highlight' => 0,
  3700. 'default' => 0,
  3701. 'options' => [
  3702. 1 => 'PLUGIN_ADMIN.ENABLED',
  3703. 0 => 'PLUGIN_ADMIN.DISABLED'
  3704. ],
  3705. 'validate' => [
  3706. 'type' => 'bool'
  3707. ],
  3708. 'name' => 'plugins.login.dynamic_page_visibility',
  3709. 'validation' => 'loose'
  3710. ],
  3711. 'plugins.login.twofa_enabled' => [
  3712. 'type' => 'toggle',
  3713. 'label' => 'PLUGIN_LOGIN.2FA_ENABLED',
  3714. 'highlight' => 0,
  3715. 'default' => 0,
  3716. 'options' => [
  3717. 1 => 'PLUGIN_ADMIN.ENABLED',
  3718. 0 => 'PLUGIN_ADMIN.DISABLED'
  3719. ],
  3720. 'validate' => [
  3721. 'type' => 'bool'
  3722. ],
  3723. 'name' => 'plugins.login.twofa_enabled',
  3724. 'validation' => 'loose'
  3725. ],
  3726. 'plugins.login.protect_protected_page_media' => [
  3727. 'type' => 'toggle',
  3728. 'label' => 'PLUGIN_LOGIN.PROTECT_PROTECTED_PAGE_MEDIA_LABEL',
  3729. 'highlight' => 0,
  3730. 'default' => 0,
  3731. 'options' => [
  3732. 1 => 'PLUGIN_ADMIN.ENABLED',
  3733. 0 => 'PLUGIN_ADMIN.DISABLED'
  3734. ],
  3735. 'validate' => [
  3736. 'type' => 'bool'
  3737. ],
  3738. 'name' => 'plugins.login.protect_protected_page_media',
  3739. 'validation' => 'loose'
  3740. ],
  3741. 'plugins.login.session_user_sync' => [
  3742. 'type' => 'toggle',
  3743. 'label' => 'PLUGIN_LOGIN.SESSION_USER_SYNC',
  3744. 'highlight' => 0,
  3745. 'default' => 0,
  3746. 'options' => [
  3747. 1 => 'PLUGIN_ADMIN.ENABLED',
  3748. 0 => 'PLUGIN_ADMIN.DISABLED'
  3749. ],
  3750. 'validate' => [
  3751. 'type' => 'bool'
  3752. ],
  3753. 'name' => 'plugins.login.session_user_sync',
  3754. 'validation' => 'loose'
  3755. ],
  3756. 'plugins.login.rememberme' => [
  3757. 'type' => 'section',
  3758. 'name' => 'plugins.login.rememberme',
  3759. 'validation' => 'loose'
  3760. ],
  3761. 'plugins.login.rememberme.enabled' => [
  3762. 'type' => 'toggle',
  3763. 'label' => 'PLUGIN_ADMIN.ENABLED',
  3764. 'highlight' => 1,
  3765. 'options' => [
  3766. 1 => 'PLUGIN_ADMIN.YES',
  3767. 0 => 'PLUGIN_ADMIN.NO'
  3768. ],
  3769. 'validate' => [
  3770. 'type' => 'bool'
  3771. ],
  3772. 'name' => 'plugins.login.rememberme.enabled',
  3773. 'validation' => 'loose'
  3774. ],
  3775. 'plugins.login.rememberme.timeout' => [
  3776. 'type' => 'text',
  3777. 'size' => 'small',
  3778. 'default' => 604800,
  3779. 'label' => 'PLUGIN_ADMIN.TIMEOUT',
  3780. 'validate' => [
  3781. 'type' => 'number',
  3782. 'min' => 1
  3783. ],
  3784. 'name' => 'plugins.login.rememberme.timeout',
  3785. 'validation' => 'loose'
  3786. ],
  3787. 'plugins.login.rememberme.name' => [
  3788. 'type' => 'text',
  3789. 'size' => 'small',
  3790. 'label' => 'PLUGIN_ADMIN.NAME',
  3791. 'name' => 'plugins.login.rememberme.name',
  3792. 'validation' => 'loose'
  3793. ],
  3794. 'plugins.login.options' => [
  3795. 'type' => 'section',
  3796. 'name' => 'plugins.login.options',
  3797. 'validation' => 'loose'
  3798. ],
  3799. 'plugins.login.route' => [
  3800. 'type' => 'text',
  3801. 'size' => 'medium',
  3802. 'label' => 'PLUGIN_LOGIN.ROUTE',
  3803. 'name' => 'plugins.login.route',
  3804. 'validation' => 'loose'
  3805. ],
  3806. 'plugins.login.route_after_login' => [
  3807. 'type' => 'text',
  3808. 'size' => 'medium',
  3809. 'label' => 'PLUGIN_LOGIN.ROUTE_AFTER_LOGIN',
  3810. 'data-default@' => '\\Grav\\Plugin\\LoginPlugin::defaultRedirectAfterLogin',
  3811. 'name' => 'plugins.login.route_after_login',
  3812. 'validation' => 'loose'
  3813. ],
  3814. 'plugins.login.route_after_logout' => [
  3815. 'type' => 'text',
  3816. 'size' => 'medium',
  3817. 'label' => 'PLUGIN_LOGIN.ROUTE_AFTER_LOGOUT',
  3818. 'data-default@' => '\\Grav\\Plugin\\LoginPlugin::defaultRedirectAfterLogout',
  3819. 'name' => 'plugins.login.route_after_logout',
  3820. 'validation' => 'loose'
  3821. ],
  3822. 'plugins.login.route_forgot' => [
  3823. 'type' => 'text',
  3824. 'size' => 'medium',
  3825. 'label' => 'PLUGIN_LOGIN.ROUTE_FORGOT',
  3826. 'name' => 'plugins.login.route_forgot',
  3827. 'validation' => 'loose'
  3828. ],
  3829. 'plugins.login.route_reset' => [
  3830. 'type' => 'text',
  3831. 'size' => 'medium',
  3832. 'label' => 'PLUGIN_LOGIN.ROUTE_RESET',
  3833. 'name' => 'plugins.login.route_reset',
  3834. 'validation' => 'loose'
  3835. ],
  3836. 'plugins.login.route_profile' => [
  3837. 'type' => 'text',
  3838. 'size' => 'medium',
  3839. 'label' => 'PLUGIN_LOGIN.ROUTE_PROFILE',
  3840. 'name' => 'plugins.login.route_profile',
  3841. 'validation' => 'loose'
  3842. ],
  3843. 'plugins.login.route_activate' => [
  3844. 'type' => 'text',
  3845. 'size' => 'medium',
  3846. 'label' => 'PLUGIN_LOGIN.ROUTE_ACTIVATE',
  3847. 'name' => 'plugins.login.route_activate',
  3848. 'validation' => 'loose'
  3849. ],
  3850. 'plugins.login.user_registration' => [
  3851. 'type' => '_parent',
  3852. 'name' => 'plugins.login.user_registration',
  3853. 'form_field' => false
  3854. ],
  3855. 'plugins.login.user_registration.redirect_after_activation' => [
  3856. 'type' => 'text',
  3857. 'size' => 'medium',
  3858. 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_ACTIVATION',
  3859. 'name' => 'plugins.login.user_registration.redirect_after_activation',
  3860. 'validation' => 'loose'
  3861. ],
  3862. 'plugins.login.route_register' => [
  3863. 'type' => 'text',
  3864. 'size' => 'medium',
  3865. 'label' => 'PLUGIN_LOGIN.ROUTE_REGISTER',
  3866. 'name' => 'plugins.login.route_register',
  3867. 'validation' => 'loose'
  3868. ],
  3869. 'plugins.login.user_registration.redirect_after_registration' => [
  3870. 'type' => 'text',
  3871. 'size' => 'medium',
  3872. 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_REGISTRATION',
  3873. 'name' => 'plugins.login.user_registration.redirect_after_registration',
  3874. 'validation' => 'loose'
  3875. ],
  3876. 'plugins.login.routes' => [
  3877. 'type' => 'tab',
  3878. 'name' => 'plugins.login.routes',
  3879. 'validation' => 'loose'
  3880. ],
  3881. 'plugins.login.user_registration.enabled' => [
  3882. 'type' => 'toggle',
  3883. 'label' => 'PLUGIN_ADMIN.ENABLED',
  3884. 'highlight' => 0,
  3885. 'options' => [
  3886. 1 => 'PLUGIN_ADMIN.YES',
  3887. 0 => 'PLUGIN_ADMIN.NO'
  3888. ],
  3889. 'validate' => [
  3890. 'type' => 'bool'
  3891. ],
  3892. 'name' => 'plugins.login.user_registration.enabled',
  3893. 'validation' => 'loose'
  3894. ],
  3895. 'plugins.login.user_registration.fields' => [
  3896. 'type' => 'array',
  3897. 'value_only' => true,
  3898. 'label' => 'PLUGIN_LOGIN.REGISTRATION_FIELDS',
  3899. 'name' => 'plugins.login.user_registration.fields',
  3900. 'validation' => 'loose'
  3901. ],
  3902. 'plugins.login.user_registration.default_values' => [
  3903. 'type' => 'array',
  3904. 'label' => 'PLUGIN_LOGIN.DEFAULT_VALUES',
  3905. 'name' => 'plugins.login.user_registration.default_values',
  3906. 'validation' => 'loose'
  3907. ],
  3908. 'plugins.login.registration_fields' => [
  3909. 'type' => 'section',
  3910. 'name' => 'plugins.login.registration_fields',
  3911. 'validation' => 'loose'
  3912. ],
  3913. 'plugins.login.user_registration.groups' => [
  3914. 'type' => 'select',
  3915. 'multiple' => true,
  3916. 'size' => 'large',
  3917. 'label' => 'PLUGIN_ADMIN.GROUPS',
  3918. 'data-options@' => '\\Grav\\Common\\User\\Group::groupNames',
  3919. 'classes' => 'fancy',
  3920. 'validate' => [
  3921. 'type' => 'commalist'
  3922. ],
  3923. 'name' => 'plugins.login.user_registration.groups',
  3924. 'validation' => 'loose'
  3925. ],
  3926. 'plugins.login.user_registration.access' => [
  3927. 'type' => '_parent',
  3928. 'name' => 'plugins.login.user_registration.access',
  3929. 'form_field' => false
  3930. ],
  3931. 'plugins.login.user_registration.access.site' => [
  3932. 'type' => 'array',
  3933. 'label' => 'PLUGIN_ADMIN.SITE_ACCESS',
  3934. 'multiple' => false,
  3935. 'validate' => [
  3936. 'type' => 'array'
  3937. ],
  3938. 'name' => 'plugins.login.user_registration.access.site',
  3939. 'validation' => 'loose'
  3940. ],
  3941. 'plugins.login.access_levels' => [
  3942. 'type' => 'section',
  3943. 'security' => 'admin.super',
  3944. 'name' => 'plugins.login.access_levels',
  3945. 'validation' => 'loose'
  3946. ],
  3947. 'plugins.login.user_registration.options' => [
  3948. 'type' => '_parent',
  3949. 'name' => 'plugins.login.user_registration.options',
  3950. 'form_field' => false
  3951. ],
  3952. 'plugins.login.user_registration.options.validate_password1_and_password2' => [
  3953. 'type' => 'toggle',
  3954. 'label' => 'PLUGIN_LOGIN.VALIDATE_PASSWORD1_AND_PASSWORD2',
  3955. 'highlight' => 1,
  3956. 'options' => [
  3957. 1 => 'PLUGIN_ADMIN.YES',
  3958. 0 => 'PLUGIN_ADMIN.NO'
  3959. ],
  3960. 'validate' => [
  3961. 'type' => 'bool'
  3962. ],
  3963. 'name' => 'plugins.login.user_registration.options.validate_password1_and_password2',
  3964. 'validation' => 'loose'
  3965. ],
  3966. 'plugins.login.user_registration.options.set_user_disabled' => [
  3967. 'type' => 'toggle',
  3968. 'label' => 'PLUGIN_LOGIN.SET_USER_DISABLED',
  3969. 'highlight' => 0,
  3970. 'options' => [
  3971. 1 => 'PLUGIN_ADMIN.YES',
  3972. 0 => 'PLUGIN_ADMIN.NO'
  3973. ],
  3974. 'validate' => [
  3975. 'type' => 'bool'
  3976. ],
  3977. 'name' => 'plugins.login.user_registration.options.set_user_disabled',
  3978. 'validation' => 'loose'
  3979. ],
  3980. 'plugins.login.user_registration.options.login_after_registration' => [
  3981. 'type' => 'toggle',
  3982. 'label' => 'PLUGIN_LOGIN.LOGIN_AFTER_REGISTRATION',
  3983. 'highlight' => 0,
  3984. 'options' => [
  3985. 1 => 'PLUGIN_ADMIN.YES',
  3986. 0 => 'PLUGIN_ADMIN.NO'
  3987. ],
  3988. 'validate' => [
  3989. 'type' => 'bool'
  3990. ],
  3991. 'name' => 'plugins.login.user_registration.options.login_after_registration',
  3992. 'validation' => 'loose'
  3993. ],
  3994. 'plugins.login.user_registration.options.send_activation_email' => [
  3995. 'type' => 'toggle',
  3996. 'label' => 'PLUGIN_LOGIN.SEND_ACTIVATION_EMAIL',
  3997. 'highlight' => 0,
  3998. 'options' => [
  3999. 1 => 'PLUGIN_ADMIN.YES',
  4000. 0 => 'PLUGIN_ADMIN.NO'
  4001. ],
  4002. 'validate' => [
  4003. 'type' => 'bool'
  4004. ],
  4005. 'name' => 'plugins.login.user_registration.options.send_activation_email',
  4006. 'validation' => 'loose'
  4007. ],
  4008. 'plugins.login.user_registration.options.manually_enable' => [
  4009. 'type' => 'toggle',
  4010. 'label' => 'PLUGIN_LOGIN.MANUALLY_ENABLE',
  4011. 'highlight' => 0,
  4012. 'options' => [
  4013. 1 => 'PLUGIN_ADMIN.YES',
  4014. 0 => 'PLUGIN_ADMIN.NO'
  4015. ],
  4016. 'validate' => [
  4017. 'type' => 'bool'
  4018. ],
  4019. 'name' => 'plugins.login.user_registration.options.manually_enable',
  4020. 'validation' => 'loose'
  4021. ],
  4022. 'plugins.login.user_registration.options.send_notification_email' => [
  4023. 'type' => 'toggle',
  4024. 'label' => 'PLUGIN_LOGIN.SEND_NOTIFICATION_EMAIL',
  4025. 'highlight' => 0,
  4026. 'options' => [
  4027. 1 => 'PLUGIN_ADMIN.YES',
  4028. 0 => 'PLUGIN_ADMIN.NO'
  4029. ],
  4030. 'validate' => [
  4031. 'type' => 'bool'
  4032. ],
  4033. 'name' => 'plugins.login.user_registration.options.send_notification_email',
  4034. 'validation' => 'loose'
  4035. ],
  4036. 'plugins.login.user_registration.options.send_welcome_email' => [
  4037. 'type' => 'toggle',
  4038. 'label' => 'PLUGIN_LOGIN.SEND_WELCOME_EMAIL',
  4039. 'highlight' => 0,
  4040. 'options' => [
  4041. 1 => 'PLUGIN_ADMIN.YES',
  4042. 0 => 'PLUGIN_ADMIN.NO'
  4043. ],
  4044. 'validate' => [
  4045. 'type' => 'bool'
  4046. ],
  4047. 'name' => 'plugins.login.user_registration.options.send_welcome_email',
  4048. 'validation' => 'loose'
  4049. ],
  4050. 'plugins.login.registration' => [
  4051. 'type' => 'tab',
  4052. 'name' => 'plugins.login.registration',
  4053. 'validation' => 'loose'
  4054. ],
  4055. 'plugins.login.max_pw_resets_count' => [
  4056. 'type' => 'number',
  4057. 'size' => 'x-small',
  4058. 'label' => 'PLUGIN_LOGIN.MAX_RESETS_COUNT',
  4059. 'append' => 'PLUGIN_LOGIN.RESETS',
  4060. 'validate' => [
  4061. 'type' => 'number',
  4062. 'min' => 0
  4063. ],
  4064. 'name' => 'plugins.login.max_pw_resets_count',
  4065. 'validation' => 'loose'
  4066. ],
  4067. 'plugins.login.max_pw_resets_interval' => [
  4068. 'type' => 'number',
  4069. 'size' => 'x-small',
  4070. 'label' => 'PLUGIN_LOGIN.MAX_RESETS_INTERVAL',
  4071. 'append' => 'PLUGIN_LOGIN.MINUTES',
  4072. 'validate' => [
  4073. 'type' => 'number',
  4074. 'min' => 1
  4075. ],
  4076. 'name' => 'plugins.login.max_pw_resets_interval',
  4077. 'validation' => 'loose'
  4078. ],
  4079. 'plugins.login.max_login_count' => [
  4080. 'type' => 'number',
  4081. 'size' => 'x-small',
  4082. 'label' => 'PLUGIN_LOGIN.MAX_LOGINS_COUNT',
  4083. 'append' => 'PLUGIN_LOGIN.ATTEMPTS',
  4084. 'validate' => [
  4085. 'type' => 'number',
  4086. 'min' => 0
  4087. ],
  4088. 'name' => 'plugins.login.max_login_count',
  4089. 'validation' => 'loose'
  4090. ],
  4091. 'plugins.login.max_login_interval' => [
  4092. 'type' => 'number',
  4093. 'size' => 'x-small',
  4094. 'label' => 'PLUGIN_LOGIN.MAX_LOGINS_INTERVAL',
  4095. 'append' => 'PLUGIN_LOGIN.MINUTES',
  4096. 'validate' => [
  4097. 'type' => 'number',
  4098. 'min' => 1
  4099. ],
  4100. 'name' => 'plugins.login.max_login_interval',
  4101. 'validation' => 'loose'
  4102. ],
  4103. 'plugins.login.ipv6_subnet_size' => [
  4104. 'type' => 'number',
  4105. 'size' => 'x-small',
  4106. 'label' => 'PLUGIN_LOGIN.IPV6_SUBNET_SIZE',
  4107. 'append' => 'PLUGIN_LOGIN.MINUTES',
  4108. 'validate' => [
  4109. 'type' => 'number',
  4110. 'min' => 1
  4111. ],
  4112. 'name' => 'plugins.login.ipv6_subnet_size',
  4113. 'validation' => 'loose'
  4114. ],
  4115. 'plugins.login.Security' => [
  4116. 'type' => 'tab',
  4117. 'name' => 'plugins.login.Security',
  4118. 'validation' => 'loose'
  4119. ],
  4120. 'plugins.login.tabs' => [
  4121. 'type' => 'tabs',
  4122. 'active' => 1,
  4123. 'class' => 'subtle',
  4124. 'name' => 'plugins.login.tabs',
  4125. 'validation' => 'loose'
  4126. ],
  4127. 'plugins.error' => [
  4128. 'type' => '_root',
  4129. 'form_field' => false,
  4130. 'form' => [
  4131. 'validation' => 'strict'
  4132. ]
  4133. ],
  4134. 'plugins.error.enabled' => [
  4135. 'type' => 'toggle',
  4136. 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
  4137. 'highlight' => 1,
  4138. 'default' => 0,
  4139. 'options' => [
  4140. 1 => 'PLUGIN_ADMIN.ENABLED',
  4141. 0 => 'PLUGIN_ADMIN.DISABLED'
  4142. ],
  4143. 'validate' => [
  4144. 'type' => 'bool'
  4145. ],
  4146. 'name' => 'plugins.error.enabled',
  4147. 'validation' => 'strict'
  4148. ],
  4149. 'plugins.error.routes' => [
  4150. 'type' => '_parent',
  4151. 'name' => 'plugins.error.routes',
  4152. 'form_field' => false
  4153. ],
  4154. 'plugins.error.routes.404' => [
  4155. 'type' => 'text',
  4156. 'size' => 'medium',
  4157. 'label' => 'PLUGIN_ERROR.ROUTE_404',
  4158. 'default' => '/error',
  4159. 'name' => 'plugins.error.routes.404',
  4160. 'validation' => 'strict'
  4161. ],
  4162. 'plugins.email' => [
  4163. 'type' => '_root',
  4164. 'form_field' => false,
  4165. 'form' => [
  4166. 'validation' => 'loose'
  4167. ]
  4168. ],
  4169. 'plugins.email.enabled' => [
  4170. 'type' => 'hidden',
  4171. 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
  4172. 'highlight' => 1,
  4173. 'default' => 1,
  4174. 'options' => [
  4175. 1 => 'PLUGIN_ADMIN.ENABLED',
  4176. 0 => 'PLUGIN_ADMIN.DISABLED'
  4177. ],
  4178. 'validate' => [
  4179. 'type' => 'bool'
  4180. ],
  4181. 'name' => 'plugins.email.enabled',
  4182. 'validation' => 'loose'
  4183. ],
  4184. 'plugins.email.mailer' => [
  4185. 'type' => '_parent',
  4186. 'name' => 'plugins.email.mailer',
  4187. 'form_field' => false
  4188. ],
  4189. 'plugins.email.mailer.engine' => [
  4190. 'type' => 'select',
  4191. 'label' => 'PLUGIN_EMAIL.MAIL_ENGINE',
  4192. 'size' => 'medium',
  4193. 'options' => [
  4194. 'none' => 'PLUGIN_ADMIN.DISABLED',
  4195. 'smtp' => 'SMTP',
  4196. 'sendmail' => 'Sendmail'
  4197. ],
  4198. 'name' => 'plugins.email.mailer.engine',
  4199. 'validation' => 'loose'
  4200. ],
  4201. 'plugins.email.content_type' => [
  4202. 'type' => 'select',
  4203. 'label' => 'PLUGIN_EMAIL.CONTENT_TYPE',
  4204. 'size' => 'medium',
  4205. 'default' => 'text/html',
  4206. 'options' => [
  4207. 'text/plain' => 'PLUGIN_EMAIL.CONTENT_TYPE_PLAIN_TEXT',
  4208. 'text/html' => 'HTML'
  4209. ],
  4210. 'name' => 'plugins.email.content_type',
  4211. 'validation' => 'loose'
  4212. ],
  4213. 'plugins.email.charset' => [
  4214. 'type' => 'text',
  4215. 'size' => 'medium',
  4216. 'label' => 'PLUGIN_EMAIL.CHARSET',
  4217. 'name' => 'plugins.email.charset',
  4218. 'validation' => 'loose'
  4219. ],
  4220. 'plugins.email.email_Defaults' => [
  4221. 'type' => 'section',
  4222. 'underline' => true,
  4223. 'name' => 'plugins.email.email_Defaults',
  4224. 'validation' => 'loose'
  4225. ],
  4226. 'plugins.email.from' => [
  4227. 'type' => 'email',
  4228. 'size' => 'medium',
  4229. 'label' => 'PLUGIN_EMAIL.EMAIL_FORM',
  4230. 'validate' => [
  4231. 'required' => true,
  4232. 'type' => 'email'
  4233. ],
  4234. 'name' => 'plugins.email.from',
  4235. 'validation' => 'loose'
  4236. ],
  4237. 'plugins.email.from_name' => [
  4238. 'type' => 'text',
  4239. 'size' => 'medium',
  4240. 'label' => 'PLUGIN_EMAIL.EMAIL_FROM_NAME',
  4241. 'name' => 'plugins.email.from_name',
  4242. 'validation' => 'loose'
  4243. ],
  4244. 'plugins.email.to' => [
  4245. 'type' => 'email',
  4246. 'size' => 'medium',
  4247. 'label' => 'PLUGIN_EMAIL.EMAIL_TO',
  4248. 'multiple' => true,
  4249. 'validate' => [
  4250. 'required' => true,
  4251. 'type' => 'email'
  4252. ],
  4253. 'name' => 'plugins.email.to',
  4254. 'validation' => 'loose'
  4255. ],
  4256. 'plugins.email.to_name' => [
  4257. 'type' => 'text',
  4258. 'size' => 'medium',
  4259. 'label' => 'PLUGIN_EMAIL.EMAIL_TO_NAME',
  4260. 'name' => 'plugins.email.to_name',
  4261. 'validation' => 'loose'
  4262. ],
  4263. 'plugins.email.cc' => [
  4264. 'type' => 'email',
  4265. 'size' => 'medium',
  4266. 'label' => 'PLUGIN_EMAIL.EMAIL_CC',
  4267. 'multiple' => true,
  4268. 'validate' => [
  4269. 'type' => 'email'
  4270. ],
  4271. 'name' => 'plugins.email.cc',
  4272. 'validation' => 'loose'
  4273. ],
  4274. 'plugins.email.cc_name' => [
  4275. 'type' => 'text',
  4276. 'size' => 'medium',
  4277. 'label' => 'PLUGIN_EMAIL.EMAIL_CC_NAME',
  4278. 'name' => 'plugins.email.cc_name',
  4279. 'validation' => 'loose'
  4280. ],
  4281. 'plugins.email.bcc' => [
  4282. 'type' => 'email',
  4283. 'size' => 'medium',
  4284. 'label' => 'PLUGIN_EMAIL.EMAIL_BCC',
  4285. 'multiple' => true,
  4286. 'validate' => [
  4287. 'type' => 'email'
  4288. ],
  4289. 'name' => 'plugins.email.bcc',
  4290. 'validation' => 'loose'
  4291. ],
  4292. 'plugins.email.reply_to' => [
  4293. 'type' => 'email',
  4294. 'size' => 'medium',
  4295. 'label' => 'PLUGIN_EMAIL.EMAIL_REPLY_TO',
  4296. 'multiple' => true,
  4297. 'validate' => [
  4298. 'type' => 'email'
  4299. ],
  4300. 'name' => 'plugins.email.reply_to',
  4301. 'validation' => 'loose'
  4302. ],
  4303. 'plugins.email.reply_to_name' => [
  4304. 'type' => 'text',
  4305. 'size' => 'medium',
  4306. 'label' => 'PLUGIN_EMAIL.EMAIL_REPLY_TO_NAME',
  4307. 'name' => 'plugins.email.reply_to_name',
  4308. 'validation' => 'loose'
  4309. ],
  4310. 'plugins.email.body' => [
  4311. 'type' => 'textarea',
  4312. 'size' => 'medium',
  4313. 'label' => 'PLUGIN_EMAIL.EMAIL_BODY',
  4314. 'name' => 'plugins.email.body',
  4315. 'validation' => 'loose'
  4316. ],
  4317. 'plugins.email.smtp_config' => [
  4318. 'type' => 'section',
  4319. 'underline' => true,
  4320. 'name' => 'plugins.email.smtp_config',
  4321. 'validation' => 'loose'
  4322. ],
  4323. 'plugins.email.mailer.smtp' => [
  4324. 'type' => '_parent',
  4325. 'name' => 'plugins.email.mailer.smtp',
  4326. 'form_field' => false
  4327. ],
  4328. 'plugins.email.mailer.smtp.server' => [
  4329. 'type' => 'text',
  4330. 'size' => 'medium',
  4331. 'label' => 'PLUGIN_EMAIL.SMTP_SERVER',
  4332. 'name' => 'plugins.email.mailer.smtp.server',
  4333. 'validation' => 'loose'
  4334. ],
  4335. 'plugins.email.mailer.smtp.port' => [
  4336. 'type' => 'text',
  4337. 'size' => 'small',
  4338. 'label' => 'PLUGIN_EMAIL.SMTP_PORT',
  4339. 'validate' => [
  4340. 'type' => 'number',
  4341. 'min' => 1,
  4342. 'max' => 65535
  4343. ],
  4344. 'name' => 'plugins.email.mailer.smtp.port',
  4345. 'validation' => 'loose'
  4346. ],
  4347. 'plugins.email.mailer.smtp.encryption' => [
  4348. 'type' => 'select',
  4349. 'size' => 'medium',
  4350. 'label' => 'PLUGIN_EMAIL.SMTP_ENCRYPTION',
  4351. 'options' => [
  4352. 'none' => 'PLUGIN_EMAIL.SMTP_ENCRYPTION_NONE',
  4353. 'ssl' => 'SSL',
  4354. 'tls' => 'TLS'
  4355. ],
  4356. 'name' => 'plugins.email.mailer.smtp.encryption',
  4357. 'validation' => 'loose'
  4358. ],
  4359. 'plugins.email.mailer.smtp.user' => [
  4360. 'type' => 'text',
  4361. 'size' => 'medium',
  4362. 'autocomplete' => 'off',
  4363. 'label' => 'PLUGIN_EMAIL.SMTP_LOGIN_NAME',
  4364. 'name' => 'plugins.email.mailer.smtp.user',
  4365. 'validation' => 'loose'
  4366. ],
  4367. 'plugins.email.mailer.smtp.password' => [
  4368. 'type' => 'password',
  4369. 'size' => 'medium',
  4370. 'autocomplete' => 'new-password',
  4371. 'label' => 'PLUGIN_EMAIL.SMTP_PASSWORD',
  4372. 'name' => 'plugins.email.mailer.smtp.password',
  4373. 'validation' => 'loose'
  4374. ],
  4375. 'plugins.email.sendmail_config' => [
  4376. 'type' => 'section',
  4377. 'underline' => true,
  4378. 'name' => 'plugins.email.sendmail_config',
  4379. 'validation' => 'loose'
  4380. ],
  4381. 'plugins.email.mailer.sendmail' => [
  4382. 'type' => '_parent',
  4383. 'name' => 'plugins.email.mailer.sendmail',
  4384. 'form_field' => false
  4385. ],
  4386. 'plugins.email.mailer.sendmail.bin' => [
  4387. 'type' => 'text',
  4388. 'size' => 'medium',
  4389. 'label' => 'PLUGIN_EMAIL.PATH_TO_SENDMAIL',
  4390. 'name' => 'plugins.email.mailer.sendmail.bin',
  4391. 'validation' => 'loose'
  4392. ],
  4393. 'plugins.email.queue_section' => [
  4394. 'type' => 'section',
  4395. 'text' => 'PLUGIN_EMAIL.QUEUE_DESC',
  4396. 'markdown' => true,
  4397. 'underline' => true,
  4398. 'name' => 'plugins.email.queue_section',
  4399. 'validation' => 'loose'
  4400. ],
  4401. 'plugins.email.queue' => [
  4402. 'type' => '_parent',
  4403. 'name' => 'plugins.email.queue',
  4404. 'form_field' => false
  4405. ],
  4406. 'plugins.email.queue.enabled' => [
  4407. 'type' => 'toggle',
  4408. 'label' => 'PLUGIN_EMAIL.QUEUE_ENABLED',
  4409. 'highlight' => 0,
  4410. 'default' => 0,
  4411. 'options' => [
  4412. 1 => 'PLUGIN_ADMIN.ENABLED',
  4413. 0 => 'PLUGIN_ADMIN.DISABLED'
  4414. ],
  4415. 'validate' => [
  4416. 'type' => 'bool'
  4417. ],
  4418. 'name' => 'plugins.email.queue.enabled',
  4419. 'validation' => 'loose'
  4420. ],
  4421. 'plugins.email.queue.flush_frequency' => [
  4422. 'type' => 'cron',
  4423. 'label' => 'PLUGIN_EMAIL.QUEUE_FLUSH_FREQUENCY',
  4424. 'size' => 'medium',
  4425. 'default' => '* * * * *',
  4426. 'name' => 'plugins.email.queue.flush_frequency',
  4427. 'validation' => 'loose'
  4428. ],
  4429. 'plugins.email.queue.flush_msg_limit' => [
  4430. 'type' => 'number',
  4431. 'label' => 'PLUGIN_EMAIL.QUEUE_FLUSH_MSG_LIMIT',
  4432. 'size' => 'x-small',
  4433. 'append' => 'PLUGIN_EMAIL.QUEUE_FLUSH_MSG_LIMIT_APPEND',
  4434. 'name' => 'plugins.email.queue.flush_msg_limit',
  4435. 'validation' => 'loose'
  4436. ],
  4437. 'plugins.email.queue.flush_time_limit' => [
  4438. 'type' => 'number',
  4439. 'label' => 'PLUGIN_EMAIL.QUEUE_FLUSH_TIME_LIMIT',
  4440. 'size' => 'x-small',
  4441. 'append' => 'PLUGIN_EMAIL.QUEUE_FLUSH_TIME_LIMIT_APPEND',
  4442. 'name' => 'plugins.email.queue.flush_time_limit',
  4443. 'validation' => 'loose'
  4444. ],
  4445. 'plugins.email.advanced_section' => [
  4446. 'type' => 'section',
  4447. 'underline' => true,
  4448. 'name' => 'plugins.email.advanced_section',
  4449. 'validation' => 'loose'
  4450. ],
  4451. 'plugins.email.debug' => [
  4452. 'type' => 'toggle',
  4453. 'label' => 'PLUGIN_EMAIL.DEBUG',
  4454. 'highlight' => 1,
  4455. 'default' => 0,
  4456. 'options' => [
  4457. 1 => 'PLUGIN_ADMIN.ENABLED',
  4458. 0 => 'PLUGIN_ADMIN.DISABLED'
  4459. ],
  4460. 'validate' => [
  4461. 'type' => 'bool'
  4462. ],
  4463. 'name' => 'plugins.email.debug',
  4464. 'validation' => 'loose'
  4465. ],
  4466. 'plugins.taxonomylist' => [
  4467. 'type' => '_root',
  4468. 'form_field' => false,
  4469. 'form' => [
  4470. 'validation' => 'strict'
  4471. ]
  4472. ],
  4473. 'plugins.taxonomylist.enabled' => [
  4474. 'type' => 'toggle',
  4475. 'label' => 'Plugin status',
  4476. 'highlight' => 1,
  4477. 'default' => 0,
  4478. 'options' => [
  4479. 1 => 'Enabled',
  4480. 0 => 'Disabled'
  4481. ],
  4482. 'validate' => [
  4483. 'type' => 'bool'
  4484. ],
  4485. 'name' => 'plugins.taxonomylist.enabled',
  4486. 'validation' => 'strict'
  4487. ],
  4488. 'plugins.taxonomylist.route' => [
  4489. 'type' => 'text',
  4490. 'label' => 'Route to blog',
  4491. 'validate' => [
  4492. 'pattern' => '/([a-z\\-_]+/?)+'
  4493. ],
  4494. 'name' => 'plugins.taxonomylist.route',
  4495. 'validation' => 'strict'
  4496. ],
  4497. 'plugins.vimeo' => [
  4498. 'type' => '_root',
  4499. 'form_field' => false,
  4500. 'form' => [
  4501. 'validation' => 'strict'
  4502. ]
  4503. ],
  4504. 'plugins.vimeo.enabled' => [
  4505. 'type' => 'toggle',
  4506. 'label' => 'PLUGIN_VIMEO.PLUGIN_STATUS',
  4507. 'highlight' => 1,
  4508. 'default' => 0,
  4509. 'options' => [
  4510. 1 => 'PLUGIN_VIMEO.ENABLED',
  4511. 0 => 'PLUGIN_VIMEO.DISABLED'
  4512. ],
  4513. 'validate' => [
  4514. 'type' => 'bool'
  4515. ],
  4516. 'name' => 'plugins.vimeo.enabled',
  4517. 'validation' => 'strict'
  4518. ],
  4519. 'plugins.vimeo.plugin_css' => [
  4520. 'type' => 'toggle',
  4521. 'label' => 'PLUGIN_VIMEO.PLUGIN_CSS',
  4522. 'highlight' => 1,
  4523. 'default' => 1,
  4524. 'options' => [
  4525. 1 => 'PLUGIN_VIMEO.ENABLED',
  4526. 0 => 'PLUGIN_VIMEO.DISABLED'
  4527. ],
  4528. 'validate' => [
  4529. 'type' => 'bool'
  4530. ],
  4531. 'name' => 'plugins.vimeo.plugin_css',
  4532. 'validation' => 'strict'
  4533. ],
  4534. 'plugins.vimeo.editor_button' => [
  4535. 'type' => 'toggle',
  4536. 'label' => 'PLUGIN_VIMEO.EDITOR_BUTTON',
  4537. 'highlight' => 1,
  4538. 'default' => 1,
  4539. 'options' => [
  4540. 1 => 'PLUGIN_VIMEO.ENABLED',
  4541. 0 => 'PLUGIN_VIMEO.DISABLED'
  4542. ],
  4543. 'validate' => [
  4544. 'type' => 'bool'
  4545. ],
  4546. 'name' => 'plugins.vimeo.editor_button',
  4547. 'validation' => 'strict'
  4548. ],
  4549. 'plugins.vimeo.general' => [
  4550. 'type' => 'tab',
  4551. 'name' => 'plugins.vimeo.general',
  4552. 'validation' => 'strict'
  4553. ],
  4554. 'plugins.vimeo.player_parameters' => [
  4555. 'type' => 'tab',
  4556. 'name' => 'plugins.vimeo.player_parameters',
  4557. 'validation' => 'strict'
  4558. ],
  4559. 'plugins.vimeo.player_parameters.autoplay' => [
  4560. 'type' => 'toggle',
  4561. 'label' => 'PLUGIN_VIMEO.AUTOPLAY',
  4562. 'highlight' => 1,
  4563. 'default' => 0,
  4564. 'options' => [
  4565. 1 => 'PLUGIN_VIMEO.ENABLED',
  4566. 0 => 'PLUGIN_VIMEO.DISABLED'
  4567. ],
  4568. 'validate' => [
  4569. 'type' => 'bool'
  4570. ],
  4571. 'name' => 'plugins.vimeo.player_parameters.autoplay',
  4572. 'validation' => 'strict'
  4573. ],
  4574. 'plugins.vimeo.player_parameters.autopause' => [
  4575. 'type' => 'toggle',
  4576. 'label' => 'PLUGIN_VIMEO.AUTOPAUSE',
  4577. 'highlight' => 1,
  4578. 'default' => 1,
  4579. 'options' => [
  4580. 1 => 'PLUGIN_VIMEO.ENABLED',
  4581. 0 => 'PLUGIN_VIMEO.DISABLED'
  4582. ],
  4583. 'validate' => [
  4584. 'type' => 'bool'
  4585. ],
  4586. 'name' => 'plugins.vimeo.player_parameters.autopause',
  4587. 'validation' => 'strict'
  4588. ],
  4589. 'plugins.vimeo.player_parameters.loop' => [
  4590. 'type' => 'toggle',
  4591. 'label' => 'PLUGIN_VIMEO.LOOP',
  4592. 'highlight' => 1,
  4593. 'default' => 0,
  4594. 'options' => [
  4595. 1 => 'PLUGIN_VIMEO.ENABLED',
  4596. 0 => 'PLUGIN_VIMEO.DISABLED'
  4597. ],
  4598. 'validate' => [
  4599. 'type' => 'bool'
  4600. ],
  4601. 'name' => 'plugins.vimeo.player_parameters.loop',
  4602. 'validation' => 'strict'
  4603. ],
  4604. 'plugins.vimeo.player_parameters.player_id' => [
  4605. 'type' => 'text',
  4606. 'label' => 'PLUGIN_VIMEO.PLAYER_ID',
  4607. 'size' => 'medium',
  4608. 'name' => 'plugins.vimeo.player_parameters.player_id',
  4609. 'validation' => 'strict'
  4610. ],
  4611. 'plugins.vimeo.player_parameters.title' => [
  4612. 'type' => 'toggle',
  4613. 'label' => 'PLUGIN_VIMEO.TITLE',
  4614. 'highlight' => 1,
  4615. 'default' => 1,
  4616. 'options' => [
  4617. 1 => 'PLUGIN_VIMEO.ENABLED',
  4618. 0 => 'PLUGIN_VIMEO.DISABLED'
  4619. ],
  4620. 'validate' => [
  4621. 'type' => 'bool'
  4622. ],
  4623. 'name' => 'plugins.vimeo.player_parameters.title',
  4624. 'validation' => 'strict'
  4625. ],
  4626. 'plugins.vimeo.player_parameters.portrait' => [
  4627. 'type' => 'toggle',
  4628. 'label' => 'PLUGIN_VIMEO.PORTRAIT',
  4629. 'highlight' => 1,
  4630. 'default' => 1,
  4631. 'options' => [
  4632. 1 => 'PLUGIN_VIMEO.ENABLED',
  4633. 0 => 'PLUGIN_VIMEO.DISABLED'
  4634. ],
  4635. 'validate' => [
  4636. 'type' => 'bool'
  4637. ],
  4638. 'name' => 'plugins.vimeo.player_parameters.portrait',
  4639. 'validation' => 'strict'
  4640. ],
  4641. 'plugins.vimeo.player_parameters.byline' => [
  4642. 'type' => 'toggle',
  4643. 'label' => 'PLUGIN_VIMEO.BYLINE',
  4644. 'highlight' => 1,
  4645. 'default' => 1,
  4646. 'options' => [
  4647. 1 => 'PLUGIN_VIMEO.ENABLED',
  4648. 0 => 'PLUGIN_VIMEO.DISABLED'
  4649. ],
  4650. 'validate' => [
  4651. 'type' => 'bool'
  4652. ],
  4653. 'name' => 'plugins.vimeo.player_parameters.byline',
  4654. 'validation' => 'strict'
  4655. ],
  4656. 'plugins.vimeo.player_parameters.color' => [
  4657. 'type' => 'colorpicker',
  4658. 'label' => 'PLUGIN_VIMEO.COLOR',
  4659. 'highlight' => 1,
  4660. 'default' => '#00adef',
  4661. 'name' => 'plugins.vimeo.player_parameters.color',
  4662. 'validation' => 'strict'
  4663. ],
  4664. 'plugins.vimeo.player_parameters.view' => [
  4665. 'type' => 'section',
  4666. 'text' => 'PLUGIN_VIMEO.PLAYER_VIEW_TEXT',
  4667. 'underline' => true,
  4668. 'name' => 'plugins.vimeo.player_parameters.view',
  4669. 'validation' => 'strict'
  4670. ],
  4671. 'plugins.vimeo.tabs' => [
  4672. 'type' => 'tabs',
  4673. 'active' => 1,
  4674. 'class' => 'subtle',
  4675. 'name' => 'plugins.vimeo.tabs',
  4676. 'validation' => 'strict'
  4677. ],
  4678. 'plugins.problems' => [
  4679. 'type' => '_root',
  4680. 'form_field' => false,
  4681. 'form' => [
  4682. 'validation' => 'strict'
  4683. ]
  4684. ],
  4685. 'plugins.problems.enabled' => [
  4686. 'type' => 'toggle',
  4687. 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
  4688. 'highlight' => 1,
  4689. 'default' => 0,
  4690. 'options' => [
  4691. 1 => 'PLUGIN_ADMIN.ENABLED',
  4692. 0 => 'PLUGIN_ADMIN.DISABLED'
  4693. ],
  4694. 'validate' => [
  4695. 'type' => 'bool'
  4696. ],
  4697. 'name' => 'plugins.problems.enabled',
  4698. 'validation' => 'strict'
  4699. ],
  4700. 'plugins.problems.built_in_css' => [
  4701. 'type' => 'toggle',
  4702. 'label' => 'PLUGIN_PROBLEMS.BUILTIN_CSS',
  4703. 'highlight' => 1,
  4704. 'default' => 1,
  4705. 'options' => [
  4706. 1 => 'PLUGIN_ADMIN.ENABLED',
  4707. 0 => 'PLUGIN_ADMIN.DISABLED'
  4708. ],
  4709. 'validate' => [
  4710. 'type' => 'bool'
  4711. ],
  4712. 'name' => 'plugins.problems.built_in_css',
  4713. 'validation' => 'strict'
  4714. ]
  4715. ],
  4716. 'rules' => [
  4717. ],
  4718. 'nested' => [
  4719. 'backups' => [
  4720. 'history_title' => 'backups.history_title',
  4721. 'history' => 'backups.history',
  4722. 'config_title' => 'backups.config_title',
  4723. 'purge' => [
  4724. 'trigger' => 'backups.purge.trigger',
  4725. 'max_backups_count' => 'backups.purge.max_backups_count',
  4726. 'max_backups_space' => 'backups.purge.max_backups_space',
  4727. 'max_backups_time' => 'backups.purge.max_backups_time'
  4728. ],
  4729. 'profiles_title' => 'backups.profiles_title',
  4730. 'profiles' => [
  4731. 'name' => 'backups.profiles.name',
  4732. 'root' => 'backups.profiles.root',
  4733. 'exclude_paths' => 'backups.profiles.exclude_paths',
  4734. 'exclude_files' => 'backups.profiles.exclude_files',
  4735. 'schedule' => 'backups.profiles.schedule',
  4736. 'schedule_at' => 'backups.profiles.schedule_at'
  4737. ]
  4738. ],
  4739. 'media' => 'media',
  4740. 'scheduler' => [
  4741. 'status_title' => 'scheduler.status_title',
  4742. 'status' => 'scheduler.status',
  4743. 'jobs_title' => 'scheduler.jobs_title',
  4744. 'custom_jobs' => [
  4745. 'id' => 'scheduler.custom_jobs.id',
  4746. 'command' => 'scheduler.custom_jobs.command',
  4747. 'args' => 'scheduler.custom_jobs.args',
  4748. 'at' => 'scheduler.custom_jobs.at',
  4749. 'output' => 'scheduler.custom_jobs.output',
  4750. 'output_mode' => 'scheduler.custom_jobs.output_mode',
  4751. 'email' => 'scheduler.custom_jobs.email'
  4752. ]
  4753. ],
  4754. 'security' => [
  4755. 'xss_section' => 'security.xss_section',
  4756. 'xss_whitelist' => 'security.xss_whitelist',
  4757. 'xss_enabled' => [
  4758. 'on_events' => 'security.xss_enabled.on_events',
  4759. 'invalid_protocols' => 'security.xss_enabled.invalid_protocols',
  4760. 'moz_binding' => 'security.xss_enabled.moz_binding',
  4761. 'html_inline_styles' => 'security.xss_enabled.html_inline_styles',
  4762. 'dangerous_tags' => 'security.xss_enabled.dangerous_tags'
  4763. ],
  4764. 'xss_invalid_protocols' => 'security.xss_invalid_protocols',
  4765. 'xss_dangerous_tags' => 'security.xss_dangerous_tags',
  4766. 'uploads_section' => 'security.uploads_section',
  4767. 'uploads_dangerous_extensions' => 'security.uploads_dangerous_extensions'
  4768. ],
  4769. 'site' => [
  4770. 'content' => 'site.content',
  4771. 'title' => 'site.title',
  4772. 'default_lang' => 'site.default_lang',
  4773. 'author' => [
  4774. 'name' => 'site.author.name',
  4775. 'email' => 'site.author.email'
  4776. ],
  4777. 'taxonomies' => 'site.taxonomies',
  4778. 'summary' => [
  4779. 'enabled' => 'site.summary.enabled',
  4780. 'size' => 'site.summary.size',
  4781. 'format' => 'site.summary.format',
  4782. 'delimiter' => 'site.summary.delimiter'
  4783. ],
  4784. 'metadata' => 'site.metadata',
  4785. 'routes' => 'site.routes',
  4786. 'redirects' => 'site.redirects'
  4787. ],
  4788. 'streams' => [
  4789. 'schemes' => [
  4790. 'xxx' => 'streams.schemes.xxx'
  4791. ]
  4792. ],
  4793. 'system' => [
  4794. 'system_tabs' => 'system.system_tabs',
  4795. 'content' => 'system.content',
  4796. 'content_section' => 'system.content_section',
  4797. 'home' => [
  4798. 'alias' => 'system.home.alias',
  4799. 'hide_in_urls' => 'system.home.hide_in_urls'
  4800. ],
  4801. 'pages' => [
  4802. 'theme' => 'system.pages.theme',
  4803. 'process' => 'system.pages.process',
  4804. 'types' => 'system.pages.types',
  4805. 'dateformat' => [
  4806. 'default' => 'system.pages.dateformat.default',
  4807. 'short' => 'system.pages.dateformat.short',
  4808. 'long' => 'system.pages.dateformat.long'
  4809. ],
  4810. 'order' => [
  4811. 'by' => 'system.pages.order.by',
  4812. 'dir' => 'system.pages.order.dir'
  4813. ],
  4814. 'list' => [
  4815. 'count' => 'system.pages.list.count'
  4816. ],
  4817. 'publish_dates' => 'system.pages.publish_dates',
  4818. 'events' => 'system.pages.events',
  4819. 'append_url_extension' => 'system.pages.append_url_extension',
  4820. 'redirect_default_route' => 'system.pages.redirect_default_route',
  4821. 'redirect_default_code' => 'system.pages.redirect_default_code',
  4822. 'redirect_trailing_slash' => 'system.pages.redirect_trailing_slash',
  4823. 'ignore_hidden' => 'system.pages.ignore_hidden',
  4824. 'ignore_files' => 'system.pages.ignore_files',
  4825. 'ignore_folders' => 'system.pages.ignore_folders',
  4826. 'hide_empty_folders' => 'system.pages.hide_empty_folders',
  4827. 'url_taxonomy_filters' => 'system.pages.url_taxonomy_filters',
  4828. 'twig_first' => 'system.pages.twig_first',
  4829. 'never_cache_twig' => 'system.pages.never_cache_twig',
  4830. 'frontmatter' => [
  4831. 'process_twig' => 'system.pages.frontmatter.process_twig',
  4832. 'ignore_fields' => 'system.pages.frontmatter.ignore_fields'
  4833. ],
  4834. 'expires' => 'system.pages.expires',
  4835. 'cache_control' => 'system.pages.cache_control',
  4836. 'last_modified' => 'system.pages.last_modified',
  4837. 'etag' => 'system.pages.etag',
  4838. 'vary_accept_encoding' => 'system.pages.vary_accept_encoding',
  4839. 'markdown' => [
  4840. 'extra' => 'system.pages.markdown.extra',
  4841. 'auto_line_breaks' => 'system.pages.markdown.auto_line_breaks',
  4842. 'auto_url_links' => 'system.pages.markdown.auto_url_links',
  4843. 'escape_markup' => 'system.pages.markdown.escape_markup',
  4844. 'valid_link_attributes' => 'system.pages.markdown.valid_link_attributes'
  4845. ]
  4846. ],
  4847. 'timezone' => 'system.timezone',
  4848. 'languages' => [
  4849. 'supported' => 'system.languages.supported',
  4850. 'default_lang' => 'system.languages.default_lang',
  4851. 'include_default_lang' => 'system.languages.include_default_lang',
  4852. 'pages_fallback_only' => 'system.languages.pages_fallback_only',
  4853. 'translations' => 'system.languages.translations',
  4854. 'translations_fallback' => 'system.languages.translations_fallback',
  4855. 'session_store_active' => 'system.languages.session_store_active',
  4856. 'http_accept_language' => 'system.languages.http_accept_language',
  4857. 'override_locale' => 'system.languages.override_locale'
  4858. ],
  4859. 'languages-section' => 'system.languages-section',
  4860. 'http_headers' => 'system.http_headers',
  4861. 'http_headers_section' => 'system.http_headers_section',
  4862. 'markdown' => 'system.markdown',
  4863. 'markdow_section' => 'system.markdow_section',
  4864. 'caching' => 'system.caching',
  4865. 'caching_section' => 'system.caching_section',
  4866. 'cache' => [
  4867. 'enabled' => 'system.cache.enabled',
  4868. 'check' => [
  4869. 'method' => 'system.cache.check.method'
  4870. ],
  4871. 'driver' => 'system.cache.driver',
  4872. 'prefix' => 'system.cache.prefix',
  4873. 'purge_at' => 'system.cache.purge_at',
  4874. 'clear_at' => 'system.cache.clear_at',
  4875. 'clear_job_type' => 'system.cache.clear_job_type',
  4876. 'clear_images_by_default' => 'system.cache.clear_images_by_default',
  4877. 'cli_compatibility' => 'system.cache.cli_compatibility',
  4878. 'lifetime' => 'system.cache.lifetime',
  4879. 'gzip' => 'system.cache.gzip',
  4880. 'allow_webserver_gzip' => 'system.cache.allow_webserver_gzip',
  4881. 'memcache' => [
  4882. 'server' => 'system.cache.memcache.server',
  4883. 'port' => 'system.cache.memcache.port'
  4884. ],
  4885. 'memcached' => [
  4886. 'server' => 'system.cache.memcached.server',
  4887. 'port' => 'system.cache.memcached.port'
  4888. ],
  4889. 'redis' => [
  4890. 'socket' => 'system.cache.redis.socket',
  4891. 'server' => 'system.cache.redis.server',
  4892. 'port' => 'system.cache.redis.port',
  4893. 'password' => 'system.cache.redis.password'
  4894. ]
  4895. ],
  4896. 'twig' => [
  4897. 'cache' => 'system.twig.cache',
  4898. 'debug' => 'system.twig.debug',
  4899. 'auto_reload' => 'system.twig.auto_reload',
  4900. 'autoescape' => 'system.twig.autoescape',
  4901. 'umask_fix' => 'system.twig.umask_fix'
  4902. ],
  4903. 'twig_section' => 'system.twig_section',
  4904. 'assets' => [
  4905. 'css_pipeline' => 'system.assets.css_pipeline',
  4906. 'css_pipeline_include_externals' => 'system.assets.css_pipeline_include_externals',
  4907. 'css_pipeline_before_excludes' => 'system.assets.css_pipeline_before_excludes',
  4908. 'css_minify' => 'system.assets.css_minify',
  4909. 'css_minify_windows' => 'system.assets.css_minify_windows',
  4910. 'css_rewrite' => 'system.assets.css_rewrite',
  4911. 'js_pipeline' => 'system.assets.js_pipeline',
  4912. 'js_pipeline_include_externals' => 'system.assets.js_pipeline_include_externals',
  4913. 'js_pipeline_before_excludes' => 'system.assets.js_pipeline_before_excludes',
  4914. 'js_minify' => 'system.assets.js_minify',
  4915. 'enable_asset_timestamp' => 'system.assets.enable_asset_timestamp',
  4916. 'collections' => 'system.assets.collections'
  4917. ],
  4918. 'assets_section' => 'system.assets_section',
  4919. 'errors' => [
  4920. 'display' => 'system.errors.display',
  4921. 'log' => 'system.errors.log'
  4922. ],
  4923. 'errors_section' => 'system.errors_section',
  4924. 'log' => [
  4925. 'handler' => 'system.log.handler',
  4926. 'syslog' => [
  4927. 'facility' => 'system.log.syslog.facility'
  4928. ]
  4929. ],
  4930. 'debugger' => [
  4931. 'enabled' => 'system.debugger.enabled',
  4932. 'shutdown' => [
  4933. 'close_connection' => 'system.debugger.shutdown.close_connection'
  4934. ]
  4935. ],
  4936. 'debugger_section' => 'system.debugger_section',
  4937. 'media' => [
  4938. 'enable_media_timestamp' => 'system.media.enable_media_timestamp',
  4939. 'auto_metadata_exif' => 'system.media.auto_metadata_exif',
  4940. 'allowed_fallback_types' => 'system.media.allowed_fallback_types',
  4941. 'unsupported_inline_types' => 'system.media.unsupported_inline_types'
  4942. ],
  4943. 'media_section' => 'system.media_section',
  4944. 'images' => [
  4945. 'default_image_quality' => 'system.images.default_image_quality',
  4946. 'cache_all' => 'system.images.cache_all',
  4947. 'cache_perms' => 'system.images.cache_perms',
  4948. 'debug' => 'system.images.debug',
  4949. 'auto_fix_orientation' => 'system.images.auto_fix_orientation',
  4950. 'seofriendly' => 'system.images.seofriendly'
  4951. ],
  4952. 'session' => [
  4953. 'enabled' => 'system.session.enabled',
  4954. 'initialize' => 'system.session.initialize',
  4955. 'timeout' => 'system.session.timeout',
  4956. 'name' => 'system.session.name',
  4957. 'uniqueness' => 'system.session.uniqueness',
  4958. 'secure' => 'system.session.secure',
  4959. 'httponly' => 'system.session.httponly',
  4960. 'path' => 'system.session.path',
  4961. 'split' => 'system.session.split'
  4962. ],
  4963. 'session_section' => 'system.session_section',
  4964. 'advanced' => 'system.advanced',
  4965. 'advanced_section' => 'system.advanced_section',
  4966. 'gpm' => [
  4967. 'releases' => 'system.gpm.releases',
  4968. 'proxy_url' => 'system.gpm.proxy_url',
  4969. 'method' => 'system.gpm.method',
  4970. 'official_gpm_only' => 'system.gpm.official_gpm_only',
  4971. 'verify_peer' => 'system.gpm.verify_peer'
  4972. ],
  4973. 'reverse_proxy_setup' => 'system.reverse_proxy_setup',
  4974. 'username_regex' => 'system.username_regex',
  4975. 'pwd_regex' => 'system.pwd_regex',
  4976. 'intl_enabled' => 'system.intl_enabled',
  4977. 'wrapped_site' => 'system.wrapped_site',
  4978. 'absolute_urls' => 'system.absolute_urls',
  4979. 'param_sep' => 'system.param_sep',
  4980. 'force_ssl' => 'system.force_ssl',
  4981. 'force_lowercase_urls' => 'system.force_lowercase_urls',
  4982. 'custom_base_url' => 'system.custom_base_url',
  4983. 'http_x_forwarded' => [
  4984. 'protocol' => 'system.http_x_forwarded.protocol',
  4985. 'host' => 'system.http_x_forwarded.host',
  4986. 'port' => 'system.http_x_forwarded.port',
  4987. 'ip' => 'system.http_x_forwarded.ip'
  4988. ],
  4989. 'accounts' => [
  4990. 'type' => 'system.accounts.type',
  4991. 'storage' => 'system.accounts.storage'
  4992. ],
  4993. 'strict_mode' => [
  4994. 'yaml_compat' => 'system.strict_mode.yaml_compat',
  4995. 'twig_compat' => 'system.strict_mode.twig_compat'
  4996. ]
  4997. ],
  4998. 'plugins' => [
  4999. 'admin' => [
  5000. 'Basics' => 'plugins.admin.Basics',
  5001. 'enabled' => 'plugins.admin.enabled',
  5002. 'cache_enabled' => 'plugins.admin.cache_enabled',
  5003. 'twofa_enabled' => 'plugins.admin.twofa_enabled',
  5004. 'route' => 'plugins.admin.route',
  5005. 'logo_text' => 'plugins.admin.logo_text',
  5006. 'content_padding' => 'plugins.admin.content_padding',
  5007. 'body_classes' => 'plugins.admin.body_classes',
  5008. 'sidebar' => [
  5009. 'activate' => 'plugins.admin.sidebar.activate',
  5010. 'hover_delay' => 'plugins.admin.sidebar.hover_delay',
  5011. 'size' => 'plugins.admin.sidebar.size'
  5012. ],
  5013. 'theme' => 'plugins.admin.theme',
  5014. 'edit_mode' => 'plugins.admin.edit_mode',
  5015. 'frontend_preview_target' => 'plugins.admin.frontend_preview_target',
  5016. 'pages' => [
  5017. 'show_parents' => 'plugins.admin.pages.show_parents',
  5018. 'parents_levels' => 'plugins.admin.pages.parents_levels',
  5019. 'show_modular' => 'plugins.admin.pages.show_modular'
  5020. ],
  5021. 'google_fonts' => 'plugins.admin.google_fonts',
  5022. 'show_beta_msg' => 'plugins.admin.show_beta_msg',
  5023. 'show_github_msg' => 'plugins.admin.show_github_msg',
  5024. 'pages_list_display_field' => 'plugins.admin.pages_list_display_field',
  5025. 'enable_auto_updates_check' => 'plugins.admin.enable_auto_updates_check',
  5026. 'session' => [
  5027. 'timeout' => 'plugins.admin.session.timeout'
  5028. ],
  5029. 'warnings' => [
  5030. 'delete_page' => 'plugins.admin.warnings.delete_page',
  5031. 'secure_delete' => 'plugins.admin.warnings.secure_delete'
  5032. ],
  5033. 'hide_page_types' => 'plugins.admin.hide_page_types',
  5034. 'hide_modular_page_types' => 'plugins.admin.hide_modular_page_types',
  5035. 'log_viewer_files' => 'plugins.admin.log_viewer_files',
  5036. 'MediaResize' => 'plugins.admin.MediaResize',
  5037. 'MediaResizeNote' => 'plugins.admin.MediaResizeNote',
  5038. 'pagemedia' => [
  5039. 'resize_width' => 'plugins.admin.pagemedia.resize_width',
  5040. 'resize_height' => 'plugins.admin.pagemedia.resize_height',
  5041. 'res_min_width' => 'plugins.admin.pagemedia.res_min_width',
  5042. 'res_min_height' => 'plugins.admin.pagemedia.res_min_height',
  5043. 'res_max_width' => 'plugins.admin.pagemedia.res_max_width',
  5044. 'res_max_height' => 'plugins.admin.pagemedia.res_max_height',
  5045. 'resize_quality' => 'plugins.admin.pagemedia.resize_quality'
  5046. ],
  5047. 'Dashboard' => 'plugins.admin.Dashboard',
  5048. 'widgets' => [
  5049. 'dashboard-maintenance' => 'plugins.admin.widgets.dashboard-maintenance',
  5050. 'dashboard-statistics' => 'plugins.admin.widgets.dashboard-statistics',
  5051. 'dashboard-notifications' => 'plugins.admin.widgets.dashboard-notifications',
  5052. 'dashboard-feed' => 'plugins.admin.widgets.dashboard-feed',
  5053. 'dashboard-pages' => 'plugins.admin.widgets.dashboard-pages'
  5054. ],
  5055. 'Notifications' => 'plugins.admin.Notifications',
  5056. 'notifications' => [
  5057. 'feed' => 'plugins.admin.notifications.feed',
  5058. 'dashboard' => 'plugins.admin.notifications.dashboard',
  5059. 'plugins' => 'plugins.admin.notifications.plugins',
  5060. 'themes' => 'plugins.admin.notifications.themes'
  5061. ],
  5062. 'Popularity' => 'plugins.admin.Popularity',
  5063. 'popularity' => [
  5064. 'enabled' => 'plugins.admin.popularity.enabled',
  5065. 'ignore' => 'plugins.admin.popularity.ignore',
  5066. 'history' => [
  5067. 'daily' => 'plugins.admin.popularity.history.daily',
  5068. 'monthly' => 'plugins.admin.popularity.history.monthly',
  5069. 'visitors' => 'plugins.admin.popularity.history.visitors'
  5070. ]
  5071. ],
  5072. 'dashboard' => [
  5073. 'days_of_stats' => 'plugins.admin.dashboard.days_of_stats'
  5074. ]
  5075. ],
  5076. 'markdown-notices' => [
  5077. 'enabled' => 'plugins.markdown-notices.enabled',
  5078. 'built_in_css' => 'plugins.markdown-notices.built_in_css',
  5079. 'base_classes' => 'plugins.markdown-notices.base_classes',
  5080. 'level_classes' => 'plugins.markdown-notices.level_classes'
  5081. ],
  5082. 'admin-addon-user-manager' => [
  5083. 'enabled' => 'plugins.admin-addon-user-manager.enabled',
  5084. 'default_list_style' => 'plugins.admin-addon-user-manager.default_list_style',
  5085. 'pagination' => [
  5086. 'per_page' => 'plugins.admin-addon-user-manager.pagination.per_page'
  5087. ],
  5088. 'custom_permissions' => 'plugins.admin-addon-user-manager.custom_permissions'
  5089. ],
  5090. 'form' => [
  5091. 'enabled' => 'plugins.form.enabled',
  5092. 'general' => 'plugins.form.general',
  5093. 'built_in_css' => 'plugins.form.built_in_css',
  5094. 'inline_css' => 'plugins.form.inline_css',
  5095. 'refresh_prevention' => 'plugins.form.refresh_prevention',
  5096. 'client_side_validation' => 'plugins.form.client_side_validation',
  5097. 'inline_errors' => 'plugins.form.inline_errors',
  5098. 'files' => [
  5099. 'multiple' => 'plugins.form.files.multiple',
  5100. 'limit' => 'plugins.form.files.limit',
  5101. 'destination' => 'plugins.form.files.destination',
  5102. 'accept' => 'plugins.form.files.accept',
  5103. 'filesize' => 'plugins.form.files.filesize',
  5104. 'avoid_overwriting' => 'plugins.form.files.avoid_overwriting',
  5105. 'random_name' => 'plugins.form.files.random_name'
  5106. ],
  5107. 'recaptcha' => [
  5108. 'version' => 'plugins.form.recaptcha.version',
  5109. 'theme' => 'plugins.form.recaptcha.theme',
  5110. 'site_key' => 'plugins.form.recaptcha.site_key',
  5111. 'secret_key' => 'plugins.form.recaptcha.secret_key'
  5112. ]
  5113. ],
  5114. 'login' => [
  5115. 'tabs' => 'plugins.login.tabs',
  5116. 'options' => 'plugins.login.options',
  5117. 'enabled' => 'plugins.login.enabled',
  5118. 'built_in_css' => 'plugins.login.built_in_css',
  5119. 'redirect_to_login' => 'plugins.login.redirect_to_login',
  5120. 'redirect_after_login' => 'plugins.login.redirect_after_login',
  5121. 'redirect_after_logout' => 'plugins.login.redirect_after_logout',
  5122. 'parent_acl' => 'plugins.login.parent_acl',
  5123. 'dynamic_page_visibility' => 'plugins.login.dynamic_page_visibility',
  5124. 'twofa_enabled' => 'plugins.login.twofa_enabled',
  5125. 'protect_protected_page_media' => 'plugins.login.protect_protected_page_media',
  5126. 'session_user_sync' => 'plugins.login.session_user_sync',
  5127. 'rememberme' => [
  5128. 'enabled' => 'plugins.login.rememberme.enabled',
  5129. 'timeout' => 'plugins.login.rememberme.timeout',
  5130. 'name' => 'plugins.login.rememberme.name'
  5131. ],
  5132. 'routes' => 'plugins.login.routes',
  5133. 'route' => 'plugins.login.route',
  5134. 'route_after_login' => 'plugins.login.route_after_login',
  5135. 'route_after_logout' => 'plugins.login.route_after_logout',
  5136. 'route_forgot' => 'plugins.login.route_forgot',
  5137. 'route_reset' => 'plugins.login.route_reset',
  5138. 'route_profile' => 'plugins.login.route_profile',
  5139. 'route_activate' => 'plugins.login.route_activate',
  5140. 'user_registration' => [
  5141. 'redirect_after_activation' => 'plugins.login.user_registration.redirect_after_activation',
  5142. 'redirect_after_registration' => 'plugins.login.user_registration.redirect_after_registration',
  5143. 'enabled' => 'plugins.login.user_registration.enabled',
  5144. 'fields' => 'plugins.login.user_registration.fields',
  5145. 'default_values' => 'plugins.login.user_registration.default_values',
  5146. 'groups' => 'plugins.login.user_registration.groups',
  5147. 'access' => [
  5148. 'site' => 'plugins.login.user_registration.access.site'
  5149. ],
  5150. 'options' => [
  5151. 'validate_password1_and_password2' => 'plugins.login.user_registration.options.validate_password1_and_password2',
  5152. 'set_user_disabled' => 'plugins.login.user_registration.options.set_user_disabled',
  5153. 'login_after_registration' => 'plugins.login.user_registration.options.login_after_registration',
  5154. 'send_activation_email' => 'plugins.login.user_registration.options.send_activation_email',
  5155. 'manually_enable' => 'plugins.login.user_registration.options.manually_enable',
  5156. 'send_notification_email' => 'plugins.login.user_registration.options.send_notification_email',
  5157. 'send_welcome_email' => 'plugins.login.user_registration.options.send_welcome_email'
  5158. ]
  5159. ],
  5160. 'route_register' => 'plugins.login.route_register',
  5161. 'registration' => 'plugins.login.registration',
  5162. 'registration_fields' => 'plugins.login.registration_fields',
  5163. 'access_levels' => 'plugins.login.access_levels',
  5164. 'Security' => 'plugins.login.Security',
  5165. 'max_pw_resets_count' => 'plugins.login.max_pw_resets_count',
  5166. 'max_pw_resets_interval' => 'plugins.login.max_pw_resets_interval',
  5167. 'max_login_count' => 'plugins.login.max_login_count',
  5168. 'max_login_interval' => 'plugins.login.max_login_interval',
  5169. 'ipv6_subnet_size' => 'plugins.login.ipv6_subnet_size'
  5170. ],
  5171. 'error' => [
  5172. 'enabled' => 'plugins.error.enabled',
  5173. 'routes' => [
  5174. 404 => 'plugins.error.routes.404'
  5175. ]
  5176. ],
  5177. 'email' => [
  5178. 'enabled' => 'plugins.email.enabled',
  5179. 'mailer' => [
  5180. 'engine' => 'plugins.email.mailer.engine',
  5181. 'smtp' => [
  5182. 'server' => 'plugins.email.mailer.smtp.server',
  5183. 'port' => 'plugins.email.mailer.smtp.port',
  5184. 'encryption' => 'plugins.email.mailer.smtp.encryption',
  5185. 'user' => 'plugins.email.mailer.smtp.user',
  5186. 'password' => 'plugins.email.mailer.smtp.password'
  5187. ],
  5188. 'sendmail' => [
  5189. 'bin' => 'plugins.email.mailer.sendmail.bin'
  5190. ]
  5191. ],
  5192. 'content_type' => 'plugins.email.content_type',
  5193. 'charset' => 'plugins.email.charset',
  5194. 'email_Defaults' => 'plugins.email.email_Defaults',
  5195. 'from' => 'plugins.email.from',
  5196. 'from_name' => 'plugins.email.from_name',
  5197. 'to' => 'plugins.email.to',
  5198. 'to_name' => 'plugins.email.to_name',
  5199. 'cc' => 'plugins.email.cc',
  5200. 'cc_name' => 'plugins.email.cc_name',
  5201. 'bcc' => 'plugins.email.bcc',
  5202. 'reply_to' => 'plugins.email.reply_to',
  5203. 'reply_to_name' => 'plugins.email.reply_to_name',
  5204. 'body' => 'plugins.email.body',
  5205. 'smtp_config' => 'plugins.email.smtp_config',
  5206. 'sendmail_config' => 'plugins.email.sendmail_config',
  5207. 'queue_section' => 'plugins.email.queue_section',
  5208. 'queue' => [
  5209. 'enabled' => 'plugins.email.queue.enabled',
  5210. 'flush_frequency' => 'plugins.email.queue.flush_frequency',
  5211. 'flush_msg_limit' => 'plugins.email.queue.flush_msg_limit',
  5212. 'flush_time_limit' => 'plugins.email.queue.flush_time_limit'
  5213. ],
  5214. 'advanced_section' => 'plugins.email.advanced_section',
  5215. 'debug' => 'plugins.email.debug'
  5216. ],
  5217. 'taxonomylist' => [
  5218. 'enabled' => 'plugins.taxonomylist.enabled',
  5219. 'route' => 'plugins.taxonomylist.route'
  5220. ],
  5221. 'vimeo' => [
  5222. 'tabs' => 'plugins.vimeo.tabs',
  5223. 'general' => 'plugins.vimeo.general',
  5224. 'enabled' => 'plugins.vimeo.enabled',
  5225. 'plugin_css' => 'plugins.vimeo.plugin_css',
  5226. 'editor_button' => 'plugins.vimeo.editor_button',
  5227. 'player_parameters' => [
  5228. 'autoplay' => 'plugins.vimeo.player_parameters.autoplay',
  5229. 'autopause' => 'plugins.vimeo.player_parameters.autopause',
  5230. 'loop' => 'plugins.vimeo.player_parameters.loop',
  5231. 'player_id' => 'plugins.vimeo.player_parameters.player_id',
  5232. 'view' => 'plugins.vimeo.player_parameters.view',
  5233. 'title' => 'plugins.vimeo.player_parameters.title',
  5234. 'portrait' => 'plugins.vimeo.player_parameters.portrait',
  5235. 'byline' => 'plugins.vimeo.player_parameters.byline',
  5236. 'color' => 'plugins.vimeo.player_parameters.color'
  5237. ]
  5238. ],
  5239. 'problems' => [
  5240. 'enabled' => 'plugins.problems.enabled',
  5241. 'built_in_css' => 'plugins.problems.built_in_css'
  5242. ]
  5243. ]
  5244. ],
  5245. 'dynamic' => [
  5246. ],
  5247. 'filter' => [
  5248. 'validation' => true
  5249. ]
  5250. ]
  5251. ];