master-dev.hehe.net.php 151 KB

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