如何为fckeditor 上传图片添加水印功能

如何为fckeditor 上传图片添加水印功能,第1张

第一文件修改,editor\dialog\fck_imagehtml,找到目录下的这个文件找到<span fckLang="DlgLnkUpload">Upload</span>
其后加入

<input type="checkbox" name="C1" value="ON"><span fckLang="DlgLnkUploadwm">WaterMark</span>
<input type="radio" value="V1" checked name="R1"><span fckLang="DlgLnkUploadwmtext">Text</span>
<input type="text" name="T1" size="20">
<input type="radio" value="V2" name="R1"><span fckLang="DlgLnkUploadwmpic">Picture</span>
第二文件修改,editor\filemanager\browser\default\frmuploadhtml,找到目录下这个文件找到documentgetElementById('eUploadMessage')innerHTML = 'Upload a new file in this folder' ;

换成

documentgetElementById('eUploadMessage')innerHTML = 'Upload' ;

找到<span id="eUploadMessage">Upload a new file in this folder</span><br>

换成

<span id="eUploadMessage">Upload</span>
<input type="checkbox" name="C1" value="ON">WaterMark
<input type="radio" value="V1" checked name="R1">Text
<input type="text" name="T1" size="20">
<input type="radio" value="V2" name="R1">Picture
<br>第三文件修改处,editor\filemanager\browser\default\connectors\php\commandsphp,找到这个文件找到
break ;
}
}
在其后加入,这里有两处,查找的时候要到最后一处的后面加入以下代码
if($_POST['C1']=="ON")
{
$watermark=1; //是否附加水印(1为加水印,其他为不加水印);
}
else
{
$watermark=2;
}
if($_POST['R1']=="V1")
{
$watertype=1; //水印类型(1为文字,2为)
}
else
{
$watertype=2;
}
if($_POST['T1']=="")
{
$waterstring= >

2013 Verifying Keys through Publicity and Communities of Trust: Quantifying Off-Axis Corroboration(利用公众和团体的信任校验密钥:进一步确定偏轴量) Eric Osterweil, Dan Massey, Danny McPherson, and Lixia ZhangIEEE Transactions on Parallel and Distributed Systems, 2013 Security Evaluation of a Control System Using Named Data Networking(对一个命名数据网络的控制系统时行安全评估)Victor Perez, Mevlut Turker Garip, Silas Lam, and Lixia ZhangEighth Workshop on Secure Network Protocols (NPSec), October 2013 NLSR: Named-data Link State Routing Protocol(NLSR:命名数据链路状态路由协议)A K M Mahmudul Hoque, Syed Obaid Amin, Adam Alyyan, Lan Wang, Beichuan Zhang, Lixia ZhangThe 3rd ACM SIGCOMM Workshop on Information-Centric Networking, August 2013 Video Streaming Over Named Data Networking(在命名数据网络上的视频系统)Derek Kulinski, Jeff Burke, and Lixia ZhangIEEE COMSOC MMTC E-Letter, July 2013 DoS & DDoS in Named Data Networking(在命名数据网络中的拒绝和分布式拒绝服务)Paolo Gasti, Gene Tsudik, Ersin Uzun, and Lixia ZhangInternational Conference on Computer Communications and Networks (ICCCN), July 2013 Interest Flooding Attack and Countermeasures in Named Data Networking(在命名网络中的)Alexander Afanasyev, Priya Mahadevan, Ilya Moiseenko, Ersin Uzun, and Lixia ZhangIFIP Networking 2013, May 2013 A Case for Stateful Forwarding Plane(一个状态转发策略的例子)C Yi, A Afanasyev, I Moiseenko, L Wang, B Zhang, and L ZhangComputer Communications: Information-Centric Networking Special Issue, 2013 Check-Repeat: A New Method of Measuring DNSSEC Validating Resolvers(检查重复:一个度量DNS安全正确解析的新方法)Yingdi Yu, Duane Wessels, Matt Larson, Lixia ZhangThe 5th IEEE International Traffic Monitoring and Analysis Workshop (TMA 2013) NDNJS: A JavaScript Client Library for Named Data Networking(NDNJS:一个命名数据网络的JavaScript客户端库)Wentao Shang, Jeff Thompson, Meki Cherkaoui, Jeff Burke, Lixia ZhangThe 2nd IEEE International Workshop on Emerging Design Choices in Name-Oriented Networking (NOMEN 2013) Vehicular Inter-Networking via Named Data(通过命名数实现车联网)Giulio Grassi, Davide Pesavento, Lucas Wang, Giovanni Pau, Rama Vuyyuru, Ryuji Wakikawa, Lixia ZhangACM HotMobile 2013 Poster 2012 Simple Virtual Aggregation (S-VA)(简单的虚拟聚合(S-VA))Robert Raszuk, J Heitz, A Lo, Lixia Zhang, Xiaohu XuRFC 6769, October 2011 Mobile Data Charging: New Attacks and Countermeasures,(移动数据装载:新的攻击和应对方法)Chunyi Peng, Chi-yu Li, Guan-hua Tu, Songwu Lu, Lixia ZhangACM CCS 2012 Supporting Military Communications with Named Data Networking: An Emulation Analysis(在命名数据网络下支持军事通信:一个模拟分析)Basil Etefia, Lixia Zhang, Mario GerlaIEEE MILCOM 2012 Adaptive Forwarding in Named Data Networking(命名数据网络中的自适应转发)Cheng Yi, Alex Afanasyev, Lan Wang, Beichuan Zhang, Lixia ZhangACM Computer Communication Reviews, July 2012 BGP Route Reflection Revisited(边界网关协议路由的重新审视和思考)Jong Han Park, Ricardo Oliveira, Shane Amante, Danny McPherson, Lixia ZhangIEEE Communications Magazine, July 2012 Rapid Traffic Information Dissemination Using Named Data(用命名数据快速进行流量信息分发)Lucas Wang, Alexander Afanasyev, Romain Kuntz, Rama Vuyyuru, Ryuji Wakikawa, Lixia ZhangMobiHoc Workshop on Emerging Name-Oriented Mobile Networking Design, June 2012 Explaining BGP Slow Table Transfers(解释边界网关协议慢表传送)Pei-chun Cheng, Jong Han Park, Keyur Patel, Shane Amante, Lixia Zhang32nd International Conference on Distributed Computing Systems (ICDCS), June 2012 Authority Server Selection of DNS Caching Resovler(DNS缓存解析的授权服务器选择)Yingdi Yu, Duane Wessels, Matt Larson, Lixia ZhangACM Computer Communication Reviews, April 2012 Data Naming in Vehicle-to-Vehicle Communications(在车辆通讯中的数据命名)Lucas Wang, Ryuji Wakikawa, Romain Kuntz, Rama Vuyyuru, Lixia ZhangINFOCOM 2012 Workshop on Emerging Design Choices in Name-Oriented Networking A Comparative Study of Architectural Impact on BGP Next-hop Diversity(一个架构对BGP下一跳影响的比较研究)Jong Han Park, Pei-chun Cheng, Shane Amante, Dorian Kim, Danny McPherson, Lixia Zhang15th IEEE Global Internet Symposium, March 2012 Named Data Networking for Military Communication Systems(一个军事通信系统的命名数据网络)Basil Etefia, Lixia Zhang2012 IEEE Aerospace Conference, March 2012 未完 以上参见


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zz/13454952.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-08-10
下一篇 2023-08-10

发表评论

登录后才能评论

评论列表(0条)

保存