code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
///import core
///commands 自动排版
///commandsName autotypeset
///commandsTitle 自动排版
/**
* 自动排版
* @function
* @name baidu.editor.execCommands
*/
UE.plugins['autotypeset'] = function(){
this.setOpt({'autotypeset':{
mergeEmptyline : true, //合并空行
removeClass : true, ... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/autotypeset.js | JavaScript | asf20 | 9,013 |
///import core
///commands 超链接,取消链接
///commandsName Link,Unlink
///commandsTitle 超链接,取消链接
///commandsDialog dialogs\link\link.html
/**
* 超链接
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName link插入超链接
* @param {Object} options url地址,title标题,target是否打开新页
* @aut... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/link.js | JavaScript | asf20 | 6,350 |
///import core
///import plugins\inserthtml.js
///commands 地图
///commandsName Map,GMap
///commandsTitle Baidu地图,Google地图
///commandsDialog dialogs\map\map.html,dialogs\gmap\gmap.html
UE.commands['gmap'] =
UE.commands['map'] = {
queryCommandState : function(){
return this.highlight ? -1 :0;
}
};
| zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/map.js | JavaScript | asf20 | 328 |
///import core
///import plugins/inserthtml.js
///import plugins/undo.js
///import plugins/serialize.js
///commands 粘贴
///commandsName PastePlain
///commandsTitle 纯文本粘贴模式
/*
** @description 粘贴
* @author zhanyi
*/
(function() {
function getClipboardData( callback ) {
var doc = this.document;
i... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/paste.js | JavaScript | asf20 | 8,073 |
///import core
///commands 选区路径
///commandsName ElementPath,elementPathEnabled
///commandsTitle 选区路径
/**
* 选区路径
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName elementpath选区路径
*/
UE.plugins['elementpath'] = function(){
var currentLevel,
tagNames,
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/elementpath.js | JavaScript | asf20 | 2,993 |
///import core
///commands 有序列表,无序列表
///commandsName InsertOrderedList,InsertUnorderedList
///commandsTitle 有序列表,无序列表
/**
* 有序列表
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName insertorderlist插入有序列表
* @param {String} style 值为:decimal,lower-alpha,lower-rom... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/list.js | JavaScript | asf20 | 26,891 |
///import core
///import plugins\image.js
///commands 插入表情
///commandsName Emotion
///commandsTitle 表情
///commandsDialog dialogs\emotion\emotion.html
UE.commands['emotion'] = {
queryCommandState : function(){
return this.highlight ? -1 :0;
}
};
| zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/emotion.js | JavaScript | asf20 | 276 |
///import core
///commandsName catchRemoteImage
/**
* 远程图片抓取,当开启本插件时所有不符合本地域名的图片都将被抓取成为本地服务器上的图片
*
*/
UE.plugins['catchremoteimage'] = function () {
if (this.options.catchRemoteImageEnable===false)return;
var me = this;
this.setOpt({
localDomain:["127.0.0.1","localhost"],
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/catchremoteimage.js | JavaScript | asf20 | 3,514 |
///import editor.js
///import core/utils.js
///import core/EventBase.js
///import core/browser.js
///import core/dom/dom.js
///import core/dom/domUtils.js
///import core/dom/Selection.js
///import core/dom/dtd.js
(function () {
var uid = 0,
_selectionChangeTimer;
function replaceSrc(div){
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/core/Editor.js | JavaScript | asf20 | 31,553 |
///import editor.js
///import core/utils.js
/**
* @class baidu.editor.utils 工具类
*/
var utils = UE.utils =
/**@lends baidu.editor.utils.prototype*/
{
/**
* 以obj为原型创建实例
* @public
* @function
* @param {Object} obj
* @return {Object} 返回新的对象
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/core/utils.js | JavaScript | asf20 | 12,135 |
///import editor.js
///import core/utils.js
/**
* 事件基础类
* @public
* @class
* @name baidu.editor.EventBase
*/
var EventBase = UE.EventBase = function(){};
EventBase.prototype = /**@lends baidu.editor.EventBase.prototype*/{
/**
* 注册事件监听器
* @pu... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/core/EventBase.js | JavaScript | asf20 | 2,437 |
///import editor.js
/**
* @class baidu.editor.browser 判断浏览器
*/
var browser = UE.browser = function(){
var agent = navigator.userAgent.toLowerCase(),
opera = window.opera,
browser = {
/**
* 检测浏览器是否为IE
* @name baidu.editor.browser.ie
* @property ... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/core/browser.js | JavaScript | asf20 | 6,723 |
/**
* Created by .
* User: taoqili
* Date: 11-8-18
* Time: 下午3:18
* To change this template use File | Settings | File Templates.
*/
/**
* ajax工具类
*/
UE.ajax = function() {
return {
/**
* 向url发送ajax请求
* @param url
* @param ajaxOptions
*/
request:function(url, ajaxOptions) {
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/core/ajax.js | JavaScript | asf20 | 3,360 |
///import editor.js
///import core/browser.js
///import core/dom/dom.js
///import core/dom/dtd.js
///import core/dom/domUtils.js
///import core/dom/Range.js
/**
* @class baidu.editor.dom.Selection Selection类
*/
(function () {
function getBoundaryInformation( range, start ) {
var getIndex... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/core/dom/Selection.js | JavaScript | asf20 | 12,136 |
///import editor.js
///import core/dom/dom.js
/**
* dtd html语义化的体现类
* @constructor
* @namespace dtd
*/
var dtd = dom.dtd = (function() {
function _( s ) {
for (var k in s) {
s[k.toUpperCase()] = s[k];
}
return s;
}
function X( t ) {
var a = argu... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/core/dom/dtd.js | JavaScript | asf20 | 6,026 |
///import editor.js
///import core/utils.js
///import core/browser.js
///import core/dom/dom.js
///import core/dom/dtd.js
///import core/dom/domUtils.js
/**
* @class baidu.editor.dom.Range Range类
*/
/**
* @description Range类实现
* @author zhanyi
*/
(function() {
var guid = 0,
fillChar =... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/core/dom/Range.js | JavaScript | asf20 | 42,030 |
///import editor.js
///import core/utils.js
///import core/browser.js
///import core/dom/dom.js
///import core/dom/dtd.js
/**
* @class baidu.editor.dom.domUtils dom工具类
*/
//for getNextDomNode getPreviousDomNode
function getDomNode(node, start, ltr, startFromChild, fn, guard) {
var tmpNo... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/core/dom/domUtils.js | JavaScript | asf20 | 44,874 |
UEDITOR_CONFIG = window.UEDITOR_CONFIG || {};
var baidu = window.baidu || {};
window.baidu = baidu;
window.UE = baidu.editor = {};
UE.plugins = {};
UE.commands = {};
//UE.defaultplugins = {};
//
//UE.commands = function(){
// var commandList = {},tmpList= {};
// return {
//
// regi... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/editor.js | JavaScript | asf20 | 810 |
///import core
///import uicore
(function (){
var utils = baidu.editor.utils,
domUtils = baidu.editor.dom.domUtils,
UIBase = baidu.editor.ui.UIBase,
uiUtils = baidu.editor.ui.uiUtils;
var Mask = baidu.editor.ui.Mask = function (options){
this.initOptions(options);
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/mask.js | JavaScript | asf20 | 1,622 |
///import core
///import uicore
///import ui/menu.js
///import ui/splitbutton.js
(function (){
// todo: menu和item提成通用list
var utils = baidu.editor.utils,
uiUtils = baidu.editor.ui.uiUtils,
Menu = baidu.editor.ui.Menu,
SplitButton = baidu.editor.ui.SplitButton,
Combox = ... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/combox.js | JavaScript | asf20 | 3,120 |
///import core
///import uicore
(function (){
var utils = baidu.editor.utils,
uiUtils = baidu.editor.ui.uiUtils,
UIBase = baidu.editor.ui.UIBase;
var TablePicker = baidu.editor.ui.TablePicker = function (options){
this.initOptions(options);
this.initTablePicker();
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/tablepicker.js | JavaScript | asf20 | 3,473 |
///import core
///import uicore
///import ui/popup.js
///import ui/tablepicker.js
///import ui/splitbutton.js
(function (){
var utils = baidu.editor.utils,
Popup = baidu.editor.ui.Popup,
TablePicker = baidu.editor.ui.TablePicker,
SplitButton = baidu.editor.ui.SplitButton,
T... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/tablebutton.js | JavaScript | asf20 | 1,334 |
///import core
///import uicore
///import ui\popup.js
///import ui\stateful.js
(function (){
var utils = baidu.editor.utils,
domUtils = baidu.editor.dom.domUtils,
uiUtils = baidu.editor.ui.uiUtils,
UIBase = baidu.editor.ui.UIBase,
Popup = baidu.editor.ui.Popup,
Stat... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/menu.js | JavaScript | asf20 | 8,693 |
///import core
///import uicore
(function (){
var utils = baidu.editor.utils,
UIBase = baidu.editor.ui.UIBase,
ColorPicker = baidu.editor.ui.ColorPicker = function (options){
this.initOptions(options);
this.noColorText = this.noColorText || '不设置颜色';
this.i... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/colorpicker.js | JavaScript | asf20 | 3,897 |
///import core
///import uicore
///import ui/popup.js
///import ui/autotypesetpicker.js
///import ui/splitbutton.js
(function (){
var utils = baidu.editor.utils,
Popup = baidu.editor.ui.Popup,
AutoTypeSetPicker = baidu.editor.ui.AutoTypeSetPicker,
SplitButton = baidu.editor.ui.Split... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/autotypesetbutton.js | JavaScript | asf20 | 3,317 |
///import core
///import uicore
///import ui/colorpicker.js
///import ui/popup.js
///import ui/splitbutton.js
(function (){
var utils = baidu.editor.utils,
uiUtils = baidu.editor.ui.uiUtils,
ColorPicker = baidu.editor.ui.ColorPicker,
Popup = baidu.editor.ui.Popup,
SplitButt... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/colorbutton.js | JavaScript | asf20 | 2,122 |
//ui跟编辑器的适配層
//那个按钮弹出是dialog,是下拉筐等都是在这个js中配置
//自己写的ui也要在这里配置,放到baidu.editor.ui下边,当编辑器实例化的时候会根据editor_config中的toolbars找到相应的进行实例化
(function (){
var utils = baidu.editor.utils;
var editorui = baidu.editor.ui;
var _Dialog = editorui.Dialog;
editorui.Dialog = function (options){
var dialog = ... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/editorui.js | JavaScript | asf20 | 27,953 |
///import core
///import uicore
(function () {
var utils = baidu.editor.utils,
uiUtils = baidu.editor.ui.uiUtils,
domUtils = baidu.editor.dom.domUtils,
UIBase = baidu.editor.ui.UIBase,
Popup = baidu.editor.ui.Popup = function (options){
this.initOptions(options);
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/popup.js | JavaScript | asf20 | 6,895 |
(function (){
var browser = baidu.editor.browser,
domUtils = baidu.editor.dom.domUtils,
uiUtils = baidu.editor.ui.uiUtils;
var TPL_STATEFUL = 'onmousedown="$$.Stateful_onMouseDown(event, this);"' +
' onmouseup="$$.Stateful_onMouseUp(event, this);"' +
( browser.ie ? (
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/stateful.js | JavaScript | asf20 | 3,906 |
(function (){
var utils = baidu.editor.utils,
uiUtils = baidu.editor.ui.uiUtils,
UIBase = baidu.editor.ui.UIBase,
Toolbar = baidu.editor.ui.Toolbar = function (options){
this.initOptions(options);
this.initToolbar();
};
Toolbar.prototype = {
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/toolbar.js | JavaScript | asf20 | 1,312 |
///import core
///import uicore
///import ui/stateful.js
(function (){
var utils = baidu.editor.utils,
uiUtils = baidu.editor.ui.uiUtils,
domUtils = baidu.editor.dom.domUtils,
UIBase = baidu.editor.ui.UIBase,
Stateful = baidu.editor.ui.Stateful,
SplitButton = baidu.e... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/splitbutton.js | JavaScript | asf20 | 3,489 |
///import core
///import uicore
///commands 表情
(function(){
var utils = baidu.editor.utils,
Popup = baidu.editor.ui.Popup,
SplitButton = baidu.editor.ui.SplitButton,
MultiMenuPop = baidu.editor.ui.MultiMenuPop = function(options){
this.initOptions(options);
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/multiMenu.js | JavaScript | asf20 | 1,368 |
///import core
///import uicore
///import ui/mask.js
///import ui/button.js
(function (){
var utils = baidu.editor.utils,
domUtils = baidu.editor.dom.domUtils,
uiUtils = baidu.editor.ui.uiUtils,
Mask = baidu.editor.ui.Mask,
UIBase = baidu.editor.ui.UIBase,
Button = ... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/dialog.js | JavaScript | asf20 | 9,845 |
(function (){
var browser = baidu.editor.browser,
domUtils = baidu.editor.dom.domUtils;
var magic = '$EDITORUI';
var root = window[magic] = {};
var uidMagic = 'ID' + magic;
var uidCount = 0;
var uiUtils = baidu.editor.ui.uiUtils = {
uid: function (obj){
r... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/uiutils.js | JavaScript | asf20 | 10,200 |
///import core
///import uicore
(function (){
var utils = baidu.editor.utils,
UIBase = baidu.editor.ui.UIBase;
var AutoTypeSetPicker = baidu.editor.ui.AutoTypeSetPicker = function (options){
this.initOptions(options);
this.initAutoTypeSetPicker();
};
AutoTypeSetPicker.... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/autotypesetpicker.js | JavaScript | asf20 | 3,821 |
var baidu = baidu || {};
baidu.editor = baidu.editor || {};
baidu.editor.ui = {}; | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/ui.js | JavaScript | asf20 | 83 |
(function (){
var utils = baidu.editor.utils,
uiUtils = baidu.editor.ui.uiUtils,
EventBase = baidu.editor.EventBase,
UIBase = baidu.editor.ui.UIBase = function (){};
UIBase.prototype = {
className: '',
uiName: '',
initOptions: function (options){
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/uibase.js | JavaScript | asf20 | 2,385 |
(function (){
var utils = baidu.editor.utils,
UIBase = baidu.editor.ui.UIBase,
Separator = baidu.editor.ui.Separator = function (options){
this.initOptions(options);
this.initSeparator();
};
Separator.prototype = {
uiName: 'separator',
ini... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/separator.js | JavaScript | asf20 | 555 |
///import core
///import uicore
///import ui/menu.js
///import ui/splitbutton.js
(function (){
var utils = baidu.editor.utils,
Menu = baidu.editor.ui.Menu,
SplitButton = baidu.editor.ui.SplitButton,
MenuButton = baidu.editor.ui.MenuButton = function (options){
this.initO... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/menubutton.js | JavaScript | asf20 | 1,325 |
///import core
///import uicore
///import ui/stateful.js
(function (){
var utils = baidu.editor.utils,
UIBase = baidu.editor.ui.UIBase,
Stateful = baidu.editor.ui.Stateful,
Button = baidu.editor.ui.Button = function (options){
this.initOptions(options);
this.... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/button.js | JavaScript | asf20 | 1,594 |
///import core
///commands 全屏
///commandsName FullScreen
///commandsTitle 全屏
(function () {
var utils = baidu.editor.utils,
uiUtils = baidu.editor.ui.uiUtils,
UIBase = baidu.editor.ui.UIBase;
function EditorUI( options ) {
this.initOptions( options );
this.initEditor... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/ui/editor.js | JavaScript | asf20 | 24,868 |
/**
* ueditor完整配置项
* 可以在这里配置整个编辑器的特性
*/
/**************************提示********************************
* 所有被注释的配置项均为UEditor默认值。
* 修改默认配置请首先确保已经完全明确该参数的真实用途。
* 主要有两种修改方案,一种是取消此处注释,然后修改成对应参数;另一种是在实例化编辑器时传入对应参数。
* 当升级编辑器时,可直接使用旧版配置文件替换新版配置文件,不用担心旧版配置文件中因缺少新功能所需的参数而导致脚本报错。
**************************提示****... | zyhhdcms | trunk/xm/hdphp/org/ueditor/editor_config.js | JavaScript | asf20 | 19,687 |
<?php
/**
* Created by JetBrains PhpStorm.
* User: taoqili
* Date: 12-2-8
* Time: 下午1:20
* To change this template use File | Settings | File Templates.
*/
//上传配置
$config = array(
"uploadPath" => "upload/" , //保存路径
"fileType" => array( ".rar" , ".doc" , ".docx" , ".zip" , ".pdf" , ".txt" , ".sw... | zyhhdcms | trunk/xm/hdphp/org/ueditor/php/fileUp.php | PHP | asf20 | 1,712 |
<?php
/**
* Created by JetBrains PhpStorm.
* User: ueditor
* Date: 12-1-16
* Time: 上午11:44
* To change this template use File | Settings | File Templates.
*/
$path = './upload/img'; //最好使用缩略图地址,否则当网速慢时可能会造成严重的延时
$action = htmlspecialchars($_POST["action"]);
if($action=="get"){
$files = getfiles($pa... | zyhhdcms | trunk/xm/hdphp/org/ueditor/php/imageManager.php | PHP | asf20 | 961 |
<?php
/**
* Created by JetBrains PhpStorm.
* User: taoqili
* Date: 11-12-28
* Time: 上午9:54
* To change this template use File | Settings | File Templates.
*/
$uri = htmlspecialchars( $_POST[ 'upfile' ] );
//Ajax提交的网址内容中如果包含了&符号,上述函数会将其转成&导致地址解析不对,这里要转回来
$uri = str_replace( "&" , "&" , $uri );
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/php/getRemoteImage.php | PHP | asf20 | 3,432 |
<?php
//上传配置
$config = array(
"uploadPath"=>"upload/", //保存路径
"fileType"=>array(".gif",".png",".jpg",".jpeg",".bmp"), //文件允许格式
"fileSize"=>1000 //文件大小限制,单位KB
);
//原始文件名,表单名固定,不可配置
$oriName = htmlspeci... | zyhhdcms | trunk/xm/hdphp/org/ueditor/php/imageUp.php | PHP | asf20 | 2,171 |
<?php
/**
* Created by JetBrains PhpStorm.
* User: taoqili
* Date: 12-2-19
* Time: 下午10:44
* To change this template use File | Settings | File Templates.
*/
//include("simple_html_dom.php");
$key =htmlspecialchars($_POST["searchKey"]);
$type = htmlspecialchars($_POST["videoType"]);
$html = file_get_co... | zyhhdcms | trunk/xm/hdphp/org/ueditor/php/getMovie.php | PHP | asf20 | 495 |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<?php
//获取数据
$content = htmlspecialchars(stripslashes($_POST['myEditor']));
$content1 = htmlspecialchars(stripslashes($_POST['myEditor1']));
//存入数据库或者其他操作
//-------------
//显示
echo "第1个编辑器的值";
echo htmlspecialchars_decode($content);
echo ... | zyhhdcms | trunk/xm/hdphp/org/ueditor/php/getContent.php | PHP | asf20 | 534 |
(function(){UEDITOR_CONFIG = window.UEDITOR_CONFIG || {};
var baidu = window.baidu || {};
window.baidu = baidu;
window.UE = baidu.editor = {};
UE.plugins = {};
UE.commands = {};
//UE.defaultplugins = {};
//
//UE.commands = function(){
// var commandList = {},tmpList= {};
// return {
//
//... | zyhhdcms | trunk/xm/hdphp/org/ueditor/editor_all.js | JavaScript | asf20 | 640,529 |
<?php
C("debug", 0);
$title = htmlspecialchars($_POST['pictitle'], ENT_QUOTES);
$upload = new upload('', '', C("EDITOR_FILE_SIZE"));
$uploadFile = $upload->upload();
$state = empty($upload->error) ? "SUCCESS" : $upload->error;
$path = __ROOT__ . '/' . $uploadFile[0]['path'];
echo "{'url':'" . $path . "','title':... | zyhhdcms | trunk/xm/hdphp/org/ueditor/hd_upload.php | PHP | asf20 | 368 |
/* common layer */
.edui-box { border: none; padding: 0; margin: 0; overflow: hidden; }
a.edui-box { display: block; text-decoration: none; color: black; }
a.edui-box:hover { text-decoration: none; }
a.edui-box:active { text-decoration: none; }
table.edui-box { border-collapse: collapse; }
ul.edui-box { list-styl... | zyhhdcms | trunk/xm/hdphp/org/ueditor/themes/default/ueditor.css | CSS | asf20 | 27,985 |
/*可以在这里添加你自己的css*/ | zyhhdcms | trunk/xm/hdphp/org/ueditor/themes/default/iframe.css | CSS | asf20 | 40 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>插入地图</title>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.1&services=true"></script>
<script type="text/javascript" src="../internal.js"></script>
<style type="text/css">
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/map/map.html | HTML | asf20 | 4,876 |
<!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"/>
<title>插入代码</title>
<script type="text/javascript" src="../internal.js"></script>
<styl... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/code/code.html | HTML | asf20 | 5,102 |
<!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"/>
<title>安装截屏插件</title>
<script type="text/javascript" src="../internal.js"></script>
<st... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/snapscreen/snapscreen.html | HTML | asf20 | 2,249 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>视频</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="video.css" />
</head>
<body>
<div class="wr... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/video/video.html | HTML | asf20 | 3,019 |
/**
* Created by JetBrains PhpStorm.
* User: taoqili
* Date: 12-2-20
* Time: 上午11:19
* To change this template use File | Settings | File Templates.
*/
var video = {};
(function(){
video.init = function(){
switchTab("videoTab");
createAlignButton( ["videoFloat"] );
addUrl... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/video/video.js | JavaScript | asf20 | 14,139 |
@charset "utf-8";
*{ padding: 0;margin: 0}
body{font-size: 12px;color: #888}
.wrapper{ width: 590px;margin: 0 auto; overflow: auto; zoom:1;position: relative;padding: 10px 0}
#tabHeads{position: relative; width:560px;padding-left:9px;z-index: 10;}
#tabHeads span{
display:inline-block;
width: 82px;
h... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/video/video.css | CSS | asf20 | 2,487 |
(function(){
var parent = window.parent;
//dialog对象
dialog = parent.$EDITORUI[window.frameElement.id.replace(/_iframe$/, '')];
//当前打开dialog的编辑器实例
editor = dialog.editor;
UE = parent.UE;
domUtils = UE.dom.domUtils;
utils = UE.utils;
browser = UE.browser;
aj... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/internal.js | JavaScript | asf20 | 742 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>帮助</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<script type="text/javascript" src="../internal.js"></script>
<style type="text/css">... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/help/help.html | HTML | asf20 | 5,370 |
// Copyright (c) 2009, Baidu Inc. All rights reserved.
//
// Licensed under the BSD License
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:// tangram.baidu.com/license.html
//
// Unless required by applicable law or agreed to in writing,... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/tangram.js | JavaScript | asf20 | 40,813 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>插入链接</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<script type="text/javascript" src="../internal.js"></script>
<style type="text/css"... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/link/link.html | HTML | asf20 | 4,545 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>插入特殊字符</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<style type="text/css">
html,body{overflow:hidden;}
#specharsTab{widt... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/spechars/spechars.html | HTML | asf20 | 5,901 |
/* Demo Note: This demo uses a FileProgress class that handles the UI for displaying the file name and percent complete.
The FileProgress class is not part of SWFUpload.
*/
/* **********************
Event Handlers
These are my custom event handlers to make my
web application behave the way I went wh... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/attachment/callbacks.js | JavaScript | asf20 | 6,235 |
/**
* Created by JetBrains PhpStorm.
* User: taoqili
* Date: 12-2-10
* Time: 下午3:50
* To change this template use File | Settings | File Templates.
*/
//文件类型图标索引
var fileTypeMaps = {
".rar":"icon_rar.gif",
".zip":"icon_rar.gif",
".doc":"icon_doc.gif",
".docx":"icon_doc.gif",
".pdf... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/attachment/fileTypeMaps.js | JavaScript | asf20 | 747 |
* {margin: 0;padding: 0;}
.wrapper { width: 460px;height: 340px; border: 1px solid #ddd;margin: 8px;overflow-y: hidden;}
.controller {
height: 30px;
padding-top: 10px;
padding-left: 6px;
}
#divStatus {display:inline-block; width:336px;color: #aaa;font-size: 12px; }
#startUpload{cursor: pointer;m... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/attachment/attachment.css | CSS | asf20 | 2,670 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>附件上传</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="attachment.css"/>
</head>
<body>
<div cla... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/attachment/attachment.html | HTML | asf20 | 6,268 |
<!DOCTYPE>
<html>
<head>
<title>标题</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<script type="text/javascript" src="../internal.js"></script>
<style type="text/css">
#appShow {
width: 540px;
border: 1px solid #ddd;
}
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/webapp/webapp.html | HTML | asf20 | 2,636 |
<!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"/>
<title>插入锚点</title>
<script type="text/javascript" src="../internal.js"></script>
<styl... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/anchor/anchor.html | HTML | asf20 | 1,616 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>插入框架</title>
<script type="text/javascript" src="../internal.js"></script>
<style type="text/css">
* {color: #838383}
body {font-size: 12px;width: 320px;height: 153px;overflo... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/insertframe/insertframe.html | HTML | asf20 | 4,169 |
@charset "utf-8";
*{ padding: 0;margin: 0}
body{font-size: 12px;color: #888;overflow: hidden;}
.wrapper{ width: 640px;margin: 0 auto; overflow: auto; zoom:1;position: relative;padding: 10px 0}
#tabHeads{position: relative; width:610px;padding-left:9px;z-index: 10;}
#tabHeads span{
display:inline-block;
w... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/image/image.css | CSS | asf20 | 3,111 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>图片上传</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<link rel="stylesheet" href="image.css" type="text/css" />
</head>
<body>
<div cla... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/image/image.html | HTML | asf20 | 9,443 |
/**
* Created by JetBrains PhpStorm.
* User: taoqili
* Date: 12-2-23
* Time: 上午11:32
* To change this template use File | Settings | File Templates.
*/
var init = function(){
addColorPickListener();
addPxChangeListener();
addFloatListener();
addBorderTypeChangeList... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/table/table.js | JavaScript | asf20 | 6,369 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>标题</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<script type="text/javascript" src="../internal.js"></script>
<style type="text/css">
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/table/edittd.html | HTML | asf20 | 3,792 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>标题</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<style type="text/css">
*{margin: 0;padding: 0;font-size: 12px;}
.wrapper... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/table/table.html | HTML | asf20 | 11,341 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>查找替换</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<script type="text/javascript" src="../internal.js"></script>
<style type="text/css... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/searchreplace/searchreplace.html | HTML | asf20 | 8,377 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<script type="text/javascript" src="../internal.js"></script>
<script type="text/javas... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/wordimage/wordimage.html | HTML | asf20 | 6,553 |
/**
* Created by JetBrains PhpStorm.
* User: taoqili
* Date: 12-1-30
* Time: 下午12:50
* To change this template use File | Settings | File Templates.
*/
//editor.execCommand("wordimage","word_img");
var wordImage = {};
//(function(){
var g = baidu.g,
flashObj;
wordImage.init = function(opt, call... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/wordimage/wordimage.js | JavaScript | asf20 | 3,526 |
<!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" />
<title>Google地图</title>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false... | zyhhdcms | trunk/xm/hdphp/org/ueditor/dialogs/gmap/gmap.html | HTML | asf20 | 3,949 |
/**
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding UTF-8
* Version $Id: js.js 2012-2-18 16:11:47
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.com
*/
/**
* 对话框
... | zyhhdcms | trunk/xm/hdphp/org/hdjs/dialog.js | JavaScript | asf20 | 907 |
/*
Document : hd
Created on : 2012-2-18, 17:24:06
Author : hdxj
Description:
Purpose of the stylesheet follows.
*/
.hd_dialog{position: absolute;top:100px;left: 100px; padding:50px;text-align: center;width:600px; margin-left: 20px; border: solid 20px #dcdcdc; background:whitesmoke; }
.hd... | zyhhdcms | trunk/xm/hdphp/org/hdjs/css/dialog.css | CSS | asf20 | 503 |
/*!
* jQzoom Evolution Library v2.3 - Javascript Image magnifier
* http://www.mind-projects.it
*
* Copyright 2011, Engineer Marco Renzi
* Licensed under the BSD license.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following cond... | zyhhdcms | trunk/xm/hdphp/org/jqzoom_ev23/js/jquery.jqzoom-core.js | JavaScript | asf20 | 31,322 |
.zoomPad{
position:relative;
float:left;
z-index:99;
cursor:crosshair;
}
.zoomPreload{
-moz-opacity:0.8;
opacity: 0.8;
filter: alpha(opacity = 80);
color: #333;
font-size: 12px;
font-family: Tahoma;
text-decoration: none;
border: 1px solid #CCC;
background-color: white;... | zyhhdcms | trunk/xm/hdphp/org/jqzoom_ev23/css/jquery.jqzoom.css | CSS | asf20 | 2,139 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding ${encoding}
* Version $Id: {name} ${date} ${time}
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.com
*/... | zyhhdcms | trunk/xm/hdphp/data/language/utf8.php | PHP | asf20 | 14,244 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{$hd.langUAGE.error_html_title}</title>
<style type="text/css">
... | zyhhdcms | trunk/xm/hdphp/data/tpl/error.html | HTML | asf20 | 2,351 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{$hd.language.success_html_title}</title>
<style type="text/css">
... | zyhhdcms | trunk/xm/hdphp/data/tpl/success.html | HTML | asf20 | 2,530 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 后盾网,Inc.
* Encoding UTF-8
* Version $Id: newEmptyPHP.php 2011-7-26 下午06:53:41
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.c... | zyhhdcms | trunk/xm/hdphp/libs/boot/url.class.php | PHP | asf20 | 10,758 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 后盾网,Inc.
* Encoding UTF-8
* Version $Id: newEmptyPHP.php 2011-3-1 下午05:59:00
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.co... | zyhhdcms | trunk/xm/hdphp/libs/boot/application.php | PHP | asf20 | 16,524 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 后盾网,Inc.
* Encoding UTF-8
* Version $Id: newEmptyPHP.php 2011-7-5 下午01:53:33
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.co... | zyhhdcms | trunk/xm/hdphp/libs/boot/functions.php | PHP | asf20 | 22,371 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding UTF-8
* Version $Id: classdir.php 2012-2-7 10:39:03
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.com
*... | zyhhdcms | trunk/xm/hdphp/libs/boot/usrFiles.php | PHP | asf20 | 1,564 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 后盾网,Inc.
* Encoding UTF-8
* Version $Id: newEmptyPHP.php 2011-7-5 下午01:53:33
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.co... | zyhhdcms | trunk/xm/hdphp/libs/boot/compileFiles.php | PHP | asf20 | 883 |
<?php
if (!defined("PATH_HD"))
exit;
/**
* Copyright [HD框架] (C)2011-2012 后盾网,Inc.
* Encoding UTF-8
* Version $Id: newEmptyPHP.php 2012-2-18 下午01:53:33
* @author 向军
* Link http://www.houdunwang.com
* E-mail ... | zyhhdcms | trunk/xm/hdphp/libs/boot/config.php | PHP | asf20 | 9,171 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding UTF-8
* Version $Id: newEmptyPHP.php 2011-8-14 下午12:16:04
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang... | zyhhdcms | trunk/xm/hdphp/libs/usr/model/Model.class.php | PHP | asf20 | 18,679 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding UTF-8
* Version $Id: relationModel.class.php 2012-2-27 20:41:18
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@... | zyhhdcms | trunk/xm/hdphp/libs/usr/model/driver/relationModel.class.php | PHP | asf20 | 22,745 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding UTF-8
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.com
*/
class viewModel extends Model {
public $view = array(); //... | zyhhdcms | trunk/xm/hdphp/libs/usr/model/driver/viewModel.class.php | PHP | asf20 | 5,887 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 后盾网,Inc.
* Encoding UTF-8
* Version $Id: newEmptyPHP.php 2012-7-5 下午01:53:33
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.com
*/
... | zyhhdcms | trunk/xm/hdphp/libs/usr/db/driver/mysql.class.php | PHP | asf20 | 26,757 |
<?php
/* 后盾网 http://www.houdunwang.com
* 向军
* 2011-7-22 上午11:48:20
*/
load_file(PATH_HD . '/libs/usr/db/driver/mysql.class.php');
/**
* mysqli数据库驱动
* @author Administrator
*/
class mysqliDriver extends mysql {
static protected $db_link = null; //是否连接
public $link = null; //数据库连接
... | zyhhdcms | trunk/xm/hdphp/libs/usr/db/driver/mysqliDriver.class.php | PHP | asf20 | 4,283 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding UTF-8
* Version $Id: dbInterface.class.php 2012-5-20 11:04:59
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gm... | zyhhdcms | trunk/xm/hdphp/libs/usr/db/dbInterface.class.php | PHP | asf20 | 959 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding UTF-8
* Version $Id: newEmptyPHP.php 2011-8-14 下午03:02:18
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang... | zyhhdcms | trunk/xm/hdphp/libs/usr/db/dbFactory.class.php | PHP | asf20 | 2,148 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 后盾网,Inc.
* Encoding UTF-8
* Version $Id: session 10:57:53
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.com
*/
//SESSION驱动工厂
final class sess... | zyhhdcms | trunk/xm/hdphp/libs/usr/session/sessionFactory.class.php | PHP | asf20 | 1,470 |