master-localhost.php 147 KB

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