master-dev.hehe.net.php 157 KB

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