master-dev.hehe.net.php 153 KB

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