1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495 |
- <?php
- return [
- '@class' => 'Grav\\Common\\Config\\CompiledBlueprints',
- 'timestamp' => 1547604107,
- 'checksum' => '7d6f176a90161731a31572dc51da8a78',
- 'files' => [
- 'system/blueprints/config' => [
- 'media' => [
- 'file' => 'system/blueprints/config/media.yaml',
- 'modified' => 1544136609
- ],
- 'security' => [
- 'file' => 'system/blueprints/config/security.yaml',
- 'modified' => 1544136609
- ],
- 'site' => [
- 'file' => 'system/blueprints/config/site.yaml',
- 'modified' => 1544136609
- ],
- 'streams' => [
- 'file' => 'system/blueprints/config/streams.yaml',
- 'modified' => 1544136609
- ],
- 'system' => [
- 'file' => 'system/blueprints/config/system.yaml',
- 'modified' => 1544136609
- ]
- ],
- 'user/plugins' => [
- 'plugins/admin' => [
- 'file' => 'user/plugins/admin/blueprints.yaml',
- 'modified' => 1544136638
- ],
- 'plugins/markdown-notices' => [
- 'file' => 'user/plugins/markdown-notices/blueprints.yaml',
- 'modified' => 1543269410
- ],
- 'plugins/form' => [
- 'file' => 'user/plugins/form/blueprints.yaml',
- 'modified' => 1544136635
- ],
- 'plugins/login' => [
- 'file' => 'user/plugins/login/blueprints.yaml',
- 'modified' => 1544136625
- ],
- 'plugins/error' => [
- 'file' => 'user/plugins/error/blueprints.yaml',
- 'modified' => 1543269411
- ],
- 'plugins/email' => [
- 'file' => 'user/plugins/email/blueprints.yaml',
- 'modified' => 1543269413
- ],
- 'plugins/taxonomylist' => [
- 'file' => 'user/plugins/taxonomylist/blueprints.yaml',
- 'modified' => 1544136627
- ],
- 'plugins/youtube' => [
- 'file' => 'user/plugins/youtube/blueprints.yaml',
- 'modified' => 1544136631
- ],
- 'plugins/problems' => [
- 'file' => 'user/plugins/problems/blueprints.yaml',
- 'modified' => 1544136633
- ],
- 'plugins/language-selector' => [
- 'file' => 'user/plugins/language-selector/blueprints.yaml',
- 'modified' => 1544136629
- ]
- ]
- ],
- 'data' => [
- 'items' => [
- 'media' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose'
- ]
- ],
- 'security' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose'
- ]
- ],
- 'security.xss_section' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'security.xss_section',
- 'validation' => 'loose'
- ],
- 'security.xss_whitelist' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.XSS_WHITELIST_PERMISSIONS',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'security.xss_whitelist',
- 'validation' => 'loose'
- ],
- 'security.xss_enabled' => [
- 'type' => '_parent',
- 'name' => 'security.xss_enabled',
- 'form_field' => false
- ],
- 'security.xss_enabled.on_events' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_ON_EVENTS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'security.xss_enabled.on_events',
- 'validation' => 'loose'
- ],
- 'security.xss_enabled.invalid_protocols' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_INVALID_PROTOCOLS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'security.xss_enabled.invalid_protocols',
- 'validation' => 'loose'
- ],
- 'security.xss_enabled.moz_binding' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_MOZ_BINDINGS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'security.xss_enabled.moz_binding',
- 'validation' => 'loose'
- ],
- 'security.xss_enabled.html_inline_styles' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_HTML_INLINE_STYLES',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'security.xss_enabled.html_inline_styles',
- 'validation' => 'loose'
- ],
- 'security.xss_enabled.dangerous_tags' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.XSS_DANGEROUS_TAGS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'security.xss_enabled.dangerous_tags',
- 'validation' => 'loose'
- ],
- 'security.xss_dangerous_tags' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.XSS_DANGEROUS_TAGS_LIST',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'security.xss_dangerous_tags',
- 'validation' => 'loose'
- ],
- 'security.uploads_section' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'security.uploads_section',
- 'validation' => 'loose'
- ],
- 'security.uploads_dangerous_extensions' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.UPLOADS_DANGEROUS_EXTENSIONS',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'security.uploads_dangerous_extensions',
- 'validation' => 'loose'
- ],
- 'site' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose'
- ]
- ],
- 'site.title' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_ADMIN.SITE_TITLE',
- 'size' => 'large',
- 'name' => 'site.title',
- 'validation' => 'loose'
- ],
- 'site.default_lang' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_ADMIN.SITE_DEFAULT_LANG',
- 'size' => 'x-small',
- 'name' => 'site.default_lang',
- 'validation' => 'loose'
- ],
- 'site.author' => [
- 'type' => '_parent',
- 'name' => 'site.author',
- 'form_field' => false
- ],
- 'site.author.name' => [
- 'type' => 'text',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_AUTHOR',
- 'name' => 'site.author.name',
- 'validation' => 'loose'
- ],
- 'site.author.email' => [
- 'type' => 'text',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_EMAIL',
- 'validate' => [
- 'type' => 'email'
- ],
- 'name' => 'site.author.email',
- 'validation' => 'loose'
- ],
- 'site.taxonomies' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.TAXONOMY_TYPES',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'site.taxonomies',
- 'validation' => 'loose'
- ],
- 'site.content' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'site.content',
- 'validation' => 'loose'
- ],
- 'site.summary' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'site.summary',
- 'validation' => 'loose'
- ],
- 'site.summary.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLED',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'site.summary.enabled',
- 'validation' => 'loose'
- ],
- 'site.summary.size' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'append' => 'PLUGIN_ADMIN.CHARACTERS',
- 'label' => 'PLUGIN_ADMIN.SUMMARY_SIZE',
- 'validate' => [
- 'type' => 'int',
- 'min' => 0,
- 'max' => 65536
- ],
- 'name' => 'site.summary.size',
- 'validation' => 'loose'
- ],
- 'site.summary.format' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.FORMAT',
- 'classes' => 'fancy',
- 'highlight' => 'short',
- 'options' => [
- 'short' => 'PLUGIN_ADMIN.SHORT',
- 'long' => 'PLUGIN_ADMIN.LONG'
- ],
- 'name' => 'site.summary.format',
- 'validation' => 'loose'
- ],
- 'site.summary.delimiter' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_ADMIN.DELIMITER',
- 'name' => 'site.summary.delimiter',
- 'validation' => 'loose'
- ],
- 'site.metadata' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'site.metadata',
- 'validation' => 'loose'
- ],
- 'site.redirects' => [
- 'type' => 'array',
- 'label' => 'PLUGIN_ADMIN.CUSTOM_REDIRECTS',
- 'name' => 'site.redirects',
- 'validation' => 'loose'
- ],
- 'site.routes' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'site.routes',
- 'validation' => 'loose'
- ],
- 'streams' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose',
- 'hidden' => true
- ]
- ],
- 'streams.schemes' => [
- 'type' => '_parent',
- 'name' => 'streams.schemes',
- 'form_field' => false
- ],
- 'streams.schemes.xxx' => [
- 'type' => 'array',
- 'name' => 'streams.schemes.xxx',
- 'validation' => 'loose'
- ],
- 'system' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose'
- ]
- ],
- 'system.home' => [
- 'type' => '_parent',
- 'name' => 'system.home',
- 'form_field' => false
- ],
- 'system.home.alias' => [
- 'type' => 'pages',
- 'size' => 'large',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.HOME_PAGE',
- 'show_all' => false,
- 'show_modular' => false,
- 'show_root' => false,
- 'show_slug' => true,
- 'name' => 'system.home.alias',
- 'validation' => 'loose'
- ],
- 'system.home.hide_in_urls' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.HIDE_HOME_IN_URLS',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.home.hide_in_urls',
- 'validation' => 'loose'
- ],
- 'system.pages' => [
- 'type' => '_parent',
- 'name' => 'system.pages',
- 'form_field' => false
- ],
- 'system.pages.theme' => [
- 'type' => 'themeselect',
- 'classes' => 'fancy',
- 'selectize' => true,
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_THEME',
- 'name' => 'system.pages.theme',
- 'validation' => 'loose'
- ],
- 'system.pages.process' => [
- 'type' => 'checkboxes',
- 'label' => 'PLUGIN_ADMIN.PROCESS',
- 'default' => [
- 0 => [
- 'markdown' => true
- ],
- 1 => [
- 'twig' => true
- ]
- ],
- 'options' => [
- 'markdown' => 'Markdown',
- 'twig' => 'Twig'
- ],
- 'use' => 'keys',
- 'name' => 'system.pages.process',
- 'validation' => 'loose'
- ],
- 'system.timezone' => [
- 'type' => 'select',
- 'label' => 'PLUGIN_ADMIN.TIMEZONE',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'data-options@' => '\\Grav\\Common\\Utils::timezones',
- 'default' => '',
- 'options' => [
- '' => 'Default (Server Timezone)'
- ],
- 'name' => 'system.timezone',
- 'validation' => 'loose'
- ],
- 'system.pages.dateformat' => [
- 'type' => '_parent',
- 'name' => 'system.pages.dateformat',
- 'form_field' => false
- ],
- 'system.pages.dateformat.default' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'selectize' => [
- 'create' => true
- ],
- 'label' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT',
- 'data-options@' => '\\Grav\\Common\\Utils::dateFormats',
- 'validate' => [
- 'type' => 'string'
- ],
- 'name' => 'system.pages.dateformat.default',
- 'validation' => 'loose'
- ],
- 'system.pages.dateformat.short' => [
- 'type' => 'dateformat',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.SHORT_DATE_FORMAT',
- 'default' => 'jS M Y',
- 'options' => [
- 'F jS \\a\\t g:ia' => 'Date1',
- 'l jS \\of F g:i A' => 'Date2',
- 'D, d M Y G:i:s' => 'Date3',
- 'd-m-y G:i' => 'Date4',
- 'jS M Y' => 'Date5'
- ],
- 'name' => 'system.pages.dateformat.short',
- 'validation' => 'loose'
- ],
- 'system.pages.dateformat.long' => [
- 'type' => 'dateformat',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.LONG_DATE_FORMAT',
- 'options' => [
- 'F jS \\a\\t g:ia' => 'Date1',
- 'l jS \\of F g:i A' => 'Date2',
- 'D, d M Y G:i:s' => 'Date3',
- 'd-m-y G:i' => 'Date4',
- 'jS M Y' => 'Date5'
- ],
- 'name' => 'system.pages.dateformat.long',
- 'validation' => 'loose'
- ],
- 'system.pages.order' => [
- 'type' => '_parent',
- 'name' => 'system.pages.order',
- 'form_field' => false
- ],
- 'system.pages.order.by' => [
- 'type' => 'select',
- 'size' => 'large',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_ORDERING',
- 'options' => [
- 'default' => 'PLUGIN_ADMIN.DEFAULT_ORDERING_DEFAULT',
- 'folder' => 'PLUGIN_ADMIN.DEFAULT_ORDERING_FOLDER',
- 'title' => 'PLUGIN_ADMIN.DEFAULT_ORDERING_TITLE',
- 'date' => 'PLUGIN_ADMIN.DEFAULT_ORDERING_DATE'
- ],
- 'name' => 'system.pages.order.by',
- 'validation' => 'loose'
- ],
- 'system.pages.order.dir' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_ORDER_DIRECTION',
- 'highlight' => 'asc',
- 'default' => 'desc',
- 'options' => [
- 'asc' => 'PLUGIN_ADMIN.ASCENDING',
- 'desc' => 'PLUGIN_ADMIN.DESCENDING'
- ],
- 'name' => 'system.pages.order.dir',
- 'validation' => 'loose'
- ],
- 'system.pages.list' => [
- 'type' => '_parent',
- 'name' => 'system.pages.list',
- 'form_field' => false
- ],
- 'system.pages.list.count' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'append' => 'PLUGIN_ADMIN.PAGES',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_PAGE_COUNT',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'system.pages.list.count',
- 'validation' => 'loose'
- ],
- 'system.pages.publish_dates' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.DATE_BASED_PUBLISHING',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.publish_dates',
- 'validation' => 'loose'
- ],
- 'system.pages.events' => [
- 'type' => 'checkboxes',
- 'label' => 'PLUGIN_ADMIN.EVENTS',
- 'default' => [
- 0 => [
- 'page' => true
- ],
- 1 => [
- 'twig' => true
- ]
- ],
- 'options' => [
- 'page' => 'Page Events',
- 'twig' => 'Twig Events'
- ],
- 'use' => 'keys',
- 'name' => 'system.pages.events',
- 'validation' => 'loose'
- ],
- 'system.pages.append_url_extension' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_ADMIN.APPEND_URL_EXT',
- 'name' => 'system.pages.append_url_extension',
- 'validation' => 'loose'
- ],
- 'system.pages.redirect_default_route' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.REDIRECT_DEFAULT_ROUTE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.redirect_default_route',
- 'validation' => 'loose'
- ],
- 'system.pages.redirect_default_code' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.REDIRECT_DEFAULT_CODE',
- 'options' => [
- 301 => '301 - Permanent',
- 302 => '302 - Found',
- 303 => '303 - Other',
- 304 => '304 - Not Modified'
- ],
- 'name' => 'system.pages.redirect_default_code',
- 'validation' => 'loose'
- ],
- 'system.pages.redirect_trailing_slash' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.REDIRECT_TRAILING_SLASH',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.redirect_trailing_slash',
- 'validation' => 'loose'
- ],
- 'system.pages.ignore_hidden' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.IGNORE_HIDDEN',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.ignore_hidden',
- 'validation' => 'loose'
- ],
- 'system.pages.ignore_files' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.IGNORE_FILES',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'system.pages.ignore_files',
- 'validation' => 'loose'
- ],
- 'system.pages.ignore_folders' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.IGNORE_FOLDERS',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'system.pages.ignore_folders',
- 'validation' => 'loose'
- ],
- 'system.pages.url_taxonomy_filters' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ALLOW_URL_TAXONOMY_FILTERS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.url_taxonomy_filters',
- 'validation' => 'loose'
- ],
- 'system.pages.twig_first' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TWIG_FIRST',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.twig_first',
- 'validation' => 'loose'
- ],
- 'system.pages.never_cache_twig' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.NEVER_CACHE_TWIG',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.never_cache_twig',
- 'validation' => 'loose'
- ],
- 'system.pages.frontmatter' => [
- 'type' => '_parent',
- 'name' => 'system.pages.frontmatter',
- 'form_field' => false
- ],
- 'system.pages.frontmatter.process_twig' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.FRONTMATTER_PROCESS_TWIG',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.frontmatter.process_twig',
- 'validation' => 'loose'
- ],
- 'system.pages.frontmatter.ignore_fields' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.FRONTMATTER_IGNORE_FIELDS',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'system.pages.frontmatter.ignore_fields',
- 'validation' => 'loose'
- ],
- 'system.content' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'system.content',
- 'validation' => 'loose'
- ],
- 'system.languages' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'system.languages',
- 'validation' => 'loose'
- ],
- 'system.languages.supported' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.SUPPORTED',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'system.languages.supported',
- 'validation' => 'loose'
- ],
- 'system.languages.include_default_lang' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.INCLUDE_DEFAULT_LANG',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.languages.include_default_lang',
- 'validation' => 'loose'
- ],
- 'system.languages.translations' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TRANSLATIONS_ENABLED',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.languages.translations',
- 'validation' => 'loose'
- ],
- 'system.languages.translations_fallback' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TRANSLATIONS_FALLBACK',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.languages.translations_fallback',
- 'validation' => 'loose'
- ],
- 'system.languages.session_store_active' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ACTIVE_LANGUAGE_IN_SESSION',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.languages.session_store_active',
- 'validation' => 'loose'
- ],
- 'system.languages.http_accept_language' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.HTTP_ACCEPT_LANGUAGE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.languages.http_accept_language',
- 'validation' => 'loose'
- ],
- 'system.languages.override_locale' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.OVERRIDE_LOCALE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.languages.override_locale',
- 'validation' => 'loose'
- ],
- 'system.pages.expires' => [
- 'type' => 'text',
- 'size' => 'small',
- 'append' => 'NICETIME.SECOND_PLURAL',
- 'label' => 'PLUGIN_ADMIN.EXPIRES',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'system.pages.expires',
- 'validation' => 'loose'
- ],
- 'system.pages.cache_control' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.CACHE_CONTROL',
- 'name' => 'system.pages.cache_control',
- 'validation' => 'loose'
- ],
- 'system.pages.last_modified' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.LAST_MODIFIED',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.last_modified',
- 'validation' => 'loose'
- ],
- 'system.pages.etag' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ETAG',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.etag',
- 'validation' => 'loose'
- ],
- 'system.pages.vary_accept_encoding' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.VARY_ACCEPT_ENCODING',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.vary_accept_encoding',
- 'validation' => 'loose'
- ],
- 'system.http_headers' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'system.http_headers',
- 'validation' => 'loose'
- ],
- 'system.pages.markdown' => [
- 'type' => '_parent',
- 'name' => 'system.pages.markdown',
- 'form_field' => false
- ],
- 'system.pages.markdown.extra' => [
- 'type' => 'toggle',
- 'label' => 'Markdown extra',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.markdown.extra',
- 'validation' => 'loose'
- ],
- 'system.pages.markdown.auto_line_breaks' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.AUTO_LINE_BREAKS',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.markdown.auto_line_breaks',
- 'validation' => 'loose'
- ],
- 'system.pages.markdown.auto_url_links' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.AUTO_URL_LINKS',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.markdown.auto_url_links',
- 'validation' => 'loose'
- ],
- 'system.pages.markdown.escape_markup' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ESCAPE_MARKUP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.pages.markdown.escape_markup',
- 'validation' => 'loose'
- ],
- 'system.markdown' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'system.markdown',
- 'validation' => 'loose'
- ],
- 'system.cache' => [
- 'type' => '_parent',
- 'name' => 'system.cache',
- 'form_field' => false
- ],
- 'system.cache.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CACHING',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.cache.enabled',
- 'validation' => 'loose'
- ],
- 'system.cache.check' => [
- 'type' => '_parent',
- 'name' => 'system.cache.check',
- 'form_field' => false
- ],
- 'system.cache.check.method' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.CACHE_CHECK_METHOD',
- 'options' => [
- 'file' => 'Markdown + Yaml file timestamps',
- 'folder' => 'Folder timestamps',
- 'hash' => 'All files timestamps',
- 'none' => 'No timestamp checking'
- ],
- 'name' => 'system.cache.check.method',
- 'validation' => 'loose'
- ],
- 'system.cache.driver' => [
- 'type' => 'select',
- 'size' => 'small',
- 'classes' => 'fancy',
- 'label' => 'PLUGIN_ADMIN.CACHE_DRIVER',
- 'options' => [
- 'auto' => 'Auto detect',
- 'file' => 'File',
- 'apc' => 'APC',
- 'apcu' => 'APCu',
- 'xcache' => 'Xcache',
- 'memcache' => 'Memcache',
- 'memcached' => 'Memcached',
- 'wincache' => 'WinCache',
- 'redis' => 'Redis'
- ],
- 'name' => 'system.cache.driver',
- 'validation' => 'loose'
- ],
- 'system.cache.prefix' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_ADMIN.CACHE_PREFIX',
- 'name' => 'system.cache.prefix',
- 'validation' => 'loose'
- ],
- 'system.cache.clear_images_by_default' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CLEAR_IMAGES_BY_DEFAULT',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.cache.clear_images_by_default',
- 'validation' => 'loose'
- ],
- 'system.cache.cli_compatibility' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CLI_COMPATIBILITY',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.cache.cli_compatibility',
- 'validation' => 'loose'
- ],
- 'system.cache.lifetime' => [
- 'type' => 'text',
- 'size' => 'small',
- 'append' => 'NICETIME.SECOND_PLURAL',
- 'label' => 'PLUGIN_ADMIN.LIFETIME',
- 'validate' => [
- 'type' => 'number'
- ],
- 'name' => 'system.cache.lifetime',
- 'validation' => 'loose'
- ],
- 'system.cache.gzip' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GZIP_COMPRESSION',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.cache.gzip',
- 'validation' => 'loose'
- ],
- 'system.cache.allow_webserver_gzip' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ALLOW_WEBSERVER_GZIP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.cache.allow_webserver_gzip',
- 'validation' => 'loose'
- ],
- 'system.cache.memcache' => [
- 'type' => '_parent',
- 'name' => 'system.cache.memcache',
- 'form_field' => false
- ],
- 'system.cache.memcache.server' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.MEMCACHE_SERVER',
- 'name' => 'system.cache.memcache.server',
- 'validation' => 'loose'
- ],
- 'system.cache.memcache.port' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.MEMCACHE_PORT',
- 'name' => 'system.cache.memcache.port',
- 'validation' => 'loose'
- ],
- 'system.cache.memcached' => [
- 'type' => '_parent',
- 'name' => 'system.cache.memcached',
- 'form_field' => false
- ],
- 'system.cache.memcached.server' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.MEMCACHED_SERVER',
- 'name' => 'system.cache.memcached.server',
- 'validation' => 'loose'
- ],
- 'system.cache.memcached.port' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.MEMCACHED_PORT',
- 'name' => 'system.cache.memcached.port',
- 'validation' => 'loose'
- ],
- 'system.cache.redis' => [
- 'type' => '_parent',
- 'name' => 'system.cache.redis',
- 'form_field' => false
- ],
- 'system.cache.redis.socket' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.REDIS_SOCKET',
- 'name' => 'system.cache.redis.socket',
- 'validation' => 'loose'
- ],
- 'system.cache.redis.server' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.REDIS_SERVER',
- 'name' => 'system.cache.redis.server',
- 'validation' => 'loose'
- ],
- 'system.cache.redis.port' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.REDIS_PORT',
- 'name' => 'system.cache.redis.port',
- 'validation' => 'loose'
- ],
- 'system.cache.redis.password' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.REDIS_PASSWORD',
- 'name' => 'system.cache.redis.password',
- 'validation' => 'loose'
- ],
- 'system.caching' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'system.caching',
- 'validation' => 'loose'
- ],
- 'system.twig' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'system.twig',
- 'validation' => 'loose'
- ],
- 'system.twig.cache' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TWIG_CACHING',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.twig.cache',
- 'validation' => 'loose'
- ],
- 'system.twig.debug' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TWIG_DEBUG',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.twig.debug',
- 'validation' => 'loose'
- ],
- 'system.twig.auto_reload' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.DETECT_CHANGES',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.twig.auto_reload',
- 'validation' => 'loose'
- ],
- 'system.twig.autoescape' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.AUTOESCAPE_VARIABLES',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.twig.autoescape',
- 'validation' => 'loose'
- ],
- 'system.twig.umask_fix' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.TWIG_UMASK_FIX',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.twig.umask_fix',
- 'validation' => 'loose'
- ],
- 'system.assets' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'system.assets',
- 'validation' => 'loose'
- ],
- 'system.assets.css_pipeline' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_PIPELINE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.css_pipeline',
- 'validation' => 'loose'
- ],
- 'system.assets.css_pipeline_include_externals' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_PIPELINE_INCLUDE_EXTERNALS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.css_pipeline_include_externals',
- 'validation' => 'loose'
- ],
- 'system.assets.css_pipeline_before_excludes' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_PIPELINE_BEFORE_EXCLUDES',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.css_pipeline_before_excludes',
- 'validation' => 'loose'
- ],
- 'system.assets.css_minify' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_MINIFY',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.css_minify',
- 'validation' => 'loose'
- ],
- 'system.assets.css_minify_windows' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_MINIFY_WINDOWS_OVERRIDE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.css_minify_windows',
- 'validation' => 'loose'
- ],
- 'system.assets.css_rewrite' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CSS_REWRITE',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.css_rewrite',
- 'validation' => 'loose'
- ],
- 'system.assets.js_pipeline' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.js_pipeline',
- 'validation' => 'loose'
- ],
- 'system.assets.js_pipeline_include_externals' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_INCLUDE_EXTERNALS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.js_pipeline_include_externals',
- 'validation' => 'loose'
- ],
- 'system.assets.js_pipeline_before_excludes' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_BEFORE_EXCLUDES',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.js_pipeline_before_excludes',
- 'validation' => 'loose'
- ],
- 'system.assets.js_minify' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.JAVASCRIPT_MINIFY',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.js_minify',
- 'validation' => 'loose'
- ],
- 'system.assets.enable_asset_timestamp' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLED_TIMESTAMPS_ON_ASSETS',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.assets.enable_asset_timestamp',
- 'validation' => 'loose'
- ],
- 'system.assets.collections' => [
- 'type' => 'multilevel',
- 'label' => 'PLUGIN_ADMIN.COLLECTIONS',
- 'validate' => [
- 'type' => 'array'
- ],
- 'name' => 'system.assets.collections',
- 'validation' => 'loose'
- ],
- 'system.errors' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'system.errors',
- 'validation' => 'loose'
- ],
- 'system.errors.display' => [
- 'type' => 'select',
- 'label' => 'PLUGIN_ADMIN.DISPLAY_ERRORS',
- 'size' => 'medium',
- 'highlight' => 1,
- 'options' => [
- -1 => 'PLUGIN_ADMIN.ERROR_SYSTEM',
- 0 => 'PLUGIN_ADMIN.ERROR_SIMPLE',
- 1 => 'PLUGIN_ADMIN.ERROR_FULL_BACKTRACE'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'system.errors.display',
- 'validation' => 'loose'
- ],
- 'system.errors.log' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.LOG_ERRORS',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.errors.log',
- 'validation' => 'loose'
- ],
- 'system.debugger' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'system.debugger',
- 'validation' => 'loose'
- ],
- 'system.debugger.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.DEBUGGER',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.debugger.enabled',
- 'validation' => 'loose'
- ],
- 'system.debugger.shutdown' => [
- 'type' => '_parent',
- 'name' => 'system.debugger.shutdown',
- 'form_field' => false
- ],
- 'system.debugger.shutdown.close_connection' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.SHUTDOWN_CLOSE_CONNECTION',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.debugger.shutdown.close_connection',
- 'validation' => 'loose'
- ],
- 'system.images' => [
- 'type' => '_parent',
- 'name' => 'system.images',
- 'form_field' => false
- ],
- 'system.images.default_image_quality' => [
- 'type' => 'range',
- 'append' => '%',
- 'label' => 'PLUGIN_ADMIN.DEFAULT_IMAGE_QUALITY',
- 'validate' => [
- 'min' => 1,
- 'max' => 100
- ],
- 'name' => 'system.images.default_image_quality',
- 'validation' => 'loose'
- ],
- 'system.images.cache_all' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CACHE_ALL',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.images.cache_all',
- 'validation' => 'loose'
- ],
- 'system.images.cache_perms' => [
- 'type' => 'select',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.CACHE_PERMS',
- 'highlight' => '0755',
- 'options' => [
- '0755' => '0755',
- '0775' => '0775'
- ],
- 'name' => 'system.images.cache_perms',
- 'validation' => 'loose'
- ],
- 'system.images.debug' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.IMAGES_DEBUG',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.images.debug',
- 'validation' => 'loose'
- ],
- 'system.images.auto_fix_orientation' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.IMAGES_AUTO_FIX_ORIENTATION',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.images.auto_fix_orientation',
- 'validation' => 'loose'
- ],
- 'system.media' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'system.media',
- 'validation' => 'loose'
- ],
- 'system.media.enable_media_timestamp' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLE_MEDIA_TIMESTAMP',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.media.enable_media_timestamp',
- 'validation' => 'loose'
- ],
- 'system.media.auto_metadata_exif' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLE_AUTO_METADATA',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.media.auto_metadata_exif',
- 'validation' => 'loose'
- ],
- 'system.media.allowed_fallback_types' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.FALLBACK_TYPES',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'system.media.allowed_fallback_types',
- 'validation' => 'loose'
- ],
- 'system.media.unsupported_inline_types' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.INLINE_TYPES',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'system.media.unsupported_inline_types',
- 'validation' => 'loose'
- ],
- 'system.session' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'system.session',
- 'validation' => 'loose'
- ],
- 'system.session.enabled' => [
- 'type' => 'hidden',
- 'label' => 'PLUGIN_ADMIN.ENABLED',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.session.enabled',
- 'validation' => 'loose'
- ],
- 'system.session.initialize' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.SESSION_INITIALIZE',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.session.initialize',
- 'validation' => 'loose'
- ],
- 'system.session.timeout' => [
- 'type' => 'text',
- 'size' => 'small',
- 'append' => 'NICETIME.SECOND_PLURAL',
- 'label' => 'PLUGIN_ADMIN.TIMEOUT',
- 'validate' => [
- 'type' => 'number',
- 'min' => 0
- ],
- 'name' => 'system.session.timeout',
- 'validation' => 'loose'
- ],
- 'system.session.name' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.NAME',
- 'name' => 'system.session.name',
- 'validation' => 'loose'
- ],
- 'system.session.secure' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.SESSION_SECURE',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => false,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.session.secure',
- 'validation' => 'loose'
- ],
- 'system.session.httponly' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.SESSION_HTTPONLY',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.session.httponly',
- 'validation' => 'loose'
- ],
- 'system.session.path' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.SESSION_PATH',
- 'name' => 'system.session.path',
- 'validation' => 'loose'
- ],
- 'system.session.split' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.SESSION_SPLIT',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.session.split',
- 'validation' => 'loose'
- ],
- 'system.gpm' => [
- 'type' => '_parent',
- 'name' => 'system.gpm',
- 'form_field' => false
- ],
- 'system.gpm.releases' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GPM_RELEASES',
- 'highlight' => 'stable',
- 'options' => [
- 'stable' => 'PLUGIN_ADMIN.STABLE',
- 'testing' => 'PLUGIN_ADMIN.TESTING'
- ],
- 'name' => 'system.gpm.releases',
- 'validation' => 'loose'
- ],
- 'system.gpm.proxy_url' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.PROXY_URL',
- 'name' => 'system.gpm.proxy_url',
- 'validation' => 'loose'
- ],
- 'system.gpm.method' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GPM_METHOD',
- 'highlight' => 'auto',
- 'options' => [
- 'auto' => 'PLUGIN_ADMIN.AUTO',
- 'fopen' => 'PLUGIN_ADMIN.FOPEN',
- 'curl' => 'PLUGIN_ADMIN.CURL'
- ],
- 'name' => 'system.gpm.method',
- 'validation' => 'loose'
- ],
- 'system.gpm.official_gpm_only' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GPM_OFFICIAL_ONLY',
- 'highlight' => 'auto',
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'default' => true,
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.gpm.official_gpm_only',
- 'validation' => 'loose'
- ],
- 'system.gpm.verify_peer' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.GPM_VERIFY_PEER',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.gpm.verify_peer',
- 'validation' => 'loose'
- ],
- 'system.reverse_proxy_setup' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.REVERSE_PROXY',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.reverse_proxy_setup',
- 'validation' => 'loose'
- ],
- 'system.username_regex' => [
- 'type' => 'text',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.USERNAME_REGEX',
- 'name' => 'system.username_regex',
- 'validation' => 'loose'
- ],
- 'system.pwd_regex' => [
- 'type' => 'text',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.PWD_REGEX',
- 'name' => 'system.pwd_regex',
- 'validation' => 'loose'
- ],
- 'system.intl_enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.INTL_ENABLED',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.intl_enabled',
- 'validation' => 'loose'
- ],
- 'system.wrapped_site' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.WRAPPED_SITE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.wrapped_site',
- 'validation' => 'loose'
- ],
- 'system.absolute_urls' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ABSOLUTE_URLS',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.absolute_urls',
- 'validation' => 'loose'
- ],
- 'system.param_sep' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.PARAMETER_SEPARATOR',
- 'classes' => 'fancy',
- 'default' => '',
- 'options' => [
- ':' => ': (default)',
- ';' => '; (for Apache running on Windows)'
- ],
- 'name' => 'system.param_sep',
- 'validation' => 'loose'
- ],
- 'system.force_ssl' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.FORCE_SSL',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.force_ssl',
- 'validation' => 'loose'
- ],
- 'system.force_lowercase_urls' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.FORCE_LOWERCASE_URLS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.force_lowercase_urls',
- 'validation' => 'loose'
- ],
- 'system.custom_base_url' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_ADMIN.CUSTOM_BASE_URL',
- 'name' => 'system.custom_base_url',
- 'validation' => 'loose'
- ],
- 'system.strict_mode' => [
- 'type' => '_parent',
- 'name' => 'system.strict_mode',
- 'form_field' => false
- ],
- 'system.strict_mode.yaml_compat' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.STRICT_YAML_COMPAT',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.strict_mode.yaml_compat',
- 'validation' => 'loose'
- ],
- 'system.strict_mode.twig_compat' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.STRICT_TWIG_COMPAT',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'system.strict_mode.twig_compat',
- 'validation' => 'loose'
- ],
- 'system.advanced' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'system.advanced',
- 'validation' => 'loose'
- ],
- 'plugins.admin' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose'
- ]
- ],
- 'plugins' => [
- 'type' => '_parent',
- 'name' => 'plugins',
- 'form_field' => false
- ],
- 'plugins.admin.Basics' => [
- 'type' => 'section',
- 'underline' => false,
- 'name' => 'plugins.admin.Basics',
- 'validation' => 'loose'
- ],
- 'plugins.admin.enabled' => [
- 'type' => 'hidden',
- 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.enabled',
- 'validation' => 'loose'
- ],
- 'plugins.admin.cache_enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ADMIN_CACHING',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.cache_enabled',
- 'validation' => 'loose'
- ],
- 'plugins.admin.twofa_enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.2FA_TITLE',
- 'default' => 1,
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.twofa_enabled',
- 'validation' => 'loose'
- ],
- 'plugins.admin.route' => [
- 'type' => 'text',
- 'label' => 'Administrator path',
- 'size' => 'medium',
- 'name' => 'plugins.admin.route',
- 'validation' => 'loose'
- ],
- 'plugins.admin.logo_text' => [
- 'type' => 'text',
- 'label' => 'Logo text',
- 'size' => 'medium',
- 'name' => 'plugins.admin.logo_text',
- 'validation' => 'loose'
- ],
- 'plugins.admin.content_padding' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.CONTENT_PADDING',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.content_padding',
- 'validation' => 'loose'
- ],
- 'plugins.admin.body_classes' => [
- 'type' => 'text',
- 'label' => 'Body classes',
- 'size' => 'medium',
- 'name' => 'plugins.admin.body_classes',
- 'validation' => 'loose'
- ],
- 'plugins.admin.sidebar' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.sidebar',
- 'form_field' => false
- ],
- 'plugins.admin.sidebar.activate' => [
- 'type' => 'select',
- 'label' => 'Sidebar Activation',
- 'size' => 'small',
- 'default' => 'tab',
- 'options' => [
- 'tab' => 'Tab',
- 'hover' => 'Hover'
- ],
- 'name' => 'plugins.admin.sidebar.activate',
- 'validation' => 'loose'
- ],
- 'plugins.admin.sidebar.hover_delay' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'append' => 'millseconds',
- 'label' => 'Hover delay',
- 'default' => 500,
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'plugins.admin.sidebar.hover_delay',
- 'validation' => 'loose'
- ],
- 'plugins.admin.sidebar.size' => [
- 'type' => 'select',
- 'label' => 'Sidebar Size',
- 'size' => 'medium',
- 'default' => 'auto',
- 'options' => [
- 'auto' => 'Automatic width',
- 'small' => 'Small width'
- ],
- 'name' => 'plugins.admin.sidebar.size',
- 'validation' => 'loose'
- ],
- 'plugins.admin.theme' => [
- 'type' => 'hidden',
- 'label' => 'Theme',
- 'default' => 'grav',
- 'name' => 'plugins.admin.theme',
- 'validation' => 'loose'
- ],
- 'plugins.admin.edit_mode' => [
- 'type' => 'select',
- 'label' => 'Edit mode',
- 'size' => 'small',
- 'default' => 'normal',
- 'options' => [
- 'normal' => 'Normal',
- 'expert' => 'Expert'
- ],
- 'name' => 'plugins.admin.edit_mode',
- 'validation' => 'loose'
- ],
- 'plugins.admin.frontend_preview_target' => [
- 'type' => 'select',
- 'label' => 'Preview pages target',
- 'size' => 'medium',
- 'default' => 'inline',
- 'options' => [
- 'inline' => 'Inline in Admin',
- '_blank' => 'New tab',
- '_self' => 'Current tab'
- ],
- 'name' => 'plugins.admin.frontend_preview_target',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pages' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.pages',
- 'form_field' => false
- ],
- 'plugins.admin.pages.show_parents' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'Parent dropdown',
- 'highlight' => 1,
- 'options' => [
- 'both' => 'Show slug and folder',
- 'folder' => 'Show folder',
- 'fullpath' => 'Show fullpath'
- ],
- 'name' => 'plugins.admin.pages.show_parents',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pages.parents_levels' => [
- 'type' => 'text',
- 'label' => 'Parents Levels',
- 'size' => 'small',
- 'name' => 'plugins.admin.pages.parents_levels',
- 'validation' => 'loose'
- ],
- 'plugins.admin.google_fonts' => [
- 'type' => 'toggle',
- 'label' => 'Use Google Fonts',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.google_fonts',
- 'validation' => 'loose'
- ],
- 'plugins.admin.admin_icons' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'Icon Style',
- 'default' => 'line-awesome',
- 'options' => [
- 'line-awesome' => 'Lighter Line Icons (LineAwesome)',
- 'font-awesome' => 'Darker Solid Icons (FontAwesome)'
- ],
- 'name' => 'plugins.admin.admin_icons',
- 'validation' => 'loose'
- ],
- 'plugins.admin.show_beta_msg' => [
- 'type' => 'hidden',
- 'name' => 'plugins.admin.show_beta_msg',
- 'validation' => 'loose'
- ],
- 'plugins.admin.show_github_msg' => [
- 'type' => 'toggle',
- 'label' => 'Show GitHub Link',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.show_github_msg',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pages_list_display_field' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'Pages List Display Field',
- 'name' => 'plugins.admin.pages_list_display_field',
- 'validation' => 'loose'
- ],
- 'plugins.admin.enable_auto_updates_check' => [
- 'type' => 'toggle',
- 'label' => 'Automatically check for updates',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.enable_auto_updates_check',
- 'validation' => 'loose'
- ],
- 'plugins.admin.session' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.session',
- 'form_field' => false
- ],
- 'plugins.admin.session.timeout' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'Session Timeout',
- 'append' => 'secs',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'plugins.admin.session.timeout',
- 'validation' => 'loose'
- ],
- 'plugins.admin.warnings' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.warnings',
- 'form_field' => false
- ],
- 'plugins.admin.warnings.delete_page' => [
- 'type' => 'toggle',
- 'label' => 'Warn on page delete',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.warnings.delete_page',
- 'validation' => 'loose'
- ],
- 'plugins.admin.hide_page_types' => [
- 'type' => 'array',
- 'label' => 'Hide page types in Admin',
- 'value_only' => true,
- 'name' => 'plugins.admin.hide_page_types',
- 'validation' => 'loose'
- ],
- 'plugins.admin.hide_modular_page_types' => [
- 'type' => 'array',
- 'label' => 'Hide modular page types in Admin',
- 'value_only' => true,
- 'name' => 'plugins.admin.hide_modular_page_types',
- 'validation' => 'loose'
- ],
- 'plugins.admin.MediaResize' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'plugins.admin.MediaResize',
- 'validation' => 'loose'
- ],
- 'plugins.admin.MediaResizeNote' => [
- 'type' => 'spacer',
- 'text' => 'PLUGIN_ADMIN.PAGEMEDIA_RESIZER',
- 'markdown' => true,
- 'name' => 'plugins.admin.MediaResizeNote',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pagemedia' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.pagemedia',
- 'form_field' => false
- ],
- 'plugins.admin.pagemedia.resize_width' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'append' => 'pixels',
- 'label' => 'Resize Width',
- 'default' => 0,
- 'validate' => [
- 'type' => 'number'
- ],
- 'name' => 'plugins.admin.pagemedia.resize_width',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pagemedia.resize_height' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'append' => 'pixels',
- 'label' => 'Resize Height',
- 'default' => 0,
- 'validate' => [
- 'type' => 'number'
- ],
- 'name' => 'plugins.admin.pagemedia.resize_height',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pagemedia.res_min_width' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'append' => 'pixels',
- 'label' => 'Resolution Min Width',
- 'default' => 0,
- 'validate' => [
- 'type' => 'number'
- ],
- 'name' => 'plugins.admin.pagemedia.res_min_width',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pagemedia.res_min_height' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'append' => 'pixels',
- 'label' => 'Resolution Min Height',
- 'default' => 0,
- 'validate' => [
- 'type' => 'number'
- ],
- 'name' => 'plugins.admin.pagemedia.res_min_height',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pagemedia.res_max_width' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'append' => 'pixels',
- 'label' => 'Resolution Max Width',
- 'default' => 0,
- 'validate' => [
- 'type' => 'number'
- ],
- 'name' => 'plugins.admin.pagemedia.res_max_width',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pagemedia.res_max_height' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'append' => 'pixels',
- 'label' => 'Resolution Max Height',
- 'default' => 0,
- 'validate' => [
- 'type' => 'number'
- ],
- 'name' => 'plugins.admin.pagemedia.res_max_height',
- 'validation' => 'loose'
- ],
- 'plugins.admin.pagemedia.resize_quality' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'append' => '0...1',
- 'label' => 'Resize Quality',
- 'default' => 0.8,
- 'validate' => [
- 'type' => 'number',
- 'step' => 0.01
- ],
- 'name' => 'plugins.admin.pagemedia.resize_quality',
- 'validation' => 'loose'
- ],
- 'plugins.admin.Dashboard' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'plugins.admin.Dashboard',
- 'validation' => 'loose'
- ],
- 'plugins.admin.widgets' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.widgets',
- 'form_field' => false
- ],
- 'plugins.admin.widgets.dashboard-maintenance' => [
- 'type' => 'toggle',
- 'label' => 'Maintenance Widget',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.widgets.dashboard-maintenance',
- 'validation' => 'loose'
- ],
- 'plugins.admin.widgets.dashboard-statistics' => [
- 'type' => 'toggle',
- 'label' => 'Statistics Widget',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.widgets.dashboard-statistics',
- 'validation' => 'loose'
- ],
- 'plugins.admin.widgets.dashboard-notifications' => [
- 'type' => 'toggle',
- 'label' => 'Notifications Feed Widget',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.widgets.dashboard-notifications',
- 'validation' => 'loose'
- ],
- 'plugins.admin.widgets.dashboard-feed' => [
- 'type' => 'toggle',
- 'label' => 'News Feed Widget',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.widgets.dashboard-feed',
- 'validation' => 'loose'
- ],
- 'plugins.admin.widgets.dashboard-pages' => [
- 'type' => 'toggle',
- 'label' => 'Latest Pages Widget',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.widgets.dashboard-pages',
- 'validation' => 'loose'
- ],
- 'plugins.admin.Notifications' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'plugins.admin.Notifications',
- 'validation' => 'loose'
- ],
- 'plugins.admin.notifications' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.notifications',
- 'form_field' => false
- ],
- 'plugins.admin.notifications.feed' => [
- 'type' => 'toggle',
- 'label' => 'Feed Notifications',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.notifications.feed',
- 'validation' => 'loose'
- ],
- 'plugins.admin.notifications.dashboard' => [
- 'type' => 'toggle',
- 'label' => 'Dashboard Notifications',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.notifications.dashboard',
- 'validation' => 'loose'
- ],
- 'plugins.admin.notifications.plugins' => [
- 'type' => 'toggle',
- 'label' => 'Plugins Notifications',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.notifications.plugins',
- 'validation' => 'loose'
- ],
- 'plugins.admin.notifications.themes' => [
- 'type' => 'toggle',
- 'label' => 'Themes Notifications',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.notifications.themes',
- 'validation' => 'loose'
- ],
- 'plugins.admin.Popularity' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'plugins.admin.Popularity',
- 'validation' => 'loose'
- ],
- 'plugins.admin.popularity' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.popularity',
- 'form_field' => false
- ],
- 'plugins.admin.popularity.enabled' => [
- 'type' => 'toggle',
- 'label' => 'Visitor tracking',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.admin.popularity.enabled',
- 'validation' => 'loose'
- ],
- 'plugins.admin.dashboard' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.dashboard',
- 'form_field' => false
- ],
- 'plugins.admin.dashboard.days_of_stats' => [
- 'type' => 'text',
- 'label' => 'Days of stats',
- 'append' => 'days',
- 'size' => 'x-small',
- 'default' => 7,
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.admin.dashboard.days_of_stats',
- 'validation' => 'loose'
- ],
- 'plugins.admin.popularity.ignore' => [
- 'type' => 'array',
- 'label' => 'Ignore',
- 'size' => 'large',
- 'default' => [
- 0 => '/test*',
- 1 => '/modular'
- ],
- 'value_only' => true,
- 'name' => 'plugins.admin.popularity.ignore',
- 'validation' => 'loose'
- ],
- 'plugins.admin.popularity.history' => [
- 'type' => '_parent',
- 'name' => 'plugins.admin.popularity.history',
- 'form_field' => false
- ],
- 'plugins.admin.popularity.history.daily' => [
- 'type' => 'hidden',
- 'label' => 'Daily history',
- 'default' => 30,
- 'name' => 'plugins.admin.popularity.history.daily',
- 'validation' => 'loose'
- ],
- 'plugins.admin.popularity.history.monthly' => [
- 'type' => 'hidden',
- 'label' => 'Monthly history',
- 'default' => 12,
- 'name' => 'plugins.admin.popularity.history.monthly',
- 'validation' => 'loose'
- ],
- 'plugins.admin.popularity.history.visitors' => [
- 'type' => 'hidden',
- 'label' => 'Visitors history',
- 'default' => 20,
- 'name' => 'plugins.admin.popularity.history.visitors',
- 'validation' => 'loose'
- ],
- 'plugins.markdown-notices' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'strict'
- ]
- ],
- 'plugins.markdown-notices.enabled' => [
- 'type' => 'toggle',
- 'label' => 'Plugin status',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.markdown-notices.enabled',
- 'validation' => 'strict'
- ],
- 'plugins.markdown-notices.built_in_css' => [
- 'type' => 'toggle',
- 'label' => 'Use built in CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.markdown-notices.built_in_css',
- 'validation' => 'strict'
- ],
- 'plugins.markdown-notices.level_classes' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'Level classes',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'plugins.markdown-notices.level_classes',
- 'validation' => 'strict'
- ],
- 'plugins.form' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'strict'
- ]
- ],
- 'plugins.form.enabled' => [
- 'type' => 'hidden',
- 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.enabled',
- 'validation' => 'strict'
- ],
- 'plugins.form.built_in_css' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.USE_BUILT_IN_CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.built_in_css',
- 'validation' => 'strict'
- ],
- 'plugins.form.inline_css' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.USE_INLINE_CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.inline_css',
- 'validation' => 'strict'
- ],
- 'plugins.form.refresh_prevention' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.REFRESH_PREVENTION',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.refresh_prevention',
- 'validation' => 'strict'
- ],
- 'plugins.form.client_side_validation' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.CLIENT_SIDE_VALIDATION',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.client_side_validation',
- 'validation' => 'strict'
- ],
- 'plugins.form.inline_errors' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.INLINE_ERRORS',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.inline_errors',
- 'validation' => 'strict'
- ],
- 'plugins.form.general' => [
- 'type' => 'section',
- 'name' => 'plugins.form.general',
- 'validation' => 'strict'
- ],
- 'plugins.form.files' => [
- 'type' => 'section',
- 'name' => 'plugins.form.files',
- 'validation' => 'strict'
- ],
- 'plugins.form.files.multiple' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.ALLOW_MULTIPLE',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.files.multiple',
- 'validation' => 'strict'
- ],
- 'plugins.form.files.limit' => [
- 'type' => 'text',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_FORM.LIMIT',
- 'default' => 10,
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'plugins.form.files.limit',
- 'validation' => 'strict'
- ],
- 'plugins.form.files.destination' => [
- 'type' => 'text',
- 'size' => 'large',
- 'label' => 'PLUGIN_FORM.DESTINATION',
- 'default' => '@self',
- 'name' => 'plugins.form.files.destination',
- 'validation' => 'strict'
- ],
- 'plugins.form.files.accept' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_FORM.ACCEPT',
- 'classes' => 'fancy',
- 'default' => [
- 0 => 'image/*'
- ],
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'plugins.form.files.accept',
- 'validation' => 'strict'
- ],
- 'plugins.form.files.filesize' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_FORM.FILESIZE',
- 'size' => 'x-small',
- 'default' => 5,
- 'validate' => [
- 'type' => 'number',
- 'min' => 0
- ],
- 'name' => 'plugins.form.files.filesize',
- 'validation' => 'strict'
- ],
- 'plugins.form.files.avoid_overwriting' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.AVOID_OVERWRITING',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.files.avoid_overwriting',
- 'validation' => 'strict'
- ],
- 'plugins.form.files.random_name' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_FORM.RANDOM_NAME',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.form.files.random_name',
- 'validation' => 'strict'
- ],
- 'plugins.form.recaptcha' => [
- 'type' => 'section',
- 'name' => 'plugins.form.recaptcha',
- 'validation' => 'strict'
- ],
- 'plugins.form.recaptcha.site_key' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_FORM.RECAPTCHA_SITE_KEY',
- 'default' => '',
- 'name' => 'plugins.form.recaptcha.site_key',
- 'validation' => 'strict'
- ],
- 'plugins.form.recaptcha.secret_key' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_FORM.RECAPTCHA_SECRET_KEY',
- 'default' => '',
- 'name' => 'plugins.form.recaptcha.secret_key',
- 'validation' => 'strict'
- ],
- 'plugins.login' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose'
- ]
- ],
- 'plugins.login.enabled' => [
- 'type' => 'hidden',
- 'label' => 'PLUGIN_LOGIN.PLUGIN_STATUS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.enabled',
- 'validation' => 'loose'
- ],
- 'plugins.login.built_in_css' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.BUILTIN_CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.built_in_css',
- 'validation' => 'loose'
- ],
- 'plugins.login.route' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_LOGIN.ROUTE',
- 'name' => 'plugins.login.route',
- 'validation' => 'loose'
- ],
- 'plugins.login.redirect_after_login' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_LOGIN',
- 'name' => 'plugins.login.redirect_after_login',
- 'validation' => 'loose'
- ],
- 'plugins.login.redirect_after_logout' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_LOGOUT',
- 'name' => 'plugins.login.redirect_after_logout',
- 'validation' => 'loose'
- ],
- 'plugins.login.route_forgot' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_LOGIN.ROUTE_FORGOT',
- 'name' => 'plugins.login.route_forgot',
- 'validation' => 'loose'
- ],
- 'plugins.login.route_reset' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_LOGIN.ROUTE_RESET',
- 'name' => 'plugins.login.route_reset',
- 'validation' => 'loose'
- ],
- 'plugins.login.route_profile' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_LOGIN.ROUTE_PROFILE',
- 'name' => 'plugins.login.route_profile',
- 'validation' => 'loose'
- ],
- 'plugins.login.parent_acl' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.USE_PARENT_ACL_LABEL',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.parent_acl',
- 'validation' => 'loose'
- ],
- 'plugins.login.dynamic_page_visibility' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.DYNAMIC_VISIBILITY',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.dynamic_page_visibility',
- 'validation' => 'loose'
- ],
- 'plugins.login.protect_protected_page_media' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.PROTECT_PROTECTED_PAGE_MEDIA_LABEL',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.protect_protected_page_media',
- 'validation' => 'loose'
- ],
- 'plugins.login.route_activate' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_LOGIN.ROUTE_ACTIVATE',
- 'name' => 'plugins.login.route_activate',
- 'validation' => 'loose'
- ],
- 'plugins.login.route_register' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'PLUGIN_LOGIN.ROUTE_REGISTER',
- 'name' => 'plugins.login.route_register',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration' => [
- 'type' => '_parent',
- 'name' => 'plugins.login.user_registration',
- 'form_field' => false
- ],
- 'plugins.login.user_registration.redirect_after_registration' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_REGISTRATION',
- 'name' => 'plugins.login.user_registration.redirect_after_registration',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.redirect_after_activation' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_LOGIN.REDIRECT_AFTER_ACTIVATION',
- 'name' => 'plugins.login.user_registration.redirect_after_activation',
- 'validation' => 'loose'
- ],
- 'plugins.login.routes' => [
- 'type' => 'section',
- 'name' => 'plugins.login.routes',
- 'validation' => 'loose'
- ],
- 'plugins.login.rememberme' => [
- 'type' => 'section',
- 'name' => 'plugins.login.rememberme',
- 'validation' => 'loose'
- ],
- 'plugins.login.rememberme.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLED',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.rememberme.enabled',
- 'validation' => 'loose'
- ],
- 'plugins.login.rememberme.timeout' => [
- 'type' => 'text',
- 'size' => 'small',
- 'default' => 604800,
- 'label' => 'PLUGIN_ADMIN.TIMEOUT',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'plugins.login.rememberme.timeout',
- 'validation' => 'loose'
- ],
- 'plugins.login.rememberme.name' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'PLUGIN_ADMIN.NAME',
- 'name' => 'plugins.login.rememberme.name',
- 'validation' => 'loose'
- ],
- 'plugins.login.login' => [
- 'type' => 'tab',
- 'name' => 'plugins.login.login',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.ENABLED',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.enabled',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.fields' => [
- 'type' => 'array',
- 'value_only' => true,
- 'label' => 'PLUGIN_LOGIN.REGISTRATION_FIELDS',
- 'name' => 'plugins.login.user_registration.fields',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.default_values' => [
- 'type' => 'array',
- 'label' => 'PLUGIN_LOGIN.DEFAULT_VALUES',
- 'name' => 'plugins.login.user_registration.default_values',
- 'validation' => 'loose'
- ],
- 'plugins.login.registration_fields' => [
- 'type' => 'section',
- 'name' => 'plugins.login.registration_fields',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.groups' => [
- 'type' => 'selectize',
- 'size' => 'large',
- 'label' => 'PLUGIN_ADMIN.GROUPS',
- '@data-options' => '\\Grav\\User\\Groups::groups',
- 'classes' => 'fancy',
- 'validate' => [
- 'type' => 'commalist'
- ],
- 'name' => 'plugins.login.user_registration.groups',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.access' => [
- 'type' => '_parent',
- 'name' => 'plugins.login.user_registration.access',
- 'form_field' => false
- ],
- 'plugins.login.user_registration.access.site' => [
- 'type' => 'array',
- 'label' => 'PLUGIN_ADMIN.SITE_ACCESS',
- 'multiple' => false,
- 'validate' => [
- 'type' => 'array'
- ],
- 'name' => 'plugins.login.user_registration.access.site',
- 'validation' => 'loose'
- ],
- 'plugins.login.access_levels' => [
- 'type' => 'section',
- 'security' => 'admin.super',
- 'name' => 'plugins.login.access_levels',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.options' => [
- 'type' => '_parent',
- 'name' => 'plugins.login.user_registration.options',
- 'form_field' => false
- ],
- 'plugins.login.user_registration.options.validate_password1_and_password2' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.VALIDATE_PASSWORD1_AND_PASSWORD2',
- 'highlight' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.options.validate_password1_and_password2',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.options.set_user_disabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.SET_USER_DISABLED',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.options.set_user_disabled',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.options.login_after_registration' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.LOGIN_AFTER_REGISTRATION',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.options.login_after_registration',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.options.send_activation_email' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.SEND_ACTIVATION_EMAIL',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.options.send_activation_email',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.options.manually_enable' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.MANUALLY_ENABLE',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.options.manually_enable',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.options.send_notification_email' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.SEND_NOTIFICATION_EMAIL',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.options.send_notification_email',
- 'validation' => 'loose'
- ],
- 'plugins.login.user_registration.options.send_welcome_email' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_LOGIN.SEND_WELCOME_EMAIL',
- 'highlight' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.YES',
- 0 => 'PLUGIN_ADMIN.NO'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.login.user_registration.options.send_welcome_email',
- 'validation' => 'loose'
- ],
- 'plugins.login.options' => [
- 'type' => 'section',
- 'name' => 'plugins.login.options',
- 'validation' => 'loose'
- ],
- 'plugins.login.registration' => [
- 'type' => 'tab',
- 'name' => 'plugins.login.registration',
- 'validation' => 'loose'
- ],
- 'plugins.login.max_pw_resets_count' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_LOGIN.MAX_RESETS_COUNT',
- 'append' => 'PLUGIN_LOGIN.RESETS',
- 'validate' => [
- 'type' => 'number',
- 'min' => 0
- ],
- 'name' => 'plugins.login.max_pw_resets_count',
- 'validation' => 'loose'
- ],
- 'plugins.login.max_pw_resets_interval' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_LOGIN.MAX_RESETS_INTERVAL',
- 'append' => 'PLUGIN_LOGIN.SECONDS',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'plugins.login.max_pw_resets_interval',
- 'validation' => 'loose'
- ],
- 'plugins.login.max_login_count' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_LOGIN.MAX_LOGINS_COUNT',
- 'append' => 'PLUGIN_LOGIN.ATTEMPTS',
- 'validate' => [
- 'type' => 'number',
- 'min' => 0
- ],
- 'name' => 'plugins.login.max_login_count',
- 'validation' => 'loose'
- ],
- 'plugins.login.max_login_interval' => [
- 'type' => 'number',
- 'size' => 'x-small',
- 'label' => 'PLUGIN_LOGIN.MAX_LOGINS_INTERVAL',
- 'append' => 'PLUGIN_LOGIN.SECONDS',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1
- ],
- 'name' => 'plugins.login.max_login_interval',
- 'validation' => 'loose'
- ],
- 'plugins.login.Security' => [
- 'type' => 'tab',
- 'name' => 'plugins.login.Security',
- 'validation' => 'loose'
- ],
- 'plugins.login.tabs' => [
- 'type' => 'tabs',
- 'active' => 1,
- 'class' => 'subtle',
- 'name' => 'plugins.login.tabs',
- 'validation' => 'loose'
- ],
- 'plugins.error' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'strict'
- ]
- ],
- 'plugins.error.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.error.enabled',
- 'validation' => 'strict'
- ],
- 'plugins.error.routes' => [
- 'type' => '_parent',
- 'name' => 'plugins.error.routes',
- 'form_field' => false
- ],
- 'plugins.error.routes.404' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => '404 Route',
- 'default' => '/error',
- 'name' => 'plugins.error.routes.404',
- 'validation' => 'strict'
- ],
- 'plugins.email' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'loose'
- ]
- ],
- 'plugins.email.enabled' => [
- 'type' => 'hidden',
- 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.email.enabled',
- 'validation' => 'loose'
- ],
- 'plugins.email.mailer' => [
- 'type' => '_parent',
- 'name' => 'plugins.email.mailer',
- 'form_field' => false
- ],
- 'plugins.email.mailer.engine' => [
- 'type' => 'select',
- 'label' => 'Mail Engine',
- 'size' => 'medium',
- 'options' => [
- 'none' => 'Disabled',
- 'smtp' => 'SMTP',
- 'sendmail' => 'Sendmail'
- ],
- 'name' => 'plugins.email.mailer.engine',
- 'validation' => 'loose'
- ],
- 'plugins.email.content_type' => [
- 'type' => 'select',
- 'label' => 'Content type',
- 'size' => 'medium',
- 'default' => 'text/html',
- 'options' => [
- 'text/plain' => 'Plain text',
- 'text/html' => 'HTML'
- ],
- 'name' => 'plugins.email.content_type',
- 'validation' => 'loose'
- ],
- 'plugins.email.charset' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Charset',
- 'name' => 'plugins.email.charset',
- 'validation' => 'loose'
- ],
- 'plugins.email.from' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email from',
- 'validate' => [
- 'required' => true,
- 'type' => 'email'
- ],
- 'name' => 'plugins.email.from',
- 'validation' => 'loose'
- ],
- 'plugins.email.from_name' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Email from name',
- 'name' => 'plugins.email.from_name',
- 'validation' => 'loose'
- ],
- 'plugins.email.to' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email to',
- 'multiple' => true,
- 'validate' => [
- 'required' => true,
- 'type' => 'email'
- ],
- 'name' => 'plugins.email.to',
- 'validation' => 'loose'
- ],
- 'plugins.email.to_name' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Email to name',
- 'name' => 'plugins.email.to_name',
- 'validation' => 'loose'
- ],
- 'plugins.email.cc' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email CC',
- 'multiple' => true,
- 'validate' => [
- 'type' => 'email'
- ],
- 'name' => 'plugins.email.cc',
- 'validation' => 'loose'
- ],
- 'plugins.email.cc_name' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Email CC name',
- 'name' => 'plugins.email.cc_name',
- 'validation' => 'loose'
- ],
- 'plugins.email.bcc' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email BCC',
- 'multiple' => true,
- 'validate' => [
- 'type' => 'email'
- ],
- 'name' => 'plugins.email.bcc',
- 'validation' => 'loose'
- ],
- 'plugins.email.reply_to' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email reply-to',
- 'multiple' => true,
- 'validate' => [
- 'type' => 'email'
- ],
- 'name' => 'plugins.email.reply_to',
- 'validation' => 'loose'
- ],
- 'plugins.email.reply_to_name' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Email reply-to name',
- 'name' => 'plugins.email.reply_to_name',
- 'validation' => 'loose'
- ],
- 'plugins.email.body' => [
- 'type' => 'textarea',
- 'size' => 'medium',
- 'label' => 'Email body',
- 'name' => 'plugins.email.body',
- 'validation' => 'loose'
- ],
- 'plugins.email.mailer.smtp' => [
- 'type' => '_parent',
- 'name' => 'plugins.email.mailer.smtp',
- 'form_field' => false
- ],
- 'plugins.email.mailer.smtp.server' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'SMTP server',
- 'name' => 'plugins.email.mailer.smtp.server',
- 'validation' => 'loose'
- ],
- 'plugins.email.mailer.smtp.port' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'SMTP port',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1,
- 'max' => 65535
- ],
- 'name' => 'plugins.email.mailer.smtp.port',
- 'validation' => 'loose'
- ],
- 'plugins.email.mailer.smtp.encryption' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'SMTP encryption',
- 'options' => [
- 'none' => 'None',
- 'ssl' => 'SSL',
- 'tls' => 'TLS'
- ],
- 'name' => 'plugins.email.mailer.smtp.encryption',
- 'validation' => 'loose'
- ],
- 'plugins.email.mailer.smtp.user' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'SMTP login name',
- 'name' => 'plugins.email.mailer.smtp.user',
- 'validation' => 'loose'
- ],
- 'plugins.email.mailer.smtp.password' => [
- 'type' => 'password',
- 'size' => 'medium',
- 'label' => 'SMTP password',
- 'name' => 'plugins.email.mailer.smtp.password',
- 'validation' => 'loose'
- ],
- 'plugins.email.mailer.sendmail' => [
- 'type' => '_parent',
- 'name' => 'plugins.email.mailer.sendmail',
- 'form_field' => false
- ],
- 'plugins.email.mailer.sendmail.bin' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Path to sendmail',
- 'name' => 'plugins.email.mailer.sendmail.bin',
- 'validation' => 'loose'
- ],
- 'plugins.email.debug' => [
- 'type' => 'toggle',
- 'label' => 'Debug',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.email.debug',
- 'validation' => 'loose'
- ],
- 'plugins.taxonomylist' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'strict'
- ]
- ],
- 'plugins.taxonomylist.enabled' => [
- 'type' => 'toggle',
- 'label' => 'Plugin status',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.taxonomylist.enabled',
- 'validation' => 'strict'
- ],
- 'plugins.taxonomylist.route' => [
- 'type' => 'text',
- 'label' => 'Route to blog',
- 'validate' => [
- 'pattern' => '/([a-z\\-_]+/?)+'
- ],
- 'name' => 'plugins.taxonomylist.route',
- 'validation' => 'strict'
- ],
- 'plugins.youtube' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'strict'
- ]
- ],
- 'plugins.youtube.enabled' => [
- 'type' => 'toggle',
- 'label' => 'Plugin status',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.youtube.enabled',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.built_in_css' => [
- 'type' => 'toggle',
- 'label' => 'Use built in CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.youtube.built_in_css',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.add_editor_button' => [
- 'type' => 'toggle',
- 'label' => 'Add editor button',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.youtube.add_editor_button',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.privacy_enhanced_mode' => [
- 'type' => 'toggle',
- 'label' => 'Privacy-enhanced mode',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.youtube.privacy_enhanced_mode',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters' => [
- 'type' => 'section',
- 'underline' => true,
- 'name' => 'plugins.youtube.player_parameters',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.vq' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'Preferred video quality',
- 'default' => 'default',
- 'options' => [
- 'default' => 'Default',
- 'small' => 'Small',
- 'medium' => 'Medium',
- 'large' => 'Large',
- 'highres' => 'High resolution',
- 'hd1080' => 'High definition (1080)',
- 'hd720' => 'High definition (720)'
- ],
- 'validate' => [
- 'type' => 'string'
- ],
- 'name' => 'plugins.youtube.player_parameters.vq',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.autoplay' => [
- 'type' => 'toggle',
- 'label' => 'Autoplay',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.autoplay',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.loop' => [
- 'type' => 'toggle',
- 'label' => 'Loop',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.loop',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.showinfo' => [
- 'type' => 'toggle',
- 'label' => 'Show information',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.showinfo',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.rel' => [
- 'type' => 'toggle',
- 'label' => 'Related videos',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.rel',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.modestbranding' => [
- 'type' => 'toggle',
- 'label' => 'Modest branding',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.modestbranding',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.color' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'Color',
- 'default' => 'red',
- 'options' => [
- 'red' => 'Red',
- 'white' => 'White'
- ],
- 'validate' => [
- 'type' => 'string'
- ],
- 'name' => 'plugins.youtube.player_parameters.color',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.cc_load_policy' => [
- 'type' => 'toggle',
- 'label' => 'Show closed captions by default',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.cc_load_policy',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.iv_load_policy' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'Video annotations',
- 'default' => 1,
- 'options' => [
- 1 => 'Displayed by default',
- 3 => 'Hidden by default'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.iv_load_policy',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.controls' => [
- 'type' => 'toggle',
- 'label' => 'Controls',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.controls',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.disablekb' => [
- 'type' => 'toggle',
- 'label' => 'Keyboard controls',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.disablekb',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.fs' => [
- 'type' => 'toggle',
- 'label' => 'Fullscreen button',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.fs',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.hl' => [
- 'type' => 'text',
- 'label' => 'Language',
- 'default' => '',
- 'validate' => [
- 'type' => 'string'
- ],
- 'name' => 'plugins.youtube.player_parameters.hl',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.enablejsapi' => [
- 'type' => 'toggle',
- 'label' => 'JavaScript API',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.enablejsapi',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.origin' => [
- 'type' => 'text',
- 'label' => 'Origin',
- 'default' => '',
- 'validate' => [
- 'type' => 'string'
- ],
- 'name' => 'plugins.youtube.player_parameters.origin',
- 'validation' => 'strict'
- ],
- 'plugins.youtube.player_parameters.playsinline' => [
- 'type' => 'toggle',
- 'label' => 'iOS playback behavior',
- 'highlight' => 0,
- 'default' => 0,
- 'options' => [
- 0 => 'Fullscreen',
- 1 => 'Inline'
- ],
- 'validate' => [
- 'type' => 'int'
- ],
- 'name' => 'plugins.youtube.player_parameters.playsinline',
- 'validation' => 'strict'
- ],
- 'plugins.problems' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'strict'
- ]
- ],
- 'plugins.problems.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.problems.enabled',
- 'validation' => 'strict'
- ],
- 'plugins.problems.built_in_css' => [
- 'type' => 'toggle',
- 'label' => 'Use built in CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.problems.built_in_css',
- 'validation' => 'strict'
- ],
- 'plugins.language-selector' => [
- 'type' => '_root',
- 'form_field' => false,
- 'form' => [
- 'validation' => 'strict'
- ]
- ],
- 'plugins.language-selector.enabled' => [
- 'type' => 'toggle',
- 'label' => 'PLUGINS.LANGUAGE_SELECTOR.PLUGIN_STATUS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.language-selector.enabled',
- 'validation' => 'strict'
- ],
- 'plugins.language-selector.built_in_css' => [
- 'type' => 'toggle',
- 'label' => 'PLUGINS.LANGUAGE_SELECTOR.BUILT_IN_CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ],
- 'name' => 'plugins.language-selector.built_in_css',
- 'validation' => 'strict'
- ],
- 'plugins.language-selector.untranslated_pages_behavior' => [
- 'type' => 'select',
- 'label' => 'PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.LABEL',
- 'default' => 'none',
- 'options' => [
- 'none' => 'PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.OPT_NONE',
- 'redirect' => 'PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.OPT_REDIR',
- 'hide' => 'PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.OPT_HIDE'
- ],
- 'name' => 'plugins.language-selector.untranslated_pages_behavior',
- 'validation' => 'strict'
- ],
- 'plugins.language-selector.button_display' => [
- 'type' => 'select',
- 'label' => 'PLUGINS.LANGUAGE_SELECTOR.BUTTON_DISPLAY.LABEL',
- 'default' => 'default',
- 'options' => [
- 'default' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_DEFAULT',
- 'flag' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_FLAG',
- 'name' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_NAME'
- ],
- 'name' => 'plugins.language-selector.button_display',
- 'validation' => 'strict'
- ],
- 'plugins.language-selector.select_display' => [
- 'type' => 'select',
- 'label' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.LABEL',
- 'default' => 'default',
- 'options' => [
- 'default' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_DEFAULT',
- 'flag' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_FLAG',
- 'name' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_NAME'
- ],
- 'name' => 'plugins.language-selector.select_display',
- 'validation' => 'strict'
- ]
- ],
- 'rules' => [
-
- ],
- 'nested' => [
- 'media' => 'media',
- 'security' => [
- 'xss_section' => 'security.xss_section',
- 'xss_whitelist' => 'security.xss_whitelist',
- 'xss_enabled' => [
- 'on_events' => 'security.xss_enabled.on_events',
- 'invalid_protocols' => 'security.xss_enabled.invalid_protocols',
- 'moz_binding' => 'security.xss_enabled.moz_binding',
- 'html_inline_styles' => 'security.xss_enabled.html_inline_styles',
- 'dangerous_tags' => 'security.xss_enabled.dangerous_tags'
- ],
- 'xss_dangerous_tags' => 'security.xss_dangerous_tags',
- 'uploads_section' => 'security.uploads_section',
- 'uploads_dangerous_extensions' => 'security.uploads_dangerous_extensions'
- ],
- 'site' => [
- 'content' => 'site.content',
- 'title' => 'site.title',
- 'default_lang' => 'site.default_lang',
- 'author' => [
- 'name' => 'site.author.name',
- 'email' => 'site.author.email'
- ],
- 'taxonomies' => 'site.taxonomies',
- 'summary' => [
- 'enabled' => 'site.summary.enabled',
- 'size' => 'site.summary.size',
- 'format' => 'site.summary.format',
- 'delimiter' => 'site.summary.delimiter'
- ],
- 'metadata' => 'site.metadata',
- 'routes' => 'site.routes',
- 'redirects' => 'site.redirects'
- ],
- 'streams' => [
- 'schemes' => [
- 'xxx' => 'streams.schemes.xxx'
- ]
- ],
- 'system' => [
- 'content' => 'system.content',
- 'home' => [
- 'alias' => 'system.home.alias',
- 'hide_in_urls' => 'system.home.hide_in_urls'
- ],
- 'pages' => [
- 'theme' => 'system.pages.theme',
- 'process' => 'system.pages.process',
- 'dateformat' => [
- 'default' => 'system.pages.dateformat.default',
- 'short' => 'system.pages.dateformat.short',
- 'long' => 'system.pages.dateformat.long'
- ],
- 'order' => [
- 'by' => 'system.pages.order.by',
- 'dir' => 'system.pages.order.dir'
- ],
- 'list' => [
- 'count' => 'system.pages.list.count'
- ],
- 'publish_dates' => 'system.pages.publish_dates',
- 'events' => 'system.pages.events',
- 'append_url_extension' => 'system.pages.append_url_extension',
- 'redirect_default_route' => 'system.pages.redirect_default_route',
- 'redirect_default_code' => 'system.pages.redirect_default_code',
- 'redirect_trailing_slash' => 'system.pages.redirect_trailing_slash',
- 'ignore_hidden' => 'system.pages.ignore_hidden',
- 'ignore_files' => 'system.pages.ignore_files',
- 'ignore_folders' => 'system.pages.ignore_folders',
- 'url_taxonomy_filters' => 'system.pages.url_taxonomy_filters',
- 'twig_first' => 'system.pages.twig_first',
- 'never_cache_twig' => 'system.pages.never_cache_twig',
- 'frontmatter' => [
- 'process_twig' => 'system.pages.frontmatter.process_twig',
- 'ignore_fields' => 'system.pages.frontmatter.ignore_fields'
- ],
- 'expires' => 'system.pages.expires',
- 'cache_control' => 'system.pages.cache_control',
- 'last_modified' => 'system.pages.last_modified',
- 'etag' => 'system.pages.etag',
- 'vary_accept_encoding' => 'system.pages.vary_accept_encoding',
- 'markdown' => [
- 'extra' => 'system.pages.markdown.extra',
- 'auto_line_breaks' => 'system.pages.markdown.auto_line_breaks',
- 'auto_url_links' => 'system.pages.markdown.auto_url_links',
- 'escape_markup' => 'system.pages.markdown.escape_markup'
- ]
- ],
- 'timezone' => 'system.timezone',
- 'languages' => [
- 'supported' => 'system.languages.supported',
- 'include_default_lang' => 'system.languages.include_default_lang',
- 'translations' => 'system.languages.translations',
- 'translations_fallback' => 'system.languages.translations_fallback',
- 'session_store_active' => 'system.languages.session_store_active',
- 'http_accept_language' => 'system.languages.http_accept_language',
- 'override_locale' => 'system.languages.override_locale'
- ],
- 'http_headers' => 'system.http_headers',
- 'markdown' => 'system.markdown',
- 'caching' => 'system.caching',
- 'cache' => [
- 'enabled' => 'system.cache.enabled',
- 'check' => [
- 'method' => 'system.cache.check.method'
- ],
- 'driver' => 'system.cache.driver',
- 'prefix' => 'system.cache.prefix',
- 'clear_images_by_default' => 'system.cache.clear_images_by_default',
- 'cli_compatibility' => 'system.cache.cli_compatibility',
- 'lifetime' => 'system.cache.lifetime',
- 'gzip' => 'system.cache.gzip',
- 'allow_webserver_gzip' => 'system.cache.allow_webserver_gzip',
- 'memcache' => [
- 'server' => 'system.cache.memcache.server',
- 'port' => 'system.cache.memcache.port'
- ],
- 'memcached' => [
- 'server' => 'system.cache.memcached.server',
- 'port' => 'system.cache.memcached.port'
- ],
- 'redis' => [
- 'socket' => 'system.cache.redis.socket',
- 'server' => 'system.cache.redis.server',
- 'port' => 'system.cache.redis.port',
- 'password' => 'system.cache.redis.password'
- ]
- ],
- 'twig' => [
- 'cache' => 'system.twig.cache',
- 'debug' => 'system.twig.debug',
- 'auto_reload' => 'system.twig.auto_reload',
- 'autoescape' => 'system.twig.autoescape',
- 'umask_fix' => 'system.twig.umask_fix'
- ],
- 'assets' => [
- 'css_pipeline' => 'system.assets.css_pipeline',
- 'css_pipeline_include_externals' => 'system.assets.css_pipeline_include_externals',
- 'css_pipeline_before_excludes' => 'system.assets.css_pipeline_before_excludes',
- 'css_minify' => 'system.assets.css_minify',
- 'css_minify_windows' => 'system.assets.css_minify_windows',
- 'css_rewrite' => 'system.assets.css_rewrite',
- 'js_pipeline' => 'system.assets.js_pipeline',
- 'js_pipeline_include_externals' => 'system.assets.js_pipeline_include_externals',
- 'js_pipeline_before_excludes' => 'system.assets.js_pipeline_before_excludes',
- 'js_minify' => 'system.assets.js_minify',
- 'enable_asset_timestamp' => 'system.assets.enable_asset_timestamp',
- 'collections' => 'system.assets.collections'
- ],
- 'errors' => [
- 'display' => 'system.errors.display',
- 'log' => 'system.errors.log'
- ],
- 'debugger' => [
- 'enabled' => 'system.debugger.enabled',
- 'shutdown' => [
- 'close_connection' => 'system.debugger.shutdown.close_connection'
- ]
- ],
- 'media' => [
- 'enable_media_timestamp' => 'system.media.enable_media_timestamp',
- 'auto_metadata_exif' => 'system.media.auto_metadata_exif',
- 'allowed_fallback_types' => 'system.media.allowed_fallback_types',
- 'unsupported_inline_types' => 'system.media.unsupported_inline_types'
- ],
- 'images' => [
- 'default_image_quality' => 'system.images.default_image_quality',
- 'cache_all' => 'system.images.cache_all',
- 'cache_perms' => 'system.images.cache_perms',
- 'debug' => 'system.images.debug',
- 'auto_fix_orientation' => 'system.images.auto_fix_orientation'
- ],
- 'session' => [
- 'enabled' => 'system.session.enabled',
- 'initialize' => 'system.session.initialize',
- 'timeout' => 'system.session.timeout',
- 'name' => 'system.session.name',
- 'secure' => 'system.session.secure',
- 'httponly' => 'system.session.httponly',
- 'path' => 'system.session.path',
- 'split' => 'system.session.split'
- ],
- 'advanced' => 'system.advanced',
- 'gpm' => [
- 'releases' => 'system.gpm.releases',
- 'proxy_url' => 'system.gpm.proxy_url',
- 'method' => 'system.gpm.method',
- 'official_gpm_only' => 'system.gpm.official_gpm_only',
- 'verify_peer' => 'system.gpm.verify_peer'
- ],
- 'reverse_proxy_setup' => 'system.reverse_proxy_setup',
- 'username_regex' => 'system.username_regex',
- 'pwd_regex' => 'system.pwd_regex',
- 'intl_enabled' => 'system.intl_enabled',
- 'wrapped_site' => 'system.wrapped_site',
- 'absolute_urls' => 'system.absolute_urls',
- 'param_sep' => 'system.param_sep',
- 'force_ssl' => 'system.force_ssl',
- 'force_lowercase_urls' => 'system.force_lowercase_urls',
- 'custom_base_url' => 'system.custom_base_url',
- 'strict_mode' => [
- 'yaml_compat' => 'system.strict_mode.yaml_compat',
- 'twig_compat' => 'system.strict_mode.twig_compat'
- ]
- ],
- 'plugins' => [
- 'admin' => [
- 'Basics' => 'plugins.admin.Basics',
- 'enabled' => 'plugins.admin.enabled',
- 'cache_enabled' => 'plugins.admin.cache_enabled',
- 'twofa_enabled' => 'plugins.admin.twofa_enabled',
- 'route' => 'plugins.admin.route',
- 'logo_text' => 'plugins.admin.logo_text',
- 'content_padding' => 'plugins.admin.content_padding',
- 'body_classes' => 'plugins.admin.body_classes',
- 'sidebar' => [
- 'activate' => 'plugins.admin.sidebar.activate',
- 'hover_delay' => 'plugins.admin.sidebar.hover_delay',
- 'size' => 'plugins.admin.sidebar.size'
- ],
- 'theme' => 'plugins.admin.theme',
- 'edit_mode' => 'plugins.admin.edit_mode',
- 'frontend_preview_target' => 'plugins.admin.frontend_preview_target',
- 'pages' => [
- 'show_parents' => 'plugins.admin.pages.show_parents',
- 'parents_levels' => 'plugins.admin.pages.parents_levels'
- ],
- 'google_fonts' => 'plugins.admin.google_fonts',
- 'admin_icons' => 'plugins.admin.admin_icons',
- 'show_beta_msg' => 'plugins.admin.show_beta_msg',
- 'show_github_msg' => 'plugins.admin.show_github_msg',
- 'pages_list_display_field' => 'plugins.admin.pages_list_display_field',
- 'enable_auto_updates_check' => 'plugins.admin.enable_auto_updates_check',
- 'session' => [
- 'timeout' => 'plugins.admin.session.timeout'
- ],
- 'warnings' => [
- 'delete_page' => 'plugins.admin.warnings.delete_page'
- ],
- 'hide_page_types' => 'plugins.admin.hide_page_types',
- 'hide_modular_page_types' => 'plugins.admin.hide_modular_page_types',
- 'MediaResize' => 'plugins.admin.MediaResize',
- 'MediaResizeNote' => 'plugins.admin.MediaResizeNote',
- 'pagemedia' => [
- 'resize_width' => 'plugins.admin.pagemedia.resize_width',
- 'resize_height' => 'plugins.admin.pagemedia.resize_height',
- 'res_min_width' => 'plugins.admin.pagemedia.res_min_width',
- 'res_min_height' => 'plugins.admin.pagemedia.res_min_height',
- 'res_max_width' => 'plugins.admin.pagemedia.res_max_width',
- 'res_max_height' => 'plugins.admin.pagemedia.res_max_height',
- 'resize_quality' => 'plugins.admin.pagemedia.resize_quality'
- ],
- 'Dashboard' => 'plugins.admin.Dashboard',
- 'widgets' => [
- 'dashboard-maintenance' => 'plugins.admin.widgets.dashboard-maintenance',
- 'dashboard-statistics' => 'plugins.admin.widgets.dashboard-statistics',
- 'dashboard-notifications' => 'plugins.admin.widgets.dashboard-notifications',
- 'dashboard-feed' => 'plugins.admin.widgets.dashboard-feed',
- 'dashboard-pages' => 'plugins.admin.widgets.dashboard-pages'
- ],
- 'Notifications' => 'plugins.admin.Notifications',
- 'notifications' => [
- 'feed' => 'plugins.admin.notifications.feed',
- 'dashboard' => 'plugins.admin.notifications.dashboard',
- 'plugins' => 'plugins.admin.notifications.plugins',
- 'themes' => 'plugins.admin.notifications.themes'
- ],
- 'Popularity' => 'plugins.admin.Popularity',
- 'popularity' => [
- 'enabled' => 'plugins.admin.popularity.enabled',
- 'ignore' => 'plugins.admin.popularity.ignore',
- 'history' => [
- 'daily' => 'plugins.admin.popularity.history.daily',
- 'monthly' => 'plugins.admin.popularity.history.monthly',
- 'visitors' => 'plugins.admin.popularity.history.visitors'
- ]
- ],
- 'dashboard' => [
- 'days_of_stats' => 'plugins.admin.dashboard.days_of_stats'
- ]
- ],
- 'markdown-notices' => [
- 'enabled' => 'plugins.markdown-notices.enabled',
- 'built_in_css' => 'plugins.markdown-notices.built_in_css',
- 'level_classes' => 'plugins.markdown-notices.level_classes'
- ],
- 'form' => [
- 'enabled' => 'plugins.form.enabled',
- 'general' => 'plugins.form.general',
- 'built_in_css' => 'plugins.form.built_in_css',
- 'inline_css' => 'plugins.form.inline_css',
- 'refresh_prevention' => 'plugins.form.refresh_prevention',
- 'client_side_validation' => 'plugins.form.client_side_validation',
- 'inline_errors' => 'plugins.form.inline_errors',
- 'files' => [
- 'multiple' => 'plugins.form.files.multiple',
- 'limit' => 'plugins.form.files.limit',
- 'destination' => 'plugins.form.files.destination',
- 'accept' => 'plugins.form.files.accept',
- 'filesize' => 'plugins.form.files.filesize',
- 'avoid_overwriting' => 'plugins.form.files.avoid_overwriting',
- 'random_name' => 'plugins.form.files.random_name'
- ],
- 'recaptcha' => [
- 'site_key' => 'plugins.form.recaptcha.site_key',
- 'secret_key' => 'plugins.form.recaptcha.secret_key'
- ]
- ],
- 'login' => [
- 'tabs' => 'plugins.login.tabs',
- 'login' => 'plugins.login.login',
- 'enabled' => 'plugins.login.enabled',
- 'built_in_css' => 'plugins.login.built_in_css',
- 'route' => 'plugins.login.route',
- 'redirect_after_login' => 'plugins.login.redirect_after_login',
- 'redirect_after_logout' => 'plugins.login.redirect_after_logout',
- 'route_forgot' => 'plugins.login.route_forgot',
- 'route_reset' => 'plugins.login.route_reset',
- 'route_profile' => 'plugins.login.route_profile',
- 'parent_acl' => 'plugins.login.parent_acl',
- 'dynamic_page_visibility' => 'plugins.login.dynamic_page_visibility',
- 'protect_protected_page_media' => 'plugins.login.protect_protected_page_media',
- 'routes' => 'plugins.login.routes',
- 'route_activate' => 'plugins.login.route_activate',
- 'route_register' => 'plugins.login.route_register',
- 'user_registration' => [
- 'redirect_after_registration' => 'plugins.login.user_registration.redirect_after_registration',
- 'redirect_after_activation' => 'plugins.login.user_registration.redirect_after_activation',
- 'enabled' => 'plugins.login.user_registration.enabled',
- 'fields' => 'plugins.login.user_registration.fields',
- 'default_values' => 'plugins.login.user_registration.default_values',
- 'groups' => 'plugins.login.user_registration.groups',
- 'access' => [
- 'site' => 'plugins.login.user_registration.access.site'
- ],
- 'options' => [
- 'validate_password1_and_password2' => 'plugins.login.user_registration.options.validate_password1_and_password2',
- 'set_user_disabled' => 'plugins.login.user_registration.options.set_user_disabled',
- 'login_after_registration' => 'plugins.login.user_registration.options.login_after_registration',
- 'send_activation_email' => 'plugins.login.user_registration.options.send_activation_email',
- 'manually_enable' => 'plugins.login.user_registration.options.manually_enable',
- 'send_notification_email' => 'plugins.login.user_registration.options.send_notification_email',
- 'send_welcome_email' => 'plugins.login.user_registration.options.send_welcome_email'
- ]
- ],
- 'rememberme' => [
- 'enabled' => 'plugins.login.rememberme.enabled',
- 'timeout' => 'plugins.login.rememberme.timeout',
- 'name' => 'plugins.login.rememberme.name'
- ],
- 'registration' => 'plugins.login.registration',
- 'registration_fields' => 'plugins.login.registration_fields',
- 'access_levels' => 'plugins.login.access_levels',
- 'options' => 'plugins.login.options',
- 'Security' => 'plugins.login.Security',
- 'max_pw_resets_count' => 'plugins.login.max_pw_resets_count',
- 'max_pw_resets_interval' => 'plugins.login.max_pw_resets_interval',
- 'max_login_count' => 'plugins.login.max_login_count',
- 'max_login_interval' => 'plugins.login.max_login_interval'
- ],
- 'error' => [
- 'enabled' => 'plugins.error.enabled',
- 'routes' => [
- 404 => 'plugins.error.routes.404'
- ]
- ],
- 'email' => [
- 'enabled' => 'plugins.email.enabled',
- 'mailer' => [
- 'engine' => 'plugins.email.mailer.engine',
- 'smtp' => [
- 'server' => 'plugins.email.mailer.smtp.server',
- 'port' => 'plugins.email.mailer.smtp.port',
- 'encryption' => 'plugins.email.mailer.smtp.encryption',
- 'user' => 'plugins.email.mailer.smtp.user',
- 'password' => 'plugins.email.mailer.smtp.password'
- ],
- 'sendmail' => [
- 'bin' => 'plugins.email.mailer.sendmail.bin'
- ]
- ],
- 'content_type' => 'plugins.email.content_type',
- 'charset' => 'plugins.email.charset',
- 'from' => 'plugins.email.from',
- 'from_name' => 'plugins.email.from_name',
- 'to' => 'plugins.email.to',
- 'to_name' => 'plugins.email.to_name',
- 'cc' => 'plugins.email.cc',
- 'cc_name' => 'plugins.email.cc_name',
- 'bcc' => 'plugins.email.bcc',
- 'reply_to' => 'plugins.email.reply_to',
- 'reply_to_name' => 'plugins.email.reply_to_name',
- 'body' => 'plugins.email.body',
- 'debug' => 'plugins.email.debug'
- ],
- 'taxonomylist' => [
- 'enabled' => 'plugins.taxonomylist.enabled',
- 'route' => 'plugins.taxonomylist.route'
- ],
- 'youtube' => [
- 'enabled' => 'plugins.youtube.enabled',
- 'built_in_css' => 'plugins.youtube.built_in_css',
- 'add_editor_button' => 'plugins.youtube.add_editor_button',
- 'privacy_enhanced_mode' => 'plugins.youtube.privacy_enhanced_mode',
- 'player_parameters' => [
- 'vq' => 'plugins.youtube.player_parameters.vq',
- 'autoplay' => 'plugins.youtube.player_parameters.autoplay',
- 'loop' => 'plugins.youtube.player_parameters.loop',
- 'showinfo' => 'plugins.youtube.player_parameters.showinfo',
- 'rel' => 'plugins.youtube.player_parameters.rel',
- 'modestbranding' => 'plugins.youtube.player_parameters.modestbranding',
- 'color' => 'plugins.youtube.player_parameters.color',
- 'cc_load_policy' => 'plugins.youtube.player_parameters.cc_load_policy',
- 'iv_load_policy' => 'plugins.youtube.player_parameters.iv_load_policy',
- 'controls' => 'plugins.youtube.player_parameters.controls',
- 'disablekb' => 'plugins.youtube.player_parameters.disablekb',
- 'fs' => 'plugins.youtube.player_parameters.fs',
- 'hl' => 'plugins.youtube.player_parameters.hl',
- 'enablejsapi' => 'plugins.youtube.player_parameters.enablejsapi',
- 'origin' => 'plugins.youtube.player_parameters.origin',
- 'playsinline' => 'plugins.youtube.player_parameters.playsinline'
- ]
- ],
- 'problems' => [
- 'enabled' => 'plugins.problems.enabled',
- 'built_in_css' => 'plugins.problems.built_in_css'
- ],
- 'language-selector' => [
- 'enabled' => 'plugins.language-selector.enabled',
- 'built_in_css' => 'plugins.language-selector.built_in_css',
- 'untranslated_pages_behavior' => 'plugins.language-selector.untranslated_pages_behavior',
- 'button_display' => 'plugins.language-selector.button_display',
- 'select_display' => 'plugins.language-selector.select_display'
- ]
- ]
- ],
- 'dynamic' => [
- 'system.timezone' => [
- 'options' => [
- 'action' => 'data',
- 'params' => '\\Grav\\Common\\Utils::timezones'
- ]
- ],
- 'system.pages.dateformat.default' => [
- 'options' => [
- 'action' => 'data',
- 'params' => '\\Grav\\Common\\Utils::dateFormats'
- ]
- ],
- 'plugins.login.user_registration.groups' => [
- 'options' => [
- 'action' => 'data',
- 'params' => '\\Grav\\User\\Groups::groups'
- ]
- ]
- ],
- 'filter' => [
- 'validation' => true
- ]
- ]
- ];
|