Plugins/kindeditor351/plugins/media.html

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>newmedia</title>
<style type="text/css" rel="stylesheet">
    body {
    font-size:12px;
    margin: 0px;
    background-color:#F0F0EE;
    overflow: hidden;
    }
    td.left1 {
    font-size:12px;
    width: 60px;
    padding: 2px;
    }
    td.right1 {
    font-size:12px;
    padding: 2px;
    }
    td.left2 {
    font-size:12px;
    width: 35px;
    padding: 2px;
    }
    td.right2 {
    font-size:12px;
    padding: 2px;
    width: 50px;
    }
</style>
<script type="text/javascript">
function Request(url,name) 
{
	var reg = new RegExp("(^|\\?|&)"+ name +"=([^&]*)(\\s|&|$)", "i");
	if (reg.test(url))
		return unescape(RegExp.$2.replace(/\+/g, " "));
	return "";
}

var KE = parent.KindEditor;
location.href.match(/\?id=([\w-]+)/i);
var id = RegExp.$1;
var mediaUploadJson = (typeof KE.g[id].imageUploadJson == 'undefined') ? '../media.ashx' : KE.g[id].mediaUploadJson;
//var path=Request(imageUploadJson,"path");
KE.event.ready(function() {
//if(path.length>0){KE.$('uploadForm', document).action = "../media.ashx?path=" + path;}
KE.$('uploadForm', document).action = mediaUploadJson;

}, window, document);
    function changeType(obj) {
        if (obj.value == 1) {
            document.getElementById('url').style.display = 'none';
            document.getElementById('flaFile').style.display = 'block';
        } else {
            document.getElementById('url').style.display = 'block';
            document.getElementById('flaFile').style.display = 'none';
        }
    }
后面还有 55 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。