master-localhost.php 174 KB

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