master-dev.hehe.net.php 145 KB

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