master-dev.anissabensalah.net.php 170 KB

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