解决开启验证IP的情况下管理员不能登录后台的问题和其他已知问题

This commit is contained in:
小胡
2024-07-24 23:06:07 +08:00
Unverified
parent e89120b828
commit 792fa38c3e
28 changed files with 77 additions and 73 deletions

View File

@@ -76,7 +76,7 @@
<script type="text/javascript" reload="1">
jQuery(document).ready(function(e) {
jQuery('#upload_from_edit_{$cid}_menu.tobody').removeClass('tobody').appendTo('body');
jQuery('#message_edit_{$cid}').TextAreaExpander(25,99999)
jQuery('#message_edit_{$cid}').TextAreaExpander(37,99999)
jQuery('#publish_submit_edit_{$cid}').click(function(){
var val=jQuery('#message_edit_{$cid}').val();
if(strlen(val)>0 && strlen(val)<1000){

View File

@@ -109,7 +109,7 @@ jQuery(document).ready(function(e) {
});
<!--{/if}-->
jQuery('#message_{$idtype}_{$id}').TextAreaExpander(25,99999);
jQuery('#message_{$idtype}_{$id}').TextAreaExpander(37,99999);
<!--{if $_GET[allowattach]>=2}-->
var attachextensions='{eval echo implode('|',$space[attachextensions]);}';
if(attachextensions=='') attachextensions="\.*$";

View File

@@ -73,7 +73,7 @@
ids:'caret,atwho',
url:'static/atwho/js/jquery.caret.js?{VERHASH},static/atwho/js/jquery.atwho.js?{VERHASH}'
},function(){
jQuery('#message_{$cid}').TextAreaExpander(25,99999);
jQuery('#message_{$cid}').TextAreaExpander(37,99999);
<!--{if $_GET[allowat]>0}-->
jQuery('#at_home_{$cid}').on('mousedown',function(){
document.getElementById('message_{$cid}').value+='@';