commit
b3d8658ce8
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<runtime name="Apache Tomcat v8.0"/>
|
||||
<fixed facet="wst.jsdt.web"/>
|
||||
<fixed facet="java"/>
|
||||
<fixed facet="jst.web"/>
|
||||
<installed facet="java" version="1.8"/>
|
||||
<installed facet="jst.web" version="3.1"/>
|
||||
<installed facet="wst.jsdt.web" version="1.0"/>
|
||||
</faceted-project>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
|
||||
<listener>
|
||||
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
||||
</listener>
|
||||
<context-param>
|
||||
<param-name>contextConfigLocation</param-name>
|
||||
<param-value>classpath:spring-mybatis.xml</param-value>
|
||||
</context-param>
|
||||
<filter>
|
||||
<filter-name>characterEncodingFilter</filter-name>
|
||||
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>encoding</param-name>
|
||||
<param-value>UTF-8</param-value>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" href="<%=path%>/admin/css/sapar.css" />
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" href="<%=path%>/admin/css/sapar.css" />
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" href="<%=path%>/admin/css/sapar.css" />
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" href="<%=path%>/admin/css/sapar.css" />
|
@ -0,0 +1,15 @@
|
||||
html{*overflow:auto;min-width: 1020px;}
|
||||
body{ font-family:'微软雅黑';background:#2a83cf;}
|
||||
|
||||
/*页面头部*/
|
||||
#hd{ height:74px;background:url(../images/topbg.png) repeat-x;}
|
||||
#hd .hd-wrap{ position:relative;height:74px; background:url(../images/topline.png) no-repeat left bottom;}
|
||||
#hd .hd-wrap .top-light{ position:absolute; width:346px; height:74px; background:url(../images/toplight.png); top:0; left:0;}
|
||||
h1{ float:left; margin:14px 0 0 24px; width:484px; height:54px; background:url(../images/logo.png) no-repeat left center;position:relative;top:1;}
|
||||
.main-nav{
|
||||
position: relative;
|
||||
z-index:2;
|
||||
float: left;
|
||||
margin: 38px 0 0 14px;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
html{*overflow:auto;min-width: 1020px; }
|
||||
/*页面主体*/
|
||||
#bd .wrap{ padding-left:187px;}
|
||||
|
||||
/*左侧栏导航*/
|
||||
.sidebar{ height:100%; float:left; margin-left:-181px; width:175px; overflow-y:auto;}
|
||||
.sidebar h2{ background:url(../images/lefttopbg.png) repeat-x; border-radius:2px 2px 0 0; }
|
||||
.sidebar h2 p{ margin-left:15px;padding-left:25px; line-height:35px;color:#fff; font-size:14px; font-weight:bold; background:url(../images/icon0.png) no-repeat left center;}
|
||||
|
||||
/*主导航*/
|
||||
.sidebar .nav{ border:1px solid #bdd0db; border-top:none; background:#f1f8fc;}
|
||||
.sidebar .nav>li{ line-height:40px; border-bottom:1px solid #dbe9f1; cursor:pointer;}
|
||||
.sidebar .nav>li.current .nav-header{ background:#6ec673; border-color:#72b877;}
|
||||
.sidebar .nav>li.current .nav-header span{color:#fff;}
|
||||
.sidebar .nav>li .nav-header{ padding-right:14px;}
|
@ -0,0 +1,15 @@
|
||||
form{
|
||||
margin: 10px 0;
|
||||
}
|
||||
form .kv-item {
|
||||
float: left;
|
||||
}
|
||||
form .kv-item input[type=text]{
|
||||
width: 80px;
|
||||
}
|
||||
form .sapar-btn{
|
||||
float: left;
|
||||
margin: 0 0 0 20px;
|
||||
}
|
||||
table a{
|
||||
color: #1664b1;
|
@ -0,0 +1,15 @@
|
||||
/** Alerts**/
|
||||
/*clear*/
|
||||
.clearfix:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
}
|
||||
.clearfix {
|
||||
display: inline-block;
|
||||
}
|
||||
*html .clearfix {
|
||||
height: 1%;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
|
||||
.row{
|
||||
padding-right: 220px;
|
||||
}
|
||||
|
||||
.row .main-wrap{
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.row .main-wrap .subfiled-wrap{
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta charset="utf-8">
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" href="<%=path %>/admin/css/sapar.css" />
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta charset="utf-8">
|
@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* jQuery JavaScript Library v1.11.3
|
||||
* http://jquery.com/
|
||||
*
|
||||
* Includes Sizzle.js
|
||||
* http://sizzlejs.com/
|
||||
*
|
||||
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
|
||||
* Released under the MIT license
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* Date: 2015-04-28T16:19Z
|
||||
*/
|
||||
|
||||
(function( global, factory ) {
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
$('.main-nav').on('click', 'li', function(){
|
||||
$(this).siblings().removeClass('current').end().addClass('current');
|
||||
$('#iframe').attr('src', $(this).attr('data-src'));
|
||||
});
|
||||
|
||||
|
||||
$(window).resize(function(e) {
|
||||
$("#bd").height($(window).height() - $("#hd").height() - $("#ft").height()-6);
|
||||
$(".wrap").height($("#bd").height()-6);
|
||||
$("#iframe").height($(window).height() - $("#hd").height() - $("#ft").height() - 6);
|
||||
}).resize();
|
||||
|
||||
|
||||
$('.exitDialog').Dialog({
|
||||
title:'确认退出系统吗?',
|
@ -0,0 +1,15 @@
|
||||
$(".nav").on("click","li",function(){
|
||||
$(this).siblings().removeClass("current");
|
||||
var hasChild = !!$(this).find(".subnav").size();
|
||||
if(hasChild){
|
||||
$(this).toggleClass("hasChild");
|
||||
}
|
||||
$(this).addClass("current");
|
||||
});
|
||||
|
||||
|
||||
$(window).resize(function(e) {
|
||||
$("#bd").height($(window).height() - 6);
|
||||
$(".wrap").height($("#bd").height()-6);
|
||||
$(".nav").css("minHeight", $(".sidebar").height() - $(".sidebar-header").height()-1);
|
||||
$("#iframe").height($(window).height() - 35);
|
@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* jQuery JavaScript Library v1.8.3
|
||||
* http://jquery.com/
|
||||
*
|
||||
* Includes Sizzle.js
|
||||
* http://sizzlejs.com/
|
||||
*
|
||||
* Copyright 2012 jQuery Foundation and other contributors
|
||||
* Released under the MIT license
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time)
|
||||
*/
|
||||
(function( window, undefined ) {
|
||||
var
|
@ -0,0 +1,15 @@
|
||||
/*! jQuery UI - v1.11.1 - 2014-08-13
|
||||
* http://jqueryui.com
|
||||
* Includes: core.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, draggable.css, menu.css, progressbar.css, resizable.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css
|
||||
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
|
||||
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
|
||||
|
||||
/* Layout helpers
|
||||
----------------------------------*/
|
||||
.ui-helper-hidden {
|
||||
display: none;
|
||||
}
|
||||
.ui-helper-hidden-accessible {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
@ -0,0 +1,15 @@
|
||||
/*! jQuery UI - v1.11.1 - 2014-08-13
|
||||
* http://jqueryui.com
|
||||
* Includes: core.js, widget.js, mouse.js, position.js, accordion.js, autocomplete.js, button.js, datepicker.js, dialog.js, draggable.js, droppable.js, effect.js, effect-blind.js, effect-bounce.js, effect-clip.js, effect-drop.js, effect-explode.js, effect-fade.js, effect-fold.js, effect-highlight.js, effect-puff.js, effect-pulsate.js, effect-scale.js, effect-shake.js, effect-size.js, effect-slide.js, effect-transfer.js, menu.js, progressbar.js, resizable.js, selectable.js, selectmenu.js, slider.js, sortable.js, spinner.js, tabs.js, tooltip.js
|
||||
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
|
||||
|
||||
(function( factory ) {
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define([ "jquery" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery );
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* jQuery JavaScript Library v1.7.2
|
||||
* http://jquery.com/
|
||||
*
|
||||
* Copyright 2011, John Resig
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* Includes Sizzle.js
|
||||
* http://sizzlejs.com/
|
||||
* Copyright 2011, The Dojo Foundation
|
||||
* Released under the MIT, BSD, and GPL Licenses.
|
||||
*
|
||||
* Date: Wed Mar 21 12:46:34 2012 -0700
|
||||
*/
|
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* jQuery validation plug-in 1.5.2
|
||||
*
|
||||
* http://bassistance.de/jquery-plugins/jquery-plugin-validation/
|
||||
* http://docs.jquery.com/Plugins/Validation
|
||||
*
|
||||
* Copyright (c) 2006 - 2008 Jörn Zaefferer
|
||||
*
|
||||
* $Id: jquery.validate.js 6243 2009-02-19 11:40:49Z joern.zaefferer $
|
||||
*
|
||||
* Dual licensed under the MIT and GPL licenses:
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
*/
|
||||
|
@ -0,0 +1,15 @@
|
||||
|
||||
module.exports = function(grunt) {
|
||||
|
||||
var BANNER = '/* <%= pkg.name %> <%= pkg.version %> (<%= grunt.template.today("yyyy-mm-dd") %>), Copyright (C) kindsoft.net, Licence: http://kindeditor.net/license.php */\r\n';
|
||||
|
||||
var SRC_FILES = [
|
||||
'src/header.js',
|
||||
'src/core.js',
|
||||
'src/config.js',
|
||||
'src/event.js',
|
||||
'src/html.js',
|
||||
'src/selector.js',
|
||||
'src/node.js',
|
||||
'src/range.js',
|
||||
'src/cmd.js',
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%
|
||||
request.setCharacterEncoding("UTF-8");
|
||||
String htmlData = request.getParameter("content1") != null ? request.getParameter("content1") : "";
|
||||
%>
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>KindEditor JSP</title>
|
||||
<link rel="stylesheet" href="../themes/default/default.css" />
|
||||
<link rel="stylesheet" href="../plugins/code/prettify.css" />
|
||||
<script charset="utf-8" src="../kindeditor.js"></script>
|
||||
<script charset="utf-8" src="../lang/zh-CN.js"></script>
|
||||
<script charset="utf-8" src="../plugins/code/prettify.js"></script>
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2019 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @website http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
* @version 4.1.12 (2019-03-07)
|
||||
*******************************************************************************/
|
||||
(function (window, undefined) {
|
||||
if (window.KindEditor) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
* Arabic Translation By daif alotaibi (http://daif.net/)
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.lang({
|
||||
source : 'عرض المصدر',
|
||||
preview : 'معاينة الصفحة',
|
||||
undo : 'تراجع(Ctrl+Z)',
|
||||
redo : 'إعادة التراجع(Ctrl+Y)',
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.lang({
|
||||
source : 'Source',
|
||||
preview : 'Preview',
|
||||
undo : 'Undo(Ctrl+Z)',
|
||||
redo : 'Redo(Ctrl+Y)',
|
||||
cut : 'Cut(Ctrl+X)',
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Composite <ukjinplant@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.lang({
|
||||
source : '소스',
|
||||
preview : '미리보기',
|
||||
undo : '작업취소(Ctrl+Z)',
|
||||
redo : '작업재개(Ctrl+Y)',
|
||||
cut : '잘라내기(Ctrl+X)',
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
* Translated to Russian by Valery Votintsev (http://codersclub.org/)
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.lang({
|
||||
source : 'Source',
|
||||
preview : 'Preview',
|
||||
undo : 'Отмена(Ctrl+Z)',
|
||||
redo : 'Повтор(Ctrl+Y)',
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.lang({
|
||||
source : 'HTML代码',
|
||||
preview : '预览',
|
||||
undo : '后退(Ctrl+Z)',
|
||||
redo : '前进(Ctrl+Y)',
|
||||
cut : '剪切(Ctrl+X)',
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.lang({
|
||||
source : '原始碼',
|
||||
preview : '預覽',
|
||||
undo : '復原(Ctrl+Z)',
|
||||
redo : '重複(Ctrl+Y)',
|
||||
cut : '剪下(Ctrl+X)',
|
@ -0,0 +1,15 @@
|
||||
<script>
|
||||
/* See license.txt for terms of usage */
|
||||
|
||||
// *************************************************************************************************
|
||||
|
||||
//var bookmarlet = "javascript:(typeof Firebug!='undefined')?Firebug.chrome.toggle():(function(F,i,r,e,b,u,g,L,I,T,E){if(F.getElementById(b))return;E=F.documentElement.namespaceURI;E=E?F[i+'NS'](E,'script'):F[i]('script');E=F[i]('script');E[r]('id',b);E[r]('src',I+g+T);E[r](b,u);(F[e]('head')[0]||F[e]('body')[0]).appendChild(E);E=new Image;E[r]('src',I+L);})(document,'createElement','setAttribute','getElementsByTagName','FirebugLiteBookmarlet','1.3.0.1','firebug.jgz','skin/xp/sprite.png','https://getfirebug.com/releases/lite/beta/','#startOpened,showIconWhenHidden=false');";
|
||||
var firebugVersion = "Firebug Lite 1.3.2";
|
||||
var extensionURL = chrome.extension.getURL("");
|
||||
var isActive = false;
|
||||
|
||||
// *************************************************************************************************
|
||||
|
||||
function handleIconClick(tab)
|
||||
{
|
||||
if (tab.url.indexOf("https://chrome.google.com/extensions") == 0 ||
|
@ -0,0 +1,15 @@
|
||||
// *************************************************************************************************
|
||||
|
||||
var isActive = false;
|
||||
var isOpen = false;
|
||||
var extensionURL = null;
|
||||
|
||||
var contextMenuElementXPath = null;
|
||||
var isListeningKeyboardActivation = false;
|
||||
|
||||
// *************************************************************************************************
|
||||
|
||||
// restore Firebug Lite state
|
||||
var loadStateData = function()
|
||||
{
|
||||
var FirebugData = localStorage.getItem("Firebug");
|
@ -0,0 +1,15 @@
|
||||
(function(){
|
||||
|
||||
/*!*************************************************************
|
||||
*
|
||||
* Firebug Lite 1.3.2
|
||||
*
|
||||
* Copyright (c) 2007, Parakey Inc.
|
||||
* Released under BSD license.
|
||||
* More information: http://getfirebug.com/firebuglite
|
||||
*
|
||||
**************************************************************/
|
||||
|
||||
/*!
|
||||
* CSS selectors powered by:
|
||||
*
|
@ -0,0 +1,15 @@
|
||||
/* See license.txt for terms of usage */
|
||||
|
||||
Firebug.extend(function(FBL) { with (FBL) {
|
||||
// ************************************************************************************************
|
||||
|
||||
if (!Env.isChromeExtension) return;
|
||||
|
||||
// ************************************************************************************************
|
||||
// local variables
|
||||
|
||||
var channel;
|
||||
var channelEvent;
|
||||
|
||||
// ************************************************************************************************
|
||||
// GoogleChrome Module
|
@ -0,0 +1,15 @@
|
||||
Software License Agreement (BSD License)
|
||||
|
||||
Copyright (c) 2007, Parakey Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use of this software in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above
|
||||
copyright notice, this list of conditions and the
|
||||
following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the
|
||||
following disclaimer in the documentation and/or other
|
@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "Firebug Lite Beta for Google Chrome",
|
||||
"version": "1.3.2.9760",
|
||||
"description": "Firebug Lite Beta for Google Chrome, supported by the Firebug Working Group.",
|
||||
"update_url": "https://getfirebug.com/releases/lite/chrome/beta/updates.xml",
|
||||
"background_page": "background.html",
|
||||
"browser_action":
|
||||
{
|
||||
"default_icon": "firebug24_disabled.png",
|
||||
"default_title": "Firebug Lite 1.3.2"
|
||||
},
|
||||
"icons":
|
||||
{
|
||||
"128": "firebug128.png",
|
||||
"16": "firebug16.png",
|
@ -0,0 +1,15 @@
|
||||
.fbBtnPressed {
|
||||
background: #ECEBE3;
|
||||
padding: 3px 6px 2px 7px !important;
|
||||
margin: 1px 0 0 1px;
|
||||
_margin: 1px -1px 0 1px;
|
||||
border: 1px solid #ACA899 !important;
|
||||
border-color: #ACA899 #ECEBE3 #ECEBE3 #ACA899 !important;
|
||||
}
|
||||
|
||||
.fbToolbarButtons {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#fbStatusBarBox {
|
||||
display: none;
|
@ -0,0 +1,15 @@
|
||||
/************************************************************************************************/
|
||||
#fbToolbarSearch {
|
||||
background-image: url(search.gif) !important;
|
||||
}
|
||||
/************************************************************************************************/
|
||||
.fbErrors {
|
||||
background-image: url(errorIcon.gif) !important;
|
||||
}
|
||||
/************************************************************************************************/
|
||||
.logRow-info {
|
||||
background-image: url(infoIcon.gif) !important;
|
||||
}
|
||||
|
||||
.logRow-warning {
|
||||
background-image: url(warningIcon.gif) !important;
|
@ -0,0 +1,15 @@
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/* Loose */
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*
|
||||
.netInfoResponseHeadersTitle, netInfoResponseHeadersBody {
|
||||
display: none;
|
||||
}
|
||||
/**/
|
||||
|
||||
/* IE6 need a separated rule, otherwise it will not recognize it */
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/DTD/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>Firebug Lite</title>
|
||||
<link href="firebug.css" rel="stylesheet" type="text/css" />
|
||||
<style>html,body{margin:0;padding:0;overflow:hidden;}</style>
|
||||
</head>
|
||||
<body class="fbBody">
|
||||
<table id="fbChrome" cellpadding="0" cellspacing="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<!-- Interface - Top Area -->
|
||||
<td id="fbTop" colspan="2">
|
||||
|
@ -0,0 +1,15 @@
|
||||
<script>
|
||||
/* See license.txt for terms of usage */
|
||||
|
||||
// *************************************************************************************************
|
||||
|
||||
//var bookmarlet = "javascript:(typeof Firebug!='undefined')?Firebug.chrome.toggle():(function(F,i,r,e,b,u,g,L,I,T,E){if(F.getElementById(b))return;E=F.documentElement.namespaceURI;E=E?F[i+'NS'](E,'script'):F[i]('script');E=F[i]('script');E[r]('id',b);E[r]('src',I+g+T);E[r](b,u);(F[e]('head')[0]||F[e]('body')[0]).appendChild(E);E=new Image;E[r]('src',I+L);})(document,'createElement','setAttribute','getElementsByTagName','FirebugLiteBookmarlet','1.3.0.1','firebug.jgz','skin/xp/sprite.png','https://getfirebug.com/releases/lite/beta/','#startOpened,showIconWhenHidden=false');";
|
||||
var firebugVersion = "Firebug Lite 1.3.2";
|
||||
var extensionURL = chrome.extension.getURL("");
|
||||
var isActive = false;
|
||||
|
||||
// *************************************************************************************************
|
||||
|
||||
function handleIconClick(tab)
|
||||
{
|
||||
if (tab.url.indexOf("https://chrome.google.com/extensions") == 0 ||
|
@ -0,0 +1,15 @@
|
||||
// *************************************************************************************************
|
||||
|
||||
var isActive = false;
|
||||
var isOpen = false;
|
||||
var extensionURL = null;
|
||||
|
||||
var contextMenuElementXPath = null;
|
||||
var isListeningKeyboardActivation = false;
|
||||
|
||||
// *************************************************************************************************
|
||||
|
||||
// restore Firebug Lite state
|
||||
var loadStateData = function()
|
||||
{
|
||||
var FirebugData = localStorage.getItem("Firebug");
|
@ -0,0 +1,15 @@
|
||||
(function(){
|
||||
|
||||
/*!*************************************************************
|
||||
*
|
||||
* Firebug Lite 1.3.2
|
||||
*
|
||||
* Copyright (c) 2007, Parakey Inc.
|
||||
* Released under BSD license.
|
||||
* More information: http://getfirebug.com/firebuglite
|
||||
*
|
||||
**************************************************************/
|
||||
|
||||
/*!
|
||||
* CSS selectors powered by:
|
||||
*
|
@ -0,0 +1,15 @@
|
||||
/* See license.txt for terms of usage */
|
||||
|
||||
Firebug.extend(function(FBL) { with (FBL) {
|
||||
// ************************************************************************************************
|
||||
|
||||
if (!Env.isChromeExtension) return;
|
||||
|
||||
// ************************************************************************************************
|
||||
// local variables
|
||||
|
||||
var channel;
|
||||
var channelEvent;
|
||||
|
||||
// ************************************************************************************************
|
||||
// GoogleChrome Module
|
@ -0,0 +1,15 @@
|
||||
Software License Agreement (BSD License)
|
||||
|
||||
Copyright (c) 2007, Parakey Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use of this software in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above
|
||||
copyright notice, this list of conditions and the
|
||||
following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the
|
||||
following disclaimer in the documentation and/or other
|
@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "Firebug Lite for Google Chrome",
|
||||
"version": "1.3.2.9760",
|
||||
"description": "Firebug Lite for Google Chrome, supported by the Firebug Working Group.",
|
||||
"background_page": "background.html",
|
||||
"browser_action":
|
||||
{
|
||||
"default_icon": "firebug24_disabled.png",
|
||||
"default_title": "Firebug Lite 1.3.2"
|
||||
},
|
||||
"icons":
|
||||
{
|
||||
"128": "firebug128.png",
|
||||
"16": "firebug16.png",
|
||||
"32": "firebug32.png",
|
@ -0,0 +1,15 @@
|
||||
.fbBtnPressed {
|
||||
background: #ECEBE3;
|
||||
padding: 3px 6px 2px 7px !important;
|
||||
margin: 1px 0 0 1px;
|
||||
_margin: 1px -1px 0 1px;
|
||||
border: 1px solid #ACA899 !important;
|
||||
border-color: #ACA899 #ECEBE3 #ECEBE3 #ACA899 !important;
|
||||
}
|
||||
|
||||
.fbToolbarButtons {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#fbStatusBarBox {
|
||||
display: none;
|
@ -0,0 +1,15 @@
|
||||
/************************************************************************************************/
|
||||
#fbToolbarSearch {
|
||||
background-image: url(search.gif) !important;
|
||||
}
|
||||
/************************************************************************************************/
|
||||
.fbErrors {
|
||||
background-image: url(errorIcon.gif) !important;
|
||||
}
|
||||
/************************************************************************************************/
|
||||
.logRow-info {
|
||||
background-image: url(infoIcon.gif) !important;
|
||||
}
|
||||
|
||||
.logRow-warning {
|
||||
background-image: url(warningIcon.gif) !important;
|
@ -0,0 +1,15 @@
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/* Loose */
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*
|
||||
.netInfoResponseHeadersTitle, netInfoResponseHeadersBody {
|
||||
display: none;
|
||||
}
|
||||
/**/
|
||||
|
||||
/* IE6 need a separated rule, otherwise it will not recognize it */
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/DTD/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>Firebug Lite</title>
|
||||
<link href="firebug.css" rel="stylesheet" type="text/css" />
|
||||
<style>html,body{margin:0;padding:0;overflow:hidden;}</style>
|
||||
</head>
|
||||
<body class="fbBody">
|
||||
<table id="fbChrome" cellpadding="0" cellspacing="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<!-- Interface - Top Area -->
|
||||
<td id="fbTop" colspan="2">
|
||||
|
@ -0,0 +1,15 @@
|
||||
(function(){
|
||||
|
||||
/*!*************************************************************
|
||||
*
|
||||
* Firebug Lite 1.3.2
|
||||
*
|
||||
* Copyright (c) 2007, Parakey Inc.
|
||||
* Released under BSD license.
|
||||
* More information: http://getfirebug.com/firebuglite
|
||||
*
|
||||
**************************************************************/
|
||||
|
||||
/*!
|
||||
* CSS selectors powered by:
|
||||
*
|
@ -0,0 +1,15 @@
|
||||
(function(){
|
||||
|
||||
/*!*************************************************************
|
||||
*
|
||||
* Firebug Lite 1.3.2
|
||||
*
|
||||
* Copyright (c) 2007, Parakey Inc.
|
||||
* Released under BSD license.
|
||||
* More information: http://getfirebug.com/firebuglite
|
||||
*
|
||||
**************************************************************/
|
||||
|
||||
/*!
|
||||
* CSS selectors powered by:
|
||||
*
|
@ -0,0 +1,15 @@
|
||||
(function(){
|
||||
/**************************************************************
|
||||
*
|
||||
* Firebug Lite 1.3.2
|
||||
*
|
||||
* Copyright (c) 2007, Parakey Inc.
|
||||
* Released under BSD license.
|
||||
* More information: http://getfirebug.com/firebuglite
|
||||
*
|
||||
**************************************************************/
|
||||
/*
|
||||
* CSS selectors powered by:
|
||||
*
|
||||
* Sizzle CSS Selector Engine - v1.0
|
||||
* Copyright 2009, The Dojo Foundation
|
@ -0,0 +1,15 @@
|
||||
Software License Agreement (BSD License)
|
||||
|
||||
Copyright (c) 2007, Parakey Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use of this software in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above
|
||||
copyright notice, this list of conditions and the
|
||||
following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the
|
||||
following disclaimer in the documentation and/or other
|
@ -0,0 +1,15 @@
|
||||
<?PHP
|
||||
|
||||
// COMMENT THE FOLLOWING LINE TO ENABLE FIREBUG LITE PROXY PLUGIN
|
||||
die('{"contents":"ERROR: Firebug Lite Proxy plugin is not enabled."}');
|
||||
|
||||
// Script: Simple PHP Proxy: Get external HTML, JSON and more!
|
||||
//
|
||||
// *Version: 1.6, Last updated: 1/24/2009*
|
||||
//
|
||||
// Project Home - http://benalman.com/projects/php-simple-proxy/
|
||||
// GitHub - http://github.com/cowboy/php-simple-proxy/
|
||||
// Source - http://github.com/cowboy/php-simple-proxy/raw/master/ba-simple-proxy.php
|
||||
//
|
||||
// About: License
|
||||
//
|
@ -0,0 +1,15 @@
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/* Loose */
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*
|
||||
.netInfoResponseHeadersTitle, netInfoResponseHeadersBody {
|
||||
display: none;
|
||||
}
|
||||
/**/
|
||||
|
||||
/* IE6 need a separated rule, otherwise it will not recognize it */
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/DTD/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>Firebug Lite</title>
|
||||
<link href="firebug.css" rel="stylesheet" type="text/css" />
|
||||
<style>html,body{margin:0;padding:0;overflow:hidden;}</style>
|
||||
</head>
|
||||
<body class="fbBody">
|
||||
<table id="fbChrome" cellpadding="0" cellspacing="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<!-- Interface - Top Area -->
|
||||
<td id="fbTop" colspan="2">
|
||||
|
@ -0,0 +1,15 @@
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/* Loose */
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*
|
||||
.netInfoResponseHeadersTitle, netInfoResponseHeadersBody {
|
||||
display: none;
|
||||
}
|
||||
/**/
|
||||
|
||||
/* IE6 need a separated rule, otherwise it will not recognize it */
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/DTD/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>Firebug Lite</title>
|
||||
<link href="firebug.css" rel="stylesheet" type="text/css" />
|
||||
<style>html,body{margin:0;padding:0;overflow:hidden;}</style>
|
||||
</head>
|
||||
<body class="fbBody">
|
||||
<table id="fbChrome" cellpadding="0" cellspacing="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<!-- Interface - Top Area -->
|
||||
<td id="fbTop" colspan="2">
|
||||
|
@ -0,0 +1,15 @@
|
||||
.fbBtnPressed {
|
||||
background: #ECEBE3;
|
||||
padding: 3px 6px 2px 7px !important;
|
||||
margin: 1px 0 0 1px;
|
||||
_margin: 1px -1px 0 1px;
|
||||
border: 1px solid #ACA899 !important;
|
||||
border-color: #ACA899 #ECEBE3 #ECEBE3 #ACA899 !important;
|
||||
}
|
||||
|
||||
.fbToolbarButtons {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#fbStatusBarBox {
|
||||
display: none;
|
@ -0,0 +1,15 @@
|
||||
/************************************************************************************************/
|
||||
#fbToolbarSearch {
|
||||
background-image: url(search.gif) !important;
|
||||
}
|
||||
/************************************************************************************************/
|
||||
.fbErrors {
|
||||
background-image: url(errorIcon.gif) !important;
|
||||
}
|
||||
/************************************************************************************************/
|
||||
.logRow-info {
|
||||
background-image: url(infoIcon.gif) !important;
|
||||
}
|
||||
|
||||
.logRow-warning {
|
||||
background-image: url(warningIcon.gif) !important;
|
@ -0,0 +1,15 @@
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/* Loose */
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*************************************************************************************************/
|
||||
/*
|
||||
.netInfoResponseHeadersTitle, netInfoResponseHeadersBody {
|
||||
display: none;
|
||||
}
|
||||
/**/
|
||||
|
||||
/* IE6 need a separated rule, otherwise it will not recognize it */
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/DTD/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>Firebug Lite</title>
|
||||
<link href="firebug.css" rel="stylesheet" type="text/css" />
|
||||
<style>html,body{margin:0;padding:0;overflow:hidden;}</style>
|
||||
</head>
|
||||
<body class="fbBody">
|
||||
<table id="fbChrome" cellpadding="0" cellspacing="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<!-- Interface - Top Area -->
|
||||
<td id="fbTop" colspan="2">
|
||||
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* QUnit - A JavaScript Unit Testing Framework
|
||||
*
|
||||
* http://docs.jquery.com/QUnit
|
||||
*
|
||||
* Copyright (c) 2011 John Resig, Jörn Zaefferer
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* or GPL (GPL-LICENSE.txt) licenses.
|
||||
*/
|
||||
|
||||
/** Font Family and Sizes */
|
||||
|
||||
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
|
||||
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* QUnit - A JavaScript Unit Testing Framework
|
||||
*
|
||||
* http://docs.jquery.com/QUnit
|
||||
*
|
||||
* Copyright (c) 2011 John Resig, Jörn Zaefferer
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* or GPL (GPL-LICENSE.txt) licenses.
|
||||
*/
|
||||
|
||||
(function(window) {
|
||||
|
||||
var defined = {
|
||||
setTimeout: typeof window.setTimeout !== "undefined",
|
||||
sessionStorage: (function() {
|
@ -0,0 +1,15 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"name" : "KindEditor",
|
||||
"version" : "4.1.12",
|
||||
"filename" : "kindeditor",
|
||||
"repository" : "kindsoft/kindeditor",
|
||||
"devDependencies" : {
|
||||
"grunt": "~0.4.1",
|
||||
"grunt-contrib-concat": "~0.3.0",
|
||||
"grunt-contrib-uglify": "~0.2.7",
|
||||
"grunt-contrib-compress": "~0.5.3"
|
||||
},
|
||||
"license" : "LGPL-2.1"
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.plugin('anchor', function(K) {
|
||||
var self = this, name = 'anchor', lang = self.lang(name + '.');
|
||||
self.plugin.anchor = {
|
||||
edit : function() {
|
||||
var html = ['<div style="padding:20px;">',
|
||||
'<div class="ke-dialog-row">',
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.plugin('autoheight', function(K) {
|
||||
var self = this;
|
||||
|
||||
if (!self.autoHeightMode) {
|
||||
return;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
// Baidu Maps: http://dev.baidu.com/wiki/map/index.php?title=%E9%A6%96%E9%A1%B5
|
||||
|
||||
KindEditor.plugin('baidumap', function(K) {
|
||||
var self = this, name = 'baidumap', lang = self.lang(name + '.');
|
||||
var mapWidth = K.undef(self.mapWidth, 558);
|
||||
var mapHeight = K.undef(self.mapHeight, 360);
|
@ -0,0 +1,15 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Baidu Maps</title>
|
||||
<style>
|
||||
html { height: 100% }
|
||||
body { height: 100%; margin: 0; padding: 0; background-color: #FFF }
|
||||
</style>
|
||||
<script charset="utf-8" src="http://api.map.baidu.com/api?v=1.3"></script>
|
||||
<script>
|
||||
var map, geocoder;
|
||||
function initialize() {
|
||||
map = new BMap.Map('map_canvas');
|
||||
var point = new BMap.Point(121.473704, 31.230393);
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.plugin('clearhtml', function(K) {
|
||||
var self = this, name = 'clearhtml';
|
||||
self.clickToolbar(name, function() {
|
||||
self.focus();
|
||||
var html = self.html();
|
||||
html = html.replace(/(<script[^>]*>)([\s\S]*?)(<\/script>)/ig, '');
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
// google code prettify: http://google-code-prettify.googlecode.com/
|
||||
// http://google-code-prettify.googlecode.com/
|
||||
|
||||
KindEditor.plugin('code', function(K) {
|
||||
var self = this, name = 'code';
|
||||
self.clickToolbar(name, function() {
|
@ -0,0 +1,13 @@
|
||||
.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
|
||||
|
||||
pre.prettyprint {
|
||||
border: 0;
|
||||
border-left: 3px solid rgb(204, 204, 204);
|
||||
margin-left: 2em;
|
||||
padding: 0.5em;
|
||||
font-size: 110%;
|
||||
display: block;
|
||||
font-family: "Consolas", "Monaco", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
|
||||
margin: 1em 0px;
|
||||
white-space: pre;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
|
||||
(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a=
|
||||
[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c+1]?(d=m(f[c+2]),c+=2):d=j;b.push([j,d]);d<65||j>122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;c<b.length;++c)i=b[c],i[0]<=j[1]+1?j[1]=Math.max(j[1],i[1]):f.push(j=i);b=["["];o&&b.push("^");b.push.apply(b,a);for(c=0;c<
|
||||
f.length;++c)i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c<b;++c){var j=f[c];j==="("?++i:"\\"===j.charAt(0)&&(j=+j.substring(1))&&j<=i&&(d[j]=-1)}for(c=1;c<d.length;++c)-1===d[c]&&(d[c]=++t);for(i=c=0;c<b;++c)j=f[c],j==="("?(++i,d[i]===void 0&&(f[c]="(?:")):"\\"===j.charAt(0)&&
|
||||
(j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");if(a.ignoreCase&&s)for(c=0;c<b;++c)j=f[c],a=j.charAt(0),j.length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(g.ignoreCase)l=!0;else if(/[a-z]/i.test(g.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){s=!0;l=!1;break}}for(var r=
|
||||
{b:8,t:9,n:10,v:11,f:12,r:13},n=[],p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return RegExp(n.join("|"),l?"gi":"g")}function M(a){function m(a){switch(a.nodeType){case 1:if(e.test(a.className))break;for(var g=a.firstChild;g;g=g.nextSibling)m(g);g=a.nodeName;if("BR"===g||"LI"===g)h[s]="\n",t[s<<1]=y++,t[s++<<1|1]=a;break;case 3:case 4:g=a.nodeValue,g.length&&(g=p?g.replace(/\r\n?/g,"\n"):g.replace(/[\t\n\r ]+/g," "),h[s]=g,t[s<<1]=y,y+=g.length,
|
||||
t[s++<<1|1]=a)}}var e=/(?:^|\s)nocode(?:\s|$)/,h=[],y=0,t=[],s=0,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=document.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}function B(a,m,e,h){m&&(a={a:m,d:a},e(a),h.push.apply(h,a.e))}function x(a,m){function e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n],b=r[f],o=void 0,c;if(typeof b===
|
||||
"string")c=!1;else{var i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0];break}o||(b="pln")}if((c=b.length>=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m),
|
||||
l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
|
||||
q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/,
|
||||
q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g,
|
||||
"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a),
|
||||
a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e}
|
||||
for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g<d.length;++g)e(d[g]);m===(m|0)&&d[0].setAttribute("value",
|
||||
m);var r=s.createElement("OL");r.className="linenums";for(var n=Math.max(0,m-1|0)||0,g=0,z=d.length;g<z;++g)l=d[g],l.className="L"+(g+n)%10,l.firstChild||l.appendChild(s.createTextNode("\xa0")),r.appendChild(l);a.appendChild(r)}function k(a,m){for(var e=m.length;--e>=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*</.test(m)?"default-markup":"default-code";return A[a]}function E(a){var m=
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.plugin('emoticons', function(K) {
|
||||
var self = this, name = 'emoticons',
|
||||
path = (self.emoticonsPath || self.pluginsPath + 'emoticons/images/'),
|
||||
allowPreview = self.allowPreviewEmoticons === undefined ? true : self.allowPreviewEmoticons,
|
||||
currentPageNum = 1;
|
||||
self.clickToolbar(name, function() {
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.plugin('filemanager', function(K) {
|
||||
var self = this, name = 'filemanager',
|
||||
fileManagerJson = K.undef(self.fileManagerJson, self.basePath + 'php/file_manager_json.php'),
|
||||
imgPath = self.pluginsPath + name + '/images/',
|
||||
lang = self.lang(name + '.');
|
||||
function makeFileTitle(filename, filesize, datetime) {
|
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Created by chenyihong on 14/12/4.
|
||||
*/
|
||||
|
||||
KindEditor.plugin('fixtoolbar', function (K) {
|
||||
var self = this;
|
||||
if (!self.fixToolBar) {
|
||||
return;
|
||||
}
|
||||
|
||||
function init() {
|
||||
var toolbar = K('.ke-toolbar');
|
||||
var originY = toolbar.pos().y;
|
||||
K(window).bind('scroll', function () {
|
||||
if (toolbar.css('position') == 'fixed') {
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.plugin('flash', function(K) {
|
||||
var self = this, name = 'flash', lang = self.lang(name + '.'),
|
||||
allowFlashUpload = K.undef(self.allowFlashUpload, true),
|
||||
allowFileManager = K.undef(self.allowFileManager, false),
|
||||
formatUploadUrl = K.undef(self.formatUploadUrl, true),
|
||||
extraParams = K.undef(self.extraFileUploadParams, {}),
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.plugin('image', function(K) {
|
||||
var self = this, name = 'image',
|
||||
allowImageUpload = K.undef(self.allowImageUpload, true),
|
||||
allowImageRemote = K.undef(self.allowImageRemote, true),
|
||||
formatUploadUrl = K.undef(self.formatUploadUrl, true),
|
||||
allowFileManager = K.undef(self.allowFileManager, false),
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.plugin('insertfile', function(K) {
|
||||
var self = this, name = 'insertfile',
|
||||
allowFileUpload = K.undef(self.allowFileUpload, true),
|
||||
allowFileManager = K.undef(self.allowFileManager, false),
|
||||
formatUploadUrl = K.undef(self.formatUploadUrl, true),
|
||||
uploadJson = K.undef(self.uploadJson, self.basePath + 'php/upload_json.php'),
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.plugin('lineheight', function(K) {
|
||||
var self = this, name = 'lineheight', lang = self.lang(name + '.');
|
||||
self.clickToolbar(name, function() {
|
||||
var curVal = '', commonNode = self.cmd.commonNode({'*' : '.line-height'});
|
||||
if (commonNode) {
|
||||
curVal = commonNode.css('line-height');
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.plugin('link', function(K) {
|
||||
var self = this, name = 'link';
|
||||
self.plugin.link = {
|
||||
edit : function() {
|
||||
var lang = self.lang(name + '.'),
|
||||
html = '<div style="padding:20px;">' +
|
@ -0,0 +1,15 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
|
||||
<style>
|
||||
html { height: 100% }
|
||||
body { height: 100%; margin: 0; padding: 0; background-color: #FFF }
|
||||
#map_canvas { height: 100% }
|
||||
</style>
|
||||
<script src="http://maps.googleapis.com/maps/api/js?sensor=false&language=zh_CN"></script>
|
||||
<script>
|
||||
var map, geocoder;
|
||||
function initialize() {
|
||||
var latlng = new google.maps.LatLng(-34.397, 150.644);
|
||||
var options = {
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
// Google Maps: http://code.google.com/apis/maps/index.html
|
||||
|
||||
KindEditor.plugin('map', function(K) {
|
||||
var self = this, name = 'map', lang = self.lang(name + '.');
|
||||
self.clickToolbar(name, function() {
|
||||
var html = ['<div style="padding:10px 20px;">',
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.plugin('media', function(K) {
|
||||
var self = this, name = 'media', lang = self.lang(name + '.'),
|
||||
allowMediaUpload = K.undef(self.allowMediaUpload, true),
|
||||
allowFileManager = K.undef(self.allowFileManager, false),
|
||||
formatUploadUrl = K.undef(self.formatUploadUrl, true),
|
||||
extraParams = K.undef(self.extraFileUploadParams, {}),
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
(function(K) {
|
||||
|
||||
function KSWFUpload(options) {
|
||||
this.init(options);
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
* KindEditor - WYSIWYG HTML Editor for Internet
|
||||
* Copyright (C) 2006-2011 kindsoft.net
|
||||
*
|
||||
* @author Roddy <luolonghao@gmail.com>
|
||||
* @site http://www.kindsoft.net/
|
||||
* @licence http://www.kindsoft.net/license.php
|
||||
*******************************************************************************/
|
||||
|
||||
KindEditor.plugin('pagebreak', function(K) {
|
||||
var self = this;
|
||||
var name = 'pagebreak';
|
||||
var pagebreakHtml = K.undef(self.pagebreakHtml, '<hr style="page-break-after: always;" class="ke-pagebreak" />');
|
||||
|
||||
self.clickToolbar(name, function() {
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue