master-dev.anissabensalah.net.php 160 KB

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