code
string
repo_name
string
path
string
language
string
license
string
size
int64
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Smarty strip modifier plugin * * Type: modifier<br> * Name: strip<br> * Purpose: Replace all repeated spaces, newlines, tabs * with a single space or supplied replacement string.<br> * Example: {$var|strip} {$var...
zylv
trunk/hdphp/org/smarty/libs/plugins/modifier.strip.php
PHP
asf20
742
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Smarty {cycle} function plugin * * Type: function<br> * Name: cycle<br> * Date: May 3, 2002<br> * Purpose: cycle through given values<br> * Input: * - name = name of cycle (optional) * - values = comma ...
zylv
trunk/hdphp/org/smarty/libs/plugins/function.cycle.php
PHP
asf20
3,192
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Smarty indent modifier plugin * * Type: modifier<br> * Name: indent<br> * Purpose: indent lines of text * @link http://smarty.php.net/manual/en/language.modifier.indent.php * indent (Smarty online manual) * @autho...
zylv
trunk/hdphp/org/smarty/libs/plugins/modifier.indent.php
PHP
asf20
567
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Smarty {html_radios} function plugin * * File: function.html_radios.php<br> * Type: function<br> * Name: html_radios<br> * Date: 24.Feb.2003<br> * Purpose: Prints out a list of radio input types<br> * Inp...
zylv
trunk/hdphp/org/smarty/libs/plugins/function.html_radios.php
PHP
asf20
4,841
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Smarty {assign} compiler function plugin * * Type: compiler function<br> * Name: assign<br> * Purpose: assign a value to a template variable * @link http://smarty.php.net/manual/en/language.custom.functions.php#LANGUAGE.FUNCT...
zylv
trunk/hdphp/org/smarty/libs/plugins/compiler.assign.php
PHP
asf20
1,123
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Smarty {html_table} function plugin * * Type: function<br> * Name: html_table<br> * Date: Feb 17, 2003<br> * Purpose: make an html table from an array of data<br> * Input:<br> * - loop = array to loop through ...
zylv
trunk/hdphp/org/smarty/libs/plugins/function.html_table.php
PHP
asf20
5,343
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Smarty {eval} function plugin * * Type: function<br> * Name: eval<br> * Purpose: evaluate a template variable as a template<br> * @link http://smarty.php.net/manual/en/language.function.eval.php {eval} * (Smarty onlin...
zylv
trunk/hdphp/org/smarty/libs/plugins/function.eval.php
PHP
asf20
1,014
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * write the compiled resource * * @param string $compile_path * @param string $compiled_content * @return true */ function smarty_core_write_compiled_resource($params, &$smarty) { if(!@is_writable($smarty->compile_dir)) { //...
zylv
trunk/hdphp/org/smarty/libs/internals/core.write_compiled_resource.php
PHP
asf20
1,081
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Handle insert tags * * @param array $args * @return string */ function smarty_core_run_insert_handler($params, &$smarty) { require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); if ($smarty->debugging) { $_params = ...
zylv
trunk/hdphp/org/smarty/libs/internals/core.run_insert_handler.php
PHP
asf20
2,656
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Smarty assign_smarty_interface core plugin * * Type: core<br> * Name: assign_smarty_interface<br> * Purpose: assign the $smarty interface variable * @param array Format: null * @param Smarty */ function smarty_core_assign_s...
zylv
trunk/hdphp/org/smarty/libs/internals/core.assign_smarty_interface.php
PHP
asf20
1,258
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * delete an automagically created file by name and id * * @param string $auto_base * @param string $auto_source * @param string $auto_id * @param integer $exp_time * @return boolean */ // $auto_base, $auto_source = null, $auto_id = n...
zylv
trunk/hdphp/org/smarty/libs/internals/core.rm_auto.php
PHP
asf20
2,286
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Load requested plugins * * @param array $plugins */ // $plugins function smarty_core_load_plugins($params, &$smarty) { foreach ($params['plugins'] as $_plugin_info) { list($_type, $_name, $_tpl_file, $_tpl_line, $_delayed...
zylv
trunk/hdphp/org/smarty/libs/internals/core.load_plugins.php
PHP
asf20
4,429
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * write out a file to disk * * @param string $filename * @param string $contents * @param boolean $create_dirs * @return boolean */ function smarty_core_write_file($params, &$smarty) { $_dirname = dirname($params['filename']); ...
zylv
trunk/hdphp/org/smarty/libs/internals/core.write_file.php
PHP
asf20
1,524
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * load a resource plugin * * @param string $type */ // $type function smarty_core_load_resource_plugin($params, &$smarty) { /* * Resource plugins are not quite like the other ones, so they are * handled differently. The fi...
zylv
trunk/hdphp/org/smarty/libs/internals/core.load_resource_plugin.php
PHP
asf20
2,147
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * assemble filepath of requested plugin * * @param string $type * @param string $name * @return string|false */ function smarty_core_assemble_plugin_filepath($params, &$smarty) { static $_filepaths_cache = array(); $_plugin_fil...
zylv
trunk/hdphp/org/smarty/libs/internals/core.assemble_plugin_filepath.php
PHP
asf20
1,949
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Replace nocache-tags by results of the corresponding non-cacheable * functions and return it * * @param string $compiled_tpl * @param string $cached_source * @return string */ function smarty_core_process_compiled_include($params, &...
zylv
trunk/hdphp/org/smarty/libs/internals/core.process_compiled_include.php
PHP
asf20
1,025
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * called for included php files within templates * * @param string $smarty_file * @param string $smarty_assign variable to assign the included template's * output into * @param boolean $smarty_once uses include_once if thi...
zylv
trunk/hdphp/org/smarty/libs/internals/core.smarty_include_php.php
PHP
asf20
1,602
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Get path to file from include_path * * @param string $file_path * @param string $new_file_path * @return boolean * @staticvar array|null */ // $file_path, &$new_file_path function smarty_core_get_include_path(&$params, &$smarty) {...
zylv
trunk/hdphp/org/smarty/libs/internals/core.get_include_path.php
PHP
asf20
1,002
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Prepend the cache information to the cache file * and write it * * @param string $tpl_file * @param string $cache_id * @param string $compile_id * @param string $results * @return true|null */ // $tpl_file, $cache_id, $compile_id...
zylv
trunk/hdphp/org/smarty/libs/internals/core.write_cache_file.php
PHP
asf20
3,647
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Smarty debug_console function plugin * * Type: core<br> * Name: display_debug_console<br> * Purpose: display the javascript debug console window * @param array Format: null * @param Smarty */ function smarty_core_display_de...
zylv
trunk/hdphp/org/smarty/libs/internals/core.display_debug_console.php
PHP
asf20
1,583
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * determines if a resource is secure or not. * * @param string $resource_type * @param string $resource_name * @return boolean */ // $resource_type, $resource_name function smarty_core_is_secure($params, &$smarty) { if (!$smarty-...
zylv
trunk/hdphp/org/smarty/libs/internals/core.is_secure.php
PHP
asf20
1,694
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * determines if a resource is trusted or not * * @param string $resource_type * @param string $resource_name * @return boolean */ // $resource_type, $resource_name function smarty_core_is_trusted($params, &$smarty) { $_smarty_tru...
zylv
trunk/hdphp/org/smarty/libs/internals/core.is_trusted.php
PHP
asf20
1,284
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Replace cached inserts with the actual results * * @param string $results * @return string */ function smarty_core_process_cached_inserts($params, &$smarty) { preg_match_all('!'.$smarty->_smarty_md5.'{insert_cache (.*)}'.$smarty->_...
zylv
trunk/hdphp/org/smarty/libs/internals/core.process_cached_inserts.php
PHP
asf20
2,464
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Extract non-cacheable parts out of compiled template and write it * * @param string $compile_path * @param string $template_compiled * @return boolean */ function smarty_core_write_compiled_include($params, &$smarty) { $_tag_star...
zylv
trunk/hdphp/org/smarty/libs/internals/core.write_compiled_include.php
PHP
asf20
3,130
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * read a cache file, determine if it needs to be * regenerated or not * * @param string $tpl_file * @param string $cache_id * @param string $compile_id * @param string $results * @return boolean */ // $tpl_file, $cache_id, $compile...
zylv
trunk/hdphp/org/smarty/libs/internals/core.read_cache_file.php
PHP
asf20
3,604
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * delete a dir recursively (level=0 -> keep root) * WARNING: no tests, it will try to remove what you tell it! * * @param string $dirname * @param integer $level * @param integer $exp_time * @return boolean */ // $dirname, $level = ...
zylv
trunk/hdphp/org/smarty/libs/internals/core.rmdir.php
PHP
asf20
1,444
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Retrieves PHP script resource * * sets $php_resource to the returned resource * @param string $resource * @param string $resource_type * @param $php_resource * @return boolean */ function smarty_core_get_php_resource(&$params, &$s...
zylv
trunk/hdphp/org/smarty/libs/internals/core.get_php_resource.php
PHP
asf20
2,467
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * create full directory structure * * @param string $dir */ // $dir function smarty_core_create_dir_structure($params, &$smarty) { if (!file_exists($params['dir'])) { $_open_basedir_ini = ini_get('open_basedir'); if...
zylv
trunk/hdphp/org/smarty/libs/internals/core.create_dir_structure.php
PHP
asf20
2,507
<?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Get seconds and microseconds * @return double */ function smarty_core_get_microtime($params, &$smarty) { $mtime = microtime(); $mtime = explode(" ", $mtime); $mtime = (double)($mtime[1]) + (double)($mtime[0]); return ($mt...
zylv
trunk/hdphp/org/smarty/libs/internals/core.get_microtime.php
PHP
asf20
360
<?php /** * Project: Smarty: the PHP compiling template engine * File: Smarty.class.php * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Li...
zylv
trunk/hdphp/org/smarty/libs/Smarty.class.php
PHP
asf20
63,600
{* Smarty *} {* debug.tpl, last updated version 2.1.0 *} {assign_debug_info} {capture assign=debug_output} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Smarty Debug Console</title> {literal} ...
zylv
trunk/hdphp/org/smarty/libs/debug.tpl
Smarty
asf20
3,562
<?php /** * Config_File class. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is d...
zylv
trunk/hdphp/org/smarty/libs/Config_File.class.php
PHP
asf20
12,914
<?php loadFile(HDPHP_PATH . '/libs/view/smarty/Smarty.class.php'); /** * 后盾网 http://www.houdunwang.com * Email:houdunwang@gmail.com * Encoding:UTF-8 * Created on:2011-12-1 15:20:54 * @author:向军 */ class smartyView extends Smarty { function __construct() { $this->template_dir = C("TPL_TELPLATE_PATH"...
zylv
trunk/hdphp/org/smarty/smartyView.class.php
PHP
asf20
674
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/quickformat/quickformat.js
JavaScript
asf20
2,070
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/insertfile/insertfile.js
JavaScript
asf20
4,445
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/map/map.js
JavaScript
asf20
4,932
<!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=fal...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/map/map.html
HTML
asf20
1,752
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/plainpaste/plainpaste.js
JavaScript
asf20
1,413
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/code/code.js
JavaScript
asf20
2,071
.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...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/code/prettify.css
CSS
asf20
973
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/multiimage/multiimage.js
JavaScript
asf20
51,968
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/lineheight/lineheight.js
JavaScript
asf20
1,181
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/emoticons/emoticons.js
JavaScript
asf20
4,058
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/baidumap/baidumap.js
JavaScript
asf20
2,646
<!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, geoco...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/baidumap/map.html
HTML
asf20
1,222
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/media/media.js
JavaScript
asf20
5,693
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/pagebreak/pagebreak.js
JavaScript
asf20
970
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/link/link.js
JavaScript
asf20
2,193
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/preview/preview.js
JavaScript
asf20
1,058
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/template/template.js
JavaScript
asf20
2,191
<!doctype html> <html> <head> <meta charset="utf-8" /> </head> <body> <h3> <img align="left" height="100" style="margin-right: 10px" width="100" />在此处输入标题 </h3> <p> 在此处输入内容 </p> </body> </html>
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/template/html/1.html
HTML
asf20
243
<!doctype html> <html> <head> <meta charset="utf-8" /> </head> <body> <p> 在此处输入内容 </p> <ol> <li> 描述1 </li> <li> 描述2 </li> <li> 描述3 </li> </ol> <p> 在此处输入内容 </p> <ul> <li> 描述1 </li> <li> 描述2 </li> <li> 描述3 </li> </ul> </body> </html...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/template/html/3.html
HTML
asf20
373
<!doctype html> <html> <head> <meta charset="utf-8" /> </head> <body> <h3> 标题 </h3> <table style="width:100%;" cellpadding="2" cellspacing="0" border="1"> <tbody> <tr> <td> <h3>标题1</h3> </td> <td> <h3>标题1</h3> </td> </tr> <tr> <td> 内容1 </td> ...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/template/html/2.html
HTML
asf20
539
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/filemanager/filemanager.js
JavaScript
asf20
7,157
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/anchor/anchor.js
JavaScript
asf20
1,513
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/clearhtml/clearhtml.js
JavaScript
asf20
1,185
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/image/image.js
JavaScript
asf20
11,121
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/wordpaste/wordpaste.js
JavaScript
asf20
1,663
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/flash/flash.js
JavaScript
asf20
5,297
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/plugins/table/table.js
JavaScript
asf20
24,076
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2012 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @website http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php * @version 4.1.2 (201...
zylv
trunk/hdphp/org/kindeditor-4.1.2/kindeditor.js
JavaScript
asf20
161,568
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/lang/zh_CN.js
JavaScript
asf20
8,388
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/lang/zh_TW.js
JavaScript
asf20
8,252
/******************************************************************************* * 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 ************************...
zylv
trunk/hdphp/org/kindeditor-4.1.2/lang/en.js
JavaScript
asf20
7,892
<?php C("debug", 0); $title = htmlspecialchars($_POST['pictitle'], ENT_QUOTES); $upload = new upload('', '', C("EDITOR_FILE_SIZE")); $uploadFile = $upload->upload(); $error = empty($upload->error) ? 0 : 1; $url = __ROOT__ . '/' . $uploadFile[0]['path']; if($error){ $json = array( "error"=>$error, "message...
zylv
trunk/hdphp/org/kindeditor-4.1.2/hd_upload.php
PHP
asf20
436
/* container */ .ke-container-qq { display: block; border: 1px solid #c3c3c3; background-color: #FFF; overflow: hidden; margin: 0; padding: 0; } /* toolbar */ .ke-container-qq .ke-toolbar { border-bottom: 1px solid #c3c3c3; background-color: #FFFFFF; padding: 2px 5px; text-align: left; overflo...
zylv
trunk/hdphp/org/kindeditor-4.1.2/themes/qq/qq.css
CSS
asf20
3,101
/* common */ .ke-inline-block { display: -moz-inline-stack; display: inline-block; vertical-align: middle; zoom: 1; *display: inline; } .ke-clearfix { zoom: 1; } .ke-clearfix:after { content: "."; display: block; clear: both; font-size: 0; height: 0; line-height: 0; visibility: hidden; }...
zylv
trunk/hdphp/org/kindeditor-4.1.2/themes/default/default.css
CSS
asf20
21,964
/* container */ .ke-container-simple { display: block; border: 1px solid #CCC; background-color: #FFF; overflow: hidden; } /* toolbar */ .ke-container-simple .ke-toolbar { border-bottom: 1px solid #CCC; background-color: #FFF; padding: 2px 5px; overflow: hidden; } .ke-container-simple .ke-toolbar ...
zylv
trunk/hdphp/org/kindeditor-4.1.2/themes/simple/simple.css
CSS
asf20
2,217
/* 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...
zylv
trunk/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...
zylv
trunk/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...
zylv
trunk/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...
zylv
trunk/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...
zylv
trunk/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...
zylv
trunk/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; } ?>
zylv
trunk/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) { ...
zylv
trunk/hdphp/org/swfupload250/hd_upload.php
PHP
asf20
2,034
//上传成功 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 serverData){ // ...
zylv
trunk/hdphp/org/swfupload250/hd_set.js
JavaScript
asf20
11,510
<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...
zylv
trunk/hdphp/org/swfupload250/hd_set.php
PHP
asf20
3,437
<?php /** * PHPMailer language file. * English Version */ $PHPMAILER_LANG = array(); $PHPMAILER_LANG['provide_address'] = 'You must provide at least one recipient email address.'; $PHPMAILER_LANG['mailer_not_supported'] = ' mailer is not supported.'; $PHPMAILER_LANG['execute'] = 'Could ...
zylv
trunk/hdphp/org/mail/language/phpmailer.lang-en.php
PHP
asf20
1,188
<?php set_time_limit(0); class PHPMailer { ///////////////////////////////////////////////// // PROPERTIES, PUBLIC ///////////////////////////////////////////////// /** * Email priority (1 = High, 3 = Normal, 5 = low). * @var int */ var $Priority = 3; /** * Se...
zylv
trunk/hdphp/org/mail/class.phpmailer.php
PHP
asf20
64,055
<?php /*~ class.smtp.php .---------------------------------------------------------------------------. | Software: PHPMailer - PHP email class | | Version: 2.0.4 | | Contact: via sourceforge.net support pages (also www.code...
zylv
trunk/hdphp/org/mail/class.smtp.php
PHP
asf20
31,376
///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...
zylv
trunk/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(); } } }...
zylv
trunk/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...
zylv
trunk/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...
zylv
trunk/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...
zylv
trunk/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...
zylv
trunk/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...
zylv
trunk/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...
zylv
trunk/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 ...
zylv
trunk/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; } };
zylv
trunk/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...
zylv
trunk/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 对齐方...
zylv
trunk/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...
zylv
trunk/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 ...
zylv
trunk/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...
zylv
trunk/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...
zylv
trunk/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...
zylv
trunk/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...
zylv
trunk/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; } };
zylv
trunk/hdphp/org/ueditor/_src/plugins/spechars.js
JavaScript
asf20
302