Discuz.Web/space/modules/builtin/customizepanel/customizepanel.config
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<style>
.cp_editor{
overflow: hidden;
zoom: 1;
position:absolute;
z-index:2001;
margin-top:2px;
}
.cp_editor_text{
width: 100%;
height: 85%;
}
.cp_button{
text-align: center;
}
.cp_button input{
margin:3px;
}
</style>
<script type="text/javascript">
function initCustomizePanel__MODULE_ID__()
{
var div = document.createElement("DIV");
div.id = "DD___cp___MODULE_ID__";
div.style.display = "none";
div.className = "cp_editor";
div.style.height = "auto";
div.style.minHeight = "300px";
div.style.width = "550px";
_gel("DS_DD_div").appendChild(div);
if ({showborder}=='0')
{
_gel("m___MODULE_ID__").getElementsByTagName('h2')[0].style.display = 'none';
_gel("m___MODULE_ID___b").style.border = 'none';
}
}
function saveeditcp__MODULE_ID__()
{
var iframe = _gel('e_cp__MODULE_ID___iframe');
var doc = iframe.contentWindow.document;
var value;
if (doc.getElementById('e_textarea').style.display == 'none')
{
value = doc.getElementById('e_iframe').contentWindow.document.body.innerHTML;
}
else
{
value = doc.getElementById('e_textarea').value;
}
_xsetp('action=updatecustomizepanel&cp_module_id=__MODULE_ID__&cp_module_content='+ _esc(value));
_gel('cp___MODULE_ID___content').innerHTML = value;
canceleditcp__MODULE_ID__();
}
function canceleditcp__MODULE_ID__()
后面还有 55 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
