code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Accordion - Fill space</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.8.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.... | zyhhdcms | trunk/xm/static/ui/development-bundle1111111111/demos/accordion/fillspace.html | HTML | asf20 | 3,389 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Accordion - Sortable</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.8.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js... | zyhhdcms | trunk/xm/static/ui/development-bundle1111111111/demos/accordion/sortable.html | HTML | asf20 | 2,938 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Accordion - Collapse content</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.8.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.w... | zyhhdcms | trunk/xm/static/ui/development-bundle1111111111/demos/accordion/collapsible.html | HTML | asf20 | 2,512 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Accordion - Default functionality</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.8.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery... | zyhhdcms | trunk/xm/static/ui/development-bundle1111111111/demos/accordion/default.html | HTML | asf20 | 2,612 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Accordion Demos</title>
<link rel="stylesheet" href="../demos.css">
</head>
<body>
<div class="demos-nav">
<h4>Examples</h4>
<ul>
<li class="demo-config-on"><a href="default.html">Default functionality</a></li>
<li><a href="fillsp... | zyhhdcms | trunk/xm/static/ui/development-bundle1111111111/demos/accordion/index.html | HTML | asf20 | 727 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Position - Default functionality</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.8.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.... | zyhhdcms | trunk/xm/static/ui/development-bundle1111111111/demos/position/cycler.html | HTML | asf20 | 3,171 |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Position - Default functionality</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.8.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.... | zyhhdcms | trunk/xm/static/ui/development-bundle1111111111/demos/position/default.html | HTML | asf20 | 3,366 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Position Demo</title>
<link rel="stylesheet" href="../demos.css">
</head>
<body>
<div class="demos-nav">
<h4>Examples</h4>
<ul>
<li class="demo-config-on"><a href="default.html">Default functionality</a></li>
<li><a href="cycler.h... | zyhhdcms | trunk/xm/static/ui/development-bundle1111111111/demos/position/index.html | HTML | asf20 | 380 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Effects - Animate demo</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.8.0.js"></script>
<script src="../../ui/jquery.effects.core.js"></script>
<link rel="stylesheet" href="../de... | zyhhdcms | trunk/xm/static/ui/development-bundle1111111111/demos/animate/default.html | HTML | asf20 | 1,560 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Effects Demos</title>
<link rel="stylesheet" href="../demos.css">
</head>
<body>
<div class="demos-nav">
<h4>Examples</h4>
<ul>
<li class="demo-config-on"><a href="default.html">Default functionality</a></li>
</ul>
</div>
</body>
... | zyhhdcms | trunk/xm/static/ui/development-bundle1111111111/demos/animate/index.html | HTML | asf20 | 328 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>jQuery UI Example Page</title>
<link type="text/css" href="css/flick/jquery-ui-1.8.23.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
<s... | zyhhdcms | trunk/xm/static/ui/index.html | HTML | asf20 | 32,106 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding UTF-8
* Version $Id: roleModel.php 2012-2-20 20:06:47
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.com
... | zyhhdcms | trunk/xm/setup/model/roleModel.php | PHP | asf20 | 531 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding UTF-8
* Version $Id: modelView.php 2012-2-20 17:13:25
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.com
... | zyhhdcms | trunk/xm/setup/model/userModel.php | PHP | asf20 | 804 |
<?php if(!defined("PATH_HD"))exit;?>
<!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>后盾HDPHP框架——项目调试</title>
<style... | zyhhdcms | trunk/xm/setup/temp/Applications/setup_A/index_C/delcache/compile/fed14d423f12cd02192bbc64541bb45d.php | PHP | asf20 | 2,240 |
<?php if(!defined("PATH_HD"))exit;?>
<!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>后盾HDPHP框架——项目调试</title>
<style... | zyhhdcms | trunk/xm/setup/temp/Applications/setup_A/index_C/delcache/compile/4e1b866b37e6eb9373b63345376d2b54.php | PHP | asf20 | 2,249 |
<?php if(!defined("PATH_HD"))exit;?>
<?php if(!defined("PATH_HD"))exit;?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>欢迎使用 后盾HD框架安装配置</title>
<meta http-... | zyhhdcms | trunk/xm/setup/temp/Applications/setup_A/app_C/index/compile/307ca3eb9e657edad3bf09437982e557.php | PHP | asf20 | 3,176 |
<?php if(!defined("PATH_HD"))exit;?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>欢迎使用 后盾HD框架安装配置</title>
<meta http-equiv="content-type" content="text/htm... | zyhhdcms | trunk/xm/setup/temp/Applications/setup_A/app_C/index/compile/aacbe2c4888c5c735110ed45d4d4a13d.php | PHP | asf20 | 814 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>欢迎使用 后盾HD框架安装配置</title>
<meta http-equiv="content-type" content="text/htm;charset=utf-8"/>
<link href... | zyhhdcms | trunk/xm/setup/tpl/public/public.html | HTML | asf20 | 450 |
<!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><?php echo C('WEB_NAME')?>错误提示</title>
<style type="text/css">
... | zyhhdcms | trunk/xm/setup/tpl/public/error.html | HTML | asf20 | 2,167 |
<!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>后盾HDPHP框架——项目调试</title>
<style type="text/css">
*{m... | zyhhdcms | trunk/xm/setup/tpl/public/success.html | HTML | asf20 | 2,122 |
<load file="__PUBLIC__/public.html"/>
<body>
<div class="hd_setup">
<strong>欢迎使用后盾HD框架,通过HD框架手册或登录
<a href="http://bbs.houdunwang.com/">后盾论坛</a>学习使用后盾HD框架
</strong>
<h2>
<a href="javascript:void(0)" onclick="window.close();return false;">关闭</a>
<a hr... | zyhhdcms | trunk/xm/setup/tpl/session/index.html | HTML | asf20 | 1,020 |
<load file="__PUBLIC__/public.html"/>
<div class="hd_setup">
<strong>欢迎使用后盾HD框架,通过HD框架手册或登录<a href="http://bbs.houdunwang.com/">后盾论坛</a>学习使用HD框架安装配置</strong>
<h2><a href="__APP__">返回安装首页</a>
<a href="__APP__/rbac/lock" >锁定SETUP应用</a></h2>
</div>
<form method="post" name="form1" action="__CONTR... | zyhhdcms | trunk/xm/setup/tpl/rbac/getnode.html | HTML | asf20 | 1,062 |
<!--
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding UTF-8
* Version $Id: createtable.php 2012-2-18 19:44:55
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.com
*--... | zyhhdcms | trunk/xm/setup/tpl/rbac/setconfig.html | HTML | asf20 | 3,969 |
<load file="__PUBLIC__/public.html"/>
<div class="hd_setup">
<strong>欢迎使用后盾HD框架,通过HD框架手册或登录<a href="http://bbs.houdunwang.com/">后盾论坛</a>学习使用HD框架安装配置</strong>
<h2>
<a href="__APP__">返回安装首页</a>
<a href="__CONTROL__/shownode">查看所有节点</a>
<a... | zyhhdcms | trunk/xm/setup/tpl/rbac/showaddnode.html | HTML | asf20 | 3,040 |
<load file="__PUBLIC__/public.html"/>
<div class="hd_setup">
<strong>欢迎使用后盾HD框架,通过HD框架手册或登录<a href="http://bbs.houdunwang.com/">后盾论坛</a>学习使用HD框架安装配置</strong>
<h2>
<a href="__APP__">返回安装首页</a>
<a href="__CONTROL__/addrole" target="_self">添加角色</a>
<a hre... | zyhhdcms | trunk/xm/setup/tpl/rbac/showrole.html | HTML | asf20 | 2,126 |
<load file="__PUBLIC__/public.html"/>
<div class="hd_setup">
<strong>欢迎使用后盾HD框架,通过HD框架手册或登录<a href="http://bbs.houdunwang.com/">后盾论坛</a>学习使用HD框架安装配置</strong>
<h2><a href="__APP__">返回安装首页</a></h2>
<h2>{$role.title}--权限
<a href="__APP__/rbac/lock" >锁定SETUP应用</a></h2>
</div>
<div class="setup">
<... | zyhhdcms | trunk/xm/setup/tpl/rbac/setaccess.html | HTML | asf20 | 2,641 |
<load file="__PUBLIC__/public.html"/>
<div class="hd_setup">
<strong>欢迎使用后盾HD框架,通过HD框架手册或登录<a href="http://bbs.houdunwang.com/">后盾论坛</a>学习使用HD框架安装配置</strong>
<h2>
<a href="__APP__">返回安装首页</a>
<a href="__CONTROL__/showaddnode/level/0" target="_blank;">添加APP应用节点</a> &n... | zyhhdcms | trunk/xm/setup/tpl/rbac/shownode.html | HTML | asf20 | 2,723 |
<load file="__PUBLIC__/public.html"/>
<div class="hd_setup">
<strong>欢迎使用后盾HD框架,通过HD框架手册或登录<a href="http://bbs.houdunwang.com/">后盾论坛</a>学习使用HD框架安装配置</strong>
<h2>
<a href="__APP__">返回安装首页</a>
<a href="__CONTROL__/showadduser" target="_self">添加用户</a>
<a... | zyhhdcms | trunk/xm/setup/tpl/rbac/showuser.html | HTML | asf20 | 1,771 |
<load file="__PUBLIC__/public.html"/>
<body>
<div class="hd_setup">
<strong>欢迎使用后盾HD框架,通过HD框架手册或登录
<a href="http://bbs.houdunwang.com/">后盾论坛</a>学习使用后盾HD框架
</strong>
<h2>
<a href="javascript:void(0)" onclick="window.close();return false;">关闭</a>
<a hr... | zyhhdcms | trunk/xm/setup/tpl/rbac/index.html | HTML | asf20 | 1,693 |
<load file="__PUBLIC__/public.html"/>
<div class="hd_setup">
<strong>欢迎使用后盾HD框架,通过HD框架手册或登录<a href="http://bbs.houdunwang.com/">后盾论坛</a>学习使用HD框架安装配置</strong>
<h2><a href="__APP__">返回安装首页</a>
<a href="__APP__/rbac/lock" >锁定SETUP应用</a></h2>
</div>
<form method="post" name="form1" action="__CONTR... | zyhhdcms | trunk/xm/setup/tpl/rbac/addnode.html | HTML | asf20 | 1,287 |
<load file="__PUBLIC__/public.html"/>
<div class="hd_setup">
<strong>欢迎使用后盾HD框架,通过HD框架手册或登录<a href="http://bbs.houdunwang.com/">后盾论坛</a>学习使用HD框架安装配置</strong>
<h2>
<a href="__APP__">返回安装首页</a>
<a href="__CONTROL__/showuser" target="_self">查看用户列表</a>
<a ... | zyhhdcms | trunk/xm/setup/tpl/rbac/showadduser.html | HTML | asf20 | 2,321 |
<load file="__PUBLIC__/public.html"/>
<div class="hd_setup">
<strong>欢迎使用后盾HD框架,通过HD框架手册或登录<a href="http://bbs.houdunwang.com/">后盾论坛</a>学习使用HD框架安装配置</strong>
<h2>
<a href="__APP__">返回安装首页</a>
<a href="__CONTROL__/showrole" target="_self">查看用户组(角色)</a>
... | zyhhdcms | trunk/xm/setup/tpl/rbac/addrole.html | HTML | asf20 | 2,378 |
<load file="__PUBLIC__/public.html"/>
<div class="hd_setup">
<h2><a href="javascript:void(0)" onclick="window.close();return false;">关闭</a> <a href="__APP__/rbac/lock" >锁定SETUP应用</a></h2>
</div>
<div style='color:#f00;font-size:14px; font-weight:bold;border:solid 1px #f00;padding:8px;width:600px; margin-left:2... | zyhhdcms | trunk/xm/setup/tpl/app/index.html | HTML | asf20 | 2,287 |
*{padding:0px; margin:0px;}
body{background:#EAEAEA;}
ul,ol{ list-style: none;}
a{color:#2F68A5;}
table{ border-collapse: collapse;}
table td{ padding:6px 0px;}
.hd_setup{width:600px;margin-left: 20px;font-size:14px; line-height: 1.8em; color:#333;margin-bottom: 10px; margin-top: 30px;}
.hd_setup h2{margin-top:10px;}
.... | zyhhdcms | trunk/xm/setup/tpl/state/css/setup.css | CSS | asf20 | 2,044 |
<load file="__PUBLIC__/public.html"/>
<body>
<script>
//dialog_show("第一次运行HD框架安装模块<br/>请先配置数据库参数","<a href='__CONTROL__/setconfig'>走!去配置。。。</a>");
</script>
<div class="hd_setup">
<strong>欢迎使用后盾HD框架,通过HD框架手册或登录
<a href="http://bbs.houdunwang.com/">后盾论坛</a>学习使用后盾HD框架
... | zyhhdcms | trunk/xm/setup/tpl/index/index.html | HTML | asf20 | 2,140 |
<?php
if (!defined('PATH_HD'))
exit;return array (
'debug' => 1,
'ERROR_MESSAGE' => '系统发生错误...',
'SHOW_NOTICE' => 1,
'SHOW_SYSTEM' => 1,
'SHOW_INCLUDE' => 1,
'db_host' => 'localhost',
'db_port' => '3306',
'db_user' => 'root',
'db_password' => '',
'db_database' => 'hdcms',
'db_pre... | zyhhdcms | trunk/xm/setup/config/config.php | PHP | asf20 | 389 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding UTF-8
* Version $Id: rbacControl.php 2012-2-19 18:46:35
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.co... | zyhhdcms | trunk/xm/setup/control/sessionControl.php | PHP | asf20 | 1,421 |
<?php
class setupControl extends Control{
function __auto(){
if(is_file("lock.php")){
$this->error("不可进行RBAC配置,请先删除SETUP目录中的lock.php文件",__ROOT__,3);
}
}
}
?>
| zyhhdcms | trunk/xm/setup/control/setupControl.php | PHP | asf20 | 238 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding UTF-8
* Version $Id: appControl.php 2012-5-13 9:32:35
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.com
... | zyhhdcms | trunk/xm/setup/control/appControl.php | PHP | asf20 | 1,884 |
<?php
class indexControl extends setupControl {
function index() {
$this->display();
}
//创建单入口文件
function delcache() {
$files = glob($_GET['temp']);
foreach ($files as $v) {
$fileName = basename($v);
if (in_array($fileName, array("log", "se... | zyhhdcms | trunk/xm/setup/control/indexControl.php | PHP | asf20 | 502 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding UTF-8
* Version $Id: rbacControl.php 2012-2-19 18:46:35
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.co... | zyhhdcms | trunk/xm/setup/control/rbacControl.php | PHP | asf20 | 8,189 |
<?php
/**
* Copyright [HD框架] (C)2011-2012 houdunwang ,Inc.
* Encoding UTF-8
* Version $Id: setup.php 2012-2-19 14:34:58
* @author 向军
* Link http://www.houdunwang.com
* E-mail houdunwang@gmail.com
*/
... | zyhhdcms | trunk/xm/setup/index.php | PHP | asf20 | 451 |
default/a.html | zyhhdcms | trunk/xm/template/default/a.html | HTML | asf20 | 14 |
<?php
p($field);
?> | zyhhdcms | trunk/xm/template/green/a.html | HTML | asf20 | 22 |
/*
Cookie Plug-in
This plug in automatically gets all the cookies for this site and adds them to the post_params.
Cookies are loaded only on initialization. The refreshCookies function can be called to update the post_params.
The cookies will override any other post params with the same name.
*/
var SWF... | zyhhdcms | trunk/xm/hdphp/org/swfupload250/swfupload/swfupload.cookies.js | JavaScript | asf20 | 1,651 |
/*
Proxy Plug-in
Features:
Times an upload to see if it appear suspiciously fast which might indicate a proxy server or anti-virus suite intercepting the upload.
If the upload seems too fast an uploadError event is fired with PROXY error code after the final uploadProgress event.
Adds a SWFUpload s... | zyhhdcms | trunk/xm/hdphp/org/swfupload250/swfupload/swfupload.proxy.js | JavaScript | asf20 | 3,301 |
/*
Queue Plug-in
Features:
*Adds a cancelQueue() method for cancelling the entire queue.
*All queued files are uploaded when startUpload() is called.
*If false is returned from uploadComplete then the queue upload is stopped.
If false is not returned (strict comparison) then the queue upload is cont... | zyhhdcms | trunk/xm/hdphp/org/swfupload250/swfupload/swfupload.queue.js | JavaScript | asf20 | 3,504 |
/*
Speed Plug-in
Features:
*Adds several properties to the 'file' object indicated upload speed, time left, upload time, etc.
- currentSpeed -- String indicating the upload speed, bits per second
- averageSpeed -- Overall average upload speed, bits per second
- movingAverageSpeed -- Speed over ave... | zyhhdcms | trunk/xm/hdphp/org/swfupload250/swfupload/swfupload.speed.js | JavaScript | asf20 | 12,638 |
<?php
// This script accepts an ID and looks in the user's session for stored thumbnail data.
// It then streams the data to the browser as an image
// Work around the Flash Player Cookie Bug
if (isset($_POST["PHPSESSID"])) {
session_id($_POST["PHPSESSID"]);
}
session_start();
$image_id = isse... | zyhhdcms | trunk/xm/hdphp/org/swfupload250/thumbnail.php | PHP | asf20 | 783 |
/*
A simple class for displaying file information and progress
Note: This is a demonstration only and not part of SWFUpload.
Note: Some have had problems adapting this class in IE7. It may not be suitable for your application.
*/
// Constructor
// file is a SWFUpload file object
// targetID is the HTML elem... | zyhhdcms | trunk/xm/hdphp/org/swfupload250/js/fileprogress.js | JavaScript | asf20 | 6,754 |
<?php
C("debug", 0);
$file = urldecode($_POST["file"]);
$file = explode("@@@",$file);
if($file){
foreach ($file as $v) {
@unlink($v);
}
echo 1;
}else{
echo 0;
}
?> | zyhhdcms | trunk/xm/hdphp/org/swfupload250/hd_delfile.php | PHP | asf20 | 201 |
<?php
C("debug", 0);
$display_width = $_POST['upload_display_width'];
$display_height = $_POST['upload_display_height'];
$water_on = isset($_POST['water_on']) ? intval($_POST['water_on']) : C("WATER_ON");
$swfupload_size = $_POST['swfupload_size'];
$imagesize = $_POST['imagesize']; //图片上传大小
if ($imagesize) {
... | zyhhdcms | trunk/xm/hdphp/org/swfupload250/hd_upload.php | PHP | asf20 | 2,509 |
//上传成功
function uploadSuccess(file, serverData) {
var swfupload_id = file.id.substr(10,1);//第几个swfupload
eval("serverData="+serverData);
var file_upload=swfupload_file[swfupload_id];
file_upload.swfuobj.removeFileParam(file.index);
var str='';
for(var i in swfupload_file[swfupload_id]['sw... | zyhhdcms | trunk/xm/hdphp/org/swfupload250/hd_set.js | JavaScript | asf20 | 13,130 |
<script type="text/javascript">
//向军 houdunwang.com houdunwang@gmail.com
if(typeof swfupload=='undefined'){
swfupload_file=[];//记录添加或删除文件数据
}
$(function(){
var swfu;
var settings = {
flash_url : '<?php echo $swfupload_path; ?>/swfupload/swfupload.swf... | zyhhdcms | trunk/xm/hdphp/org/swfupload250/hd_set.php | PHP | asf20 | 3,437 |
///import core
/**
* @description 插入内容
* @name baidu.editor.execCommand
* @param {String} cmdName inserthtml插入内容的命令
* @param {String} html 要插入的内容
* @author zhanyi
*/
UE.commands['inserthtml'] = {
execCommand: function (command,html,notSerialize){
var... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/inserthtml.js | JavaScript | asf20 | 4,995 |
UE.commands['autosubmit'] = {
execCommand:function () {
var me=this,
form = domUtils.findParentByTagName(me.iframe,"form", false);
if (form) {
if(me.fireEvent("beforesubmit")===false) return;
me.sync();
form.submit();
}
}
}... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/autosubmit.js | JavaScript | asf20 | 321 |
///import core
///import plugins/serialize.js
///import plugins/undo.js
///commands 查看源码
///commandsName Source
///commandsTitle 查看源码
(function (){
function SourceFormater(config){
config = config || {};
this.indentChar = config.indentChar || ' ';
this.breakChar = config.break... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/source.js | JavaScript | asf20 | 13,279 |
///import core
///import plugins/inserthtml.js
///commands 插入代码
///commandsName HighlightCode
///commandsTitle 插入代码
///commandsDialog dialogs\code\code.html
UE.plugins['highlight'] = function() {
var me = this;
if(!/highlightcode/i.test(me.options.toolbars.join('')))return;
me.commands['highligh... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/highlight.js | JavaScript | asf20 | 7,507 |
///import core
///commands 修复chrome下图片不能点击的问题
///commandsName FixImgClick
///commandsTitle 修复chrome下图片不能点击的问题
//修复chrome下图片不能点击的问题
//todo 可以改大小
UE.plugins['fiximgclick'] = function() {
var me = this;
if ( browser.webkit ) {
me.addListener( 'click', function( type, e ) {
if ( e.target.tagNa... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/fiximgclick.js | JavaScript | asf20 | 566 |
///import core
///commands 查找替换
///commandsName SearchReplace
///commandsTitle 查询替换
///commandsDialog dialogs\searchreplace\searchreplace.html
/**
* @description 查找替换
* @author zhanyi
*/
UE.plugins['searchreplace'] = function(){
var currentRange,
first,
me = this;
me.addList... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/searchreplace.js | JavaScript | asf20 | 5,541 |
///import core
///commands 自定义样式
///commandsName CustomStyle
///commandsTitle 自定义样式
UE.plugins['customstyle'] = function() {
var me = this;
me.setOpt({ 'customstyle':[
{tag:'h1', label:'居中标题', style:'font-size:32px;font-weight:bold;line-height:38px;border-bottom:#ccc 2px solid;padding:0 4px 0 0... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/customstyle.js | JavaScript | asf20 | 6,323 |
///import core
///import plugins\inserthtml.js
///commands 插入框架
///commandsName InsertFrame
///commandsTitle 插入Iframe
///commandsDialog dialogs\insertframe\insertframe.html
UE.plugins['insertframe'] = function() {
var me =this;
function deleteIframe(){
me._iframe && delete me._iframe;
}
me.a... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/iframe.js | JavaScript | asf20 | 544 |
///import core
///commands 格式
///commandsName Paragraph
///commandsTitle 段落格式
/**
* 段落样式
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName paragraph插入段落执行命令
* @param {String} style 标签值为:'p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'
* @param {String} attrs ... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/paragraph.js | JavaScript | asf20 | 8,534 |
///import core
///commandsName attachment
///commandsTitle 附件上传
UE.commands["attachment"] = {
queryCommandState:function(){
return this.highlight ? -1 :0;
}
}; | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/attachment.js | JavaScript | asf20 | 192 |
///import core
///commands 定制过滤规则
///commandsName Serialize
///commandsTitle 定制过滤规则
UE.plugins['serialize'] = function () {
var ie = browser.ie,
version = browser.version;
function ptToPx(value){
return /pt/.test(value) ? value.replace( /([\d.]+)pt/g, function( str ) {
r... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/serialize.js | JavaScript | asf20 | 50,343 |
///import core
///commands 段落格式,居左,居右,居中,两端对齐
///commandsName JustifyLeft,JustifyCenter,JustifyRight,JustifyJustify
///commandsTitle 居左对齐,居中对齐,居右对齐,两端对齐
/**
* @description 居左右中
* @name baidu.editor.execCommand
* @param {String} cmdName justify执行对齐方式的命令
* @param {String} align 对齐方... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/justify.js | JavaScript | asf20 | 4,614 |
///import core
///commands 为非ie浏览器自动添加a标签
///commandsName AutoLink
///commandsTitle 自动增加链接
/**
* @description 为非ie浏览器自动添加a标签
* @author zhanyi
*/
UE.plugins['autolink'] = function() {
var cont = 0;
if (browser.ie) {
return;
}
var me = this;
me.ad... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/autolink.js | JavaScript | asf20 | 3,724 |
///import core
///import plugins\inserthtml.js
///commands 分割线
///commandsName Horizontal
///commandsTitle 分隔线
/**
* 分割线
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName horizontal插入分割线
*/
UE.commands['horizontal'] = {
execCommand : function( cmdName ) {
var ... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/horizontal.js | JavaScript | asf20 | 1,592 |
///import core
///commands 删除
///commandsName Delete
///commandsTitle 删除
/**
* 删除
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName delete删除
*/
UE.commands['delete'] = {
execCommand : function (){
var range = this.selection.getRange(),
mStart = 0... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/delete.js | JavaScript | asf20 | 3,345 |
///import core
///import plugins/inserthtml.js
///commands 视频
///commandsName InsertVideo
///commandsTitle 插入视频
///commandsDialog dialogs\video\video.html
UE.plugins['video'] = function (){
var me =this,
div;
/**
* 创建插入视频字符窜
* @param url 视频地址
* @param width 视频宽度
* @p... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/video.js | JavaScript | asf20 | 3,587 |
///import core
///commands 清除格式
///commandsName RemoveFormat
///commandsTitle 清除格式
/**
* @description 清除格式
* @name baidu.editor.execCommand
* @param {String} cmdName removeformat清除格式命令
* @param {String} tags 以逗号隔开的标签。如:span,a
* @param {String} style 样式
* @p... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/removeformat.js | JavaScript | asf20 | 7,753 |
///import core
///import plugins/undo.js
///commands 设置回车标签p或br
///commandsName EnterKey
///commandsTitle 设置回车标签p或br
/**
* @description 处理回车
* @author zhanyi
*/
UE.plugins['enterkey'] = function() {
var hTag,
me = this,
tag = me.options.enterTag;
me.addListener('keyup', functio... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/enterkey.js | JavaScript | asf20 | 6,771 |
///import core
///import plugins\inserthtml.js
///commands 特殊字符
///commandsName Spechars
///commandsTitle 特殊字符
///commandsDialog dialogs\spechars\spechars.html
UE.commands['spechars'] = {
queryCommandState : function(){
return this.highlight ? -1 :0;
}
};
| zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/spechars.js | JavaScript | asf20 | 302 |
///import core
///commands 加粗,斜体,上标,下标
///commandsName Bold,Italic,Subscript,Superscript
///commandsTitle 加粗,加斜,下标,上标
/**
* b u i等基础功能实现
* @function
* @name baidu.editor.execCommands
* @param {String} cmdName bold加粗。italic斜体。subscript上标。superscript下标。
*/
UE.plugins['basestyle'] = function(){
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/basestyle.js | JavaScript | asf20 | 4,421 |
///import core
///commands 表格
///commandsName InsertTable,DeleteTable,InsertParagraphBeforeTable,InsertRow,DeleteRow,InsertCol,DeleteCol,MergeCells,MergeRight,MergeDown,SplittoCells,SplittoRows,SplittoCols
///commandsTitle 表格,删除表格,表格前插行,前插入行,删除行,前插入列,删除列,合并多个单元格,右合并单元格,下合并单元格,完全拆分单元格,拆分成行,拆分成列
///commandsDialog ... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/table.js | JavaScript | asf20 | 62,807 |
///import core
///import plugins\paragraph.js
///commands 行间距
///commandsName LineHeight
///commandsTitle 行间距
/**
* @description 设置行内间距
* @name baidu.editor.execCommand
* @param {String} cmdName lineheight设置行内间距
* @param {String} value 值
* @author zhuwenxuan
*/
UE.plugins['l... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/lineheight.js | JavaScript | asf20 | 1,199 |
///import core
///commands 撤销和重做
///commandsName Undo,Redo
///commandsTitle 撤销,重做
/**
* @description 回退
* @author zhanyi
*/
UE.plugins['undo'] = function() {
var me = this,
maxUndoCount = me.options.maxUndoCount || 20,
maxInputCount = me.options.maxInputCount || 20,
fillchar ... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/undo.js | JavaScript | asf20 | 8,222 |
///import core
///commands 本地图片引导上传
///commandsName WordImage
///commandsTitle 本地图片引导上传
UE.plugins["wordimage"] = function(){
var me = this,
images;
me.commands['wordimage'] = {
execCommand : function() {
images = domUtils.getElementsByTagName(me.document.body,"img");
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/wordimage.js | JavaScript | asf20 | 970 |
///import core
///import plugins\removeformat.js
///commands 字体颜色,背景色,字号,字体,下划线,删除线
///commandsName ForeColor,BackColor,FontSize,FontFamily,Underline,StrikeThrough
///commandsTitle 字体颜色,背景色,字号,字体,下划线,删除线
/**
* @description 字体
* @name baidu.editor.execCommand
* @param {String} cmdName 执行的功能名称
* @pa... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/font.js | JavaScript | asf20 | 8,129 |
/**
* Created by JetBrains PhpStorm.
* User: taoqili
* Date: 12-5-7
* Time: 下午2:37
* To change this template use File | Settings | File Templates.
*/
UE.plugins['webapp'] = function () {
var me = this;
function createInsertStr( obj, toIframe, addParagraph ) {
return !toIframe ?
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/webapp.js | JavaScript | asf20 | 2,507 |
///import core
///commands 锚点
///commandsName Anchor
///commandsTitle 锚点
///commandsDialog dialogs\anchor\anchor.html
/**
* 锚点
* @function
* @name baidu.editor.execCommands
* @param {String} cmdName cmdName="anchor"插入锚点
*/
UE.commands['anchor'] = {
execCommand:function (cmd, name) {
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/anchor.js | JavaScript | asf20 | 1,245 |
///import core
///import plugins\inserthtml.js
///commands 日期,时间
///commandsName Date,Time
///commandsTitle 日期,时间
/**
* 插入日期
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName date插入日期
* @author zhuwenxuan
*/
/**
* 插入时间
* @function
* @name baidu.editor.execCommand
*... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/time.js | JavaScript | asf20 | 1,054 |
///import core
///commands 添加分页功能
///commandsName PageBreak
///commandsTitle 分页
/**
* @description 添加分页功能
* @author zhanyi
*/
UE.plugins['pagebreak'] = function () {
var me = this,
notBreakTags = ['td'];
function fillNode(node){
if(domUtils.isEmptyBlock(node)){
va... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/pagebreak.js | JavaScript | asf20 | 4,172 |
///import core
///import plugins\removeformat.js
///commands 格式刷
///commandsName FormatMatch
///commandsTitle 格式刷
/**
* 格式刷,只格式inline的
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName formatmatch执行格式刷
*/
UE.plugins['formatmatch'] = function(){
var me = this,
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/formatmatch.js | JavaScript | asf20 | 4,622 |
/*
* 处理特殊键的兼容性问题
*/
UE.plugins['keystrokes'] = function() {
var me = this,
flag = 0,
keys = domUtils.keys,
trans = {
'B' : 'strong',
'I' : 'em',
'FONT' : 'span'
},
sizeMap = [0, 10, 12, 16, 18, 24, 32, 48],
listStyle ... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/keystrokes.js | JavaScript | asf20 | 16,782 |
///import core
///import plugins\paragraph.js
///commands 首行缩进
///commandsName Outdent,Indent
///commandsTitle 取消缩进,首行缩进
/**
* 首行缩进
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName outdent取消缩进,indent缩进
*/
UE.commands['indent'] = {
execCommand : function() {
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/indent.js | JavaScript | asf20 | 837 |
///import core
///commandsName snapscreen
///commandsTitle 截屏
/**
* 截屏插件
*/
UE.commands['snapscreen'] = {
execCommand: function(){
var me = this;
me.setOpt({
snapscreenServerPort: 80 //屏幕截图的server端端口
,snapscreenImgAlign: ... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/snapscreen.js | JavaScript | asf20 | 2,018 |
///import core
///commands 当输入内容超过编辑器高度时,编辑器自动增高
///commandsName AutoHeight,autoHeightEnabled
///commandsTitle 自动增高
/**
* @description 自动伸展
* @author zhanyi
*/
UE.plugins['autoheight'] = function () {
var me = this;
//提供开关,就算加载也可以关闭
me.autoHeightEnabled = me.options.autoHeightEnabled !== fal... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/autoheight.js | JavaScript | asf20 | 3,100 |
///import core
///commands 引用
///commandsName BlockQuote
///commandsTitle 引用
/**
*
* 引用模块实现
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName blockquote引用
*/
(function() {
var getObj = function(editor){
// var startNode = editor.selection.getStart();
// ... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/blockquote.js | JavaScript | asf20 | 6,104 |
///import core
///commands 输入的方向
///commandsName DirectionalityLtr,DirectionalityRtl
///commandsTitle 从左向右输入,从右向左输入
/**
* 输入的方向
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName directionality执行函数的参数
* @param {String} forward ltr从左向右输入,rtl从右向左输入
*/
(function() {
v... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/directionality.js | JavaScript | asf20 | 4,948 |
///import core
///commands 打印
///commandsName Print
///commandsTitle 打印
/**
* @description 打印
* @name baidu.editor.execCommand
* @param {String} cmdName print打印编辑器内容
* @author zhanyi
*/
UE.commands['print'] = {
execCommand : function(){
this.window.print();
},
notNeedUnd... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/print.js | JavaScript | asf20 | 359 |
///import core
///commands 清空文档
///commandsName ClearDoc
///commandsTitle 清空文档
/**
*
* 清空文档
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName cleardoc清空文档
*/
UE.commands['cleardoc'] = {
execCommand : function( cmdName) {
var me = this,
enterTa... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/cleardoc.js | JavaScript | asf20 | 729 |
///import core
///commands 全选
///commandsName SelectAll
///commandsTitle 全选
/**
* 选中所有
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName selectall选中编辑器里的所有内容
* @author zhanyi
*/
UE.plugins['selectall'] = function(){
var me = this;
me.commands['selectall'] = {
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/selectall.js | JavaScript | asf20 | 978 |
///import core
///commands 右键菜单
///commandsName ContextMenu
///commandsTitle 右键菜单
/**
* 右键菜单
* @function
* @name baidu.editor.plugins.contextmenu
* @author zhanyi
*/
UE.plugins['contextmenu'] = function () {
var me = this,
menu,
items = me.options.contextMenu||[
{lab... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/contextmenu.js | JavaScript | asf20 | 8,866 |
///import core
///commands 预览
///commandsName Preview
///commandsTitle 预览
/**
* 预览
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName preview预览编辑器内容
*/
UE.commands['preview'] = {
execCommand : function(){
var me = this,
w = window.open(''... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/preview.js | JavaScript | asf20 | 2,124 |
///import core
///commands 字数统计
///commandsName WordCount,wordCount
///commandsTitle 字数统计
/**
* Created by JetBrains WebStorm.
* User: taoqili
* Date: 11-9-7
* Time: 下午8:18
* To change this template use File | Settings | File Templates.
*/
UE.plugins['wordcount'] = function(){
var me = this;
... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/wordcount.js | JavaScript | asf20 | 1,575 |
///import core
///commands 快捷键
///commandsName ShortCutKeys
///commandsTitle 快捷键
//配置快捷键
UE.plugins['shortcutkeys'] = function(){
var me = this,
shortcutkeys = {
"ctrl+66" : "Bold" ,//^B
"ctrl+90" : "Undo" ,//undo
"ctrl+89" : "Redo", //redo
"ctrl+73" : "Italic",... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/shortcutkeys.js | JavaScript | asf20 | 1,406 |
///import core
///commands 悬浮工具栏
///commandsName AutoFloat,autoFloatEnabled
///commandsTitle 悬浮工具栏
/*
* modified by chengchao01
*
* 注意: 引入此功能后,在IE6下会将body的背景图片覆盖掉!
*/
UE.plugins['autofloat'] = function() {
var me = this,
optsAutoFloatEnabled = me.options.autoFloatEnabled !== f... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/autofloat.js | JavaScript | asf20 | 5,258 |
///import core
///import plugins\paragraph.js
///commands 段间距
///commandsName RowSpacingBottom,RowSpacingTop
///commandsTitle 段间距
/**
* @description 设置段前距,段后距
* @name baidu.editor.execCommand
* @param {String} cmdName rowspacing设置段间距
* @param {String} value 值,以px为单位
* @param ... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/rowspacing.js | JavaScript | asf20 | 1,419 |
///import core
///import plugins\inserthtml.js
///import plugins\catchremoteimage.js
///commands 插入图片,操作图片的对齐方式
///commandsName InsertImage,ImageNone,ImageLeft,ImageRight,ImageCenter
///commandsTitle 图片,默认,居左,居右,居中
///commandsDialog dialogs\image\image.html
/**
* Created by .
* User: zhanyi
* for image
*/
UE.co... | zyhhdcms | trunk/xm/hdphp/org/ueditor/_src/plugins/image.js | JavaScript | asf20 | 8,043 |