master-localhost.php 194 KB

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