master-dev.hehe.net.php 149 KB

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