master-dev.static-ethica.net.php 157 KB

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