发布v2.5.5版本

This commit is contained in:
雨中磐石
2023-04-05 13:00:20 +08:00
parent bc69541c7b
commit 33ce4c6298
102 changed files with 570 additions and 280 deletions

View File

@@ -67,6 +67,7 @@ class beifenClassAction extends Action
if(getconfig('systype')=='demo')exit('演示请勿操作');
$rows = array();
$folder = $this->post('folder');
$folder = str_replace('../','', $folder);
$path = ''.UPDIR.'/data/'.$folder.'';
$carr = c('file')->getfilerows($path);
foreach($carr as $k=>$rs){

View File

@@ -369,7 +369,7 @@ return array(
if(getconfig('systype')=='demo')return '演示不要改';
$stype = (int)$this->post('stype','0');
$msg = 'ok';
if($stype==0)$msg = $this->saveconfig('title,imgcompress,watertype,video_bool,flowchehuitime,saasmode,hoemtimeout,usercache',',video_bool,');
if($stype==0)$msg = $this->saveconfig('title,imgcompress,watertype,video_bool,flowchehuitime,saasmode,hoemtimeout,usercache,xiangrecord',',video_bool,');
return $msg;
}

View File

@@ -168,6 +168,9 @@ $(document).ready(function(){
<tr><td align="right" style="color:gray">读取人员本地缓存方式:</td><td><select style="width:200px" name="usercache" class="form-control"><option value="">默认本地浏览器缓存</option><option <?php if(getconfig('usercache')=='1')echo 'selected';?> value="1">不缓存本地浏览器</option></select></td></tr>
<tr><td height="10"></td></tr>
<tr><td align="right" style="color:gray">详情页处理记录:</td><td><select style="width:200px" name="xiangrecord" class="form-control"><option value="">默认是关闭的</option><option <?php if(getconfig('xiangrecord')=='1')echo 'selected';?> value="1">展开处理记录</option></select></td></tr>
<tr><td height="10"></td></tr>
<tr>
<td align="right"></td>
<td align="left"><button click="savecog,0" class="btn btn-success" type="button"><i class="icon-save"></i>&nbsp;保存</button>&nbsp;<span id="msgview0_{rand}"></span>

View File

@@ -19,6 +19,7 @@ $(document).ready(function(){
if(v=='0')s='预览';
if(v=='1')s='下载';
if(v=='2')s='在线编辑';
if(v=='3')s='引入';
return s;
}
},{

View File

@@ -1,7 +1,7 @@
<?php
class menuClassAction extends Action
{
public $rows,$alldata;
public function dataAjax()
{
$this->rows = array();

View File

@@ -0,0 +1 @@
<div style="font-size:30px;padding:100px">信呼的企业微信模块,需要购买,去<a href="http://www.rockoa.com/view_weixinqy.html" target="_blank" style="font-size:30px">【看看】</a></div>

View File

@@ -0,0 +1 @@
<div style="font-size:30px;padding:100px">信呼的企业微信模块,需要购买,去<a href="http://www.rockoa.com/view_weixinqy.html" target="_blank" style="font-size:30px">【看看】</a></div>

View File

@@ -0,0 +1 @@
<div style="font-size:30px;padding:100px">信呼的企业微信模块,需要购买,去<a href="http://www.rockoa.com/view_weixinqy.html" target="_blank" style="font-size:30px">【看看】</a></div>

View File

@@ -0,0 +1 @@
<div style="font-size:30px;padding:100px">信呼的企业微信模块,需要购买,去<a href="http://www.rockoa.com/view_weixinqy.html" target="_blank" style="font-size:30px">【看看】</a></div>

View File

@@ -1,6 +1,7 @@
<?php
class sysfileClassAction extends Action
{
public $notedit,$isdelmu;
public function initAction()
{
$this->isdelmu = array(''.UPDIR.'/logs', ''.UPDIR.'/sqllog',''.UPDIR.'/cache', ''.UPDIR.'/data/'.(date('Y')-1).'');

View File

@@ -106,12 +106,7 @@ $(document).ready(function(){
var url='task.php?m='+ase[0]+'|runt&a='+ase[1]+'&runid='+a.changeid+'';
js.ajax(url,{},function(s){
if(s.indexOf('success')>=0){
if(s!='success'){
js.msg();
js.alert(jm.base64decode('6L!Q6KGM5oiQ5Yqf77yM6ICM5L2g5Y!v6IO955So6K6w5LqL5pys5L!u5pS557O757uf5paH5Lu25LqG77yM6K!35Yiw5L!h5ZG85a6Y572R5pCc57Si4oCc6K6w5LqL5pys4oCd5p!l55yL5biu5Yqp'));
}else{
js.msg('success','运行成功');
}
js.msg('success','运行成功');
a.reload();
}else{
js.msg('msg','运行失败:'+s+'');

File diff suppressed because one or more lines are too long

View File

@@ -24,14 +24,18 @@ $(document).ready(function(){
},{
text:'',dataIndex:'opt',renderer:function(v,d,oi){
if(d.ishui=='1')return '已删';
return '<a href="javascript:;" onclick="showvies{rand}('+oi+',0)">预览</a>&nbsp;<a href="javascript:;" onclick="showvies{rand}('+oi+',1)"><i class="icon-arrow-down"></i></a>';
var str = '<a href="javascript:;" onclick="showvies{rand}('+oi+',0)">预览</a>&nbsp;<a href="javascript:;" onclick="showvies{rand}('+oi+',1)"><i class="icon-arrow-down"></i></a>';
if(c.atype=='shatewfx')str+='&nbsp;<a href="javascript:;" title="取消共享" onclick="showvies{rand}('+oi+',2)"><i class="icon-remove-circle"></i></a>';
return str;
}
}]
});
showvies{rand}=function(oi,lx){
var d=a.getData(oi);
if(lx==1){
js.downshow(d.fileid)
js.downshow(d.fileid);
}else if(lx==2){
c.cancelshate(d.id, false);
}else{
js.yulanfile(d.fileid,d.fileext,d.filepath,d.filename);
}
@@ -47,11 +51,23 @@ $(document).ready(function(){
$("button[id^='state{rand}']").removeClass('active');
$('#state{rand}_'+lx+'').addClass('active');
var as = ['shateall','shatewfx'];
this.atype = as[lx];
a.setparams({'atype':as[lx]},true);
},
search:function(){
var s=get('key_{rand}').value;
a.setparams({key:s},true);
},
cancelshate:function(id1,bxs){
if(!bxs){
js.confirm('确定要取消共享此文件吗?', function(jg){
if(jg=='yes')c.cancelshate(id1, true);
});
}else{
js.ajax(publicmodeurl('worc','sharefile'),{'ids':id1},function(s){
a.reload();
},'post',false, '取消共享中...,取消成功');
}
}
};
js.initbtn(c);