master-dev.r2c.net.php 143 KB

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