Files
IPB/applications/core/interface/codehighlighting/653.js
T
2025-12-19 16:27:35 -08:00

1 line
1.4 KiB
JavaScript

"use strict";(self.webpackChunkcodehighlighting=self.webpackChunkcodehighlighting||[]).push([[653],{4451:(e,n,i)=>{i.d(n,{Z:()=>a});const a=[{begin:/\\\{\{/,end:""},{scope:"tag ipsBlockTag",begin:/\{\{(if\b|elseif\b|foreach\b)?/,end:/}}/,subLanguage:"php",contains:[{begin:/\b(request|member|settings|cookie|output|theme|cssvar|view)\../,end:/[a-z0-9_]\b/i,scope:"symbol",contains:[{begin:/\.|->/,end:"",skip:!0},{skip:!0,begin:/\(/,end:/\)/,subLanguage:"php"}]}]},{scope:"meta",begin:/\{\{(?:endif|endforeach|else)}}/,end:""},{begin:/\{\$/,end:"\\}",scope:"keyword ipsVarTag",subLanguage:"php",contains:[{scope:"meta",begin:/\|/,illegal:/[^a-zA-Z]/,contains:[{begin:/[a-z]/i,end:/[a-z]\b|[^a-z]/i,scope:"built_in ipsVarTagFilter"}]}]},{begin:/\{[a-z]*=/,end:/}/,scope:"built_in ipsShortcut",contains:[{begin:'"',end:'"',scope:"meta",contains:[{begin:/\\"/,end:"",skip:!0},{begin:/\{\$/,end:/}/,scope:"keyword ipsVarTag",subLanguage:"php"}]},{begin:"'",end:"'",scope:"meta",contains:[{begin:/\\'/,end:"",skip:!0},{begin:/\{\$/,end:/}/,scope:"keyword ipsVarTag",subLanguage:"php"}]}]}]},653:(e,n,i)=>{i.r(n),i.d(n,{default:()=>s});var a=i(4451);function s(e){return{name:"IPS Template",subLanguage:"xml",contains:[{begin:/^<ips:template/,end:/\/>/,scope:"ipsXmlTag",subLanguage:"xml",contains:[{scope:"attr",begin:/parameters=/,contains:[{scope:"ipsTemplateParams",begin:'"',end:'"',illegal:/\n/,subLanguage:"php",contains:[{begin:/\\"/,end:""}]}]}]},...a.Z]}}}}]);