页面用力 o>﹏<o 加载中...

SRS附件管理 V4.1 beta1 For PJ3



插件名称:   SRS附件管理 V4.1 beta1 For PJ3
原 作 者:   夜空[DarkSky@SRS]
发布时间:   2009-03-01
版 本 号:   4.1
适用版本:   pj3 (pj2应该也没问题的)
修改源码:   是
MD5 验证:   F9A9B505C5C6AC1F25A4B065AAAA711C
下载地址:   点击下载点击下载此文件
插件演示:

插件简介:
这次修改比较少,只是去掉一个加水印的Bug,和增加水印的定位。  

v4.1更新内容:
1、去掉加水印是多了一个边框的Bug;
2、增加固定水印位置定位功能,九宫格位置自由选择;
就这么点改动……因为我就只是发现这些问题而已……

安装方法参照上一个版本就可以了:SRS附件管理 V4.0 beta1 For PJ3

 适应静态话的修改方法:
只要再静态话页面添加上更新附件信息的JS函数就可以了

Template/static.htm
在 </head> 前添加:

XML/HTML代码
  1. <script language="javascript">  
  2. //SRS附件管理 v4.0 beta2 Kan 2009-03-01   
  3. var SRSAttachXMLHttp={p:[],g:function(){for(var i=0;i<this.p.length;i++){if(this.p[i].readyState==0||this.p[i].readyState==4){return this.p[i];}}this.p[this.p.length]=this.c();return this.p[this.p.length-1];},c:function(){if(window.XMLHttpRequest){var o=new XMLHttpRequest();}else{var m=['MSXML2.XMLHTTP.5.0','MSXML2.XMLHTTP.4.0','MSXML2.XMLHTTP.3.0','MSXML2.XMLHTTP','Microsoft.XMLHTTP'];for(var n=0;n<m.length;n++){try{var o=new ActiveXObject(m[n]);break;}catch(e){}}}if(o.readyState==null){o.readyState=0;o.addEventListener("load",function(){o.readyState=4;if(typeof o.onreadystatechange=="function"){o.onreadystatechange();}},false);}return o;},sendReq:function(mt,u,d,b){var o=this.g();with(o){try{if(u.indexOf("?")>0){u+="randnum="+Math.random();}else{u+="?randnum="+Math.random();}open(mt,u,true);setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8');send(d);onreadystatechange=function(){if(o.readyState==4&&(o.status==200||o.status==304)){b(o.responseText);}}}catch(e){alert(e);}}}};   
  4. function getSRSAttach(id){   
  5. document.getElementById("SRSAttachCount"+id).innerHTML = '[<img src="Plugins/SRS_Attachment/srsaloading.gif" alt="下载文件" style="margin:0px 2px -4px 0px"/>附件信息Loading...]';   
  6. url="Plugins/SRS_Attachment/getSRSAttach.asp?id="+id;   
  7. SRSAttachXMLHttp.sendReq('GET',url,'',updateSRSAttMessage);   
  8. }function updateSRSAttMessage(str){   
  9. var SRSAttachArr=str.split("|");   
  10. document.getElementById("SRSAttachCount"+SRSAttachArr[0]).innerHTML=SRSAttachArr[1];}   
  11. </script>  

 




[本日志由 夜空寂灭 于 2009-03-20 11:50 PM 编辑]

文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags: SRS 附件 管理 插件 PJBLOG
相关日志:
评论: 371 | 引用: 0 | 查看次数: 15817
回复回复เว็บตรงพีจีสล็อต[2022-01-27 05:51 PM | 美国 | 成分分析 | del]
Howdy outstanding blog! Does running a blog like this take a lot of work?
I have virtually no knowledge of programming but I
had been hoping to start my own blog in the near future.
Anyways, if you have any ideas or tips for new blog owners please share.
I know this is off subject nevertheless I just wanted to
ask. Thank you!
回复回复툰코도메인[2022-01-27 03:57 AM | [未知IP0801] | 成分分析 | del]
This is the perfect blog foг anybody who wishes to understand this topic.

You understand a whole llot iits almost һard to argue with you (not that
І actually wіll need to…HaHa). You definitely pput a new spin on a subject that has been written about for a long time.
Great ѕtuff, just excellent!
回复回复툰코주소[2022-01-27 01:31 AM | IANA | 成分分析 | del]
I have been exploding for a little bit for any
high quality articles or blog pposts onn this sort of
area . Exploring in Yahoo I finally stumbled upon this site.
Studying this info So i am glad tto exhibit that I have a very excellent uncanny feeling I came upon exactly what
I needed. I most unquestionably will make certain to don?t overlook this web site and give it a glance regularly.
回复回复dasversunkenedorf.com[2022-01-26 08:38 AM | IANA | 成分分析 | del]
Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something.
I think that you can do with a few pics to drive the message home a little bit, but instead of
that, this is wonderful blog. A great read. I'll
certainly be back.
回复回复anwar-alawlaki.com[2022-01-26 07:48 AM | IANA | 成分分析 | del]
Hi there! This post couldn't be written any better!
Looking through this article reminds me of my previous roommate!
He always kept preaching about this. I'll forward this article
to him. Fairly certain he'll have a good read. Thanks for sharing!
回复回复exipure[2022-01-25 09:54 AM | IANA | 成分分析 | del]
Awesome blog! Do you have any helpful hints for aspiring writers?
I'm hoping to start my own website soon but I'm a little lost
on everything. Would you propose starting with a free platform like Woddpress or go for a paid
option? There are so many options out there that I'm totally overwhelmed ..

Any suggestions? Thanks a lot!
回复回复Selina[2022-01-25 04:57 AM | 江苏省 网通 | 成分分析 | del]
Hey! I just wanted to ask if you ever have any problems
with hackers? My last blog (wordpress) was hacked and I ended up losing months oof hard work due to
no backup. Do you have any solutions to protect against hackers?
回复回复툰코주소[2022-01-24 02:34 PM | IANA | 成分分析 | del]
I visited sеverɑl blogs except the audio quality foг audiо sоng current at this website is truly superb.
回复回复www.ja-rrr.com[2022-01-23 01:41 AM | [未知IP0801] | 成分分析 | del]
Hi there, I read your new stuff on a regular basis. Your story-telling style
is awesome, keep up the good work!
回复回复lillyshummus.com[2022-01-21 04:52 PM | [未知IP0801] | 成分分析 | del]
When someone writes an paragraph he/she retains the plan of
a user in his/her brain that how a user can know it. So that's why this paragraph is perfect.
Thanks!
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: = 4 + 5
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 1000 字 | UBB代码 开启 | [img]标签 关闭