master-dev.anissabensalah.net.php 162 KB

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