Browse Source

Merge pull request #15 from dedetech/dev

验证码目录结构调整
tags/6.0.0
llgoer GitHub 3 years ago
parent
commit
9ba7c70dac
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 20 additions and 21 deletions
  1. +2
    -2
      src/templets/default/ajaxfeedback.htm
  2. +3
    -3
      src/templets/default/ajaxfeedback2.htm
  3. +1
    -1
      src/templets/default/article_default_sg.htm
  4. +1
    -1
      src/templets/default/article_image_new.htm
  5. +2
    -2
      src/templets/default/index.htm
  6. +2
    -2
      src/templets/plus/carbuyaction.htm
  7. +1
    -1
      src/templets/plus/comments_frame.htm
  8. +1
    -1
      src/templets/plus/feedback_confirm.htm
  9. +1
    -1
      src/templets/plus/feedback_quote.htm
  10. +1
    -1
      src/templets/plus/feedback_quote_ajax.htm
  11. +2
    -3
      src/templets/plus/feedback_templet.htm
  12. +1
    -1
      src/templets/plus/flink-add.htm
  13. +1
    -1
      src/templets/plus/guestbook-user.htm
  14. +1
    -1
      src/templets/plus/guestbook.htm

+ 2
- 2
src/templets/default/ajaxfeedback.htm View File

@@ -41,7 +41,7 @@
<div class="dcmp-post"><!--未登陆-->
<div class="dcmp-userinfo" id="_ajax_feedback">
用户名:<input type="text" name="username" size="16" class="ipt-txt" style="text-transform: uppercase;"/>
验证码:<input type="text" name="validate" size="4" class="ipt-txt" style="text-transform:uppercase;"/><img src= "{dede:global.cfg_cmspath/}/include/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src=this.src+\'?\'" title="点击我更换图片" alt="点击我更换图片" />
验证码:<input type="text" name="validate" size="4" class="ipt-txt" style="text-transform:uppercase;"/><img src= "{dede:global.cfg_cmspath/}/plus/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src=this.src+\'?\'" title="点击我更换图片" alt="点击我更换图片" />
<input type="checkbox" name="notuser" id="dcmp-submit-guest" /><label for="dcmp-submit-guest" />匿名? </label>
</div>
{dede:php}
@@ -145,7 +145,7 @@ function PostComment()
f.fid.value = 0;
if(f.validate)
{
if($DE('validateimg')) $DE('validateimg').src = "{dede:global.cfg_cmsurl/}/include/vdimgck.php?"+f.validate.value;
if($DE('validateimg')) $DE('validateimg').src = "{dede:global.cfg_cmsurl/}/plus/vdimgck.php?"+f.validate.value;
f.validate.value = '';
}
}


+ 3
- 3
src/templets/default/ajaxfeedback2.htm View File

@@ -46,7 +46,7 @@
if(preg_match("/4/",$safe_gdopen)){
echo '验证码:
<input type="text" name="validate" size="4" class="ipt-txt" style="text-transform:uppercase;"/>
<img src= "'.$cfg_cmspath.'/include/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src=this.src+\'?\'" title="点击我更换图片" alt="点击我更换图片" class="vdimg"/>';
<img src= "'.$cfg_cmspath.'/plus/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src=this.src+\'?\'" title="点击我更换图片" alt="点击我更换图片" class="vdimg"/>';
}
{/dede:php}
<input type="checkbox" name="notuser" id="dcmp-submit-guest" />
@@ -159,7 +159,7 @@ function PostComment()
f.fid.value = 0;
if(f.validate)
{
if($DE('validateimg')) $DE('validateimg').src = "{dede:global.cfg_cmsurl/}/include/vdimgck.php?"+f.validate.value;
if($DE('validateimg')) $DE('validateimg').src = "{dede:global.cfg_cmsurl/}/plus/vdimgck.php?"+f.validate.value;
f.validate.value = '';
}
@@ -190,7 +190,7 @@ function ajaxFeedback(aid, fid, type)
eval(formname);
if(f.validate)
{
if($DE('vdimg_'+fid)) $DE('vdimg_'+fid).src = "{dede:global.cfg_cmsurl/}/include/vdimgck.php?"+f.validate.value;
if($DE('vdimg_'+fid)) $DE('vdimg_'+fid).src = "{dede:global.cfg_cmsurl/}/plus/vdimgck.php?"+f.validate.value;
f.validate.value = '';
}


+ 1
- 1
src/templets/default/article_default_sg.htm View File

@@ -134,7 +134,7 @@
<input name="pwd" type="password" size="16" class="ipt-txt" />
验证码:
<input type="text" name="validate" size="4" class="ipt-txt" style="text-transform: uppercase;"/>
<img src="{dede:global.cfg_cmsurl/}/include/vdimgck.php" />
<img src="{dede:global.cfg_cmsurl/}/plus/vdimgck.php" />
<input type="checkbox" name="notuser" id="dcmp-submit-guest" />
<label for="dcmp-submit-guest"> 匿名? </label>
</div>


+ 1
- 1
src/templets/default/article_image_new.htm View File

@@ -10,7 +10,7 @@
<link href="{dede:global.cfg_templets_skin/}/style/scroll.css" rel="stylesheet" type="text/css" />
<meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}">
<script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script>
<script type="text/javascript" src="{dede:global.cfg_cmsurl/}/images/js/jquery.min.js"></script>
<script type="text/javascript" src="{dede:global.cfg_cmsurl/}/static/js/jquery.min.js"></script>
<script type="text/javascript" src="{dede:global.cfg_templets_skin/}/js/jcarousellite.js"></script>
<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script>
<script language="javascript" type="text/javascript">


+ 2
- 2
src/templets/default/index.htm View File

@@ -9,7 +9,7 @@
<meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/index.php">
<script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/index.php";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script>
<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script>
<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmspath/}/images/js/jquery.min.js" ></script>
<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmspath/}/static/js/jquery.min.js" ></script>
<script language="javascript" type="text/javascript" src="{dede:global.cfg_templets_skin/}/js/pic_scroll.js"></script>
<script language="javascript" type="text/javascript">
<!--
@@ -184,7 +184,7 @@ document.write('<embed src="{dede:global.cfg_templeturl /}/default/images/bcastr
echo '
<div class="fb"><span>验证码:</span>
<input type="text" name="vdcode" size="8" class="ipt-txt" />
<img id="vdimgck" align="absmiddle" onClick="this.src=this.src+\'?\'" style="cursor:pointer;margin-left:0px;text-transform:uppercase;" alt="看不清?点击更换" src="'.$cfg_cmspath.'/include/vdimgck.php"/></div>
<img id="vdimgck" align="absmiddle" onClick="this.src=this.src+\'?\'" style="cursor:pointer;margin-left:0px;text-transform:uppercase;" alt="看不清?点击更换" src="'.$cfg_cmspath.'/plus/vdimgck.php"/></div>
';
}
{/dede:php}


+ 2
- 2
src/templets/plus/carbuyaction.htm View File

@@ -168,7 +168,7 @@
<td width="180" class="td1">验证码</td>
<td><a name="mate_vdimgck" />
<input name="vdcode" id="vdcode" type="text" class="ipt-txt" size="10" style="text-transform:uppercase;" />
<a href="#mate_vdimgck"><img id="vdimgck_img" src="../include/vdimgck.php" hspace="6" align="absmiddle" onClick="vdimgck();" title="看不清换一张" /></a> <a href="#mate_vdimgck" onClick="vdimgck();">看不清换一张</a></td>
<a href="#mate_vdimgck"><img id="vdimgck_img" src="../plus/vdimgck.php" hspace="6" align="absmiddle" onClick="vdimgck();" title="看不清换一张" /></a> <a href="#mate_vdimgck" onClick="vdimgck();">看不清换一张</a></td>
</tr>
</tbody>
<tfoot>
@@ -183,7 +183,7 @@
<script language="JavaScript" type="text/javascript">
function vdimgck()
{
document.getElementById("vdimgck_img").src = '../include/vdimgck.php?'+Math.random();
document.getElementById("vdimgck_img").src = '../plus/vdimgck.php?'+Math.random();
}
</script>
{dede:include filename="../default/footer.htm"/}


+ 1
- 1
src/templets/plus/comments_frame.htm View File

@@ -138,7 +138,7 @@ function postBadGood(ftype,fid)
<div class="dcmp-userinfo" id="_ajax_feedback">
用户名:<input type="text" name="username" size="16" class="ipt-txt" />
密码:<input name="pwd" type="password" size="16" class="ipt-txt" />
验证码:<input type="text" name="validate" size="4" class="ipt-txt" style="text-transform: uppercase;"/><img src="{dede:global.cfg_cmsurl/}/include/vdimgck.php" />
验证码:<input type="text" name="validate" size="4" class="ipt-txt" style="text-transform: uppercase;"/><img src="{dede:global.cfg_cmsurl/}/plus/vdimgck.php" />
<input type="checkbox" name="notuser" id="dcmp-submit-guest" /><label for="dcmp-submit-guest"> 匿名? </label>
</div>
<script language="javascript" type="text/javascript">CheckLogin();</script>


+ 1
- 1
src/templets/plus/feedback_confirm.htm View File

@@ -158,7 +158,7 @@ function postBadGood(ftype,fid)
匿名评论
<?php if(preg_match("/4/",$safe_gdopen)){ ?>
验证码:<input name="validate" type="text" id="validate" size="10" style="height:18px;width:60px;margin-right:6px;text-transform: uppercase;" class="nb" />
<img src='../include/vdimgck.php' width='60' height='24' />
<img src='../plus/vdimgck.php' width='60' height='24' />
<?php } ?>
<button type="button" onClick='javascript:if(document.feedback.msg.value!="") document.feedback.submit(); else alert("评论内容不能为空!");' class="btn-2">发表评论</button>


+ 1
- 1
src/templets/plus/feedback_quote.htm View File

@@ -110,7 +110,7 @@
匿名评论
<?php if(preg_match("/4/",$safe_gdopen)){ ?>
验证码:<input name="validate" type="text" id="validate" size="10" style="height:18px;width:60px;margin-right:6px;text-transform: uppercase;" class="nb" />
<img src='../include/vdimgck.php' width='60' height='24' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" />
<img src='../plus/vdimgck.php' width='60' height='24' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" />
<?php } ?>
<button type="button" class="btn-2" onClick='javascript:if(document.feedback.msg.value!="") document.feedback.submit(); else alert("评论内容不能为空!");'>发表评论</button>


+ 1
- 1
src/templets/plus/feedback_quote_ajax.htm View File

@@ -44,7 +44,7 @@
<?php if(preg_match("/4/",$safe_gdopen)){ ?>
验证码:
<input name="validate" type="text" id="validate" size="10" style="height:18px;width:36px;margin-right:6px;text-transform: uppercase;" class="nb" />
<img src='{dede:global.cfg_cmsurl/}/include/vdimgck.php' width='60' height='24' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" id="vdimg_<?php echo $row['id']; ?>"/>
<img src='{dede:global.cfg_cmsurl/}/plus/vdimgck.php' width='60' height='24' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" id="vdimg_<?php echo $row['id']; ?>"/>
<?php } ?>
<button type="button" class="btn-2" onClick='javascript:if(CKEDITOR.instances.msg_<?php echo $row['id']; ?>.getData()!="") ajaxQuotePost(<?php echo $row['id']; ?>); else alert("评论内容不能为空!");'>发表评论</button>
</div>


+ 2
- 3
src/templets/plus/feedback_templet.htm View File

@@ -63,7 +63,7 @@ function ajaxFeedback(aid, fid, type)
eval(formname);
if(f.validate)
{
if($DE('vdimg_'+fid)) $DE('vdimg_'+fid).src = "{dede:global.cfg_cmsurl/}/include/vdimgck.php?"+f.validate.value;
if($DE('vdimg_'+fid)) $DE('vdimg_'+fid).src = "{dede:global.cfg_cmsurl/}/plus/vdimgck.php?"+f.validate.value;
f.validate.value = '';
}
@@ -230,7 +230,6 @@ function ajaxQuotePost(fid)
window.CKEDITOR_BASEPATH='{dede:global.cfg_cmsurl/}/include/ckeditor/';
//]]>
</script>
<script type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/ckeditor/ckeditor.js?t=B8DJ5M3"></script>
{dede:php}
GetEditor('msg','',100,'Feedback','print','false',true);
{/dede:php}
@@ -250,7 +249,7 @@ function ajaxQuotePost(fid)
<?php if(preg_match("/4/",$safe_gdopen)){ ?>
验证码:
<input name="validate" type="text" id="validate" size="10" style="height:18px;width:60px;margin-right:6px;text-transform:uppercase;" class="nb" />
<img src='../include/vdimgck.php' width='60' height='24' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" />
<img src='../plus/vdimgck.php' width='60' height='24' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" />
<?php } ?>
<button type="submit" class="btn-2">发表评论</button>
</div>


+ 1
- 1
src/templets/plus/flink-add.htm View File

@@ -69,7 +69,7 @@
<td><table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="84"><input name="validate" type="text" id="vdcode2" size="10" class="ipt-txt" style="text-transform: uppercase;"></td>
<td width="116"><img src='../include/vdimgck.php' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" /></td>
<td width="116"><img src='../plus/vdimgck.php' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" /></td>
</tr>
</table></td>
</tr>


+ 1
- 1
src/templets/plus/guestbook-user.htm View File

@@ -95,7 +95,7 @@
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="70"><input name="validate" type="text" id="vdcode2" class="ipt-txt" style="width:60px;text-transform: uppercase;" /></td>
<td><img src='../include/vdimgck.php'/></td>
<td><img src='../plus/vdimgck.php'/></td>
</tr>
</table>
</td>


+ 1
- 1
src/templets/plus/guestbook.htm View File

@@ -153,7 +153,7 @@
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="70"><input name="validate" type="text" id="vdcode2" class="ipt-txt" style="width:60px;text-transform: uppercase;" /></td>
<td><img src='../include/vdimgck.php'/></td>
<td><img src='../plus/vdimgck.php'/></td>
</tr>
</table>
</td>


Loading…
Cancel
Save