master-dev.hehe.net.php 147 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819
  1. <?php
  2. return [
  3. '@class' => 'Grav\\Common\\Config\\CompiledBlueprints',
  4. 'timestamp' => 1534926821,
  5. 'checksum' => '7c7845f798548c1030ca7baa4cf61bec',
  6. 'files' => [
  7. 'user/plugins/admin/blueprints/config' => [
  8. 'media' => [
  9. 'file' => 'user/plugins/admin/blueprints/config/media.yaml',
  10. 'modified' => 1534926555
  11. ]
  12. ],
  13. 'system/blueprints/config' => [
  14. 'media' => [
  15. 'file' => 'system/blueprints/config/media.yaml',
  16. 'modified' => 1534926041
  17. ],
  18. 'site' => [
  19. 'file' => 'system/blueprints/config/site.yaml',
  20. 'modified' => 1534926041
  21. ],
  22. 'streams' => [
  23. 'file' => 'system/blueprints/config/streams.yaml',
  24. 'modified' => 1534926041
  25. ],
  26. 'system' => [
  27. 'file' => 'system/blueprints/config/system.yaml',
  28. 'modified' => 1534926041
  29. ]
  30. ],
  31. 'user/plugins' => [
  32. 'plugins/admin' => [
  33. 'file' => 'user/plugins/admin/blueprints.yaml',
  34. 'modified' => 1534926555
  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' => 1534926514
  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.initialize' => [
  1521. 'type' => 'toggle',
  1522. 'label' => 'PLUGIN_ADMIN.SESSION_INITIALIZE',
  1523. 'highlight' => 1,
  1524. 'options' => [
  1525. 1 => 'PLUGIN_ADMIN.YES',
  1526. 0 => 'PLUGIN_ADMIN.NO'
  1527. ],
  1528. 'default' => true,
  1529. 'validate' => [
  1530. 'type' => 'bool'
  1531. ],
  1532. 'name' => 'system.session.initialize',
  1533. 'validation' => 'loose'
  1534. ],
  1535. 'system.session.timeout' => [
  1536. 'type' => 'text',
  1537. 'size' => 'small',
  1538. 'append' => 'NICETIME.SECOND_PLURAL',
  1539. 'label' => 'PLUGIN_ADMIN.TIMEOUT',
  1540. 'validate' => [
  1541. 'type' => 'number',
  1542. 'min' => 0
  1543. ],
  1544. 'name' => 'system.session.timeout',
  1545. 'validation' => 'loose'
  1546. ],
  1547. 'system.session.name' => [
  1548. 'type' => 'text',
  1549. 'size' => 'small',
  1550. 'label' => 'PLUGIN_ADMIN.NAME',
  1551. 'name' => 'system.session.name',
  1552. 'validation' => 'loose'
  1553. ],
  1554. 'system.session.secure' => [
  1555. 'type' => 'toggle',
  1556. 'label' => 'PLUGIN_ADMIN.SESSION_SECURE',
  1557. 'highlight' => 1,
  1558. 'options' => [
  1559. 1 => 'PLUGIN_ADMIN.YES',
  1560. 0 => 'PLUGIN_ADMIN.NO'
  1561. ],
  1562. 'default' => false,
  1563. 'validate' => [
  1564. 'type' => 'bool'
  1565. ],
  1566. 'name' => 'system.session.secure',
  1567. 'validation' => 'loose'
  1568. ],
  1569. 'system.session.httponly' => [
  1570. 'type' => 'toggle',
  1571. 'label' => 'PLUGIN_ADMIN.SESSION_HTTPONLY',
  1572. 'highlight' => 1,
  1573. 'options' => [
  1574. 1 => 'PLUGIN_ADMIN.YES',
  1575. 0 => 'PLUGIN_ADMIN.NO'
  1576. ],
  1577. 'default' => true,
  1578. 'validate' => [
  1579. 'type' => 'bool'
  1580. ],
  1581. 'name' => 'system.session.httponly',
  1582. 'validation' => 'loose'
  1583. ],
  1584. 'system.session.path' => [
  1585. 'type' => 'text',
  1586. 'size' => 'small',
  1587. 'label' => 'PLUGIN_ADMIN.SESSION_PATH',
  1588. 'name' => 'system.session.path',
  1589. 'validation' => 'loose'
  1590. ],
  1591. 'system.session.split' => [
  1592. 'type' => 'toggle',
  1593. 'label' => 'PLUGIN_ADMIN.SESSION_SPLIT',
  1594. 'highlight' => 1,
  1595. 'options' => [
  1596. 1 => 'PLUGIN_ADMIN.YES',
  1597. 0 => 'PLUGIN_ADMIN.NO'
  1598. ],
  1599. 'default' => true,
  1600. 'validate' => [
  1601. 'type' => 'bool'
  1602. ],
  1603. 'name' => 'system.session.split',
  1604. 'validation' => 'loose'
  1605. ],
  1606. 'system.gpm' => [
  1607. 'type' => '_parent',
  1608. 'name' => 'system.gpm',
  1609. 'form_field' => false
  1610. ],
  1611. 'system.gpm.releases' => [
  1612. 'type' => 'toggle',
  1613. 'label' => 'PLUGIN_ADMIN.GPM_RELEASES',
  1614. 'highlight' => 'stable',
  1615. 'options' => [
  1616. 'stable' => 'PLUGIN_ADMIN.STABLE',
  1617. 'testing' => 'PLUGIN_ADMIN.TESTING'
  1618. ],
  1619. 'name' => 'system.gpm.releases',
  1620. 'validation' => 'loose'
  1621. ],
  1622. 'system.gpm.proxy_url' => [
  1623. 'type' => 'text',
  1624. 'size' => 'medium',
  1625. 'label' => 'PLUGIN_ADMIN.PROXY_URL',
  1626. 'name' => 'system.gpm.proxy_url',
  1627. 'validation' => 'loose'
  1628. ],
  1629. 'system.gpm.method' => [
  1630. 'type' => 'toggle',
  1631. 'label' => 'PLUGIN_ADMIN.GPM_METHOD',
  1632. 'highlight' => 'auto',
  1633. 'options' => [
  1634. 'auto' => 'PLUGIN_ADMIN.AUTO',
  1635. 'fopen' => 'PLUGIN_ADMIN.FOPEN',
  1636. 'curl' => 'PLUGIN_ADMIN.CURL'
  1637. ],
  1638. 'name' => 'system.gpm.method',
  1639. 'validation' => 'loose'
  1640. ],
  1641. 'system.gpm.official_gpm_only' => [
  1642. 'type' => 'toggle',
  1643. 'label' => 'PLUGIN_ADMIN.GPM_OFFICIAL_ONLY',
  1644. 'highlight' => 'auto',
  1645. 'options' => [
  1646. 1 => 'PLUGIN_ADMIN.YES',
  1647. 0 => 'PLUGIN_ADMIN.NO'
  1648. ],
  1649. 'default' => true,
  1650. 'validate' => [
  1651. 'type' => 'bool'
  1652. ],
  1653. 'name' => 'system.gpm.official_gpm_only',
  1654. 'validation' => 'loose'
  1655. ],
  1656. 'system.gpm.verify_peer' => [
  1657. 'type' => 'toggle',
  1658. 'label' => 'PLUGIN_ADMIN.GPM_VERIFY_PEER',
  1659. 'highlight' => 1,
  1660. 'options' => [
  1661. 1 => 'PLUGIN_ADMIN.YES',
  1662. 0 => 'PLUGIN_ADMIN.NO'
  1663. ],
  1664. 'validate' => [
  1665. 'type' => 'bool'
  1666. ],
  1667. 'name' => 'system.gpm.verify_peer',
  1668. 'validation' => 'loose'
  1669. ],
  1670. 'system.reverse_proxy_setup' => [
  1671. 'type' => 'toggle',
  1672. 'label' => 'PLUGIN_ADMIN.REVERSE_PROXY',
  1673. 'highlight' => 0,
  1674. 'options' => [
  1675. 1 => 'PLUGIN_ADMIN.YES',
  1676. 0 => 'PLUGIN_ADMIN.NO'
  1677. ],
  1678. 'validate' => [
  1679. 'type' => 'bool'
  1680. ],
  1681. 'name' => 'system.reverse_proxy_setup',
  1682. 'validation' => 'loose'
  1683. ],
  1684. 'system.username_regex' => [
  1685. 'type' => 'text',
  1686. 'size' => 'large',
  1687. 'label' => 'PLUGIN_ADMIN.USERNAME_REGEX',
  1688. 'name' => 'system.username_regex',
  1689. 'validation' => 'loose'
  1690. ],
  1691. 'system.pwd_regex' => [
  1692. 'type' => 'text',
  1693. 'size' => 'large',
  1694. 'label' => 'PLUGIN_ADMIN.PWD_REGEX',
  1695. 'name' => 'system.pwd_regex',
  1696. 'validation' => 'loose'
  1697. ],
  1698. 'system.intl_enabled' => [
  1699. 'type' => 'toggle',
  1700. 'label' => 'PLUGIN_ADMIN.INTL_ENABLED',
  1701. 'highlight' => 1,
  1702. 'options' => [
  1703. 1 => 'PLUGIN_ADMIN.YES',
  1704. 0 => 'PLUGIN_ADMIN.NO'
  1705. ],
  1706. 'validate' => [
  1707. 'type' => 'bool'
  1708. ],
  1709. 'name' => 'system.intl_enabled',
  1710. 'validation' => 'loose'
  1711. ],
  1712. 'system.wrapped_site' => [
  1713. 'type' => 'toggle',
  1714. 'label' => 'PLUGIN_ADMIN.WRAPPED_SITE',
  1715. 'highlight' => 0,
  1716. 'options' => [
  1717. 1 => 'PLUGIN_ADMIN.YES',
  1718. 0 => 'PLUGIN_ADMIN.NO'
  1719. ],
  1720. 'validate' => [
  1721. 'type' => 'bool'
  1722. ],
  1723. 'name' => 'system.wrapped_site',
  1724. 'validation' => 'loose'
  1725. ],
  1726. 'system.absolute_urls' => [
  1727. 'type' => 'toggle',
  1728. 'label' => 'PLUGIN_ADMIN.ABSOLUTE_URLS',
  1729. 'highlight' => 0,
  1730. 'options' => [
  1731. 1 => 'PLUGIN_ADMIN.YES',
  1732. 0 => 'PLUGIN_ADMIN.NO'
  1733. ],
  1734. 'validate' => [
  1735. 'type' => 'bool'
  1736. ],
  1737. 'name' => 'system.absolute_urls',
  1738. 'validation' => 'loose'
  1739. ],
  1740. 'system.param_sep' => [
  1741. 'type' => 'select',
  1742. 'size' => 'medium',
  1743. 'label' => 'PLUGIN_ADMIN.PARAMETER_SEPARATOR',
  1744. 'classes' => 'fancy',
  1745. 'default' => '',
  1746. 'options' => [
  1747. ':' => ': (default)',
  1748. ';' => '; (for Apache running on Windows)'
  1749. ],
  1750. 'name' => 'system.param_sep',
  1751. 'validation' => 'loose'
  1752. ],
  1753. 'system.force_ssl' => [
  1754. 'type' => 'toggle',
  1755. 'label' => 'PLUGIN_ADMIN.FORCE_SSL',
  1756. 'highlight' => 0,
  1757. 'options' => [
  1758. 1 => 'PLUGIN_ADMIN.YES',
  1759. 0 => 'PLUGIN_ADMIN.NO'
  1760. ],
  1761. 'validate' => [
  1762. 'type' => 'bool'
  1763. ],
  1764. 'name' => 'system.force_ssl',
  1765. 'validation' => 'loose'
  1766. ],
  1767. 'system.force_lowercase_urls' => [
  1768. 'type' => 'toggle',
  1769. 'label' => 'PLUGIN_ADMIN.FORCE_LOWERCASE_URLS',
  1770. 'highlight' => 1,
  1771. 'default' => 1,
  1772. 'options' => [
  1773. 1 => 'PLUGIN_ADMIN.YES',
  1774. 0 => 'PLUGIN_ADMIN.NO'
  1775. ],
  1776. 'validate' => [
  1777. 'type' => 'bool'
  1778. ],
  1779. 'name' => 'system.force_lowercase_urls',
  1780. 'validation' => 'loose'
  1781. ],
  1782. 'system.custom_base_url' => [
  1783. 'type' => 'text',
  1784. 'size' => 'medium',
  1785. 'label' => 'PLUGIN_ADMIN.CUSTOM_BASE_URL',
  1786. 'name' => 'system.custom_base_url',
  1787. 'validation' => 'loose'
  1788. ],
  1789. 'system.strict_mode' => [
  1790. 'type' => '_parent',
  1791. 'name' => 'system.strict_mode',
  1792. 'form_field' => false
  1793. ],
  1794. 'system.strict_mode.yaml_compat' => [
  1795. 'type' => 'toggle',
  1796. 'label' => 'PLUGIN_ADMIN.STRICT_YAML_COMPAT',
  1797. 'highlight' => 1,
  1798. 'default' => 1,
  1799. 'options' => [
  1800. 1 => 'PLUGIN_ADMIN.YES',
  1801. 0 => 'PLUGIN_ADMIN.NO'
  1802. ],
  1803. 'validate' => [
  1804. 'type' => 'bool'
  1805. ],
  1806. 'name' => 'system.strict_mode.yaml_compat',
  1807. 'validation' => 'loose'
  1808. ],
  1809. 'system.strict_mode.twig_compat' => [
  1810. 'type' => 'toggle',
  1811. 'label' => 'PLUGIN_ADMIN.STRICT_TWIG_COMPAT',
  1812. 'highlight' => 1,
  1813. 'default' => 1,
  1814. 'options' => [
  1815. 1 => 'PLUGIN_ADMIN.YES',
  1816. 0 => 'PLUGIN_ADMIN.NO'
  1817. ],
  1818. 'validate' => [
  1819. 'type' => 'bool'
  1820. ],
  1821. 'name' => 'system.strict_mode.twig_compat',
  1822. 'validation' => 'loose'
  1823. ],
  1824. 'plugins.admin' => [
  1825. 'type' => '_root',
  1826. 'form_field' => false,
  1827. 'form' => [
  1828. 'validation' => 'loose'
  1829. ]
  1830. ],
  1831. 'plugins' => [
  1832. 'type' => '_parent',
  1833. 'name' => 'plugins',
  1834. 'form_field' => false
  1835. ],
  1836. 'plugins.admin.enabled' => [
  1837. 'type' => 'hidden',
  1838. 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
  1839. 'highlight' => 1,
  1840. 'default' => 0,
  1841. 'options' => [
  1842. 1 => 'PLUGIN_ADMIN.ENABLED',
  1843. 0 => 'PLUGIN_ADMIN.DISABLED'
  1844. ],
  1845. 'validate' => [
  1846. 'type' => 'bool'
  1847. ],
  1848. 'name' => 'plugins.admin.enabled',
  1849. 'validation' => 'loose'
  1850. ],
  1851. 'plugins.admin.cache_enabled' => [
  1852. 'type' => 'toggle',
  1853. 'label' => 'PLUGIN_ADMIN.ADMIN_CACHING',
  1854. 'highlight' => 0,
  1855. 'options' => [
  1856. 1 => 'PLUGIN_ADMIN.YES',
  1857. 0 => 'PLUGIN_ADMIN.NO'
  1858. ],
  1859. 'validate' => [
  1860. 'type' => 'bool'
  1861. ],
  1862. 'name' => 'plugins.admin.cache_enabled',
  1863. 'validation' => 'loose'
  1864. ],
  1865. 'plugins.admin.twofa_enabled' => [
  1866. 'type' => 'toggle',
  1867. 'label' => 'PLUGIN_ADMIN.2FA_TITLE',
  1868. 'default' => 1,
  1869. 'highlight' => 1,
  1870. 'options' => [
  1871. 1 => 'PLUGIN_ADMIN.YES',
  1872. 0 => 'PLUGIN_ADMIN.NO'
  1873. ],
  1874. 'validate' => [
  1875. 'type' => 'bool'
  1876. ],
  1877. 'name' => 'plugins.admin.twofa_enabled',
  1878. 'validation' => 'loose'
  1879. ],
  1880. 'plugins.admin.route' => [
  1881. 'type' => 'text',
  1882. 'label' => 'Administrator path',
  1883. 'size' => 'medium',
  1884. 'name' => 'plugins.admin.route',
  1885. 'validation' => 'loose'
  1886. ],
  1887. 'plugins.admin.logo_text' => [
  1888. 'type' => 'text',
  1889. 'label' => 'Logo text',
  1890. 'size' => 'medium',
  1891. 'name' => 'plugins.admin.logo_text',
  1892. 'validation' => 'loose'
  1893. ],
  1894. 'plugins.admin.content_padding' => [
  1895. 'type' => 'toggle',
  1896. 'label' => 'PLUGIN_ADMIN.CONTENT_PADDING',
  1897. 'highlight' => 1,
  1898. 'options' => [
  1899. 1 => 'PLUGIN_ADMIN.YES',
  1900. 0 => 'PLUGIN_ADMIN.NO'
  1901. ],
  1902. 'validate' => [
  1903. 'type' => 'bool'
  1904. ],
  1905. 'name' => 'plugins.admin.content_padding',
  1906. 'validation' => 'loose'
  1907. ],
  1908. 'plugins.admin.body_classes' => [
  1909. 'type' => 'text',
  1910. 'label' => 'Body classes',
  1911. 'size' => 'medium',
  1912. 'name' => 'plugins.admin.body_classes',
  1913. 'validation' => 'loose'
  1914. ],
  1915. 'plugins.admin.sidebar' => [
  1916. 'type' => '_parent',
  1917. 'name' => 'plugins.admin.sidebar',
  1918. 'form_field' => false
  1919. ],
  1920. 'plugins.admin.sidebar.activate' => [
  1921. 'type' => 'select',
  1922. 'label' => 'Sidebar Activation',
  1923. 'size' => 'small',
  1924. 'default' => 'tab',
  1925. 'options' => [
  1926. 'tab' => 'Tab',
  1927. 'hover' => 'Hover'
  1928. ],
  1929. 'name' => 'plugins.admin.sidebar.activate',
  1930. 'validation' => 'loose'
  1931. ],
  1932. 'plugins.admin.sidebar.hover_delay' => [
  1933. 'type' => 'text',
  1934. 'size' => 'x-small',
  1935. 'append' => 'millseconds',
  1936. 'label' => 'Hover delay',
  1937. 'default' => 500,
  1938. 'validate' => [
  1939. 'type' => 'number',
  1940. 'min' => 1
  1941. ],
  1942. 'name' => 'plugins.admin.sidebar.hover_delay',
  1943. 'validation' => 'loose'
  1944. ],
  1945. 'plugins.admin.sidebar.size' => [
  1946. 'type' => 'select',
  1947. 'label' => 'Sidebar Size',
  1948. 'size' => 'medium',
  1949. 'default' => 'auto',
  1950. 'options' => [
  1951. 'auto' => 'Automatic width',
  1952. 'small' => 'Small width'
  1953. ],
  1954. 'name' => 'plugins.admin.sidebar.size',
  1955. 'validation' => 'loose'
  1956. ],
  1957. 'plugins.admin.theme' => [
  1958. 'type' => 'hidden',
  1959. 'label' => 'Theme',
  1960. 'default' => 'grav',
  1961. 'name' => 'plugins.admin.theme',
  1962. 'validation' => 'loose'
  1963. ],
  1964. 'plugins.admin.edit_mode' => [
  1965. 'type' => 'select',
  1966. 'label' => 'Edit mode',
  1967. 'size' => 'small',
  1968. 'default' => 'normal',
  1969. 'options' => [
  1970. 'normal' => 'Normal',
  1971. 'expert' => 'Expert'
  1972. ],
  1973. 'name' => 'plugins.admin.edit_mode',
  1974. 'validation' => 'loose'
  1975. ],
  1976. 'plugins.admin.frontend_preview_target' => [
  1977. 'type' => 'select',
  1978. 'label' => 'Preview pages target',
  1979. 'size' => 'medium',
  1980. 'default' => 'inline',
  1981. 'options' => [
  1982. 'inline' => 'Inline in Admin',
  1983. '_blank' => 'New tab',
  1984. '_self' => 'Current tab'
  1985. ],
  1986. 'name' => 'plugins.admin.frontend_preview_target',
  1987. 'validation' => 'loose'
  1988. ],
  1989. 'plugins.admin.pages' => [
  1990. 'type' => '_parent',
  1991. 'name' => 'plugins.admin.pages',
  1992. 'form_field' => false
  1993. ],
  1994. 'plugins.admin.pages.show_parents' => [
  1995. 'type' => 'select',
  1996. 'size' => 'medium',
  1997. 'label' => 'Parent dropdown',
  1998. 'highlight' => 1,
  1999. 'options' => [
  2000. 'both' => 'Show slug and folder',
  2001. 'folder' => 'Show folder',
  2002. 'fullpath' => 'Show fullpath'
  2003. ],
  2004. 'name' => 'plugins.admin.pages.show_parents',
  2005. 'validation' => 'loose'
  2006. ],
  2007. 'plugins.admin.pages.parents_levels' => [
  2008. 'type' => 'text',
  2009. 'label' => 'Parents Levels',
  2010. 'size' => 'small',
  2011. 'name' => 'plugins.admin.pages.parents_levels',
  2012. 'validation' => 'loose'
  2013. ],
  2014. 'plugins.admin.google_fonts' => [
  2015. 'type' => 'toggle',
  2016. 'label' => 'Use Google Fonts',
  2017. 'highlight' => 0,
  2018. 'default' => 0,
  2019. 'options' => [
  2020. 1 => 'PLUGIN_ADMIN.ENABLED',
  2021. 0 => 'PLUGIN_ADMIN.DISABLED'
  2022. ],
  2023. 'validate' => [
  2024. 'type' => 'bool'
  2025. ],
  2026. 'name' => 'plugins.admin.google_fonts',
  2027. 'validation' => 'loose'
  2028. ],
  2029. 'plugins.admin.admin_icons' => [
  2030. 'type' => 'select',
  2031. 'size' => 'medium',
  2032. 'label' => 'Icon Style',
  2033. 'default' => 'line-awesome',
  2034. 'options' => [
  2035. 'line-awesome' => 'Lighter Line Icons (LineAwesome)',
  2036. 'font-awesome' => 'Darker Solid Icons (FontAwesome)'
  2037. ],
  2038. 'name' => 'plugins.admin.admin_icons',
  2039. 'validation' => 'loose'
  2040. ],
  2041. 'plugins.admin.show_beta_msg' => [
  2042. 'type' => 'hidden',
  2043. 'name' => 'plugins.admin.show_beta_msg',
  2044. 'validation' => 'loose'
  2045. ],
  2046. 'plugins.admin.show_github_msg' => [
  2047. 'type' => 'toggle',
  2048. 'label' => 'Show GitHub Link',
  2049. 'highlight' => 1,
  2050. 'default' => 1,
  2051. 'options' => [
  2052. 1 => 'PLUGIN_ADMIN.ENABLED',
  2053. 0 => 'PLUGIN_ADMIN.DISABLED'
  2054. ],
  2055. 'validate' => [
  2056. 'type' => 'bool'
  2057. ],
  2058. 'name' => 'plugins.admin.show_github_msg',
  2059. 'validation' => 'loose'
  2060. ],
  2061. 'plugins.admin.pages_list_display_field' => [
  2062. 'type' => 'text',
  2063. 'size' => 'small',
  2064. 'label' => 'Pages List Display Field',
  2065. 'name' => 'plugins.admin.pages_list_display_field',
  2066. 'validation' => 'loose'
  2067. ],
  2068. 'plugins.admin.enable_auto_updates_check' => [
  2069. 'type' => 'toggle',
  2070. 'label' => 'Automatically check for updates',
  2071. 'highlight' => 1,
  2072. 'default' => 1,
  2073. 'options' => [
  2074. 1 => 'PLUGIN_ADMIN.ENABLED',
  2075. 0 => 'PLUGIN_ADMIN.DISABLED'
  2076. ],
  2077. 'validate' => [
  2078. 'type' => 'bool'
  2079. ],
  2080. 'name' => 'plugins.admin.enable_auto_updates_check',
  2081. 'validation' => 'loose'
  2082. ],
  2083. 'plugins.admin.session' => [
  2084. 'type' => '_parent',
  2085. 'name' => 'plugins.admin.session',
  2086. 'form_field' => false
  2087. ],
  2088. 'plugins.admin.session.timeout' => [
  2089. 'type' => 'text',
  2090. 'size' => 'small',
  2091. 'label' => 'Session Timeout',
  2092. 'append' => 'secs',
  2093. 'validate' => [
  2094. 'type' => 'number',
  2095. 'min' => 1
  2096. ],
  2097. 'name' => 'plugins.admin.session.timeout',
  2098. 'validation' => 'loose'
  2099. ],
  2100. 'plugins.admin.warnings' => [
  2101. 'type' => '_parent',
  2102. 'name' => 'plugins.admin.warnings',
  2103. 'form_field' => false
  2104. ],
  2105. 'plugins.admin.warnings.delete_page' => [
  2106. 'type' => 'toggle',
  2107. 'label' => 'Warn on page delete',
  2108. 'highlight' => 1,
  2109. 'default' => 1,
  2110. 'options' => [
  2111. 1 => 'PLUGIN_ADMIN.ENABLED',
  2112. 0 => 'PLUGIN_ADMIN.DISABLED'
  2113. ],
  2114. 'validate' => [
  2115. 'type' => 'bool'
  2116. ],
  2117. 'name' => 'plugins.admin.warnings.delete_page',
  2118. 'validation' => 'loose'
  2119. ],
  2120. 'plugins.admin.hide_page_types' => [
  2121. 'type' => 'array',
  2122. 'label' => 'Hide page types in Admin',
  2123. 'value_only' => true,
  2124. 'name' => 'plugins.admin.hide_page_types',
  2125. 'validation' => 'loose'
  2126. ],
  2127. 'plugins.admin.hide_modular_page_types' => [
  2128. 'type' => 'array',
  2129. 'label' => 'Hide modular page types in Admin',
  2130. 'value_only' => true,
  2131. 'name' => 'plugins.admin.hide_modular_page_types',
  2132. 'validation' => 'loose'
  2133. ],
  2134. 'plugins.admin.pagemedia' => [
  2135. 'type' => '_parent',
  2136. 'name' => 'plugins.admin.pagemedia',
  2137. 'form_field' => false
  2138. ],
  2139. 'plugins.admin.pagemedia.resize_width' => [
  2140. 'type' => 'number',
  2141. 'size' => 'x-small',
  2142. 'append' => 'pixels',
  2143. 'label' => 'Resize Width',
  2144. 'default' => 0,
  2145. 'validate' => [
  2146. 'type' => 'number'
  2147. ],
  2148. 'name' => 'plugins.admin.pagemedia.resize_width',
  2149. 'validation' => 'loose'
  2150. ],
  2151. 'plugins.admin.pagemedia.resize_height' => [
  2152. 'type' => 'number',
  2153. 'size' => 'x-small',
  2154. 'append' => 'pixels',
  2155. 'label' => 'Resize Height',
  2156. 'default' => 0,
  2157. 'validate' => [
  2158. 'type' => 'number'
  2159. ],
  2160. 'name' => 'plugins.admin.pagemedia.resize_height',
  2161. 'validation' => 'loose'
  2162. ],
  2163. 'plugins.admin.pagemedia.res_min_width' => [
  2164. 'type' => 'number',
  2165. 'size' => 'x-small',
  2166. 'append' => 'pixels',
  2167. 'label' => 'Resolution Min Width',
  2168. 'default' => 0,
  2169. 'validate' => [
  2170. 'type' => 'number'
  2171. ],
  2172. 'name' => 'plugins.admin.pagemedia.res_min_width',
  2173. 'validation' => 'loose'
  2174. ],
  2175. 'plugins.admin.pagemedia.res_min_height' => [
  2176. 'type' => 'number',
  2177. 'size' => 'x-small',
  2178. 'append' => 'pixels',
  2179. 'label' => 'Resolution Min Height',
  2180. 'default' => 0,
  2181. 'validate' => [
  2182. 'type' => 'number'
  2183. ],
  2184. 'name' => 'plugins.admin.pagemedia.res_min_height',
  2185. 'validation' => 'loose'
  2186. ],
  2187. 'plugins.admin.pagemedia.res_max_width' => [
  2188. 'type' => 'number',
  2189. 'size' => 'x-small',
  2190. 'append' => 'pixels',
  2191. 'label' => 'Resolution Max Width',
  2192. 'default' => 0,
  2193. 'validate' => [
  2194. 'type' => 'number'
  2195. ],
  2196. 'name' => 'plugins.admin.pagemedia.res_max_width',
  2197. 'validation' => 'loose'
  2198. ],
  2199. 'plugins.admin.pagemedia.res_max_height' => [
  2200. 'type' => 'number',
  2201. 'size' => 'x-small',
  2202. 'append' => 'pixels',
  2203. 'label' => 'Resolution Max Height',
  2204. 'default' => 0,
  2205. 'validate' => [
  2206. 'type' => 'number'
  2207. ],
  2208. 'name' => 'plugins.admin.pagemedia.res_max_height',
  2209. 'validation' => 'loose'
  2210. ],
  2211. 'plugins.admin.pagemedia.resize_quality' => [
  2212. 'type' => 'number',
  2213. 'size' => 'x-small',
  2214. 'append' => '0...1',
  2215. 'label' => 'Resize Quality',
  2216. 'default' => 0.8,
  2217. 'validate' => [
  2218. 'type' => 'number',
  2219. 'step' => 0.01
  2220. ],
  2221. 'name' => 'plugins.admin.pagemedia.resize_quality',
  2222. 'validation' => 'loose'
  2223. ],
  2224. 'plugins.admin.widgets' => [
  2225. 'type' => '_parent',
  2226. 'name' => 'plugins.admin.widgets',
  2227. 'form_field' => false
  2228. ],
  2229. 'plugins.admin.widgets.dashboard-maintenance' => [
  2230. 'type' => 'toggle',
  2231. 'label' => 'Maintenance Widget',
  2232. 'highlight' => 1,
  2233. 'default' => 1,
  2234. 'options' => [
  2235. 1 => 'PLUGIN_ADMIN.ENABLED',
  2236. 0 => 'PLUGIN_ADMIN.DISABLED'
  2237. ],
  2238. 'validate' => [
  2239. 'type' => 'bool'
  2240. ],
  2241. 'name' => 'plugins.admin.widgets.dashboard-maintenance',
  2242. 'validation' => 'loose'
  2243. ],
  2244. 'plugins.admin.widgets.dashboard-statistics' => [
  2245. 'type' => 'toggle',
  2246. 'label' => 'Statistics Widget',
  2247. 'highlight' => 1,
  2248. 'default' => 1,
  2249. 'options' => [
  2250. 1 => 'PLUGIN_ADMIN.ENABLED',
  2251. 0 => 'PLUGIN_ADMIN.DISABLED'
  2252. ],
  2253. 'validate' => [
  2254. 'type' => 'bool'
  2255. ],
  2256. 'name' => 'plugins.admin.widgets.dashboard-statistics',
  2257. 'validation' => 'loose'
  2258. ],
  2259. 'plugins.admin.widgets.dashboard-notifications' => [
  2260. 'type' => 'toggle',
  2261. 'label' => 'Notifications Feed Widget',
  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.widgets.dashboard-notifications',
  2272. 'validation' => 'loose'
  2273. ],
  2274. 'plugins.admin.widgets.dashboard-feed' => [
  2275. 'type' => 'toggle',
  2276. 'label' => 'News Feed Widget',
  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.widgets.dashboard-feed',
  2287. 'validation' => 'loose'
  2288. ],
  2289. 'plugins.admin.widgets.dashboard-pages' => [
  2290. 'type' => 'toggle',
  2291. 'label' => 'Latest Pages Widget',
  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.widgets.dashboard-pages',
  2302. 'validation' => 'loose'
  2303. ],
  2304. 'plugins.admin.notifications' => [
  2305. 'type' => '_parent',
  2306. 'name' => 'plugins.admin.notifications',
  2307. 'form_field' => false
  2308. ],
  2309. 'plugins.admin.notifications.feed' => [
  2310. 'type' => 'toggle',
  2311. 'label' => 'Feed Notifications',
  2312. 'highlight' => 1,
  2313. 'default' => 1,
  2314. 'options' => [
  2315. 1 => 'PLUGIN_ADMIN.ENABLED',
  2316. 0 => 'PLUGIN_ADMIN.DISABLED'
  2317. ],
  2318. 'validate' => [
  2319. 'type' => 'bool'
  2320. ],
  2321. 'name' => 'plugins.admin.notifications.feed',
  2322. 'validation' => 'loose'
  2323. ],
  2324. 'plugins.admin.notifications.dashboard' => [
  2325. 'type' => 'toggle',
  2326. 'label' => 'Dashboard Notifications',
  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.notifications.dashboard',
  2337. 'validation' => 'loose'
  2338. ],
  2339. 'plugins.admin.notifications.plugins' => [
  2340. 'type' => 'toggle',
  2341. 'label' => 'Plugins Notifications',
  2342. 'highlight' => 1,
  2343. 'default' => 1,
  2344. 'options' => [
  2345. 1 => 'PLUGIN_ADMIN.ENABLED',
  2346. 0 => 'PLUGIN_ADMIN.DISABLED'
  2347. ],
  2348. 'validate' => [
  2349. 'type' => 'bool'
  2350. ],
  2351. 'name' => 'plugins.admin.notifications.plugins',
  2352. 'validation' => 'loose'
  2353. ],
  2354. 'plugins.admin.notifications.themes' => [
  2355. 'type' => 'toggle',
  2356. 'label' => 'Themes Notifications',
  2357. 'highlight' => 1,
  2358. 'default' => 1,
  2359. 'options' => [
  2360. 1 => 'PLUGIN_ADMIN.ENABLED',
  2361. 0 => 'PLUGIN_ADMIN.DISABLED'
  2362. ],
  2363. 'validate' => [
  2364. 'type' => 'bool'
  2365. ],
  2366. 'name' => 'plugins.admin.notifications.themes',
  2367. 'validation' => 'loose'
  2368. ],
  2369. 'plugins.admin.popularity' => [
  2370. 'type' => '_parent',
  2371. 'name' => 'plugins.admin.popularity',
  2372. 'form_field' => false
  2373. ],
  2374. 'plugins.admin.popularity.enabled' => [
  2375. 'type' => 'toggle',
  2376. 'label' => 'Visitor tracking',
  2377. 'highlight' => 1,
  2378. 'default' => 1,
  2379. 'options' => [
  2380. 1 => 'PLUGIN_ADMIN.ENABLED',
  2381. 0 => 'PLUGIN_ADMIN.DISABLED'
  2382. ],
  2383. 'validate' => [
  2384. 'type' => 'bool'
  2385. ],
  2386. 'name' => 'plugins.admin.popularity.enabled',
  2387. 'validation' => 'loose'
  2388. ],
  2389. 'plugins.admin.dashboard' => [
  2390. 'type' => '_parent',
  2391. 'name' => 'plugins.admin.dashboard',
  2392. 'form_field' => false
  2393. ],
  2394. 'plugins.admin.dashboard.days_of_stats' => [
  2395. 'type' => 'text',
  2396. 'label' => 'Days of stats',
  2397. 'append' => 'days',
  2398. 'size' => 'x-small',
  2399. 'default' => 7,
  2400. 'validate' => [
  2401. 'type' => 'int'
  2402. ],
  2403. 'name' => 'plugins.admin.dashboard.days_of_stats',
  2404. 'validation' => 'loose'
  2405. ],
  2406. 'plugins.admin.popularity.ignore' => [
  2407. 'type' => 'array',
  2408. 'label' => 'Ignore',
  2409. 'size' => 'large',
  2410. 'default' => [
  2411. 0 => '/test*',
  2412. 1 => '/modular'
  2413. ],
  2414. 'value_only' => true,
  2415. 'name' => 'plugins.admin.popularity.ignore',
  2416. 'validation' => 'loose'
  2417. ],
  2418. 'plugins.admin.popularity.history' => [
  2419. 'type' => '_parent',
  2420. 'name' => 'plugins.admin.popularity.history',
  2421. 'form_field' => false
  2422. ],
  2423. 'plugins.admin.popularity.history.daily' => [
  2424. 'type' => 'hidden',
  2425. 'label' => 'Daily history',
  2426. 'default' => 30,
  2427. 'name' => 'plugins.admin.popularity.history.daily',
  2428. 'validation' => 'loose'
  2429. ],
  2430. 'plugins.admin.popularity.history.monthly' => [
  2431. 'type' => 'hidden',
  2432. 'label' => 'Monthly history',
  2433. 'default' => 12,
  2434. 'name' => 'plugins.admin.popularity.history.monthly',
  2435. 'validation' => 'loose'
  2436. ],
  2437. 'plugins.admin.popularity.history.visitors' => [
  2438. 'type' => 'hidden',
  2439. 'label' => 'Visitors history',
  2440. 'default' => 20,
  2441. 'name' => 'plugins.admin.popularity.history.visitors',
  2442. 'validation' => 'loose'
  2443. ],
  2444. 'plugins.markdown-notices' => [
  2445. 'type' => '_root',
  2446. 'form_field' => false,
  2447. 'form' => [
  2448. 'validation' => 'strict'
  2449. ]
  2450. ],
  2451. 'plugins.markdown-notices.enabled' => [
  2452. 'type' => 'toggle',
  2453. 'label' => 'Plugin status',
  2454. 'highlight' => 1,
  2455. 'default' => 0,
  2456. 'options' => [
  2457. 1 => 'Enabled',
  2458. 0 => 'Disabled'
  2459. ],
  2460. 'validate' => [
  2461. 'type' => 'bool'
  2462. ],
  2463. 'name' => 'plugins.markdown-notices.enabled',
  2464. 'validation' => 'strict'
  2465. ],
  2466. 'plugins.markdown-notices.built_in_css' => [
  2467. 'type' => 'toggle',
  2468. 'label' => 'Use built in CSS',
  2469. 'highlight' => 1,
  2470. 'default' => 1,
  2471. 'options' => [
  2472. 1 => 'Enabled',
  2473. 0 => 'Disabled'
  2474. ],
  2475. 'validate' => [
  2476. 'type' => 'bool'
  2477. ],
  2478. 'name' => 'plugins.markdown-notices.built_in_css',
  2479. 'validation' => 'strict'
  2480. ],
  2481. 'plugins.markdown-notices.level_classes' => [
  2482. 'type' => 'selectize',
  2483. 'size' => 'large',
  2484. 'label' => 'Level classes',
  2485. 'classes' => 'fancy',
  2486. 'validate' => [
  2487. 'type' => 'commalist'
  2488. ],
  2489. 'name' => 'plugins.markdown-notices.level_classes',
  2490. 'validation' => 'strict'
  2491. ],
  2492. 'plugins.form' => [
  2493. 'type' => '_root',
  2494. 'form_field' => false,
  2495. 'form' => [
  2496. 'validation' => 'strict'
  2497. ]
  2498. ],
  2499. 'plugins.form.enabled' => [
  2500. 'type' => 'hidden',
  2501. 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
  2502. 'highlight' => 1,
  2503. 'default' => 0,
  2504. 'options' => [
  2505. 1 => 'PLUGIN_ADMIN.ENABLED',
  2506. 0 => 'PLUGIN_ADMIN.DISABLED'
  2507. ],
  2508. 'validate' => [
  2509. 'type' => 'bool'
  2510. ],
  2511. 'name' => 'plugins.form.enabled',
  2512. 'validation' => 'strict'
  2513. ],
  2514. 'plugins.form.built_in_css' => [
  2515. 'type' => 'toggle',
  2516. 'label' => 'PLUGIN_FORM.USE_BUILT_IN_CSS',
  2517. 'highlight' => 1,
  2518. 'default' => 1,
  2519. 'options' => [
  2520. 1 => 'Enabled',
  2521. 0 => 'Disabled'
  2522. ],
  2523. 'validate' => [
  2524. 'type' => 'bool'
  2525. ],
  2526. 'name' => 'plugins.form.built_in_css',
  2527. 'validation' => 'strict'
  2528. ],
  2529. 'plugins.form.inline_css' => [
  2530. 'type' => 'toggle',
  2531. 'label' => 'PLUGIN_FORM.USE_INLINE_CSS',
  2532. 'highlight' => 1,
  2533. 'default' => 1,
  2534. 'options' => [
  2535. 1 => 'Enabled',
  2536. 0 => 'Disabled'
  2537. ],
  2538. 'validate' => [
  2539. 'type' => 'bool'
  2540. ],
  2541. 'name' => 'plugins.form.inline_css',
  2542. 'validation' => 'strict'
  2543. ],
  2544. 'plugins.form.refresh_prevention' => [
  2545. 'type' => 'toggle',
  2546. 'label' => 'PLUGIN_FORM.REFRESH_PREVENTION',
  2547. 'highlight' => 1,
  2548. 'default' => 0,
  2549. 'options' => [
  2550. 1 => 'Enabled',
  2551. 0 => 'Disabled'
  2552. ],
  2553. 'validate' => [
  2554. 'type' => 'bool'
  2555. ],
  2556. 'name' => 'plugins.form.refresh_prevention',
  2557. 'validation' => 'strict'
  2558. ],
  2559. 'plugins.form.client_side_validation' => [
  2560. 'type' => 'toggle',
  2561. 'label' => 'PLUGIN_FORM.CLIENT_SIDE_VALIDATION',
  2562. 'highlight' => 1,
  2563. 'default' => 1,
  2564. 'options' => [
  2565. 1 => 'Enabled',
  2566. 0 => 'Disabled'
  2567. ],
  2568. 'validate' => [
  2569. 'type' => 'bool'
  2570. ],
  2571. 'name' => 'plugins.form.client_side_validation',
  2572. 'validation' => 'strict'
  2573. ],
  2574. 'plugins.form.inline_errors' => [
  2575. 'type' => 'toggle',
  2576. 'label' => 'PLUGIN_FORM.INLINE_ERRORS',
  2577. 'highlight' => 0,
  2578. 'default' => 0,
  2579. 'options' => [
  2580. 1 => 'Enabled',
  2581. 0 => 'Disabled'
  2582. ],
  2583. 'validate' => [
  2584. 'type' => 'bool'
  2585. ],
  2586. 'name' => 'plugins.form.inline_errors',
  2587. 'validation' => 'strict'
  2588. ],
  2589. 'plugins.form.files' => [
  2590. 'type' => '_parent',
  2591. 'name' => 'plugins.form.files',
  2592. 'form_field' => false
  2593. ],
  2594. 'plugins.form.files.multiple' => [
  2595. 'type' => 'toggle',
  2596. 'label' => 'PLUGIN_FORM.ALLOW_MULTIPLE',
  2597. 'highlight' => 1,
  2598. 'default' => 0,
  2599. 'options' => [
  2600. 1 => 'PLUGIN_ADMIN.ENABLED',
  2601. 0 => 'PLUGIN_ADMIN.DISABLED'
  2602. ],
  2603. 'validate' => [
  2604. 'type' => 'bool'
  2605. ],
  2606. 'name' => 'plugins.form.files.multiple',
  2607. 'validation' => 'strict'
  2608. ],
  2609. 'plugins.form.files.limit' => [
  2610. 'type' => 'text',
  2611. 'size' => 'x-small',
  2612. 'label' => 'PLUGIN_FORM.LIMIT',
  2613. 'default' => 10,
  2614. 'validate' => [
  2615. 'type' => 'number',
  2616. 'min' => 1
  2617. ],
  2618. 'name' => 'plugins.form.files.limit',
  2619. 'validation' => 'strict'
  2620. ],
  2621. 'plugins.form.files.destination' => [
  2622. 'type' => 'text',
  2623. 'size' => 'large',
  2624. 'label' => 'PLUGIN_FORM.DESTINATION',
  2625. 'default' => '@self',
  2626. 'name' => 'plugins.form.files.destination',
  2627. 'validation' => 'strict'
  2628. ],
  2629. 'plugins.form.files.accept' => [
  2630. 'type' => 'selectize',
  2631. 'size' => 'large',
  2632. 'label' => 'PLUGIN_FORM.ACCEPT',
  2633. 'classes' => 'fancy',
  2634. 'default' => [
  2635. 0 => 'image/*'
  2636. ],
  2637. 'validate' => [
  2638. 'type' => 'commalist'
  2639. ],
  2640. 'name' => 'plugins.form.files.accept',
  2641. 'validation' => 'strict'
  2642. ],
  2643. 'plugins.form.files.filesize' => [
  2644. 'type' => 'text',
  2645. 'label' => 'PLUGIN_FORM.FILESIZE',
  2646. 'size' => 'x-small',
  2647. 'default' => 5,
  2648. 'validate' => [
  2649. 'type' => 'number',
  2650. 'min' => 0
  2651. ],
  2652. 'name' => 'plugins.form.files.filesize',
  2653. 'validation' => 'strict'
  2654. ],
  2655. 'plugins.form.files.avoid_overwriting' => [
  2656. 'type' => 'toggle',
  2657. 'label' => 'PLUGIN_FORM.AVOID_OVERWRITING',
  2658. 'highlight' => 0,
  2659. 'default' => 0,
  2660. 'options' => [
  2661. 1 => 'PLUGIN_ADMIN.ENABLED',
  2662. 0 => 'PLUGIN_ADMIN.DISABLED'
  2663. ],
  2664. 'validate' => [
  2665. 'type' => 'bool'
  2666. ],
  2667. 'name' => 'plugins.form.files.avoid_overwriting',
  2668. 'validation' => 'strict'
  2669. ],
  2670. 'plugins.form.files.random_name' => [
  2671. 'type' => 'toggle',
  2672. 'label' => 'PLUGIN_FORM.RANDOM_NAME',
  2673. 'highlight' => 0,
  2674. 'default' => 0,
  2675. 'options' => [
  2676. 1 => 'PLUGIN_ADMIN.ENABLED',
  2677. 0 => 'PLUGIN_ADMIN.DISABLED'
  2678. ],
  2679. 'validate' => [
  2680. 'type' => 'bool'
  2681. ],
  2682. 'name' => 'plugins.form.files.random_name',
  2683. 'validation' => 'strict'
  2684. ],
  2685. 'plugins.form.recaptcha' => [
  2686. 'type' => '_parent',
  2687. 'name' => 'plugins.form.recaptcha',
  2688. 'form_field' => false
  2689. ],
  2690. 'plugins.form.recaptcha.site_key' => [
  2691. 'type' => 'text',
  2692. 'label' => 'PLUGIN_FORM.RECAPTCHA_SITE_KEY',
  2693. 'default' => '',
  2694. 'name' => 'plugins.form.recaptcha.site_key',
  2695. 'validation' => 'strict'
  2696. ],
  2697. 'plugins.form.recaptcha.secret_key' => [
  2698. 'type' => 'text',
  2699. 'label' => 'PLUGIN_FORM.RECAPTCHA_SECRET_KEY',
  2700. 'default' => '',
  2701. 'name' => 'plugins.form.recaptcha.secret_key',
  2702. 'validation' => 'strict'
  2703. ],
  2704. 'plugins.login' => [
  2705. 'type' => '_root',
  2706. 'form_field' => false,
  2707. 'form' => [
  2708. 'validation' => 'loose'
  2709. ]
  2710. ],
  2711. 'plugins.login.enabled' => [
  2712. 'type' => 'hidden',
  2713. 'label' => 'PLUGIN_LOGIN.PLUGIN_STATUS',
  2714. 'highlight' => 1,
  2715. 'default' => 1,
  2716. 'options' => [
  2717. 1 => 'PLUGIN_ADMIN.ENABLED',
  2718. 0 => 'PLUGIN_ADMIN.DISABLED'
  2719. ],
  2720. 'validate' => [
  2721. 'type' => 'bool'
  2722. ],
  2723. 'name' => 'plugins.login.enabled',
  2724. 'validation' => 'loose'
  2725. ],
  2726. 'plugins.login.built_in_css' => [
  2727. 'type' => 'toggle',
  2728. 'label' => 'PLUGIN_LOGIN.BUILTIN_CSS',
  2729. 'highlight' => 1,
  2730. 'default' => 1,
  2731. 'options' => [
  2732. 1 => 'PLUGIN_ADMIN.ENABLED',
  2733. 0 => 'PLUGIN_ADMIN.DISABLED'
  2734. ],
  2735. 'validate' => [
  2736. 'type' => 'bool'
  2737. ],
  2738. 'name' => 'plugins.login.built_in_css',
  2739. 'validation' => 'loose'
  2740. ],
  2741. 'plugins.login.route' => [
  2742. 'type' => 'text',
  2743. 'size' => 'medium',
  2744. 'label' => 'PLUGIN_LOGIN.ROUTE',
  2745. 'name' => 'plugins.login.route',
  2746. 'validation' => 'loose'
  2747. ],
  2748. 'plugins.login.redirect_after_login' => [
  2749. 'type' => 'text',
  2750. 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_LOGIN',
  2751. 'name' => 'plugins.login.redirect_after_login',
  2752. 'validation' => 'loose'
  2753. ],
  2754. 'plugins.login.redirect_after_logout' => [
  2755. 'type' => 'text',
  2756. 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_LOGOUT',
  2757. 'name' => 'plugins.login.redirect_after_logout',
  2758. 'validation' => 'loose'
  2759. ],
  2760. 'plugins.login.route_forgot' => [
  2761. 'type' => 'text',
  2762. 'size' => 'medium',
  2763. 'label' => 'PLUGIN_LOGIN.ROUTE_FORGOT',
  2764. 'name' => 'plugins.login.route_forgot',
  2765. 'validation' => 'loose'
  2766. ],
  2767. 'plugins.login.route_reset' => [
  2768. 'type' => 'text',
  2769. 'size' => 'medium',
  2770. 'label' => 'PLUGIN_LOGIN.ROUTE_RESET',
  2771. 'name' => 'plugins.login.route_reset',
  2772. 'validation' => 'loose'
  2773. ],
  2774. 'plugins.login.route_profile' => [
  2775. 'type' => 'text',
  2776. 'size' => 'medium',
  2777. 'label' => 'PLUGIN_LOGIN.ROUTE_PROFILE',
  2778. 'name' => 'plugins.login.route_profile',
  2779. 'validation' => 'loose'
  2780. ],
  2781. 'plugins.login.parent_acl' => [
  2782. 'type' => 'toggle',
  2783. 'label' => 'PLUGIN_LOGIN.USE_PARENT_ACL_LABEL',
  2784. 'highlight' => 1,
  2785. 'default' => 0,
  2786. 'options' => [
  2787. 1 => 'PLUGIN_ADMIN.ENABLED',
  2788. 0 => 'PLUGIN_ADMIN.DISABLED'
  2789. ],
  2790. 'validate' => [
  2791. 'type' => 'bool'
  2792. ],
  2793. 'name' => 'plugins.login.parent_acl',
  2794. 'validation' => 'loose'
  2795. ],
  2796. 'plugins.login.dynamic_page_visibility' => [
  2797. 'type' => 'toggle',
  2798. 'label' => 'PLUGIN_LOGIN.DYNAMIC_VISIBILITY',
  2799. 'highlight' => 0,
  2800. 'default' => 0,
  2801. 'options' => [
  2802. 1 => 'PLUGIN_ADMIN.ENABLED',
  2803. 0 => 'PLUGIN_ADMIN.DISABLED'
  2804. ],
  2805. 'validate' => [
  2806. 'type' => 'bool'
  2807. ],
  2808. 'name' => 'plugins.login.dynamic_page_visibility',
  2809. 'validation' => 'loose'
  2810. ],
  2811. 'plugins.login.protect_protected_page_media' => [
  2812. 'type' => 'toggle',
  2813. 'label' => 'PLUGIN_LOGIN.PROTECT_PROTECTED_PAGE_MEDIA_LABEL',
  2814. 'highlight' => 1,
  2815. 'default' => 0,
  2816. 'options' => [
  2817. 1 => 'PLUGIN_ADMIN.ENABLED',
  2818. 0 => 'PLUGIN_ADMIN.DISABLED'
  2819. ],
  2820. 'validate' => [
  2821. 'type' => 'bool'
  2822. ],
  2823. 'name' => 'plugins.login.protect_protected_page_media',
  2824. 'validation' => 'loose'
  2825. ],
  2826. 'plugins.login.route_activate' => [
  2827. 'type' => 'text',
  2828. 'size' => 'medium',
  2829. 'label' => 'PLUGIN_LOGIN.ROUTE_ACTIVATE',
  2830. 'name' => 'plugins.login.route_activate',
  2831. 'validation' => 'loose'
  2832. ],
  2833. 'plugins.login.route_register' => [
  2834. 'type' => 'text',
  2835. 'size' => 'medium',
  2836. 'label' => 'PLUGIN_LOGIN.ROUTE_REGISTER',
  2837. 'name' => 'plugins.login.route_register',
  2838. 'validation' => 'loose'
  2839. ],
  2840. 'plugins.login.user_registration' => [
  2841. 'type' => '_parent',
  2842. 'name' => 'plugins.login.user_registration',
  2843. 'form_field' => false
  2844. ],
  2845. 'plugins.login.user_registration.redirect_after_registration' => [
  2846. 'type' => 'text',
  2847. 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_REGISTRATION',
  2848. 'name' => 'plugins.login.user_registration.redirect_after_registration',
  2849. 'validation' => 'loose'
  2850. ],
  2851. 'plugins.login.user_registration.redirect_after_activation' => [
  2852. 'type' => 'text',
  2853. 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_ACTIVATION',
  2854. 'name' => 'plugins.login.user_registration.redirect_after_activation',
  2855. 'validation' => 'loose'
  2856. ],
  2857. 'plugins.login.rememberme' => [
  2858. 'type' => '_parent',
  2859. 'name' => 'plugins.login.rememberme',
  2860. 'form_field' => false
  2861. ],
  2862. 'plugins.login.rememberme.enabled' => [
  2863. 'type' => 'toggle',
  2864. 'label' => 'PLUGIN_ADMIN.ENABLED',
  2865. 'highlight' => 1,
  2866. 'options' => [
  2867. 1 => 'PLUGIN_ADMIN.YES',
  2868. 0 => 'PLUGIN_ADMIN.NO'
  2869. ],
  2870. 'validate' => [
  2871. 'type' => 'bool'
  2872. ],
  2873. 'name' => 'plugins.login.rememberme.enabled',
  2874. 'validation' => 'loose'
  2875. ],
  2876. 'plugins.login.rememberme.timeout' => [
  2877. 'type' => 'text',
  2878. 'size' => 'small',
  2879. 'default' => 604800,
  2880. 'label' => 'PLUGIN_ADMIN.TIMEOUT',
  2881. 'validate' => [
  2882. 'type' => 'number',
  2883. 'min' => 1
  2884. ],
  2885. 'name' => 'plugins.login.rememberme.timeout',
  2886. 'validation' => 'loose'
  2887. ],
  2888. 'plugins.login.rememberme.name' => [
  2889. 'type' => 'text',
  2890. 'size' => 'small',
  2891. 'label' => 'PLUGIN_ADMIN.NAME',
  2892. 'name' => 'plugins.login.rememberme.name',
  2893. 'validation' => 'loose'
  2894. ],
  2895. 'plugins.login.user_registration.enabled' => [
  2896. 'type' => 'toggle',
  2897. 'label' => 'PLUGIN_ADMIN.ENABLED',
  2898. 'highlight' => 0,
  2899. 'options' => [
  2900. 1 => 'PLUGIN_ADMIN.YES',
  2901. 0 => 'PLUGIN_ADMIN.NO'
  2902. ],
  2903. 'validate' => [
  2904. 'type' => 'bool'
  2905. ],
  2906. 'name' => 'plugins.login.user_registration.enabled',
  2907. 'validation' => 'loose'
  2908. ],
  2909. 'plugins.login.user_registration.fields' => [
  2910. 'type' => 'array',
  2911. 'value_only' => true,
  2912. 'label' => 'PLUGIN_LOGIN.REGISTRATION_FIELDS',
  2913. 'name' => 'plugins.login.user_registration.fields',
  2914. 'validation' => 'loose'
  2915. ],
  2916. 'plugins.login.user_registration.default_values' => [
  2917. 'type' => 'array',
  2918. 'label' => 'PLUGIN_LOGIN.DEFAULT_VALUES',
  2919. 'name' => 'plugins.login.user_registration.default_values',
  2920. 'validation' => 'loose'
  2921. ],
  2922. 'plugins.login.user_registration.groups' => [
  2923. 'type' => 'selectize',
  2924. 'size' => 'large',
  2925. 'label' => 'PLUGIN_ADMIN.GROUPS',
  2926. '@data-options' => '\\Grav\\User\\Groups::groups',
  2927. 'classes' => 'fancy',
  2928. 'validate' => [
  2929. 'type' => 'commalist'
  2930. ],
  2931. 'name' => 'plugins.login.user_registration.groups',
  2932. 'validation' => 'loose'
  2933. ],
  2934. 'plugins.login.user_registration.access' => [
  2935. 'type' => '_parent',
  2936. 'name' => 'plugins.login.user_registration.access',
  2937. 'form_field' => false
  2938. ],
  2939. 'plugins.login.user_registration.access.site' => [
  2940. 'type' => 'array',
  2941. 'label' => 'PLUGIN_ADMIN.SITE_ACCESS',
  2942. 'multiple' => false,
  2943. 'validate' => [
  2944. 'type' => 'array'
  2945. ],
  2946. 'name' => 'plugins.login.user_registration.access.site',
  2947. 'validation' => 'loose'
  2948. ],
  2949. 'plugins.login.user_registration.options' => [
  2950. 'type' => '_parent',
  2951. 'name' => 'plugins.login.user_registration.options',
  2952. 'form_field' => false
  2953. ],
  2954. 'plugins.login.user_registration.options.validate_password1_and_password2' => [
  2955. 'type' => 'toggle',
  2956. 'label' => 'PLUGIN_LOGIN.VALIDATE_PASSWORD1_AND_PASSWORD2',
  2957. 'highlight' => 1,
  2958. 'options' => [
  2959. 1 => 'PLUGIN_ADMIN.YES',
  2960. 0 => 'PLUGIN_ADMIN.NO'
  2961. ],
  2962. 'validate' => [
  2963. 'type' => 'bool'
  2964. ],
  2965. 'name' => 'plugins.login.user_registration.options.validate_password1_and_password2',
  2966. 'validation' => 'loose'
  2967. ],
  2968. 'plugins.login.user_registration.options.set_user_disabled' => [
  2969. 'type' => 'toggle',
  2970. 'label' => 'PLUGIN_LOGIN.SET_USER_DISABLED',
  2971. 'highlight' => 1,
  2972. 'options' => [
  2973. 1 => 'PLUGIN_ADMIN.YES',
  2974. 0 => 'PLUGIN_ADMIN.NO'
  2975. ],
  2976. 'validate' => [
  2977. 'type' => 'bool'
  2978. ],
  2979. 'name' => 'plugins.login.user_registration.options.set_user_disabled',
  2980. 'validation' => 'loose'
  2981. ],
  2982. 'plugins.login.user_registration.options.login_after_registration' => [
  2983. 'type' => 'toggle',
  2984. 'label' => 'PLUGIN_LOGIN.LOGIN_AFTER_REGISTRATION',
  2985. 'highlight' => 0,
  2986. 'options' => [
  2987. 1 => 'PLUGIN_ADMIN.YES',
  2988. 0 => 'PLUGIN_ADMIN.NO'
  2989. ],
  2990. 'validate' => [
  2991. 'type' => 'bool'
  2992. ],
  2993. 'name' => 'plugins.login.user_registration.options.login_after_registration',
  2994. 'validation' => 'loose'
  2995. ],
  2996. 'plugins.login.user_registration.options.send_activation_email' => [
  2997. 'type' => 'toggle',
  2998. 'label' => 'PLUGIN_LOGIN.SEND_ACTIVATION_EMAIL',
  2999. 'highlight' => 1,
  3000. 'options' => [
  3001. 1 => 'PLUGIN_ADMIN.YES',
  3002. 0 => 'PLUGIN_ADMIN.NO'
  3003. ],
  3004. 'validate' => [
  3005. 'type' => 'bool'
  3006. ],
  3007. 'name' => 'plugins.login.user_registration.options.send_activation_email',
  3008. 'validation' => 'loose'
  3009. ],
  3010. 'plugins.login.user_registration.options.send_notification_email' => [
  3011. 'type' => 'toggle',
  3012. 'label' => 'PLUGIN_LOGIN.SEND_NOTIFICATION_EMAIL',
  3013. 'highlight' => 1,
  3014. 'options' => [
  3015. 1 => 'PLUGIN_ADMIN.YES',
  3016. 0 => 'PLUGIN_ADMIN.NO'
  3017. ],
  3018. 'validate' => [
  3019. 'type' => 'bool'
  3020. ],
  3021. 'name' => 'plugins.login.user_registration.options.send_notification_email',
  3022. 'validation' => 'loose'
  3023. ],
  3024. 'plugins.login.user_registration.options.send_welcome_email' => [
  3025. 'type' => 'toggle',
  3026. 'label' => 'PLUGIN_LOGIN.SEND_WELCOME_EMAIL',
  3027. 'highlight' => 1,
  3028. 'options' => [
  3029. 1 => 'PLUGIN_ADMIN.YES',
  3030. 0 => 'PLUGIN_ADMIN.NO'
  3031. ],
  3032. 'name' => 'plugins.login.user_registration.options.send_welcome_email',
  3033. 'validation' => 'loose'
  3034. ],
  3035. 'plugins.login.max_pw_resets_count' => [
  3036. 'type' => 'number',
  3037. 'size' => 'x-small',
  3038. 'label' => 'PLUGIN_LOGIN.MAX_RESETS_COUNT',
  3039. 'append' => 'PLUGIN_LOGIN.RESETS',
  3040. 'validate' => [
  3041. 'type' => 'number',
  3042. 'min' => 0
  3043. ],
  3044. 'name' => 'plugins.login.max_pw_resets_count',
  3045. 'validation' => 'loose'
  3046. ],
  3047. 'plugins.login.max_pw_resets_interval' => [
  3048. 'type' => 'number',
  3049. 'size' => 'x-small',
  3050. 'label' => 'PLUGIN_LOGIN.MAX_RESETS_INTERVAL',
  3051. 'append' => 'PLUGIN_LOGIN.SECONDS',
  3052. 'validate' => [
  3053. 'type' => 'number',
  3054. 'min' => 1
  3055. ],
  3056. 'name' => 'plugins.login.max_pw_resets_interval',
  3057. 'validation' => 'loose'
  3058. ],
  3059. 'plugins.login.max_login_count' => [
  3060. 'type' => 'number',
  3061. 'size' => 'x-small',
  3062. 'label' => 'PLUGIN_LOGIN.MAX_LOGINS_COUNT',
  3063. 'append' => 'PLUGIN_LOGIN.ATTEMPTS',
  3064. 'validate' => [
  3065. 'type' => 'number',
  3066. 'min' => 0
  3067. ],
  3068. 'name' => 'plugins.login.max_login_count',
  3069. 'validation' => 'loose'
  3070. ],
  3071. 'plugins.login.max_login_interval' => [
  3072. 'type' => 'number',
  3073. 'size' => 'x-small',
  3074. 'label' => 'PLUGIN_LOGIN.MAX_LOGINS_INTERVAL',
  3075. 'append' => 'PLUGIN_LOGIN.SECONDS',
  3076. 'validate' => [
  3077. 'type' => 'number',
  3078. 'min' => 1
  3079. ],
  3080. 'name' => 'plugins.login.max_login_interval',
  3081. 'validation' => 'loose'
  3082. ],
  3083. 'plugins.error' => [
  3084. 'type' => '_root',
  3085. 'form_field' => false,
  3086. 'form' => [
  3087. 'validation' => 'strict'
  3088. ]
  3089. ],
  3090. 'plugins.error.enabled' => [
  3091. 'type' => 'toggle',
  3092. 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
  3093. 'highlight' => 1,
  3094. 'default' => 0,
  3095. 'options' => [
  3096. 1 => 'PLUGIN_ADMIN.ENABLED',
  3097. 0 => 'PLUGIN_ADMIN.DISABLED'
  3098. ],
  3099. 'validate' => [
  3100. 'type' => 'bool'
  3101. ],
  3102. 'name' => 'plugins.error.enabled',
  3103. 'validation' => 'strict'
  3104. ],
  3105. 'plugins.error.routes' => [
  3106. 'type' => '_parent',
  3107. 'name' => 'plugins.error.routes',
  3108. 'form_field' => false
  3109. ],
  3110. 'plugins.error.routes.404' => [
  3111. 'type' => 'text',
  3112. 'size' => 'medium',
  3113. 'label' => '404 Route',
  3114. 'default' => '/error',
  3115. 'name' => 'plugins.error.routes.404',
  3116. 'validation' => 'strict'
  3117. ],
  3118. 'plugins.email' => [
  3119. 'type' => '_root',
  3120. 'form_field' => false,
  3121. 'form' => [
  3122. 'validation' => 'loose'
  3123. ]
  3124. ],
  3125. 'plugins.email.enabled' => [
  3126. 'type' => 'hidden',
  3127. 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
  3128. 'highlight' => 1,
  3129. 'default' => 1,
  3130. 'options' => [
  3131. 1 => 'PLUGIN_ADMIN.ENABLED',
  3132. 0 => 'PLUGIN_ADMIN.DISABLED'
  3133. ],
  3134. 'validate' => [
  3135. 'type' => 'bool'
  3136. ],
  3137. 'name' => 'plugins.email.enabled',
  3138. 'validation' => 'loose'
  3139. ],
  3140. 'plugins.email.mailer' => [
  3141. 'type' => '_parent',
  3142. 'name' => 'plugins.email.mailer',
  3143. 'form_field' => false
  3144. ],
  3145. 'plugins.email.mailer.engine' => [
  3146. 'type' => 'select',
  3147. 'label' => 'Mail Engine',
  3148. 'size' => 'medium',
  3149. 'options' => [
  3150. 'none' => 'Disabled',
  3151. 'smtp' => 'SMTP',
  3152. 'sendmail' => 'Sendmail'
  3153. ],
  3154. 'name' => 'plugins.email.mailer.engine',
  3155. 'validation' => 'loose'
  3156. ],
  3157. 'plugins.email.content_type' => [
  3158. 'type' => 'select',
  3159. 'label' => 'Content type',
  3160. 'size' => 'medium',
  3161. 'default' => 'text/html',
  3162. 'options' => [
  3163. 'text/plain' => 'Plain text',
  3164. 'text/html' => 'HTML'
  3165. ],
  3166. 'name' => 'plugins.email.content_type',
  3167. 'validation' => 'loose'
  3168. ],
  3169. 'plugins.email.charset' => [
  3170. 'type' => 'text',
  3171. 'size' => 'medium',
  3172. 'label' => 'Charset',
  3173. 'name' => 'plugins.email.charset',
  3174. 'validation' => 'loose'
  3175. ],
  3176. 'plugins.email.from' => [
  3177. 'type' => 'email',
  3178. 'size' => 'medium',
  3179. 'label' => 'Email from',
  3180. 'validate' => [
  3181. 'required' => true,
  3182. 'type' => 'email'
  3183. ],
  3184. 'name' => 'plugins.email.from',
  3185. 'validation' => 'loose'
  3186. ],
  3187. 'plugins.email.from_name' => [
  3188. 'type' => 'text',
  3189. 'size' => 'medium',
  3190. 'label' => 'Email from name',
  3191. 'name' => 'plugins.email.from_name',
  3192. 'validation' => 'loose'
  3193. ],
  3194. 'plugins.email.to' => [
  3195. 'type' => 'email',
  3196. 'size' => 'medium',
  3197. 'label' => 'Email to',
  3198. 'multiple' => true,
  3199. 'validate' => [
  3200. 'required' => true,
  3201. 'type' => 'email'
  3202. ],
  3203. 'name' => 'plugins.email.to',
  3204. 'validation' => 'loose'
  3205. ],
  3206. 'plugins.email.to_name' => [
  3207. 'type' => 'text',
  3208. 'size' => 'medium',
  3209. 'label' => 'Email to name',
  3210. 'name' => 'plugins.email.to_name',
  3211. 'validation' => 'loose'
  3212. ],
  3213. 'plugins.email.cc' => [
  3214. 'type' => 'email',
  3215. 'size' => 'medium',
  3216. 'label' => 'Email CC',
  3217. 'multiple' => true,
  3218. 'validate' => [
  3219. 'type' => 'email'
  3220. ],
  3221. 'name' => 'plugins.email.cc',
  3222. 'validation' => 'loose'
  3223. ],
  3224. 'plugins.email.cc_name' => [
  3225. 'type' => 'text',
  3226. 'size' => 'medium',
  3227. 'label' => 'Email CC name',
  3228. 'name' => 'plugins.email.cc_name',
  3229. 'validation' => 'loose'
  3230. ],
  3231. 'plugins.email.bcc' => [
  3232. 'type' => 'email',
  3233. 'size' => 'medium',
  3234. 'label' => 'Email BCC',
  3235. 'multiple' => true,
  3236. 'validate' => [
  3237. 'type' => 'email'
  3238. ],
  3239. 'name' => 'plugins.email.bcc',
  3240. 'validation' => 'loose'
  3241. ],
  3242. 'plugins.email.reply_to' => [
  3243. 'type' => 'email',
  3244. 'size' => 'medium',
  3245. 'label' => 'Email reply-to',
  3246. 'multiple' => true,
  3247. 'validate' => [
  3248. 'type' => 'email'
  3249. ],
  3250. 'name' => 'plugins.email.reply_to',
  3251. 'validation' => 'loose'
  3252. ],
  3253. 'plugins.email.reply_to_name' => [
  3254. 'type' => 'text',
  3255. 'size' => 'medium',
  3256. 'label' => 'Email reply-to name',
  3257. 'name' => 'plugins.email.reply_to_name',
  3258. 'validation' => 'loose'
  3259. ],
  3260. 'plugins.email.body' => [
  3261. 'type' => 'textarea',
  3262. 'size' => 'medium',
  3263. 'label' => 'Email body',
  3264. 'name' => 'plugins.email.body',
  3265. 'validation' => 'loose'
  3266. ],
  3267. 'plugins.email.mailer.smtp' => [
  3268. 'type' => '_parent',
  3269. 'name' => 'plugins.email.mailer.smtp',
  3270. 'form_field' => false
  3271. ],
  3272. 'plugins.email.mailer.smtp.server' => [
  3273. 'type' => 'text',
  3274. 'size' => 'medium',
  3275. 'label' => 'SMTP server',
  3276. 'name' => 'plugins.email.mailer.smtp.server',
  3277. 'validation' => 'loose'
  3278. ],
  3279. 'plugins.email.mailer.smtp.port' => [
  3280. 'type' => 'text',
  3281. 'size' => 'small',
  3282. 'label' => 'SMTP port',
  3283. 'validate' => [
  3284. 'type' => 'number',
  3285. 'min' => 1,
  3286. 'max' => 65535
  3287. ],
  3288. 'name' => 'plugins.email.mailer.smtp.port',
  3289. 'validation' => 'loose'
  3290. ],
  3291. 'plugins.email.mailer.smtp.encryption' => [
  3292. 'type' => 'select',
  3293. 'size' => 'medium',
  3294. 'label' => 'SMTP encryption',
  3295. 'options' => [
  3296. 'none' => 'None',
  3297. 'ssl' => 'SSL',
  3298. 'tls' => 'TLS'
  3299. ],
  3300. 'name' => 'plugins.email.mailer.smtp.encryption',
  3301. 'validation' => 'loose'
  3302. ],
  3303. 'plugins.email.mailer.smtp.user' => [
  3304. 'type' => 'text',
  3305. 'size' => 'medium',
  3306. 'label' => 'SMTP login name',
  3307. 'name' => 'plugins.email.mailer.smtp.user',
  3308. 'validation' => 'loose'
  3309. ],
  3310. 'plugins.email.mailer.smtp.password' => [
  3311. 'type' => 'password',
  3312. 'size' => 'medium',
  3313. 'label' => 'SMTP password',
  3314. 'name' => 'plugins.email.mailer.smtp.password',
  3315. 'validation' => 'loose'
  3316. ],
  3317. 'plugins.email.mailer.sendmail' => [
  3318. 'type' => '_parent',
  3319. 'name' => 'plugins.email.mailer.sendmail',
  3320. 'form_field' => false
  3321. ],
  3322. 'plugins.email.mailer.sendmail.bin' => [
  3323. 'type' => 'text',
  3324. 'size' => 'medium',
  3325. 'label' => 'Path to sendmail',
  3326. 'name' => 'plugins.email.mailer.sendmail.bin',
  3327. 'validation' => 'loose'
  3328. ],
  3329. 'plugins.email.debug' => [
  3330. 'type' => 'toggle',
  3331. 'label' => 'Debug',
  3332. 'highlight' => 1,
  3333. 'default' => 0,
  3334. 'options' => [
  3335. 1 => 'PLUGIN_ADMIN.ENABLED',
  3336. 0 => 'PLUGIN_ADMIN.DISABLED'
  3337. ],
  3338. 'validate' => [
  3339. 'type' => 'bool'
  3340. ],
  3341. 'name' => 'plugins.email.debug',
  3342. 'validation' => 'loose'
  3343. ],
  3344. 'plugins.taxonomylist' => [
  3345. 'type' => '_root',
  3346. 'form_field' => false,
  3347. 'form' => [
  3348. 'validation' => 'strict'
  3349. ]
  3350. ],
  3351. 'plugins.taxonomylist.enabled' => [
  3352. 'type' => 'toggle',
  3353. 'label' => 'Plugin status',
  3354. 'highlight' => 1,
  3355. 'default' => 0,
  3356. 'options' => [
  3357. 1 => 'Enabled',
  3358. 0 => 'Disabled'
  3359. ],
  3360. 'validate' => [
  3361. 'type' => 'bool'
  3362. ],
  3363. 'name' => 'plugins.taxonomylist.enabled',
  3364. 'validation' => 'strict'
  3365. ],
  3366. 'plugins.taxonomylist.route' => [
  3367. 'type' => 'text',
  3368. 'label' => 'Route to blog',
  3369. 'validate' => [
  3370. 'pattern' => '/([a-z\\-_]+/?)+'
  3371. ],
  3372. 'name' => 'plugins.taxonomylist.route',
  3373. 'validation' => 'strict'
  3374. ],
  3375. 'plugins.problems' => [
  3376. 'type' => '_root',
  3377. 'form_field' => false,
  3378. 'form' => [
  3379. 'validation' => 'strict'
  3380. ]
  3381. ],
  3382. 'plugins.problems.enabled' => [
  3383. 'type' => 'toggle',
  3384. 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
  3385. 'highlight' => 1,
  3386. 'default' => 0,
  3387. 'options' => [
  3388. 1 => 'PLUGIN_ADMIN.ENABLED',
  3389. 0 => 'PLUGIN_ADMIN.DISABLED'
  3390. ],
  3391. 'validate' => [
  3392. 'type' => 'bool'
  3393. ],
  3394. 'name' => 'plugins.problems.enabled',
  3395. 'validation' => 'strict'
  3396. ],
  3397. 'plugins.problems.built_in_css' => [
  3398. 'type' => 'toggle',
  3399. 'label' => 'Use built in CSS',
  3400. 'highlight' => 1,
  3401. 'default' => 1,
  3402. 'options' => [
  3403. 1 => 'PLUGIN_ADMIN.ENABLED',
  3404. 0 => 'PLUGIN_ADMIN.DISABLED'
  3405. ],
  3406. 'validate' => [
  3407. 'type' => 'bool'
  3408. ],
  3409. 'name' => 'plugins.problems.built_in_css',
  3410. 'validation' => 'strict'
  3411. ]
  3412. ],
  3413. 'rules' => [
  3414. ],
  3415. 'nested' => [
  3416. 'media' => [
  3417. 'types' => [
  3418. '*' => [
  3419. 'type' => 'media.types.*.type',
  3420. 'thumb' => 'media.types.*.thumb',
  3421. 'mime' => 'media.types.*.mime',
  3422. 'image' => 'media.types.*.image'
  3423. ]
  3424. ]
  3425. ],
  3426. 'site' => [
  3427. 'title' => 'site.title',
  3428. 'default_lang' => 'site.default_lang',
  3429. 'author' => [
  3430. 'name' => 'site.author.name',
  3431. 'email' => 'site.author.email'
  3432. ],
  3433. 'taxonomies' => 'site.taxonomies',
  3434. 'summary' => [
  3435. 'enabled' => 'site.summary.enabled',
  3436. 'size' => 'site.summary.size',
  3437. 'format' => 'site.summary.format',
  3438. 'delimiter' => 'site.summary.delimiter'
  3439. ],
  3440. 'metadata' => 'site.metadata',
  3441. 'redirects' => 'site.redirects',
  3442. 'routes' => 'site.routes'
  3443. ],
  3444. 'streams' => [
  3445. 'schemes' => [
  3446. 'xxx' => 'streams.schemes.xxx'
  3447. ]
  3448. ],
  3449. 'system' => [
  3450. 'home' => [
  3451. 'alias' => 'system.home.alias',
  3452. 'hide_in_urls' => 'system.home.hide_in_urls'
  3453. ],
  3454. 'pages' => [
  3455. 'theme' => 'system.pages.theme',
  3456. 'process' => 'system.pages.process',
  3457. 'dateformat' => [
  3458. 'default' => 'system.pages.dateformat.default',
  3459. 'short' => 'system.pages.dateformat.short',
  3460. 'long' => 'system.pages.dateformat.long'
  3461. ],
  3462. 'order' => [
  3463. 'by' => 'system.pages.order.by',
  3464. 'dir' => 'system.pages.order.dir'
  3465. ],
  3466. 'list' => [
  3467. 'count' => 'system.pages.list.count'
  3468. ],
  3469. 'publish_dates' => 'system.pages.publish_dates',
  3470. 'events' => 'system.pages.events',
  3471. 'append_url_extension' => 'system.pages.append_url_extension',
  3472. 'redirect_default_route' => 'system.pages.redirect_default_route',
  3473. 'redirect_default_code' => 'system.pages.redirect_default_code',
  3474. 'redirect_trailing_slash' => 'system.pages.redirect_trailing_slash',
  3475. 'ignore_hidden' => 'system.pages.ignore_hidden',
  3476. 'ignore_files' => 'system.pages.ignore_files',
  3477. 'ignore_folders' => 'system.pages.ignore_folders',
  3478. 'url_taxonomy_filters' => 'system.pages.url_taxonomy_filters',
  3479. 'twig_first' => 'system.pages.twig_first',
  3480. 'never_cache_twig' => 'system.pages.never_cache_twig',
  3481. 'frontmatter' => [
  3482. 'process_twig' => 'system.pages.frontmatter.process_twig',
  3483. 'ignore_fields' => 'system.pages.frontmatter.ignore_fields'
  3484. ],
  3485. 'expires' => 'system.pages.expires',
  3486. 'cache_control' => 'system.pages.cache_control',
  3487. 'last_modified' => 'system.pages.last_modified',
  3488. 'etag' => 'system.pages.etag',
  3489. 'vary_accept_encoding' => 'system.pages.vary_accept_encoding',
  3490. 'markdown' => [
  3491. 'extra' => 'system.pages.markdown.extra',
  3492. 'auto_line_breaks' => 'system.pages.markdown.auto_line_breaks',
  3493. 'auto_url_links' => 'system.pages.markdown.auto_url_links',
  3494. 'escape_markup' => 'system.pages.markdown.escape_markup'
  3495. ]
  3496. ],
  3497. 'timezone' => 'system.timezone',
  3498. 'languages' => [
  3499. 'supported' => 'system.languages.supported',
  3500. 'include_default_lang' => 'system.languages.include_default_lang',
  3501. 'translations' => 'system.languages.translations',
  3502. 'translations_fallback' => 'system.languages.translations_fallback',
  3503. 'session_store_active' => 'system.languages.session_store_active',
  3504. 'http_accept_language' => 'system.languages.http_accept_language',
  3505. 'override_locale' => 'system.languages.override_locale'
  3506. ],
  3507. 'cache' => [
  3508. 'enabled' => 'system.cache.enabled',
  3509. 'check' => [
  3510. 'method' => 'system.cache.check.method'
  3511. ],
  3512. 'driver' => 'system.cache.driver',
  3513. 'prefix' => 'system.cache.prefix',
  3514. 'clear_images_by_default' => 'system.cache.clear_images_by_default',
  3515. 'cli_compatibility' => 'system.cache.cli_compatibility',
  3516. 'lifetime' => 'system.cache.lifetime',
  3517. 'gzip' => 'system.cache.gzip',
  3518. 'allow_webserver_gzip' => 'system.cache.allow_webserver_gzip',
  3519. 'memcache' => [
  3520. 'server' => 'system.cache.memcache.server',
  3521. 'port' => 'system.cache.memcache.port'
  3522. ],
  3523. 'memcached' => [
  3524. 'server' => 'system.cache.memcached.server',
  3525. 'port' => 'system.cache.memcached.port'
  3526. ],
  3527. 'redis' => [
  3528. 'socket' => 'system.cache.redis.socket',
  3529. 'server' => 'system.cache.redis.server',
  3530. 'port' => 'system.cache.redis.port',
  3531. 'password' => 'system.cache.redis.password'
  3532. ]
  3533. ],
  3534. 'twig' => [
  3535. 'cache' => 'system.twig.cache',
  3536. 'debug' => 'system.twig.debug',
  3537. 'auto_reload' => 'system.twig.auto_reload',
  3538. 'autoescape' => 'system.twig.autoescape',
  3539. 'umask_fix' => 'system.twig.umask_fix'
  3540. ],
  3541. 'assets' => [
  3542. 'css_pipeline' => 'system.assets.css_pipeline',
  3543. 'css_pipeline_include_externals' => 'system.assets.css_pipeline_include_externals',
  3544. 'css_pipeline_before_excludes' => 'system.assets.css_pipeline_before_excludes',
  3545. 'css_minify' => 'system.assets.css_minify',
  3546. 'css_minify_windows' => 'system.assets.css_minify_windows',
  3547. 'css_rewrite' => 'system.assets.css_rewrite',
  3548. 'js_pipeline' => 'system.assets.js_pipeline',
  3549. 'js_pipeline_include_externals' => 'system.assets.js_pipeline_include_externals',
  3550. 'js_pipeline_before_excludes' => 'system.assets.js_pipeline_before_excludes',
  3551. 'js_minify' => 'system.assets.js_minify',
  3552. 'enable_asset_timestamp' => 'system.assets.enable_asset_timestamp',
  3553. 'collections' => 'system.assets.collections'
  3554. ],
  3555. 'errors' => [
  3556. 'display' => 'system.errors.display',
  3557. 'log' => 'system.errors.log'
  3558. ],
  3559. 'debugger' => [
  3560. 'enabled' => 'system.debugger.enabled',
  3561. 'shutdown' => [
  3562. 'close_connection' => 'system.debugger.shutdown.close_connection'
  3563. ]
  3564. ],
  3565. 'images' => [
  3566. 'default_image_quality' => 'system.images.default_image_quality',
  3567. 'cache_all' => 'system.images.cache_all',
  3568. 'cache_perms' => 'system.images.cache_perms',
  3569. 'debug' => 'system.images.debug',
  3570. 'auto_fix_orientation' => 'system.images.auto_fix_orientation'
  3571. ],
  3572. 'media' => [
  3573. 'enable_media_timestamp' => 'system.media.enable_media_timestamp',
  3574. 'auto_metadata_exif' => 'system.media.auto_metadata_exif',
  3575. 'allowed_fallback_types' => 'system.media.allowed_fallback_types',
  3576. 'unsupported_inline_types' => 'system.media.unsupported_inline_types'
  3577. ],
  3578. 'session' => [
  3579. 'enabled' => 'system.session.enabled',
  3580. 'initialize' => 'system.session.initialize',
  3581. 'timeout' => 'system.session.timeout',
  3582. 'name' => 'system.session.name',
  3583. 'secure' => 'system.session.secure',
  3584. 'httponly' => 'system.session.httponly',
  3585. 'path' => 'system.session.path',
  3586. 'split' => 'system.session.split'
  3587. ],
  3588. 'gpm' => [
  3589. 'releases' => 'system.gpm.releases',
  3590. 'proxy_url' => 'system.gpm.proxy_url',
  3591. 'method' => 'system.gpm.method',
  3592. 'official_gpm_only' => 'system.gpm.official_gpm_only',
  3593. 'verify_peer' => 'system.gpm.verify_peer'
  3594. ],
  3595. 'reverse_proxy_setup' => 'system.reverse_proxy_setup',
  3596. 'username_regex' => 'system.username_regex',
  3597. 'pwd_regex' => 'system.pwd_regex',
  3598. 'intl_enabled' => 'system.intl_enabled',
  3599. 'wrapped_site' => 'system.wrapped_site',
  3600. 'absolute_urls' => 'system.absolute_urls',
  3601. 'param_sep' => 'system.param_sep',
  3602. 'force_ssl' => 'system.force_ssl',
  3603. 'force_lowercase_urls' => 'system.force_lowercase_urls',
  3604. 'custom_base_url' => 'system.custom_base_url',
  3605. 'strict_mode' => [
  3606. 'yaml_compat' => 'system.strict_mode.yaml_compat',
  3607. 'twig_compat' => 'system.strict_mode.twig_compat'
  3608. ]
  3609. ],
  3610. 'plugins' => [
  3611. 'admin' => [
  3612. 'enabled' => 'plugins.admin.enabled',
  3613. 'cache_enabled' => 'plugins.admin.cache_enabled',
  3614. 'twofa_enabled' => 'plugins.admin.twofa_enabled',
  3615. 'route' => 'plugins.admin.route',
  3616. 'logo_text' => 'plugins.admin.logo_text',
  3617. 'content_padding' => 'plugins.admin.content_padding',
  3618. 'body_classes' => 'plugins.admin.body_classes',
  3619. 'sidebar' => [
  3620. 'activate' => 'plugins.admin.sidebar.activate',
  3621. 'hover_delay' => 'plugins.admin.sidebar.hover_delay',
  3622. 'size' => 'plugins.admin.sidebar.size'
  3623. ],
  3624. 'theme' => 'plugins.admin.theme',
  3625. 'edit_mode' => 'plugins.admin.edit_mode',
  3626. 'frontend_preview_target' => 'plugins.admin.frontend_preview_target',
  3627. 'pages' => [
  3628. 'show_parents' => 'plugins.admin.pages.show_parents',
  3629. 'parents_levels' => 'plugins.admin.pages.parents_levels'
  3630. ],
  3631. 'google_fonts' => 'plugins.admin.google_fonts',
  3632. 'admin_icons' => 'plugins.admin.admin_icons',
  3633. 'show_beta_msg' => 'plugins.admin.show_beta_msg',
  3634. 'show_github_msg' => 'plugins.admin.show_github_msg',
  3635. 'pages_list_display_field' => 'plugins.admin.pages_list_display_field',
  3636. 'enable_auto_updates_check' => 'plugins.admin.enable_auto_updates_check',
  3637. 'session' => [
  3638. 'timeout' => 'plugins.admin.session.timeout'
  3639. ],
  3640. 'warnings' => [
  3641. 'delete_page' => 'plugins.admin.warnings.delete_page'
  3642. ],
  3643. 'hide_page_types' => 'plugins.admin.hide_page_types',
  3644. 'hide_modular_page_types' => 'plugins.admin.hide_modular_page_types',
  3645. 'pagemedia' => [
  3646. 'resize_width' => 'plugins.admin.pagemedia.resize_width',
  3647. 'resize_height' => 'plugins.admin.pagemedia.resize_height',
  3648. 'res_min_width' => 'plugins.admin.pagemedia.res_min_width',
  3649. 'res_min_height' => 'plugins.admin.pagemedia.res_min_height',
  3650. 'res_max_width' => 'plugins.admin.pagemedia.res_max_width',
  3651. 'res_max_height' => 'plugins.admin.pagemedia.res_max_height',
  3652. 'resize_quality' => 'plugins.admin.pagemedia.resize_quality'
  3653. ],
  3654. 'widgets' => [
  3655. 'dashboard-maintenance' => 'plugins.admin.widgets.dashboard-maintenance',
  3656. 'dashboard-statistics' => 'plugins.admin.widgets.dashboard-statistics',
  3657. 'dashboard-notifications' => 'plugins.admin.widgets.dashboard-notifications',
  3658. 'dashboard-feed' => 'plugins.admin.widgets.dashboard-feed',
  3659. 'dashboard-pages' => 'plugins.admin.widgets.dashboard-pages'
  3660. ],
  3661. 'notifications' => [
  3662. 'feed' => 'plugins.admin.notifications.feed',
  3663. 'dashboard' => 'plugins.admin.notifications.dashboard',
  3664. 'plugins' => 'plugins.admin.notifications.plugins',
  3665. 'themes' => 'plugins.admin.notifications.themes'
  3666. ],
  3667. 'popularity' => [
  3668. 'enabled' => 'plugins.admin.popularity.enabled',
  3669. 'ignore' => 'plugins.admin.popularity.ignore',
  3670. 'history' => [
  3671. 'daily' => 'plugins.admin.popularity.history.daily',
  3672. 'monthly' => 'plugins.admin.popularity.history.monthly',
  3673. 'visitors' => 'plugins.admin.popularity.history.visitors'
  3674. ]
  3675. ],
  3676. 'dashboard' => [
  3677. 'days_of_stats' => 'plugins.admin.dashboard.days_of_stats'
  3678. ]
  3679. ],
  3680. 'markdown-notices' => [
  3681. 'enabled' => 'plugins.markdown-notices.enabled',
  3682. 'built_in_css' => 'plugins.markdown-notices.built_in_css',
  3683. 'level_classes' => 'plugins.markdown-notices.level_classes'
  3684. ],
  3685. 'form' => [
  3686. 'enabled' => 'plugins.form.enabled',
  3687. 'built_in_css' => 'plugins.form.built_in_css',
  3688. 'inline_css' => 'plugins.form.inline_css',
  3689. 'refresh_prevention' => 'plugins.form.refresh_prevention',
  3690. 'client_side_validation' => 'plugins.form.client_side_validation',
  3691. 'inline_errors' => 'plugins.form.inline_errors',
  3692. 'files' => [
  3693. 'multiple' => 'plugins.form.files.multiple',
  3694. 'limit' => 'plugins.form.files.limit',
  3695. 'destination' => 'plugins.form.files.destination',
  3696. 'accept' => 'plugins.form.files.accept',
  3697. 'filesize' => 'plugins.form.files.filesize',
  3698. 'avoid_overwriting' => 'plugins.form.files.avoid_overwriting',
  3699. 'random_name' => 'plugins.form.files.random_name'
  3700. ],
  3701. 'recaptcha' => [
  3702. 'site_key' => 'plugins.form.recaptcha.site_key',
  3703. 'secret_key' => 'plugins.form.recaptcha.secret_key'
  3704. ]
  3705. ],
  3706. 'login' => [
  3707. 'enabled' => 'plugins.login.enabled',
  3708. 'built_in_css' => 'plugins.login.built_in_css',
  3709. 'route' => 'plugins.login.route',
  3710. 'redirect_after_login' => 'plugins.login.redirect_after_login',
  3711. 'redirect_after_logout' => 'plugins.login.redirect_after_logout',
  3712. 'route_forgot' => 'plugins.login.route_forgot',
  3713. 'route_reset' => 'plugins.login.route_reset',
  3714. 'route_profile' => 'plugins.login.route_profile',
  3715. 'parent_acl' => 'plugins.login.parent_acl',
  3716. 'dynamic_page_visibility' => 'plugins.login.dynamic_page_visibility',
  3717. 'protect_protected_page_media' => 'plugins.login.protect_protected_page_media',
  3718. 'route_activate' => 'plugins.login.route_activate',
  3719. 'route_register' => 'plugins.login.route_register',
  3720. 'user_registration' => [
  3721. 'redirect_after_registration' => 'plugins.login.user_registration.redirect_after_registration',
  3722. 'redirect_after_activation' => 'plugins.login.user_registration.redirect_after_activation',
  3723. 'enabled' => 'plugins.login.user_registration.enabled',
  3724. 'fields' => 'plugins.login.user_registration.fields',
  3725. 'default_values' => 'plugins.login.user_registration.default_values',
  3726. 'groups' => 'plugins.login.user_registration.groups',
  3727. 'access' => [
  3728. 'site' => 'plugins.login.user_registration.access.site'
  3729. ],
  3730. 'options' => [
  3731. 'validate_password1_and_password2' => 'plugins.login.user_registration.options.validate_password1_and_password2',
  3732. 'set_user_disabled' => 'plugins.login.user_registration.options.set_user_disabled',
  3733. 'login_after_registration' => 'plugins.login.user_registration.options.login_after_registration',
  3734. 'send_activation_email' => 'plugins.login.user_registration.options.send_activation_email',
  3735. 'send_notification_email' => 'plugins.login.user_registration.options.send_notification_email',
  3736. 'send_welcome_email' => 'plugins.login.user_registration.options.send_welcome_email'
  3737. ]
  3738. ],
  3739. 'rememberme' => [
  3740. 'enabled' => 'plugins.login.rememberme.enabled',
  3741. 'timeout' => 'plugins.login.rememberme.timeout',
  3742. 'name' => 'plugins.login.rememberme.name'
  3743. ],
  3744. 'max_pw_resets_count' => 'plugins.login.max_pw_resets_count',
  3745. 'max_pw_resets_interval' => 'plugins.login.max_pw_resets_interval',
  3746. 'max_login_count' => 'plugins.login.max_login_count',
  3747. 'max_login_interval' => 'plugins.login.max_login_interval'
  3748. ],
  3749. 'error' => [
  3750. 'enabled' => 'plugins.error.enabled',
  3751. 'routes' => [
  3752. 404 => 'plugins.error.routes.404'
  3753. ]
  3754. ],
  3755. 'email' => [
  3756. 'enabled' => 'plugins.email.enabled',
  3757. 'mailer' => [
  3758. 'engine' => 'plugins.email.mailer.engine',
  3759. 'smtp' => [
  3760. 'server' => 'plugins.email.mailer.smtp.server',
  3761. 'port' => 'plugins.email.mailer.smtp.port',
  3762. 'encryption' => 'plugins.email.mailer.smtp.encryption',
  3763. 'user' => 'plugins.email.mailer.smtp.user',
  3764. 'password' => 'plugins.email.mailer.smtp.password'
  3765. ],
  3766. 'sendmail' => [
  3767. 'bin' => 'plugins.email.mailer.sendmail.bin'
  3768. ]
  3769. ],
  3770. 'content_type' => 'plugins.email.content_type',
  3771. 'charset' => 'plugins.email.charset',
  3772. 'from' => 'plugins.email.from',
  3773. 'from_name' => 'plugins.email.from_name',
  3774. 'to' => 'plugins.email.to',
  3775. 'to_name' => 'plugins.email.to_name',
  3776. 'cc' => 'plugins.email.cc',
  3777. 'cc_name' => 'plugins.email.cc_name',
  3778. 'bcc' => 'plugins.email.bcc',
  3779. 'reply_to' => 'plugins.email.reply_to',
  3780. 'reply_to_name' => 'plugins.email.reply_to_name',
  3781. 'body' => 'plugins.email.body',
  3782. 'debug' => 'plugins.email.debug'
  3783. ],
  3784. 'taxonomylist' => [
  3785. 'enabled' => 'plugins.taxonomylist.enabled',
  3786. 'route' => 'plugins.taxonomylist.route'
  3787. ],
  3788. 'problems' => [
  3789. 'enabled' => 'plugins.problems.enabled',
  3790. 'built_in_css' => 'plugins.problems.built_in_css'
  3791. ]
  3792. ]
  3793. ],
  3794. 'dynamic' => [
  3795. 'system.timezone' => [
  3796. 'options' => [
  3797. 'action' => 'data',
  3798. 'params' => '\\Grav\\Common\\Utils::timezones'
  3799. ]
  3800. ],
  3801. 'system.pages.dateformat.default' => [
  3802. 'options' => [
  3803. 'action' => 'data',
  3804. 'params' => '\\Grav\\Common\\Utils::dateFormats'
  3805. ]
  3806. ],
  3807. 'plugins.login.user_registration.groups' => [
  3808. 'options' => [
  3809. 'action' => 'data',
  3810. 'params' => '\\Grav\\User\\Groups::groups'
  3811. ]
  3812. ]
  3813. ],
  3814. 'filter' => [
  3815. 'validation' => true
  3816. ]
  3817. ]
  3818. ];