application/views/settings/print-templates.php
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php $this->load->view('header');?>
<script type="text/javascript">
var DOMAIN = document.domain;
var WDURL = "";
var SCHEME= "<?php echo sys_skin()?>";
try{
document.domain = '<?php echo base_url()?>';
}catch(e){
}
//ctrl+F5 增加版本号来清空iframe的缓存的
$(document).keydown(function(event) {
/* Act on the event */
if(event.keyCode === 116 && event.ctrlKey){
var defaultPage = Public.getDefaultPage();
var href = defaultPage.location.href.split('?')[0] + '?';
var params = Public.urlParam();
params['version'] = Date.parse((new Date()));
for(i in params){
if(i && typeof i != 'function'){
href += i + '=' + params[i] + '&';
}
}
defaultPage.location.href = href;
event.preventDefault();
}
});
</script>
<script>
function validMaxForShare(){
window.location.href='../noteprinttemp/add';
//$.ajax({
// url: '../right/isMaxShareUser?action=isMaxShareUser',
// dataType: 'json',
// type: 'POST',
// success: function(data){
// if(data.status === 200){
// var json = data.data;
// if(json.shareTotal >= json.totalUserNum)
// {
// parent.Public.tips({type:2, content : '共享用户已经达到上限值:'+json.totalUserNum});
// return false;
// }else
// {
// window.location.href='../noteprinttemp/add';
// }
// }
// }
// });
}
</script>
</head>
<body>
<div class="wrapper">
<div class="mod-toolbar-top">
<a href="javascript:validMaxForShare();" class="ui-btn ui-btn-sp mrb">新增模板</a>
<span class="tit" id="shareInfo" style="display:none;"></span>
</div>
后面还有 170 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
