version 4.33 release
|
@ -16,7 +16,6 @@
|
|||
- 代理穿透访问时部分界面乱码问题解决
|
||||
- 音乐播放器,选中多个右键播放时含有已存在播放列表文件时加入列表失败问题.
|
||||
|
||||
|
||||
### ver4.30 `2018/07/05`
|
||||
-----
|
||||
#### update:
|
||||
|
|
|
@ -118,7 +118,7 @@ class app extends Controller{
|
|||
}
|
||||
|
||||
public function getUrlTitle(){
|
||||
$html = url_request($this->in['url']);
|
||||
$html = curl_get_contents($this->in['url']);
|
||||
$result = match($html,"<title>(.*)<\/title>");
|
||||
if (strlen($result)>50) {
|
||||
$result = mb_substr($result,0,50,'utf-8');
|
||||
|
|
|
@ -157,6 +157,7 @@ class explorer extends Controller{
|
|||
show_json(LNG('create_error'),false);
|
||||
}
|
||||
}
|
||||
|
||||
public function mkdir(){
|
||||
$repeatType = 'skip';
|
||||
if(isset($this->in['repeat_type'])){
|
||||
|
@ -170,6 +171,7 @@ class explorer extends Controller{
|
|||
show_json(LNG('create_error'),false);
|
||||
}
|
||||
}
|
||||
|
||||
private function _mkdir($path){
|
||||
if(!$GLOBALS['isRoot']){
|
||||
//IIS6 解析漏洞 /a.php/2.jpg 得到解析
|
||||
|
@ -186,9 +188,11 @@ class explorer extends Controller{
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public function pathRname(){
|
||||
$rnameTo=_DIR($this->in['rnameTo']);
|
||||
if (file_exists_case($rnameTo)) {
|
||||
if (file_exists($rnameTo) &&
|
||||
strtolower($rnameTo) !== strtolower($this->path) ) {
|
||||
show_json(LNG('name_isexists'),false);
|
||||
}
|
||||
Hook::trigger("explorer.pathRnameBefore",$this->path,$rnameTo);
|
||||
|
@ -217,7 +221,7 @@ class explorer extends Controller{
|
|||
Hook::trigger("explorer.searchBefore",$this->path);
|
||||
$list = path_search(
|
||||
$this->path,
|
||||
iconv_system(rawurldecode($this->in['search'])),
|
||||
rawurldecode($this->in['search']),
|
||||
$isContent,$ext,$isCase);
|
||||
show_json(_DIR_OUT($list));
|
||||
}
|
||||
|
@ -464,7 +468,7 @@ class explorer extends Controller{
|
|||
|
||||
'public'=>array(
|
||||
'name' => $groupRootName,
|
||||
'menuType' => "menu-tree-group-root",
|
||||
'menuType' => "menu-tree-group-root menu-tree-group-public",
|
||||
'ext' => "group-public",
|
||||
'children' => $public,
|
||||
|
||||
|
@ -595,11 +599,13 @@ class explorer extends Controller{
|
|||
foreach($list as $key => $val){
|
||||
$groupPath = KOD_GROUP_PATH;
|
||||
$auth = systemMember::userAuthGroup($val['groupID']);
|
||||
$menuGroup = 'menu-tree-group';
|
||||
if($auth==false){//是否为该组内部成员
|
||||
$groupPath = KOD_GROUP_SHARE;
|
||||
$treeIcon = 'group-guest';
|
||||
}else{
|
||||
$treeIcon = 'group-self';
|
||||
$menuGroup .= " menu-tree-group-self";
|
||||
}
|
||||
$hasChildren = true;
|
||||
$userList = array();
|
||||
|
@ -616,7 +622,7 @@ class explorer extends Controller{
|
|||
'ext' => $treeIcon,
|
||||
'tree_icon' => $treeIcon,//request
|
||||
|
||||
'menuType' => "menu-tree-group",
|
||||
'menuType' => $menuGroup,
|
||||
'isParent' => $hasChildren
|
||||
);
|
||||
}
|
||||
|
@ -642,6 +648,8 @@ class explorer extends Controller{
|
|||
continue;
|
||||
}
|
||||
$pathThis = _DIR($val['path']);
|
||||
$GLOBALS['beforePathType'] = $GLOBALS['kodPathType'];
|
||||
$GLOBALS['kodBeforePathId']= $GLOBALS['kodPathId'];
|
||||
//不是自己目录的分享列表,不支持删除
|
||||
if( $GLOBALS['kodPathType'] == KOD_USER_SHARE &&
|
||||
$GLOBALS['kodPathId'] != $_SESSION['kodUser']['userID'] &&
|
||||
|
@ -652,11 +660,8 @@ class explorer extends Controller{
|
|||
$error++;
|
||||
continue;
|
||||
}
|
||||
//show_json($pathThis,false,file_exists($pathThis));
|
||||
|
||||
// 群组文件删除,移动到个人回收站。
|
||||
// $GLOBALS['kodPathType'] == KOD_GROUP_SHARE ||
|
||||
// $GLOBALS['kodPathType'] == KOD_GROUP_PATH ||
|
||||
if( $removeToRecycle !="1" ||
|
||||
$GLOBALS['kodPathType'] == KOD_USER_RECYCLE ){//回收站删除 or 共享删除等直接删除
|
||||
Hook::trigger("explorer.pathRemoveBefore",$pathThis);
|
||||
|
@ -669,10 +674,15 @@ class explorer extends Controller{
|
|||
}
|
||||
Hook::trigger("explorer.pathRemoveAfter",$pathThis);
|
||||
}else{
|
||||
$filename = $userRecycle.get_path_this($pathThis);
|
||||
$filename = get_filename_auto($filename,date('_H-i-s'),'folder_rename');//已存在则追加时间
|
||||
if (move_path($pathThis,$filename,'',$this->config['user']['fileRepeat'])) {
|
||||
//重置pathType等数据
|
||||
$GLOBALS['beforePathType'] = KOD_USER_SHARE;
|
||||
$GLOBALS['kodBeforePathId']= $_SESSION['kodUser']['userID'];
|
||||
|
||||
$autoPath = $userRecycle.get_path_this($pathThis);
|
||||
$autoPath = get_filename_auto($autoPath,date('_H-i-s'),'folder_rename');//已存在则追加时间
|
||||
if (move_path($pathThis,$autoPath,'',$this->config['user']['fileRepeat'])) {
|
||||
$success++;
|
||||
Hook::trigger("explorer.pathMoveAfter",$pathThis,$autoPath);
|
||||
}else{
|
||||
$error++;
|
||||
}
|
||||
|
@ -689,7 +699,6 @@ class explorer extends Controller{
|
|||
private function _clearTemp(){
|
||||
$path = iconv_system(USER_TEMP);
|
||||
$time = @filemtime($path);
|
||||
Hook::trigger("explorer.pathRemoveAfter",$path);
|
||||
if(time() - $time > 600){//10min without updload
|
||||
del_dir($path);
|
||||
mk_dir($path);
|
||||
|
@ -699,7 +708,9 @@ class explorer extends Controller{
|
|||
public function pathDeleteRecycle(){
|
||||
$userRecycle = iconv_system(USER_RECYCLE);
|
||||
if(!isset($this->in['dataArr'])){
|
||||
Hook::trigger("explorer.pathRemoveBefore",$userRecycle);
|
||||
if (!del_dir($userRecycle)) {
|
||||
Hook::trigger("explorer.pathRemoveAfter",$userRecycle);
|
||||
show_json(LNG('remove_fali'),false);
|
||||
}else{
|
||||
mkdir($userRecycle);
|
||||
|
@ -761,7 +772,7 @@ class explorer extends Controller{
|
|||
$success=0;$error=0;$data = array();
|
||||
foreach ($clipboard as $val) {
|
||||
$pathCopy = _DIR($val['path']);
|
||||
$filename = get_path_this($pathCopy);
|
||||
$filename = get_path_this($pathCopy);
|
||||
$autoPath = get_filename_auto($pathPast.$filename,'',$this->config['user']['fileRepeat']);
|
||||
|
||||
Hook::trigger("explorer.pathMoveBefore",$pathCopy,$autoPath);
|
||||
|
@ -791,18 +802,18 @@ class explorer extends Controller{
|
|||
$success=0;$error=0;$data = array();
|
||||
foreach ($clipboard as $val) {
|
||||
$pathCopy = _DIR($val['path']);
|
||||
_DIR($this->in['path']);//重置pathType等数据
|
||||
$filename = get_path_this($pathCopy);
|
||||
$autoPath = get_filename_auto($pathPast.$filename,'',$this->config['user']['fileRepeat']);
|
||||
|
||||
if ($this->in['filename_auto']==1 &&
|
||||
trim($autoPath,'/') == trim($pathCopy,'/')) {
|
||||
$autoPath = get_filename_auto($pathPast.$filename,'','folder_rename');
|
||||
}
|
||||
|
||||
Hook::trigger("explorer.pathMoveBefore",$pathCopy,$autoPath);
|
||||
Hook::trigger("explorer.pathCopyBefore",$pathCopy,$autoPath);
|
||||
if(copy_dir($pathCopy,$autoPath)){
|
||||
$success++;
|
||||
Hook::trigger("explorer.pathMoveAfter",$filename);
|
||||
Hook::trigger("explorer.pathCopyAfter",$autoPath);
|
||||
$data[] = _DIR_OUT(iconv_app($autoPath));
|
||||
}else{
|
||||
$error++;
|
||||
|
@ -857,8 +868,12 @@ class explorer extends Controller{
|
|||
show_json(LNG('clipboard_null'),false,$data);
|
||||
}
|
||||
for ($i=0; $i < $listNum; $i++) {
|
||||
$pathCopy = _DIR($clipboard[$i]['path']);
|
||||
_DIR($this->in['path']);//重置pathType等数据
|
||||
$pathCopy = _DIR($clipboard[$i]['path']);
|
||||
//重置pathType等数据;从回收站剪切出来不处理
|
||||
if($copyType == 'cute' && $GLOBALS['kodPathType'] == KOD_USER_RECYCLE){
|
||||
}else{
|
||||
_DIR($this->in['path']);//重置pathType等数据
|
||||
}
|
||||
$filename = get_path_this($pathCopy);
|
||||
$filenameOut = iconv_app($filename);
|
||||
if (!file_exists($pathCopy)){
|
||||
|
@ -872,11 +887,14 @@ class explorer extends Controller{
|
|||
}
|
||||
}
|
||||
$autoPath = get_filename_auto($pathPast.$filename,'',$this->config['user']['fileRepeat']);
|
||||
if($pathCopy == $autoPath){
|
||||
continue;//复制粘贴到原始位置
|
||||
}
|
||||
$filename = get_path_this($autoPath);
|
||||
if ($copyType == 'copy') {
|
||||
Hook::trigger("explorer.pathCopyBefore",$pathCopy,$autoPath);
|
||||
copy_dir($pathCopy,$autoPath);
|
||||
Hook::trigger("explorer.pathCopyAfter",$filename);
|
||||
Hook::trigger("explorer.pathCopyAfter",$autoPath);
|
||||
}else{
|
||||
Hook::trigger("explorer.pathMoveBefore",$pathCopy,$autoPath);
|
||||
move_path($pathCopy,$autoPath,'',$this->config['user']['fileRepeat']);
|
||||
|
@ -899,11 +917,8 @@ class explorer extends Controller{
|
|||
public function fileDownloadRemove(){
|
||||
$path = get_path_this(_DIR_CLEAR($this->in['path']));
|
||||
$path = iconv_system(USER_TEMP.$path);
|
||||
file_put_out($path,true);
|
||||
|
||||
Hook::trigger("explorer.pathRemoveBefore",$path,false);
|
||||
del_file($path);
|
||||
//Hook::trigger("explorer.pathRemoveAfter",$path);
|
||||
$fileName = substr(get_path_this($path),10);//前10个字符为随机前缀
|
||||
file_put_out($path,true,$fileName);
|
||||
}
|
||||
public function zipDownload(){
|
||||
$userTemp = iconv_system(USER_TEMP);
|
||||
|
@ -911,20 +926,21 @@ class explorer extends Controller{
|
|||
mkdir($userTemp);
|
||||
}else{//清除未删除的临时文件,一天前
|
||||
$list = path_list($userTemp,true,false);
|
||||
$maxTime = 3600*24;//自动清空一天前的缓存
|
||||
$maxTime = 3600*6;//自动清空一天前的缓存
|
||||
if ($list['fileList']>=1) {
|
||||
for ($i=0; $i < count($list['fileList']); $i++) {
|
||||
$createTime = $list['fileList'][$i]['mtime'];//最后修改时间
|
||||
$item = $list['fileList'][$i];
|
||||
$createTime = $item['mtime'];//最后修改时间
|
||||
if(time() - $createTime >$maxTime){
|
||||
del_file($list['fileList'][$i]['path'].$list['fileList'][$i]['name']);
|
||||
del_file($item['path'].$item['name']);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$zipFile = $this->zip($userTemp);
|
||||
$zipFile = $this->zip($userTemp,rand_string(9).'-',fasle);//下载文件夹删除;不检测和记录空间变更
|
||||
show_json(LNG('zip_success'),true,get_path_this($zipFile));
|
||||
}
|
||||
public function zip($zipPath=''){
|
||||
public function zip($zipPath='',$namePre = "",$checkSpaceChange = true){
|
||||
ignore_timeout();
|
||||
$zipList = json_decode($this->in['dataArr'],true);
|
||||
$listNum = count($zipList);
|
||||
|
@ -959,12 +975,12 @@ class explorer extends Controller{
|
|||
}else{
|
||||
$pathThisName=get_path_this(get_path_father($files[0]));
|
||||
}
|
||||
$zipname = $basicPath.$pathThisName.'.'.$fileType;
|
||||
$zipname = $basicPath.$namePre.$pathThisName.'.'.$fileType;
|
||||
$zipname = get_filename_auto($zipname,'',$this->config['user']['fileRepeat']);
|
||||
|
||||
Hook::trigger("explorer.zipBefore",$zipname);
|
||||
if($checkSpaceChange){Hook::trigger("explorer.zipBefore",$zipname);}
|
||||
$result = KodArchive::create($zipname,$files);
|
||||
Hook::trigger("explorer.zipAfter",$zipname);
|
||||
if($checkSpaceChange){Hook::trigger("explorer.zipAfter",$zipname);}
|
||||
if ($result == 0) {
|
||||
show_json("压缩失败!",false);
|
||||
}
|
||||
|
|
|
@ -383,7 +383,7 @@ class share extends Controller{
|
|||
$ext= trim($this->in['ext']);
|
||||
$list = path_search(
|
||||
$this->path,
|
||||
iconv_system(rawurldecode($this->in['search'])),
|
||||
rawurldecode($this->in['search']),
|
||||
$isContent,$ext,$isCase);
|
||||
|
||||
show_json(_DIR_OUT($list));
|
||||
|
|
|
@ -264,6 +264,10 @@ class systemMember extends Controller{
|
|||
}else{
|
||||
$userArray[] = $name;
|
||||
}
|
||||
$nickName = $name;
|
||||
if(isset($this->in['nickName'])){
|
||||
$nickName = trim(rawurldecode($this->in['nickName']));
|
||||
}
|
||||
|
||||
|
||||
//批量添加
|
||||
|
@ -277,7 +281,7 @@ class systemMember extends Controller{
|
|||
$userInfo = array(
|
||||
'userID' => $userID,
|
||||
'name' => $val,
|
||||
'nickName' => $this->in['nickName'],
|
||||
'nickName' => $nickName,
|
||||
'password' => md5($password),
|
||||
'role' => $this->in['role'],
|
||||
'config' => array('sizeMax' => floatval($this->in['sizeMax']),//M
|
||||
|
|
|
@ -129,7 +129,7 @@ function get_filesize($path){
|
|||
}
|
||||
|
||||
//文件是否存在,区分文件大小写
|
||||
function file_exists_case( $fileName){
|
||||
function file_exists_case( $fileName ){
|
||||
if(file_exists($fileName) === false){
|
||||
return false;
|
||||
}
|
||||
|
@ -140,8 +140,8 @@ function file_exists_case( $fileName){
|
|||
$array = preg_split("/\\\|\//", $fileName);
|
||||
$fileName = $array[ count( $array ) -1 ];
|
||||
}
|
||||
foreach($fileArray as $file ){
|
||||
if(preg_match("/{$fileName}/{$i}", $file)){
|
||||
foreach($fileArray as $file ){
|
||||
if(preg_match("/{$fileName}/i", $file)){
|
||||
$output = "{$directoryName}/{$fileName}";
|
||||
$status = true;
|
||||
break;
|
||||
|
@ -650,25 +650,91 @@ function recursion_dir($path,&$dir,&$file,$deepest=-1,$deep=0){
|
|||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* 借用临时文件方式对读写文件进行锁定标记
|
||||
*
|
||||
* fopen mode: http://www.w3school.com.cn/php/func_filesystem_fopen.asp
|
||||
* flock mode: http://www.w3school.com.cn/php/func_filesystem_flock.asp
|
||||
*/
|
||||
function file_lock($file,$open=true,$type='read',$timeout=5){
|
||||
clearstatcache();
|
||||
$lockFile = $file.'.'.$type.'.lock';
|
||||
$lockRead = $file.'.read.lock';
|
||||
$lockWrite = $file.'.write.lock';
|
||||
if(!$open){
|
||||
@unlink($lockFile);
|
||||
clearstatcache();
|
||||
return;
|
||||
}
|
||||
|
||||
$startTime = microtime(true);
|
||||
do{
|
||||
clearstatcache();
|
||||
$canLock = true;
|
||||
if( $type=='read' ){
|
||||
if( file_exists($lockWrite) ){
|
||||
$canLock = false;
|
||||
}
|
||||
}else if( $type=='write' ){
|
||||
if( file_exists($lockWrite) || file_exists($lockRead) ){
|
||||
$canLock = false;
|
||||
}
|
||||
}
|
||||
if(!$canLock){
|
||||
usleep(mt_rand(10, 50) * 1000);//10~50ms;
|
||||
}
|
||||
} while((!$canLock) && ((microtime(true) - $startTime) < $timeout ));
|
||||
$result = false;
|
||||
if($canLock){
|
||||
$result = file_put_contents($lockFile,time(),LOCK_EX);
|
||||
clearstatcache();
|
||||
$result = $result && file_exists($lockFile);
|
||||
//if(!$result){write_log($_GET['action'].';file not exists','test2');}
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
// 安全读取文件,避免并发下读取数据为空
|
||||
function file_read_safe1($file,$timeout = 5){
|
||||
if(file_lock($file,true,'read',$timeout)){
|
||||
$fp = @fopen($file, 'r');
|
||||
if(!$fp || !flock($fp, LOCK_EX)) return false;
|
||||
$result = fread($fp, filesize($file));
|
||||
flock($fp,LOCK_UN);fclose($fp);
|
||||
|
||||
file_lock($file,false,'read');
|
||||
return $result;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
// 安全读取文件,避免并发下读取数据为空
|
||||
function file_wirte_safe1($file,$buffer,$timeout=5){
|
||||
if(file_lock($file,true,'write',$timeout)){
|
||||
$result = @file_put_contents($file,$buffer,LOCK_EX);
|
||||
file_lock($file,false,'write');
|
||||
return $result;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
// 安全读取文件,避免并发下读取数据为空
|
||||
function file_read_safe($file,$timeout = 5){
|
||||
clearstatcache();
|
||||
//return file_read_safe1($file,$timeout);
|
||||
if(!$file || !file_exists($file)) return false;
|
||||
$fp = fopen($file, 'r+');
|
||||
$fp = @fopen($file, 'r');
|
||||
if(!$fp) return false;
|
||||
$startTime = microtime(true);
|
||||
do{
|
||||
$canWrite = flock($fp, LOCK_EX | LOCK_NB);//必须加上LOCK_NB,否则设置超时无效
|
||||
if(!$canWrite){
|
||||
usleep(round(mt_rand(0, 100) * 1000));//随机等待0~100ms
|
||||
$locked = flock($fp, LOCK_EX|LOCK_NB);//LOCK_EX|LOCK_NB
|
||||
if(!$locked){
|
||||
usleep(mt_rand(1, 50) * 1000);//1~50ms;
|
||||
}
|
||||
} while((!$canWrite) && ((microtime(true) - $startTime) < $timeout ));//设置超时时间
|
||||
if($canWrite){
|
||||
$result = "";
|
||||
while (!feof($fp)) {
|
||||
$result .= fread($fp, 409600);
|
||||
}
|
||||
flock($fp,LOCK_UN);fclose($fp);
|
||||
} while((!$locked) && ((microtime(true) - $startTime) < $timeout ));//设置超时时间
|
||||
if($locked && filesize($file) >=0 ){
|
||||
$result = @fread($fp, filesize($file));
|
||||
flock($fp,LOCK_UN);
|
||||
fclose($fp);
|
||||
return $result;
|
||||
}else{
|
||||
flock($fp,LOCK_UN);fclose($fp);
|
||||
|
@ -678,22 +744,32 @@ function file_read_safe($file,$timeout = 5){
|
|||
|
||||
// 安全读取文件,避免并发下读取数据为空
|
||||
function file_wirte_safe($file,$buffer,$timeout=5){
|
||||
//return file_wirte_safe1($file,$buffer,$timeout);
|
||||
clearstatcache();
|
||||
if(strlen($file) == 0 || !$file || !file_exists($file)) return false;
|
||||
$fp = fopen($file,'r+');
|
||||
$startTime = microtime(true);
|
||||
do{
|
||||
$canWrite = flock($fp, LOCK_EX | LOCK_NB);//必须加上LOCK_NB,否则设置超时无效
|
||||
if(!$canWrite){
|
||||
usleep(round(mt_rand(0, 100) * 1000));//随机等待0~100ms
|
||||
$locked = flock($fp, LOCK_EX);//LOCK_EX
|
||||
if(!$locked){
|
||||
usleep(mt_rand(1, 50) * 1000);//1~50ms;
|
||||
}
|
||||
} while((!$canWrite) && ((microtime(true) - $startTime) < $timeout ));//设置超时时间
|
||||
if($canWrite){
|
||||
ftruncate($fp,0);
|
||||
} while((!$locked) && ((microtime(true) - $startTime) < $timeout ) );//设置超时时间
|
||||
if($locked){
|
||||
$tempFile = $file.'.temp';
|
||||
$result = file_put_contents($tempFile,$buffer,LOCK_EX);//验证是否还能写入;避免磁盘空间满的情况
|
||||
if(!$result || !file_exists($tempFile) ){
|
||||
flock($fp,LOCK_UN);fclose($fp);
|
||||
return false;
|
||||
}
|
||||
@unlink($tempFile);
|
||||
|
||||
ftruncate($fp,0);
|
||||
rewind($fp);
|
||||
fwrite($fp,$buffer);
|
||||
$result = fwrite($fp,$buffer);
|
||||
flock($fp,LOCK_UN);fclose($fp);
|
||||
return true;
|
||||
clearstatcache();
|
||||
return $result;
|
||||
}else{
|
||||
flock($fp,LOCK_UN);fclose($fp);
|
||||
return false;
|
||||
|
@ -1035,6 +1111,7 @@ function file_put_out($file,$download=-1,$downFilename=false){
|
|||
header('Last-Modified: '.$time.' GMT');
|
||||
header("X-OutFileName: ".$filenameOutput);
|
||||
header("X-Powered-By: kodExplorer.");
|
||||
header("X-FileSize: ".$file_size);
|
||||
|
||||
//调用webserver下载
|
||||
$server = strtolower($_SERVER['SERVER_SOFTWARE']);
|
||||
|
|
|
@ -6,19 +6,19 @@ function checkExt($file){
|
|||
if (strstr($file,'<') || strstr($file,'>') || $file=='') {
|
||||
return 0;
|
||||
}
|
||||
$notAllow = $GLOBALS['auth']['extNotAllow'];
|
||||
|
||||
|
||||
//'php|phtml|phtm|pwml|asp|aspx|ascx|jsp|pl|htaccess|shtml|shtm'
|
||||
if(strstr($notAllow,'php')){
|
||||
$notAllow .= 'php|phtml|phtm|htaccess|pwml';
|
||||
}
|
||||
if( strstr($notAllow,'|htm') || strstr($notAllow,'htm|') ){
|
||||
$notAllow .= 'html|htm|shtml|shtm';
|
||||
}
|
||||
if( strstr($notAllow,'asp')){
|
||||
$notAllow .= 'asp|aspx|ascx|jsp|pl';
|
||||
}
|
||||
$notAllow = strtolower($GLOBALS['auth']['extNotAllow']);
|
||||
$extArr = explode('|',$notAllow);
|
||||
if(in_array('asp',$extArr)){
|
||||
$extArr = array_merge($extArr,array('aspx','ascx','pwml'));
|
||||
}
|
||||
if(in_array('php',$extArr)){
|
||||
$extArr = array_merge($extArr,array('phtml','phtm','htaccess','pwml'));
|
||||
}
|
||||
if(in_array('htm',$extArr) || in_array('html',$extArr)){
|
||||
$extArr = array_merge($extArr,array('html','shtml','shtm','html'));
|
||||
}
|
||||
foreach ($extArr as $current) {
|
||||
if ($current !== '' && stristr($file,'.'.$current)){//含有扩展名
|
||||
return 0;
|
||||
|
@ -351,12 +351,6 @@ function init_setting(){
|
|||
$roleGroup = FileCache::load($roleGroupFile);
|
||||
}
|
||||
$GLOBALS['config']['pathRoleGroup'] = $roleGroup;
|
||||
|
||||
//load user config
|
||||
$settingUser = BASIC_PATH.'config/setting_user.php';
|
||||
if (file_exists($settingUser)) {
|
||||
include($settingUser);
|
||||
}
|
||||
|
||||
if(is_array($GLOBALS['L'])){
|
||||
I18n::set($GLOBALS['L']);
|
||||
|
|
|
@ -60,7 +60,7 @@ function get_url_scheme($url){
|
|||
|
||||
function get_host() {
|
||||
//兼容子目录反向代理:只能是前端js通过cookie传入到后端进行处理
|
||||
if(isset($_COOKIE['HOST']) && isset($_COOKIE['APP_HOST'])){
|
||||
if(defined('GLOBAL_DEBUG') && isset($_COOKIE['HOST']) && isset($_COOKIE['APP_HOST'])){
|
||||
return $_COOKIE['HOST'];
|
||||
}
|
||||
|
||||
|
@ -357,6 +357,7 @@ function url_request($url,$method='GET',$data=false,$headers=false,$options=fals
|
|||
curl_setopt($ch, CURLOPT_HEADER,1);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
|
||||
curl_setopt($ch, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS);
|
||||
curl_setopt($ch, CURLINFO_HEADER_OUT, 1);
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
|
||||
|
|
|
@ -169,7 +169,11 @@ class FileCache{
|
|||
return array();
|
||||
}
|
||||
|
||||
$str = file_read_safe($file,10.4);
|
||||
$str = file_read_safe($file,10.5);
|
||||
if( $str === false || $str === 0 || $str === -1){
|
||||
echo('[Error Code:1010] FileCache load error!'.$file);exit;
|
||||
}
|
||||
|
||||
if (strlen($str) == 0 ||
|
||||
strlen($str) == strlen(CONFIG_EXIT) ){
|
||||
@file_put_contents($file,CONFIG_EXIT.'[]');
|
||||
|
@ -178,7 +182,7 @@ class FileCache{
|
|||
}
|
||||
|
||||
if($str === false || strlen($str) < strlen(CONFIG_EXIT) ){
|
||||
show_tips('[Error Code:1010] FileCache load error!'.$file);
|
||||
show_tips('[Error Code:1011] FileCache data error!'.$file);
|
||||
}
|
||||
$data= json_decode(substr($str, strlen(CONFIG_EXIT)),true);
|
||||
if (is_null($data)) $data = array();
|
||||
|
@ -191,7 +195,7 @@ class FileCache{
|
|||
if (!$file) return false;
|
||||
$file = iconv_system($file);
|
||||
if ( !file_exists($file) ){
|
||||
@file_put_contents($file,CONFIG_EXIT);
|
||||
@file_put_contents($file,CONFIG_EXIT.'[]');
|
||||
chmod_path($file,0777);
|
||||
}
|
||||
|
||||
|
@ -206,6 +210,11 @@ class FileCache{
|
|||
if(is_null($jsonStr) || strlen($jsonStr) == 0){//含有二进制或非utf8字符串对应检测
|
||||
show_tips('json_encode error!');
|
||||
}
|
||||
return file_wirte_safe($file,CONFIG_EXIT.$jsonStr,20.3);
|
||||
|
||||
$result = file_wirte_safe($file,CONFIG_EXIT.$jsonStr,10.5);
|
||||
if($result === false){
|
||||
show_tips('[Error Code:1012] FileCache save error!'.$file);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ class Hook{
|
|||
'once' => $once,
|
||||
'times' => 0
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
static public function once($event,$action) {
|
||||
self::bind($event,$action,true);
|
||||
|
@ -79,17 +79,35 @@ class Hook{
|
|||
}
|
||||
}
|
||||
static public function trigger($event) {
|
||||
$actions = @self::$events[$event];
|
||||
$events = self::$events;
|
||||
if( !isset($events[$event]) ){
|
||||
return;
|
||||
}
|
||||
$actions = $events[$event];
|
||||
$result = false;
|
||||
if(is_array($actions) && count($actions) >= 1) {
|
||||
$args = func_get_args();
|
||||
array_shift($args);
|
||||
foreach ($actions as &$action) {
|
||||
for ($i=0; $i < count($actions); $i++) {
|
||||
$action = $actions[$i];
|
||||
if( $action['once'] && $action['times'] > 1){
|
||||
continue;
|
||||
}
|
||||
$action['times'] = $action['times'] + 1;
|
||||
|
||||
|
||||
if(defined("GLOBAL_DEBUG_HOOK") && GLOBAL_DEBUG_HOOK){
|
||||
write_log($event.'==>start: '.$action['action'],'hook-trigger');
|
||||
}
|
||||
|
||||
self::$events[$event][$i]['times'] = $action['times'] + 1;
|
||||
$res = self::apply($action['action'],$args);
|
||||
|
||||
if(defined("GLOBAL_DEBUG_HOOK") && GLOBAL_DEBUG_HOOK){
|
||||
write_log($event.'==>end['.$action['times'].']: '.$action['action'],'hook-trigger');
|
||||
}
|
||||
//避免循环调用
|
||||
if( $action['times'] >= 5000){
|
||||
show_json("ERROR,Too many trigger on:".$event.'==>'.$action['action'],fasle);
|
||||
}
|
||||
if(!is_null($res)){
|
||||
$result = $res;
|
||||
}
|
||||
|
|
|
@ -54,9 +54,14 @@ class pluginModel{
|
|||
|
||||
public function checkAuth($app){
|
||||
$pluginList = $this->loadData();
|
||||
if( !isset($pluginList[$app]) || !$pluginList[$app]['status']){
|
||||
if( !isset($pluginList[$app]) ||
|
||||
!$pluginList[$app]['status']){
|
||||
show_tips("Not exist or disabled!");
|
||||
}
|
||||
if( !isset($pluginList[$app]['config']['pluginAuth']) ){
|
||||
return true;
|
||||
}
|
||||
|
||||
$auth = $pluginList[$app]['config']['pluginAuth'];
|
||||
if(plugin_check_auth($app,$auth)){
|
||||
return true;
|
||||
|
|
|
@ -2,16 +2,17 @@
|
|||
<?php
|
||||
$settings = $GLOBALS['config']['settings'];
|
||||
$settingSystem = $GLOBALS['config']['settingSystem'];
|
||||
$copyrightInfo = LNG('copyright_info',APP_HOST);
|
||||
if(is_wap()){
|
||||
echo '<span class="pr-10"><a href="javascript:void(0);" forceWap="1">'.LNG('wap_page_phone').'</a> | '.
|
||||
'<a href="javascript:void(0);" forceWap="0">'.LNG('wap_page_pc').'</a></span> ';
|
||||
echo LNG('copyright_info').' v'.KOD_VERSION;
|
||||
echo $copyrightInfo.' v'.KOD_VERSION;
|
||||
}else{
|
||||
echo '<span class="copyright-content">';
|
||||
if(isset($settings['copyright'])){
|
||||
echo $settings['copyright'];
|
||||
}else{
|
||||
echo LNG('copyright_pre').' v'.KOD_VERSION.' | '.LNG('copyright_info');
|
||||
echo LNG('copyright_pre').' v'.KOD_VERSION.' | '.$copyrightInfo;
|
||||
}
|
||||
echo '<a href="javascript:core.copyright();" class="icon-info-sign copyright-bottom pl-5"></a>';
|
||||
if(isset($settingSystem['globalIcp'])){
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<div style="clear:both;"></div>
|
||||
</div>
|
||||
<div class="top-right">
|
||||
<div class="share-info-user hidden menu-group">
|
||||
<div class="share-info-user hidden menu-group" style="z-index:9999;">
|
||||
<span class="info"></span>
|
||||
<div class="btn-group">
|
||||
<a type="button" class="btn btn-primary btn-download" target="_blank" href=""><?php echo LNG('download');?></a>
|
||||
|
|
|
@ -88,6 +88,11 @@
|
|||
<i class="font-icon icon-cut"></i><?php echo LNG('cute');?>
|
||||
</span>
|
||||
</div>
|
||||
<div class='action-menu' data-action="action-share">
|
||||
<span class="content">
|
||||
<i class="font-icon icon-share"></i><?php echo LNG('share');?>
|
||||
</span>
|
||||
</div>
|
||||
<div class='action-menu' data-action="action-rname">
|
||||
<span class="content">
|
||||
<i class="font-icon icon-pencil"></i><?php echo LNG('rename');?>
|
||||
|
|
|
@ -22,6 +22,11 @@
|
|||
<div class="file-menu">
|
||||
<div class="file-action-menu hidden">
|
||||
<div class='action-menu' data-action="action-download"><i class="font-icon icon-info"></i><?php echo LNG('download');?></div>
|
||||
<div class='action-menu' data-action="action-share-open">
|
||||
<span class="content">
|
||||
<i class="font-icon icon-share"></i><?php echo LNG('open');?>
|
||||
</span>
|
||||
</div>
|
||||
<div class="menu-close"><i class="font-icon icon-ellipsis-horizontal"></i></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
*/
|
||||
|
||||
define('GLOBAL_DEBUG',0);//0 or 1
|
||||
define('GLOBAL_DEBUG_HOOK',0);//0 or 1
|
||||
@date_default_timezone_set(@date_default_timezone_get());
|
||||
@set_time_limit(1200);//20min pathInfoMuti,search,upload,download...
|
||||
@ini_set("max_execution_time",1200);
|
||||
|
@ -101,6 +102,9 @@ define('PLUGIN_HOST',APP_HOST.str_replace(BASIC_PATH,'',PLUGIN_DIR));//插件目
|
|||
|
||||
include(CONTROLLER_DIR.'utils.php');
|
||||
include(BASIC_PATH.'config/setting.php');
|
||||
if (file_exists(BASIC_PATH.'config/setting_user.php')) {
|
||||
include_once(BASIC_PATH.'config/setting_user.php');
|
||||
}
|
||||
if(file_exists(CONTROLLER_DIR.'debug.class.php')){
|
||||
include_once(CONTROLLER_DIR.'debug.class.php');
|
||||
}
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "نسيت كلمة مرور المسؤول: <br/> الرجاء تسجيل الخادم حذف <b>./data/system/install.lock</b> إعادة تعيين. <br/><br/> غير مسؤول نسيت كلمة المرور: <br/> الرجاء الاتصال بمسؤول لإعادة تعيين!",
|
||||
"copyright_desc" => "Kodexplorer هو نظام إدارة الوثائق على شبكة الإنترنت نالت استحسانا كبيرا، ويمكن استخدامه لإدارة وثيقة داخلية أو مشتركة، ويمكن أيضا أن تستخدم على خادم إدارة المواقع استبدال بروتوكول نقل الملفات، وحتى webIDE تطوير الإنترنت مباشرة. يمكنك أيضا برمجة التطور الثاني لدمج هذا في النظم الموجودة لديك.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "المانجو سحابة • مستكشف",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Забравена Administrator Password: <br/> Моля, влезте сървъра изтриване <b>./data/system/install.lock</b> нулиране; <br/><br/> Non-администратор Забравена парола: <br/> Моля, свържете се с администратора, за да изчисти!",
|
||||
"copyright_desc" => "Kodexplorer е силно аплодирана система за управление на уеб документ, можете да го използвате за вътрешно управление на документи или споделена, може да се използва и върху сървъра за управление на сайта, на мястото на Ftp, дори като webIDE директно онлайн развитие. Можете също така да програмирате втория развитие да включи този в съществуващите си системи.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango облак • Explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "অ্যাডমিনিস্ট্রেটরের পাসওয়ার্ড ভুলে গেছেন: <br/> সার্ভার লগ ইন করুন রিসেট <b>./data/system/install.lock</b> মুছে ফেলা; <br/><br/> অ প্রশাসক পাসওয়ার্ড ভুলে গেছেন: <br/> রিসেট করতে প্রশাসকের সাথে যোগাযোগ করুন!",
|
||||
"copyright_desc" => "Kodexplorer একটি অত্যন্ত প্রশংসিত ওয়েব ডকুমেন্ট ম্যানেজমেন্ট সিস্টেম, আপনি এমনকি webIDE সরাসরি অনলাইনে উন্নয়ন, অভ্যন্তরীণ নথি ব্যবস্থাপনা বা ভাগ, এছাড়াও সাইট ম্যানেজমেন্ট সার্ভার ব্যবহার করা যায় জন্য এটি ব্যবহার, FTP প্রতিস্থাপন করতে পারেন. এছাড়াও আপনি দ্বিতীয় উন্নয়ন প্রোগ্রাম আপনার বিদ্যমান সিস্টেমের মধ্যে এই সংহত করতে পারেন.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "আম মেঘ • এক্সপ্লোরার",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Heu oblidat la contrasenya de l'administrador: <br/> Si us plau, ingressi servidor eliminar <b>./data/system/install.lock</b> restablir; <br/><br/> No oblidat la contrasenya d'administrador: <br/> Si us plau, poseu-vos en contacte amb l'administrador per restablir!",
|
||||
"copyright_desc" => "Kodexplorer és un sistema de gestió de documents web altament aclamat, es pot utilitzar per a la gestió de documents interns o compartit, també es pot utilitzar al servidor de gestió del lloc, reemplaci ftp, així com el desenvolupament webIDE directament en línia. També pot programar el segon desenvolupament per integrar aquest principi en els seus sistemes existents.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango núvol • Explorador",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Zapomněli heslo správce: <br/> Prosím přihlašte serveru smazat <b>./data/system/install.lock</b> resetovat; <br/><br/> Non-správce Zapomněli jste heslo: <br/> Obraťte se na správce resetovat!",
|
||||
"copyright_desc" => "Kodexplorer je vysoce uznávaný systém pro správu dokumentů web, můžete jej použít pro vnitřní správu dokumentů nebo sdílená, lze použít také na serveru pro správu webu, nahradí FTP, i když webIDE přímo on-line rozvoje. Můžete také naprogramovat druhý rozvoje integrovat toto do vašich stávajících systémů.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango cloud • Explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Glemt Administrator Password: <br/> Du skal logge server slette <b>./data/system/install.lock</b> nulstille; <br/><br/> Ikke-administrator Glemt Kodeord: <br/> Kontakt administratoren for at nulstille!",
|
||||
"copyright_desc" => "Kodexplorer er et meget roste web dokument management system, du kan bruge det til intern dokumenthåndtering eller delt, kan også bruges på sitet management server, udskifte Ftp, ligesom webIDE direkte online udvikling. Du kan også programmere den anden udvikling for at integrere dette i dine eksisterende systemer.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango cloud • Explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Passwort Administrator-Passwort: <br/> Bitte melden Sie sich Server löschen <b>./data/system/install.lock</b> zurückgesetzt; <br/><br/> Nicht-Administrator Passwort vergessen: <br/> Bitte kontaktieren Sie den Administrator zurücksetzen!",
|
||||
"copyright_desc" => "Kodexplorer ist ein hoch gelobten Web-Dokumenten-Management-System, können Sie es für die interne Dokumentenmanagement nutzen können oder gemeinsam genutzt, können auch auf der Site-Management-Server verwendet werden, ersetzen FTP-, auch als webIDE online Entwicklung. Sie können auch die zweite Entwicklung programmieren diese in Ihre bestehenden Systeme zu integrieren.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango Wolke • Explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Ξεχάσατε τον κωδικό πρόσβασης διαχειριστή: <br/> Παρακαλούμε συνδεθείτε διακομιστής διαγράψετε <b>./data/system/install.lock</b> επαναφορά? <br/><br/> Μη-διαχειριστής Ξεχάσατε τον κωδικό: <br/> Παρακαλείστε να επικοινωνήσετε με το διαχειριστή για να επαναφέρετε!",
|
||||
"copyright_desc" => "Kodexplorer είναι ένα εγκωμιαστικές σύστημα διαχείρισης εγγράφων web, μπορείτε να το χρησιμοποιήσετε για την εσωτερική διαχείριση των εγγράφων ή κοινόχρηστο, μπορεί επίσης να χρησιμοποιηθεί στο διακομιστή διαχείρισης ιστοσελίδα, αντικαταστήστε FTP, ακόμη και ως webIDE απευθείας σύνδεση ανάπτυξη. Μπορείτε επίσης να προγραμματίσετε τη δεύτερη εξέλιξη να ενσωματώσουν αυτό σε υπάρχοντα συστήματα σας.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango σύννεφο • Explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Forgot Administrator Password: <br/> Please log into the server and delete <b>./data/system/install.lock</b> reset; <br/><br/> Non-administrator Forgot Password: <br/> Please contact the administrator to reset!",
|
||||
"copyright_desc" => "Kodexplorer is a highly acclaimed web document management system that you can use for internal document management or sharing. It can also be used to manage web sites on the server, replace Ftp, and even be developed directly as web IDE. At the same time you can also secondary development of this program integrated into your existing system.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Kod online explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "¿Ha olvidado la contraseña del administrador: <br/> Por favor, ingrese servidor eliminar <b>./data/system/install.lock</b> restablecer; <br/><br/> No olvidado la contraseña de administrador: <br/> Por favor, póngase en contacto con el administrador para restablecer!",
|
||||
"copyright_desc" => "Kodexplorer es un sistema de gestión de documentos web altamente aclamado, se puede utilizar para la gestión de documentos internos o compartido, también se puede utilizar en el servidor de gestión del sitio, reemplace ftp, así como el desarrollo webIDE directamente en línea. También puede programar el segundo desarrollo para integrar este principio en sus sistemas existentes.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango nube • Explorador",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "را فراموش کرده اید رمز عبور: <br/> لطفا سرور وارد شوید حذف <b>./data/system/install.lock</b> تنظیم مجدد؛ <br/><br/> غیر مدیر فراموشی رمز عبور: <br/> لطفا با مدیریت تماس برای تنظیم مجدد!",
|
||||
"copyright_desc" => "Kodexplorer یک سیستم مدیریت اسناد وب بسیار تحسین است، شما می توانید آن را برای مدیریت اسناد داخلی یا به اشتراک گذاشته، همچنین می توانید بر روی سرور مدیریت سایت استفاده می شود استفاده کنید، جایگزین FTP، حتی به عنوان webIDE مستقیم توسعه آنلاین. شما همچنین می توانید توسعه دوم برنامه به ادغام این به سیستم های موجود خود را.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "انبه ابر • اکسپلورر",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Mot de passe administrateur: <br/> S'il vous plaît serveur connecter supprimer <b>./data/system/install.lock</b> réinitialiser; <br/><br/> Non-administrateur Mot de passe oublié: <br/> S'il vous plaît contacter l'administrateur pour réinitialiser!",
|
||||
"copyright_desc" => "Kodexplorer est un système de gestion de documents Web hautement acclamé, vous pouvez l'utiliser pour la gestion documentaire interne ou partagée, peut également être utilisé sur le serveur de gestion du site, remplacer Ftp, comme webIDE directement le développement en ligne. Vous pouvez également programmer le second développement à intégrer dans vos systèmes existants.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango nuage • Explorateur",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Esqueceches o contrasinal de administrador: <br/> Entra servidor eliminar <b>./data/system/install.lock</b> axustar; <br/><br/> Non administrador Esqueceches o contrasinal: <br/> Póñase en contacto co seu administrador para axustar!",
|
||||
"copyright_desc" => "Kodexplorer é un sistema de xestión de documentos web altamente aclamado, pode usalo para xestión de documentos internos ou compartido, tamén se pode usar no servidor de xestión do web, substitúe FTP, incluso como webIDE desenvolvemento directamente en liña. Tamén pode programar o segundo desenvolvemento para integrar iso nos seus sistemas existentes.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango nube • Explorador",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "प्रशासक पासवर्ड भूल: <br/> सर्वर लॉग इन करें रीसेट <b>./data/system/install.lock</b> हटाना; <br/><br/> गैर-व्यवस्थापक पासवर्ड भूल: <br/> रीसेट करने के लिए व्यवस्थापक से संपर्क करें!",
|
||||
"copyright_desc" => "Kodexplorer एक अत्यधिक प्रशंसित वेब दस्तावेज़ प्रबंधन प्रणाली है, तो आप भी webIDE सीधे ऑनलाइन विकास के रूप में, आंतरिक दस्तावेज़ प्रबंधन या साझा, भी इस साइट प्रबंधन सर्वर पर इस्तेमाल किया जा सकता है के लिए इसका इस्तेमाल, FTP जगह ले सकता है। तुम भी दूसरा विकास कार्यक्रम के लिए अपने मौजूदा सिस्टम में इस एकीकृत कर सकते हैं।",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "कॉपीराइट ©<a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a>सभी अधिकार सुरक्षित।",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "KodExplorer द्वारा संचालित",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "मैंगो बादल • एक्सप्लोरर",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Elfelejtett adminisztrátori jelszó: <br/> Kérjük jelentkezzen szerver törli <b>./data/system/install.lock</b> vissza; <br/><br/> Nem rendszergazdai Elfelejtett jelszó: <br/> Kérjük, lépjen kapcsolatba a rendszergazda gombot!",
|
||||
"copyright_desc" => "Kodexplorer egy nagysikerű webes dokumentumkezelő rendszer, akkor csak a belső dokumentumkezelő vagy megosztott, is fel lehet használni a site menedzsment szerver, cserélje ki az FTP, még akkor is, webIDE közvetlenül online fejlődését. Azt is lehet programozni a második fejlesztési integrálni ezt a meglévő rendszerekkel.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango felhő • Explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Lupa Password Administrator: <br/> Harap masuk server yang menghapus <b>./data/system/install.lock</b> ulang; <br/><br/> Non-administrator Lupa Password: <br/> Silahkan hubungi administrator untuk me-reset!",
|
||||
"copyright_desc" => "Kodexplorer adalah sistem manajemen dokumen web sangat diakui, Anda dapat menggunakannya untuk manajemen dokumen internal atau bersama, juga dapat digunakan pada server situs manajemen, menggantikan FTP, bahkan saat webIDE langsung pembangunan online. Anda juga dapat memprogram pembangunan kedua untuk mengintegrasikan ini ke dalam sistem yang ada.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango cloud • Explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Hai dimenticato la password di amministratore: <br/> Si prega di log del server eliminare <b>./data/system/install.lock</b> resettare; <br/><br/> Non amministratore Forgot Password: <br/> Si prega di contattare l'amministratore per ripristinare!",
|
||||
"copyright_desc" => "Kodexplorer è un sistema di gestione dei documenti web acclamato, è possibile utilizzarlo per la gestione dei documenti interni o in comune, può essere utilizzato anche sul server di gestione del sito, sostituire FTP, anche se webIDE sviluppo direttamente online. È inoltre possibile programmare il secondo sviluppo di integrare questo in sistemi esistenti.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango nuvola • Explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "管理者パスワードを忘れた場合: <br/>サーバーがリセット<b>./data/system/install.lock</b>削除ログインしてください。 <br/><br/>非管理者がパスワードを忘れました: <br/>リセットするには、管理者に連絡してください!",
|
||||
"copyright_desc" => "KodexplorerはあなたもwebIDEオンラインで直接開発として、FTPを交換し、内部文書の管理や共有、また、サイト管理サーバ上で使用することができるためにそれを使用することができ、非常に評価の高いウェブ文書管理システムです。また、あなたの既存のシステムにこれを統合する2番目の開発をプログラムすることができます。",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "マンゴークラウド•エクスプローラ",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "관리자 암호를 잊어 버렸 : <br/> 다시 <b>./data/system/install.lock</b> 삭제 서버에 로그인하십시오; <br/><br/> 비 관리자가 비밀번호를 잊어 버렸 : <br/> 재설정하려면 관리자에게 문의하시기 바랍니다!",
|
||||
"copyright_desc" => "Kodexplorer는 당신도 webIDE 온라인으로 직접 개발로, FTP를 교체, 내부 문서 관리 또는 공유, 또한 사이트 관리 서버에서 사용할 수 있습니다에 대 한 사용할 수 있습니다, 높은 평가를 받고 웹 문서 관리 시스템입니다. 또한 기존 시스템에이를 통합하는 두 번째 개발을 프로그래밍 할 수 있습니다.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "망고 클라우드 • 탐색기",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Pamiršote administratoriaus slaptažodį: <br/> Prašome prisijungti serverio ištrinti <b>./data/system/install.lock</b> naujo; <br/><br/> Ne administratorius Pamiršote slaptažodį: <br/> Prašome susisiekti su administratoriumi, kad iš naujo!",
|
||||
"copyright_desc" => "Kodexplorer yra labai pripažintas interneto dokumentų valdymo sistemos, jūs galite naudoti ją vidaus dokumentų valdymo ar dalijamasi, taip pat gali būti naudojamas ant svetainę valdymo serveris, pakeisti ftp, net webIDE tiesiogiai internetu plėtrą. Jūs taip pat galite užprogramuoti antrą plėtrą integruoti į savo esamas sistemas tai.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "\"Mango\" debesis • Explorer \"",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Wachtwoord Administrator-wachtwoord: <br/> Gelieve server log verwijderen <b>./data/system/install.lock</b> resetten; <br/><br/> Non-administrator Wachtwoord vergeten: <br/> Neem contact op met de beheerder om opnieuw in te stellen!",
|
||||
"copyright_desc" => "Kodexplorer is een zeer gewaardeerde web document management systeem, je kunt het gebruiken voor interne management document of gedeeld, kan ook gebruikt worden op de site management server, vervangt FTP, zelfs als webIDE direct online ontwikkeling. U kunt ook de tweede ontwikkeling programmeren om deze te integreren in uw bestaande systemen.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango cloud • Explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Zapomniałeś hasło administratora: <br/> serwer Zaloguj usuwać <b>./data/system/install.lock</b> zresetować; <br/><br/> Nieadministratorzy Przypomnienie hasła: <br/> Proszę skontaktować się z administratorem, aby zresetować!",
|
||||
"copyright_desc" => "Kodexplorer jest wysoko ceniony system zarządzania dokumentami internetowej, można użyć go do wewnętrznego zarządzania dokumentami lub współdzielone, może być również używany na serwerze zarządzania miejscu wymienić FTP, nawet webIDE bezpośrednio rozwoju online. Można również zaprogramować drugi rozwoju zintegrować to z istniejącymi systemami.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango Chmura • Explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Esqueceu a senha de administrador: <br/> Faça login servidor eliminar <b>./data/system/install.lock</b> redefinir; <br/><br/> Não-administrador Esqueceu a senha: <br/> Entre em contato com o administrador para redefinir!",
|
||||
"copyright_desc" => "Kodexplorer é um sistema de gerenciamento de documentos web altamente aclamado, você pode usá-lo para gerenciamento de documentos internos ou compartilhado, também pode ser usado no servidor de gerenciamento do site, substitua FTP, até mesmo como webIDE desenvolvimento diretamente online. Você também pode programar o segundo desenvolvimento para integrar isso em seus sistemas existentes.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango nuvem • Explorador",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Administrator Password a uitat: <br/> Vă rugăm să vă conectați serverul șterge <b>./data/system/install.lock</b> reset; <br/><br/> Non-administrator Ai uitat parola: <br/> Vă rugăm să contactați administratorul pentru a reseta!",
|
||||
"copyright_desc" => "Kodexplorer este un sistem de management al documentelor web extrem de apreciat, îl puteți utiliza pentru gestionarea documentelor interne sau partajat, poate fi utilizat și pe serverul de management al site-ului, înlocuiți Ftp, chiar ca webIDE de dezvoltare direct online. De asemenea, puteți programa a doua de dezvoltare pentru a integra acest lucru în sistemele existente.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango nor • Explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Забыли пароль администратора: <br/> Пожалуйста , войдите на сервер и удалите файл <b>./data/system/install.lock</b>для сброса пароля; <br/><br/> Обычный пользователь: <br/> Пожалуйста, обратитесь к администратору, чтобы сбросить пароль.",
|
||||
"copyright_desc" => "KodExplorer - это система управления веб-документами. Вы можете использовать её для внутреннего или совместного управления документами, на сервере для управления сайтом, замены FTP, и даже webIDE для интерактивного режима разработки. Вы также можете интегрировать её в другие системы.",
|
||||
"copyright_contact" => "Свяжитесь с нами: <a href=\"mailto:kodcloud@qq.com\">kodcloud@qq.com</a><a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Обратная связь</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> Все права защищены.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Онлайн проводник",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "අමතකද පරිපාලක මුරපදය: <br/> සේවාදායකය නැවත සකස් <b>./data/system/install.lock</b> මකා ලොග් වන්න; <br/><br/> නොවන පරිපාලක මුරපදය අමතකද: <br/> නැවත සකස් කිරීමට පරිපාලක සම්බන්ධ කරන්න!",
|
||||
"copyright_desc" => "Kodexplorer වූ කීර්තිමත්ම වෙබ් ලේඛන කළමනාකරණ පද්ධතිය, ඔබ එය අභ්යන්තර ලේඛනයක් කළමනාකරණය සඳහා, පවා webIDE සෘජුවම සංවර්ධනය භාවිතා කළ හැකි හෝ දායකත්වය, වෙබ් අඩවිය කළමනාකරණ සේවාදායකය මත භාවිතා කල හැක, FTP වෙනුවට. ඔබ ද ඔබගේ දැනට පවතින පද්ධති තුළට මෙම ඒකාබද්ධ කිරීමට දෙවැනි සංවර්ධන වැඩසටහන හැක.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "කතුහිමිකම ©<a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a>සියලු හිමිකම් ඇවිරිණි.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "KodExplorer විසින් තල්ලු",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "අඹ වලාකුළක් • එක්ස්ප්ලෝරර්",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Zabudli heslo správcu: <br/> Prosím prihláste servera zmazať <b>./data/system/install.lock</b> resetovať; <br/><br/> Non-správcu Zabudli ste heslo: <br/> Obráťte sa na správcu resetovať!",
|
||||
"copyright_desc" => "Kodexplorer je vysoko uznávaný systém pre správu dokumentov web, môžete ho použiť pre vnútorné správu dokumentov alebo zdieľaná, možno použiť aj na serveri pre správu webu, nahradí FTP, aj keď webIDE priamo on-line rozvoja. Môžete tiež naprogramovať druhý rozvoja integrovať toto do vašich existujúcich systémov.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango cloud • Explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Заборавио Администратор Пассворд: <br/> Молимо вас пријавите сервер обрисати <b>./дата/систем/инсталл.лоцк</b> ресет; <br/><br/> Нон-администратор Форгот Пассворд: <br/> Контактирајте администратора за ресет!",
|
||||
"copyright_desc" => "Кодекплорер је високо признање систем за управљање веб документ, можете га користити за унутрашњу управљање документима или заједнички, могу се користити и на серверу за управљање сајт, заменити ФТП-а, чак и вебИДЕ онлајн развој. Такође можете програмирати други развој да се интегрише ово у постојеће системе.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "КодЕкплорер",
|
||||
"kod_name_desc" => "Манго облак • Екплорер",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Glömt administratörslösenord: <br/> Logga server bort <b>./data/system/install.lock</b> återställa; <br/><br/> Icke-administratör du glömt ditt lösenord: <br/> Kontakta administratören för att återställa!",
|
||||
"copyright_desc" => "Kodexplorer är en bejublad bana dokumenthanteringssystem, du kan använda den för interna dokumenthantering eller delad, kan även användas på webbplatsen administrationsservern, byt Ftp, även som webIDE direkt på nätet utveckling. Du kan även programmera andra utveckling för att integrera detta i befintliga system.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright ©<a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a>All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango moln • Explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "நிர்வாகி கடவுச்சொல் மறந்துவிட்டதா: <br/> சர்வர் தயவு செய்து புகுபதிகை செய்க <b>./data/system/install.lock</b> மீட்டமைக்க அழித்தல்; <br/><br/> நிர்வாகி அல்லாத கடவுச்சொல் மறந்து விட்டீர்களா: <br/> மீட்டமைக்க நிர்வாகியைத் தொடர்பு கொள்ளவும்!",
|
||||
"copyright_desc" => "Kodexplorer நீங்கள் அதை உள் ஆவணம் மேலாண்மை அல்லது பகிர்வு, மேலும் தளத்தில் மேலாண்மை சர்வரில் பயன்படுத்த முடியும் கூட webIDE நேரடியாக ஆன்லைன் வளர்ச்சி என, பயன்படுத்த முடியும் Ftp பதிலாக, ஒரு மிகவும் பாராட்டப்பட்ட வலை ஆவணம் மேலாண்மை அமைப்பு உள்ளது. நீங்கள் உங்கள் இருக்கும் அமைப்புகள் இந்த ஒருங்கிணைக்க இரண்டாவது வளர்ச்சி நிரல் முடியும்.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "மா மேகம் • எக்ஸ்ப்ளோரர்",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "ลืมรหัสผ่านผู้ดูแลระบบ: <br/> กรุณาเข้าสู่ระบบเซิร์ฟเวอร์ลบ <b>./data/system/install.lock</b> รีเซ็ต; <br/><br/> ไม่ใช่ผู้ดูแลลืมรหัสผ่าน: <br/> กรุณาติดต่อผู้ดูแลระบบเพื่อรีเซ็ต!",
|
||||
"copyright_desc" => "Kodexplorer เป็นระบบการจัดการเอกสารเว็บสะเทือนใจคุณสามารถใช้มันสำหรับการจัดการเอกสารภายในหรือใช้ร่วมกันนอกจากนี้ยังสามารถนำมาใช้ในการจัดการเซิร์ฟเวอร์เว็บไซต์แทนที่ FTP, แม้ในขณะที่การพัฒนา webIDE ออนไลน์ได้โดยตรง นอกจากนี้คุณยังสามารถตั้งโปรแกรมการพัฒนาที่สองนี้จะบูรณาการเข้ากับระบบที่มีอยู่",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "มะม่วงเมฆ• Explorer ที่",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Забули пароль адміністратора: <br/> Будь ласка , увійдіть сервер видалити <b>./data/system/install.lock</b> скидання; <br/><br/> Non-адміністратора Забули пароль: <br/> Будь ласка, зверніться до адміністратора, щоб скинути!",
|
||||
"copyright_desc" => "Kodexplorer є високо оцінений система управління веб-документ, ви можете використовувати його для внутрішнього управління документами або спільно, можуть також використовуватися на сервері управління сайтом, замінити Ftp, навіть webIDE безпосередньо в інтерактивному режимі розробки. Ви також можете запрограмувати друге розвиток, щоб інтегрувати це в існуючі системи.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Манго хмара • Провідник",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Administrator Parolni unutdingizmi: <br/> qayta o'rnatish <b>./data/system/install.lock</b> o'chirish serverini kiring; <br/><br/> Non-administrator Parolni unutdingizmi: <br/> qayta o'rnatish uchun boshqaruvchisiga murojaat qiling!",
|
||||
"copyright_desc" => "Kodexplorer siz ham webIDE bevosita onlayn rivojlantirish, FTP o'rniga, ichki hujjat boshqarish yoki birgalikda, shuningdek, sayt boshqarish serverida foydalanish mumkin uchun foydalanishingiz mumkin, juda tan veb hujjat boshqarish sistemasidir. Bundan tashqari, mavjud tizimlar, bu integratsiya qilish uchun ikkinchi rivojlanishini dasturlashingiz mumkin.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright ©<a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a>barcha huquqlar himoyalangan.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "KodExplorer by",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango bulut • Explorer",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "Quên Administrator Password: <br/> Hãy đăng nhập máy chủ xóa <b>./data/system/install.lock</b> thiết lập lại; <br/><br/> Non-quản trị viên Quên mật khẩu: <br/> Hãy liên hệ với người quản trị để thiết lập lại!",
|
||||
"copyright_desc" => "Kodexplorer là một hệ thống quản lý tài liệu web rất hoan nghênh, bạn có thể sử dụng nó để quản lý tài liệu nội bộ hoặc chia sẻ, cũng có thể được sử dụng trên các máy chủ quản lý trang web, thay thế Ftp, thậm chí như webIDE phát triển trực tiếp trực tuyến. Bạn cũng có thể lập trình phát triển thứ hai để hội nhập này vào các hệ thống hiện tại của bạn.",
|
||||
"copyright_contact" => "Contact us:kodcloud@qq.com <a>.</a> <a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">Feedback</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "Mango đám mây • Explorer",
|
||||
|
@ -801,4 +801,4 @@ return array(
|
|||
"Explorer.UI.appTypeAll" => "Tất cả các ứng dụng",
|
||||
"kodApp.oexe.edit" => "Chỉnh sửa ứng dụng ánh sáng",
|
||||
"kodApp.oexe.open" => "Mở ứng dụng của ánh sáng"
|
||||
);
|
||||
);
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "管理员忘记密码:<br/>请登录服务器删除<b>./data/system/install.lock</b>后重置;<br/><br/>非管理员忘记密码:<br/>请联系管理员重置!",
|
||||
"copyright_desc" => "Kodexplorer是一款备受好评的web文档管理系统,你可以用它来做内部文档管理或共享、也可以用来管理服务器上的网站,取代Ftp,甚至可以当作webIDE直接在线开发。同时你也可以将此程序二次开发整合到你现有的系统。",
|
||||
"copyright_contact" => "授权或定制请联系QQ:<a href=\"http://wpa.qq.com/msgrd?v=3&uin=3532208565&site=qq&menu=yes\" target=\"_blank\">3532208565</a><a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">问题反馈</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "可道云•资源管理器",
|
||||
|
|
|
@ -305,7 +305,7 @@ return array(
|
|||
"forget_password_tips" => "管理員忘記密碼: <br/>請登陸服務器刪除<b>./data/system/install.lock</b>後重置; <br/><br/>非管理員忘記密碼: <br/>請聯繫管理員重置!",
|
||||
"copyright_desc" => "Kodexplorer是一款備受好評的web文檔管理系統,你可以用它來做內部文檔管理或共享、也可以用來管理服務器上的網站,取代Ftp,甚至可以當作webIDE直接在線開發。同時你也可以將此程序二次開發整合到你現有的系統。",
|
||||
"copyright_contact" => "授權或定制請聯繫QQ:<a href=\"http://wpa.qq.com/msgrd?v=3&uin=3532208565&site=qq&menu=yes\" target=\"_blank\">3532208565</a><a href=\"javascript:core.openWindow('http://bbs.kodcloud.com/');\">問題反饋</a>",
|
||||
"copyright_info" => "Copyright © <a href=\"http://kodcloud.com/\" target=\"_blank\">kodcloud.com</a> All rights reserved.",
|
||||
"copyright_info" => "Copyright © <a href=\"https://kodcloud.com/?kodref=%s\" target=\"_blank\">kodcloud.com</a>.",
|
||||
"copyright_pre" => "Powered by KodExplorer",
|
||||
"kod_name" => "KodExplorer",
|
||||
"kod_name_desc" => "可道云•資源管理器",
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<?php
|
||||
define('KOD_VERSION','4.32');
|
||||
define('KOD_VERSION','4.33');
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"id":"DPlayer",
|
||||
"name":"DPlayer播放器",
|
||||
"title":"DPlayer播放器",
|
||||
"version":"1.02",
|
||||
"version":"1.04",
|
||||
"source":{
|
||||
"icon":"{{pluginHost}}static/images/icon.png",
|
||||
},
|
||||
|
@ -21,6 +21,13 @@
|
|||
"desc":"{{LNG.Plugin.config.authDesc}}",
|
||||
"require":1
|
||||
},
|
||||
"subtitle":{
|
||||
"type":"switch",
|
||||
"display":"自动加载字幕",
|
||||
"desc":"字幕需要放在视频文件同位置,与视频文件同名并追加.vtt",
|
||||
"value":"0"
|
||||
},
|
||||
"step001":"<hr/>",
|
||||
"fileSort":{
|
||||
"type":"number",
|
||||
"display":"{{LNG.Plugin.Config.fileSort}}",
|
||||
|
@ -33,6 +40,6 @@
|
|||
"desc":"{{LNG.Plugin.Config.fileExtDesc}}",
|
||||
//"value":"mp3,wav,m4a,aac,oga,ogg,webma,mp4,m4v,flv,mov,f4v,ogv,webm,webmv,mkv",
|
||||
"value":"mp4,m4v,flv,mov,f4v,ogv,webm,webmv,mkv",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ kodReady.push(function(){
|
|||
icon:'{{pluginHost}}static/images/icon.png',
|
||||
callback:function(path,ext){
|
||||
var music = ['mp3','wav','aac','m4a','oga','ogg','webma'];
|
||||
if(isWap()){
|
||||
if(isWap() && G.ACT != 'file'){ //移动端,非视频文件分享页面用跳转方式打开
|
||||
return window.open(core.path2url(path));
|
||||
}
|
||||
var vedio = {
|
||||
|
@ -23,4 +23,61 @@ kodReady.push(function(){
|
|||
});
|
||||
}
|
||||
});
|
||||
window.DplayerSubtitle = parseInt("{{config.subtitle}}");
|
||||
|
||||
|
||||
/**
|
||||
* 临时修复文件夹右键新窗口打开异常问题;<=4.32
|
||||
*/
|
||||
var checkAuth = function(path){
|
||||
if (path == undefined) return false;
|
||||
if (path.indexOf('http') === 0 ) return true;
|
||||
if (!G.shareInfo &&
|
||||
!core.pathReadable(path)){
|
||||
Tips.tips(LNG.no_permission_read_all,false);
|
||||
core.playSound("error");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
kodApp.add({
|
||||
name:"browserOpen",
|
||||
title:LNG.open_ie,
|
||||
sort:-100,
|
||||
icon:"x-item-file x-html",
|
||||
callback:function(path,ext){
|
||||
var url = core.path2url(path);
|
||||
console.log(url,path,ext);
|
||||
if( path.substr(-1) == '/' && url.search("explorer/fileProxy&") !=-1 ){
|
||||
return Tips.tips(LNG.path_can_not_action,false);
|
||||
}
|
||||
if(!checkAuth(path)) return;
|
||||
if(isWap()){
|
||||
window.location.href = url;
|
||||
}else{
|
||||
window.open(url);
|
||||
}
|
||||
}
|
||||
});
|
||||
core.path2url=function(beforePath,testHttp){
|
||||
if (beforePath.substr(0,4) == 'http') return beforePath;
|
||||
if(testHttp == undefined) testHttp = true;//尝试转换为http真实路径;只允许root用户
|
||||
var url,path = core.pathClear(beforePath);
|
||||
|
||||
//user group
|
||||
if (G.isRoot && testHttp &&
|
||||
path.substring(0,G.webRoot.length) == G.webRoot){//服务器路径下
|
||||
if (path.substring(0,G.basicPath.length) == G.basicPath){//设置了服务器到子目录
|
||||
url = G.appRoot + core.pathUrlEncode(path.replace(G.basicPath,''));
|
||||
}else{
|
||||
url = G.webHost + core.pathUrlEncode(path.replace(G.webRoot,''));
|
||||
}
|
||||
}else{
|
||||
url = G.appHost+'explorer/fileProxy&accessToken='+G.accessToken+'&path=' +urlEncode(path);
|
||||
if (typeof(G.sharePage) != 'undefined') {
|
||||
url = G.appHost+'share/fileProxy&user='+G.user+'&sid='+G.sid+'&path=' +urlEncode(path);
|
||||
}
|
||||
}
|
||||
return url;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -9,7 +9,7 @@ define(function(require, exports) {
|
|||
'ogg' : 'oga',
|
||||
};
|
||||
var type = typeArr[vedioInfo.ext] || vedioInfo.ext;
|
||||
new DPlayer({
|
||||
var playerOption = {
|
||||
container:$target.get(0),
|
||||
preload: 'none',
|
||||
theme:'#f60',
|
||||
|
@ -20,11 +20,7 @@ define(function(require, exports) {
|
|||
video: {
|
||||
url:vedioInfo.url,
|
||||
type:type
|
||||
},
|
||||
// 默认加载同名文件字幕;暂时只支持vtt格式 http://dplayer.js.org/#/home?id=options
|
||||
// subtitle:{
|
||||
// url:core.path2url(vedioInfo.path+'.vtt')
|
||||
// },
|
||||
},
|
||||
danmaku: {
|
||||
id:md5(vedioInfo.url),
|
||||
api:'https://api.prprpr.me/dplayer/'
|
||||
|
@ -35,7 +31,14 @@ define(function(require, exports) {
|
|||
link: 'https://kodcloud.com/'
|
||||
}
|
||||
]
|
||||
});
|
||||
};
|
||||
if(window.DplayerSubtitle){
|
||||
// 默认加载同名文件字幕;暂时只支持vtt格式 http://dplayer.js.org/#/home?id=options
|
||||
playerOption.subtitle = {
|
||||
url:core.path2url(vedioInfo.path+'.vtt')
|
||||
}
|
||||
}
|
||||
new DPlayer(playerOption);
|
||||
}
|
||||
var createDialog = function(title,ext){
|
||||
var size = {width:'70%',height:'60%'};
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"id":"jPlayer",
|
||||
"name":"jPlayer",
|
||||
"title":"jPlayer",
|
||||
"version":"1.34",
|
||||
"version":"1.35",
|
||||
"source":{
|
||||
"icon":"{{pluginHost}}static/images/icon.png",
|
||||
"screenshoot":[
|
||||
|
|
|
@ -56,6 +56,12 @@ var jPlayerConfigInit = function($player,config){
|
|||
}catch(e){};
|
||||
},
|
||||
error: function(current) {
|
||||
if( current.jPlayer.error.type == 'e_no_solution' &&
|
||||
current.jPlayer.error.context.indexOf("solution:'flash'") === 1){
|
||||
$(".jPlayer-container").css({"text-align": "center"});
|
||||
$(".jPlayer-container").html('Flash插件被屏蔽,请在运行后播放');
|
||||
return;
|
||||
}
|
||||
if(current.jPlayer.error.type != $.jPlayer.error.FLASH){
|
||||
//Tips.tips(LNG.unknow_file_tips+'('+current.jPlayer.error.type+')',false);
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ kodReady.push(function(){
|
|||
icon:'{{pluginHost}}static/images/icon.png',
|
||||
callback:function(path,ext){
|
||||
var music = ['mp3','wav','aac','m4a','oga','ogg','webma','m3u8a','m3ua','flac'];
|
||||
if(isWap() && $.inArray(ext, music) == -1 ){//wap 不是音乐则新窗口打开
|
||||
if(isWap() && $.inArray(ext, music) == -1 && G.ACT != 'file' ){ //移动端,非视频文件分享页面用跳转方式打开
|
||||
return window.open(core.path2url(path));
|
||||
}
|
||||
var list = [{
|
||||
|
@ -75,9 +75,9 @@ kodReady.push(function(){
|
|||
// 移动端安卓首次打开播放器不自动播放问题处理;
|
||||
if(isWap()){
|
||||
$.addStyle('.music-player-dialog{visibility:hidden;}');
|
||||
loadMyPlayer(function(player){
|
||||
player.play([{url:"",name:"",ext:"mp3"}]);
|
||||
});
|
||||
// loadMyPlayer(function(player){
|
||||
// player.play([{url:"",name:"",ext:"mp3"}]);
|
||||
// });
|
||||
}
|
||||
|
||||
//音效播放绑定
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"id":"photoSwipe",
|
||||
"name":"PhotoSwipe Image",
|
||||
"title":"PhotoSwipe Image Viewer",
|
||||
"version":"1.32",
|
||||
"version":"1.33",
|
||||
"source":{
|
||||
"className":"x-item-file x-png",
|
||||
"screenshoot":[
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
define(function(require, exports) {
|
||||
var imageUrl = function(path){
|
||||
var imageUrl = function(path,trueImage){
|
||||
if(path.substr(0,4) == 'http'){
|
||||
return path;
|
||||
}
|
||||
//gif 预览
|
||||
if(core.pathExt(path) == 'gif'){
|
||||
if(trueImage || core.pathExt(path) == 'gif'){
|
||||
return core.path2url(path);
|
||||
}
|
||||
|
||||
|
@ -33,6 +33,7 @@ define(function(require, exports) {
|
|||
itemsArr.push({
|
||||
src:link,
|
||||
msrc:msrc,
|
||||
trueImage:imageUrl(path,true),
|
||||
title:core.pathThis(urlDecode(path)),
|
||||
w:width,h:height,
|
||||
$dom:$dom?$dom:false
|
||||
|
@ -96,38 +97,6 @@ define(function(require, exports) {
|
|||
return {items:itemsArr,index:index};
|
||||
}
|
||||
|
||||
var options = {
|
||||
// history: false,
|
||||
focus: true,
|
||||
index: 0,
|
||||
bgOpacity:0.8,
|
||||
maxSpreadZoom:5,
|
||||
closeOnScroll:false,
|
||||
|
||||
shareEl: true,
|
||||
shareButtons: [
|
||||
//{id:'facebook', label:'Facebook', url:'https://www.facebook.com/sharer/sharer.php?u={{url}}'},
|
||||
{id:'open', label:LNG.menu_open_window, url:'{{raw_image_url}}', download:false},
|
||||
],
|
||||
|
||||
showHideOpacity:false,
|
||||
showAnimationDuration: 300,
|
||||
hideAnimationDuration: 300,
|
||||
fullscreenEl : true,
|
||||
|
||||
// captionEl : false,
|
||||
// tapToClose : false,
|
||||
// tapToToggleControls : true,
|
||||
getThumbBoundsFn: function(index) {
|
||||
var item = itemsArr[index];
|
||||
if(!item || !item.$dom || item.$dom.length == 0){//目录切换后没有原图
|
||||
return {x:$(window).width()/2,y:$(window).height()/2,w:1,h:1};
|
||||
}
|
||||
var pageYScroll = window.pageYOffset || document.documentElement.scrollTop;
|
||||
var rect = $(item.$dom).get(0).getBoundingClientRect();
|
||||
return {x:rect.left,y:rect.top + pageYScroll,w:rect.width,h:rect.height};
|
||||
}
|
||||
};
|
||||
|
||||
//http://dimsemenov.com/plugins/royal-slider/gallery/
|
||||
//http://photoswipe.com/documentation/faq.html
|
||||
|
@ -147,6 +116,42 @@ define(function(require, exports) {
|
|||
return;
|
||||
}
|
||||
|
||||
var options = {
|
||||
// history: false,
|
||||
focus: true,
|
||||
index: 0,
|
||||
bgOpacity:0.8,
|
||||
maxSpreadZoom:5,
|
||||
closeOnScroll:false,
|
||||
|
||||
shareEl: true,
|
||||
shareButtons: [
|
||||
//{id:'facebook', label:'Facebook', url:'https://www.facebook.com/sharer/sharer.php?u={{url}}'},
|
||||
{id:'open', label:"查看原图", url:'{{raw_image_url}}', download:false},
|
||||
{id:'download', label:LNG.download, url:'{{raw_image_url}}', download:true}
|
||||
],
|
||||
getImageURLForShare: function( shareButtonData ) {
|
||||
return gallery.currItem.trueImage || '';
|
||||
},
|
||||
showHideOpacity:false,
|
||||
showAnimationDuration: 300,
|
||||
hideAnimationDuration: 300,
|
||||
fullscreenEl : true,
|
||||
|
||||
// captionEl : false,
|
||||
// tapToClose : false,
|
||||
// tapToToggleControls : true,
|
||||
getThumbBoundsFn: function(index) {
|
||||
var item = itemsArr[index];
|
||||
if(!item || !item.$dom || item.$dom.length == 0){//目录切换后没有原图
|
||||
return {x:$(window).width()/2,y:$(window).height()/2,w:1,h:1};
|
||||
}
|
||||
var pageYScroll = window.pageYOffset || document.documentElement.scrollTop;
|
||||
var rect = $(item.$dom).get(0).getBoundingClientRect();
|
||||
return {x:rect.left,y:rect.top + pageYScroll,w:rect.width,h:rect.height};
|
||||
}
|
||||
};
|
||||
|
||||
var image = getImageArr(imagePath);
|
||||
options.index = image.index;
|
||||
var gallery = new PhotoSwipe($('.pswp').get(0),PhotoSwipeUI_Default,image.items,options);
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"id":"picasa",
|
||||
"name":"{{LNG.Plugin.default.picasa}}",
|
||||
"title":"",
|
||||
"version":"1.21",
|
||||
"version":"1.22",
|
||||
"source":{
|
||||
"className":"x-item-file x-jpg",
|
||||
"screenshoot":[
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
define(function(require, exports) {
|
||||
var imageUrl = function(path){
|
||||
var imageUrl = function(path,trueImage){
|
||||
if(path.substr(0,4) == 'http'){
|
||||
return path;
|
||||
}
|
||||
//gif 预览
|
||||
if(core.pathExt(path) == 'gif'){
|
||||
if(trueImage || core.pathExt(path) == 'gif'){
|
||||
return core.path2url(path);
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ define(function(require, exports) {
|
|||
fileNum ++;
|
||||
items.push([
|
||||
[imageUrl(thePath),imageUrl(thePath),thePath],
|
||||
core.pathThis(thePath),[0,0],''
|
||||
core.pathThis(thePath),[0,0],'',imageUrl(thePath,true)
|
||||
]);
|
||||
});
|
||||
}else{
|
||||
|
@ -53,7 +53,7 @@ define(function(require, exports) {
|
|||
}
|
||||
items.push([
|
||||
[thumb,imageUrl(thePath),thePath],
|
||||
core.pathThis(thePath),[0,0],''
|
||||
core.pathThis(thePath),[0,0],'',imageUrl(thePath,true)
|
||||
]);
|
||||
});
|
||||
}
|
||||
|
@ -113,7 +113,6 @@ define(function(require, exports) {
|
|||
var loadImageBefore = function(){
|
||||
var index = parseInt($('#PV_Control #PV_Items .current').attr('number'));
|
||||
var path = myPicasa.arrItems[index][0][2];
|
||||
|
||||
if(path.substr(0,4) == 'http'){
|
||||
$("#PV_rotate_Left,#PV_rotate_Right,#PV_Btn_Remove").addClass('hidden');
|
||||
}else{
|
||||
|
|
|
@ -439,7 +439,9 @@ Picasa.prototype = {
|
|||
});
|
||||
$('#PV_Btn_Open').die("click").bind('click',function(e){
|
||||
try{
|
||||
window.open($('#PV_Picture').attr('src'));
|
||||
//var imageLink = $('#PV_Picture').attr('src');
|
||||
var imageLink = myPicasa.arrItems[myPicasa.currentNo][4];
|
||||
window.open(imageLink);
|
||||
}catch(e){}
|
||||
});
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"id":"zipView",
|
||||
"name":"{{LNG.Plugin.default.zipView}}",
|
||||
"title":"",
|
||||
"version":"1.31",
|
||||
"version":"1.32",
|
||||
"source":{
|
||||
"icon":"{{pluginHost}}static/images/icon.png",
|
||||
"screenshoot":[
|
||||
|
|
|
@ -527,6 +527,10 @@ define(function(require, exports) {
|
|||
},
|
||||
error:core.ajaxError,
|
||||
success:function(data){
|
||||
if(!data.code && data.data == '0'){
|
||||
Tips.close("出错了!未识别的压缩文件格式;<br/> 请检查该文件是否为压缩文件或者是否损坏。",false);
|
||||
return
|
||||
}
|
||||
Tips.close(data);
|
||||
if(data.code){
|
||||
var name = urlDecode(core.pathThis(path));
|
||||
|
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 504 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 500 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 496 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 525 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 527 B |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 757 B |
Before Width: | Height: | Size: 1023 B After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 747 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 738 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 754 B |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 774 B |
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 939 B After Width: | Height: | Size: 121 B |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 101 B |
Before Width: | Height: | Size: 255 B After Width: | Height: | Size: 119 B |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 7.8 KiB |