version 4.05;

pull/196/head
warlee 2017-08-26 17:16:57 +08:00
parent 2c32ca6993
commit 3cc77d34a4
111 changed files with 1091 additions and 476 deletions

View File

@ -1,3 +1,31 @@
### ver4.05 `2017/8/26`
-----
#### update:
- 4.0稳定优化版
- 登陆开放接口;优化提供认证登陆给其他程序优化
- 开启/关闭 图片略缩图功能[]
- 图片幻灯片播放增强:支持文件列表、压缩文件内、搜索结构、编辑器树目录等同级目录的多张图片打开
- 压缩文件内的压缩文件支持继续打开
- 文件打开接口hooktarget统一设置
- 桌面图标大小和文件列表图标大小分开
- 移动端:
- 拖拽兼容触摸事件;宽度调整;对话框拖拽
- 弹出菜单,点击其他区域默认隐藏
- 打开图片播放处理
- 移动端返回:空路径
- 底部版本展示优化,登陆页样式优化
- title自适应优化
#### fix bug
- 修复头部导航栏下拉菜单被对话框挡住问题解决
- photoSwipe 图片播放重复打开,蒙版没有消失问题
- CAD预览水印显示登录信息;
- office在线编辑、授权用户的底部信息会丢失等问题修复
- 桌面默认图标升级丢失问题
### ver4.03 `2017/8/20`
-----
#### update:

58
app/api/sso.class.php Executable file
View File

@ -0,0 +1,58 @@
<?php
class SSO{
static private function init(){
$sessionName = 'KOD_SESSION_SSO';
$sessionID = $_COOKIE[$sessionName]?$_COOKIE[$sessionName]:md5(uniqid());
$sessionPath = dirname(dirname(dirname(__FILE__))).'/data/session/';
@session_write_close();
@session_name($sessionName);
@session_save_path($sessionPath);
@session_id($sessionID);
@session_start();
//echo '<pre>';var_dump($_SESSION);echo '</pre>';exit;
return $_SESSION;
}
/**
* 设置session 认证
* @param [type] $key [认证key]
*/
static public function sessionSet($key,$value='success'){
self::init();
@session_start();
$_SESSION[$key] = $value;
@session_write_close();
}
static public function sessionCheck($key,$value='success'){
$session = self::init();
if( isset($session[$key]) &&
$session[$key] == $value){
return true;
}
return false;
}
/**
* 直接调用kod的登陆检测(适用于同服务器同域名;)
* @param [type] $kodHost kod的地址;例如 http://test.com/
* @param [type] $appKey 应用标记 例如 loginCheck
* @param [type] $appUrl 验证后跳转到的url
* @param [type] $auth 验证方式:例如:'check=userName&value=smartx'
* check (userID|userName|roleID|roleName|groupID|groupName) 校验方式,为空则所有登陆用户
*/
static public function sessionAuth($appKey,$auth,$kodHost,$appUrl=''){
$authUrl = rtrim($kodHost,'/').'/index.php?user/sso&app='.$appKey.'&'.$auth;
if($appUrl == ''){
$appUrl = $_SERVER['REQUEST_SCHEME'].'://'.$_SERVER['SERVER_NAME'].
':'.$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
}
if(!self::sessionCheck($appKey)){
header('Location: '.$authUrl.'&link='.rawurlencode($appUrl));
exit;
}
}
}

View File

@ -1,50 +0,0 @@
<?php
define('SSO_BASIC_DIR',dirname(dirname(dirname(__FILE__))));
function get_session_data(){
$basicPath = str_replace('\\','/',SSO_BASIC_DIR.'/');
$sessionID = 'KOD_SESSION_ID_'.substr(md5($basicPath),0,5);
$sessionPath = $basicPath.'/data/session/';
@session_name($sessionID);
if( class_exists('SaeStorage') || defined('SAE_APPNAME') ||
isset($_SERVER['HTTP_APPNAME']) ){
}else{
@session_save_path($sessionPath);
}
@session_start();
@session_write_close();
return $_SESSION;
}
function check_session_data($key,$value = true){
$arr = get_session_data();
if(isset($arr[$key]) && $arr[$key] == $value){
return true;
}
return false;
}
/**
* 调用kod的登陆检测(适用于同服务器同域名)
* @param [type] $kodHost kod的地址;例如 http://test.com/
* @param [type] $appKey 应用标记 例如 tools_admin
* @param [type] $appUrl 验证后跳转到的url
* @param [type] $auth 验证方式:例如:'check=user_name&value=smartx'
* check (user_id|user_name|role_id|role_name|group_id|group_name) 校验方式,为空则所有登陆用户
*/
function sso_login_check($kodHost,$appKey,$appUrl,$auth){
$appUrl = trim($appUrl,'/').'/index.php?user/sso';
session_write_close();
$sessionPath = SSO_BASIC_DIR.'/data/session/';
$sessionID = $_COOKIE['KOD_SESSION_SSO']?$_COOKIE['KOD_SESSION_SSO']:md5(uniqid());
session_name('KOD_SESSION_SSO');
session_save_path($sessionPath);
session_id($sessionID);
session_start();
if(!isset($_SESSION[$appKey]) || $_SESSION[$appKey] != 'success'){
header('location:'.$kodHost.'&app='.$appKey.'&'.$auth.'&link='.$appUrl);exit;
}
}

View File

@ -1028,7 +1028,7 @@ class explorer extends Controller{
if (get_path_father($image)==DATA_THUMB){//当前目录则不生成缩略图
$imageThumb=$this->path;
}else {
$cm=new ImageThumb($image,'file');
$cm = new ImageThumb($image,'file');
$cm->prorate($imageThumb,250,250);//生成等比例缩略图
}
}

View File

@ -25,10 +25,10 @@ class pluginApp extends Controller{
}
$model = $this->loadModel('Plugin');
if(!$model->checkAuth($route[2])){
show_tips("Plugin not open,or you have't permission");
show_tips("Plugin not open,or you have't permission[".$route[2]."]");
}
if(!$this->checkAccessPlugin()){
show_tips("Sorry! You have't permission");
show_tips("Sorry! You have't permission[".$route[2]."]");
}
Hook::apply($route[2].'Plugin.'.$route[3]);
}

View File

@ -158,53 +158,51 @@ class user extends Controller{
*/
public function sso(){
$result = false;
$error = "not login";
if(isset($_SESSION) && $_SESSION['kodLogin'] == 1){//避免session不可写导致循环跳转
$user = $_SESSION['kodUser'];
//admin 或者不填则允许所有kod用户登陆
if( $user['role'] == '1' ||
!isset($this->in['check']) ||
!isset($this->in['value']) ){
$result = true;
}
$error = "未登录!";
if(!isset($_SESSION) || $_SESSION['kodLogin'] != 1){//避免session不可写导致循环跳转
$this->login($error);
}
$user = $_SESSION['kodUser'];
//admin 或者不填则允许所有kod用户登陆
if( $user['role'] == '1' ||
!isset($this->in['check']) ||
!isset($this->in['value']) ){
$result = true;
}
$checkValue = false;
switch ($this->in['check']) {
case 'userID':$checkValue = $user['userID'];break;
case 'userName':$checkValue = $user['name'];break;
case 'roleID':$checkValue = $user['role'];break;
case 'roleName':
$role = systemRole::getInfo($user['role']);
$checkValue = $role['name'];
break;
case 'groupID':
$checkValue = array_keys($user['groupInfo']);
break;
case 'groupName':
$checkValue = array();
foreach ($user['groupInfo'] as $groupID=>$val){
$item = systemGroup::getInfo($groupID);
$checkValue[] = $item['name'];
}
break;
default:break;
}
if(!$result && $checkValue != false){
if( (is_string($checkValue) && $checkValue == $this->in['value']) ||
(is_array($checkValue) && in_array($this->in['value'],$checkValue))
){
$result = true;
}else{
$error = $this->in['check'].' not accessed, It\'s must be "'.$this->in['value'].'"';
$checkValue = false;
switch ($this->in['check']) {
case 'userID':$checkValue = $user['userID'];break;
case 'userName':$checkValue = $user['name'];break;
case 'roleID':$checkValue = $user['role'];break;
case 'roleName':
$role = systemRole::getInfo($user['role']);
$checkValue = $role['name'];
break;
case 'groupID':
$checkValue = array_keys($user['groupInfo']);
break;
case 'groupName':
$checkValue = array();
foreach ($user['groupInfo'] as $groupID=>$val){
$item = systemGroup::getInfo($groupID);
$checkValue[] = $item['name'];
}
break;
default:break;
}
if(!$result && $checkValue != false){
if( (is_string($checkValue) && $checkValue == $this->in['value']) ||
(is_array($checkValue) && in_array($this->in['value'],$checkValue))
){
$result = true;
}else{
$error = $this->in['check'].' 没有权限, 配置权限需要为: "'.$this->in['value'].'"';
}
}
if($result){
@session_name('KOD_SESSION_SSO');
@session_id($_COOKIE['KOD_SESSION_SSO']);
@session_start();
$_SESSION[$this->in['app']] = 'success';
@session_write_close();
include(LIB_DIR.'api/sso.class.php');
SSO::sessionSet($this->in['app']);
header('location:'.$this->in['link']);
exit;
}

File diff suppressed because one or more lines are too long

59
app/desktop_app.php Executable file
View File

@ -0,0 +1,59 @@
<?php
$desktopApps = array(
'my_computer' => array(
"type" => "app",
"content" => "core.explorer('','".LNG('my_computer')."');",
"icon" => STATIC_PATH."images/file_icon/icon_others/computer.png",
"name" => LNG('my_computer'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "",
"resize" => 1
),
'recycle' => array(
"type" => "app",
"content" => "core.explorer('".KOD_USER_RECYCLE."','".LNG('recycle')."');",
"icon" => STATIC_PATH."images/file_icon/icon_others/recycle.png",
"name" => LNG('recycle'),
"menuType" => "systemBox menu-recycle-button",
"ext" => 'oexe',
"path" => "",
"resize" => 1
),
'PluginCenter' => array(
"type" => "app",
"content" => "core.openWindowBig('./index.php?pluginApp/index','".LNG('PluginCenter')."');",
"icon" => STATIC_PATH."images/file_icon/icon_others/plugins.png",
"name" => LNG('PluginCenter'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "",
"resize" => 1
),
'setting' => array(
"type" => "app",
"content" => "core.setting();",
"icon" => STATIC_PATH."images/file_icon/icon_others/setting.png",
"name" => LNG('setting'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "/",
"resize" => 1
),
'appStore' => array(
"type" => "app",
"content" => "core.appStore();",
"icon" => STATIC_PATH."images/file_icon/icon_others/appStore.png",
"name" => LNG('app_store'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "",
"resize" => 1
)
);
//管理员插件中心
if(!$GLOBALS['isRoot']){
unset($desktopApps['PluginCenter']);
}
return $desktopApps;

View File

@ -200,10 +200,11 @@ function check_list_dir(){
}
function php_env_check(){
$error = '';
if(!function_exists('iconv')) $error.= '<li>'.LNG('php_env_error_iconv').'</li>';
if(!function_exists('mb_convert_encoding')) $error.= '<li>'.LNG('php_env_error_mb_string').'</li>';
if(!function_exists('iconv')) $error.= '<li>'.LNG('php_env_error').' iconv</li>';
if(!function_exists('curl_init')) $error.= '<li>'.LNG('php_env_error').' curl</li>';
if(!function_exists('mb_convert_encoding')) $error.= '<li>'.LNG('php_env_error').' mb_string</li>';
if(!function_exists('file_get_contents')) $error.='<li>'.LNG('php_env_error').' file_get_contents</li>';
if(!version_compare(PHP_VERSION,'5.0','>=')) $error.= '<li>'.LNG('php_env_error_version').'</li>';
if(!function_exists('file_get_contents')) $error.='<li>'.LNG('php_env_error_file').'</li>';
if(!check_list_dir()) $error.='<li>'.LNG('php_env_error_list_dir').'</li>';
$parent = get_path_father(BASIC_PATH);
@ -343,11 +344,20 @@ function init_setting(){
if (file_exists($settingUser)) {
include($settingUser);
}
if(is_array($GLOBALS['L'])){
I18n::set($GLOBALS['L']);
}
I18n::set(array(
'kod_name' => $GLOBALS['config']['settingSystem']['systemName'],
'kod_name_desc' => $GLOBALS['config']['settingSystem']['systemDesc'],
));
));
if(isset($GLOBALS['config']['setting_system']['system_name'])){
I18n::set(array(
'kod_name' => $GLOBALS['config']['setting_system']['system_name'],
'kod_name_desc' => $GLOBALS['config']['setting_system']['system_desc'],
));
}
define('STATIC_PATH',$GLOBALS['config']['settings']['staticPath']);
}

File diff suppressed because one or more lines are too long

View File

@ -70,6 +70,14 @@ class Hook{
static public function unbind($event) {
self::$events[$event] = false;
}
//数据处理;只支持传入一个参数
static public function filter($event,&$param) {
$result = self::trigger($event,$param);
if($result){
$param = $result;
}
}
static public function trigger($event) {
$actions = @self::$events[$event];
if(is_array($actions) && count($actions) >= 1) {
@ -80,7 +88,7 @@ class Hook{
continue;
}
$action['times'] = $action['times'] + 1;
//var_dump($action['action'],$args); //debug
$res = self::apply($action['action'],$args);
if(!is_null($res)){
$result = $res;

View File

@ -40,6 +40,7 @@ class ImageThumb {
$info = '';
$data = GetImageSize($file, $info);
$img = false;
//var_dump($data,$file,memory_get_usage()-$GLOBALS['config']['appMemoryStart']);
switch ($data[2]) {
case IMAGETYPE_GIF:
if (!function_exists('imagecreatefromgif')) {
@ -50,16 +51,22 @@ class ImageThumb {
case IMAGETYPE_JPEG:
if (!function_exists('imagecreatefromjpeg')) {
break;
}
}
$img = imagecreatefromjpeg($file);
break;
case IMAGETYPE_PNG:
if (!function_exists('imagecreatefrompng')) {
break;
}
$img = imagecreatefrompng($file);
$img = @imagecreatefrompng($file);
imagesavealpha($img,true);
break;
case IMAGETYPE_XBM:
$img = imagecreatefromxbm($file);
break;
case IMAGETYPE_WBMP:
$img = imagecreatefromwbmp($file);
break;
case IMAGETYPE_BMP:
$img = imagecreatefrombmp($file);
break;
@ -69,13 +76,11 @@ class ImageThumb {
}
public static function imageSize($file){
$img = self::image($file);
$result = false;
if($img){
$result = array('width'=>imageSX($img),"height"=>imageSY($img));
imageDestroy($img);
$size = GetImageSize($file);
if(!$size){
return false;
}
return $result;
return array('width'=>$size[0],"height"=>$size[1]);
}
// 生成扭曲型缩图

View File

@ -191,8 +191,7 @@ class PluginBase{
*/
final function echoFile($file,$replace=false){
$filePath = $this->pluginPath.$file;
$ext = get_path_this($file);
if($ext == 'js'){
if(ACT == 'commonJs'){
echo "\n/* [".$this->pluginName.'/'.$file."] */";
if(!file_exists($filePath)){
echo " /* ==>[not exist]*/";

View File

@ -5,19 +5,20 @@
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 '<span class="copyright-content">';
if(isset($settings['copyright'])){
echo $settings['copyright'];
echo LNG('copyright_pre').' v'.KOD_VERSION;
}else{
echo LNG('copyright_pre').' v'.KOD_VERSION.' | '.LNG('copyright_info');
echo '<span class="copyright-content">';
if(isset($settings['copyright'])){
echo $settings['copyright'];
}else{
echo LNG('copyright_pre').' v'.KOD_VERSION.' | '.LNG('copyright_info');
}
echo '<a href="javascript:core.copyright();" class="icon-info-sign copyright-bottom"></a>';
if(isset($settingSystem['globalIcp'])){
echo "&nbsp;&nbsp; ".$settingSystem['globalIcp'];
}
echo '</span>';
}
echo ' <a href="javascript:core.copyright();" class="icon-info-sign copyright-bottom"></a>';
if(isset($settingSystem['globalIcp'])){
echo "&nbsp;&nbsp; ".$settingSystem['globalIcp'];
}
echo '</span>'
?>
</div>
<!-- https://getfirebug.com/firebuglite -->

View File

@ -5,9 +5,11 @@
</head>
<body style="overflow: hidden;" oncontextmenu="return core.contextmenu();" id="page-desktop">
<?php include(TEMPLATE.'common/navbar.html');?>
<div class='bodymain drag-upload-box desktop' style="background-image:url('<?php echo $wall;?>');">
<div class="full-background desktop" style="background-image:url('<?php echo $wall;?>');">
<img class="background" />
</div>
<?php include(TEMPLATE.'common/navbar.html');?>
<div class='bodymain drag-upload-box desktop'>
<div class="file-continer file-list-icon hidden"></div>
</div><!-- html5拖拽上传list -->
@ -23,8 +25,8 @@
<li class='setting_help'><a href="#" onclick="core.setting('help');"><?php echo LNG('setting_help');?></a></li>
<li><div id="leftspliter"></div></li>
<li class='setting_about'><a href="#" onclick="core.setting('about');"><?php echo LNG('setting_about');?></a></li>
<li class='setting_user'><a href="#" onclick="core.setting('user');"><?php echo LNG('setting');?></a></li>
<li class='home_page'><a href="#" onclick="core.setting('user');"><?php echo LNG('setting');?></a></li>
<li class='setting_user'><a href="#" onclick="core.setting('user');"><?php echo LNG('setting_user');?></a></li>
<li class='setting_homepage'><a href="#" onclick="core.openWindow('http://kodcloud.com','<?php echo $L['my_document'];?>');">kodCloud 主页</a></li>
</ul>
<ul id="links">
<li class="icon"></li>

View File

@ -41,12 +41,36 @@
<div class="file-menu">
<div class="file-action-menu hidden">
<div class="action-menu" data-action="action-copy"><i class="ffont-icon icon-copy"></i><?php echo LNG('copy');?></div>
<div class='action-menu' data-action="action-rname"><i class="font-icon icon-pencil"></i><?php echo LNG('rename');?></div>
<div class='action-menu' data-action="action-download"><i class="font-icon icon-cloud-download"></i><?php echo LNG('download');?></div>
<div class='action-menu' data-action="action-info"><i class="font-icon icon-info"></i><?php echo LNG('info');?></div>
<div class="action-menu" data-action="action-remove"><i class="font-icon icon-trash"></i><?php echo LNG('remove');?></div>
<div class="menu-close"><i class="font-icon icon-ellipsis-horizontal"></i></div>
<div class="action-menu" data-action="action-copy">
<span class="content">
<i class="font-icon icon-copy"></i><?php echo LNG('copy');?>
</span>
</div>
<div class='action-menu' data-action="action-rname">
<span class="content">
<i class="font-icon icon-pencil"></i><?php echo LNG('rename');?>
</span>
</div>
<div class='action-menu' data-action="action-download">
<span class="content">
<i class="font-icon icon-cloud-download"></i><?php echo LNG('download');?>
</span>
</div>
<div class='action-menu' data-action="action-info">
<span class="content">
<i class="font-icon icon-info"></i><?php echo LNG('info');?>
</span>
</div>
<div class="action-menu" data-action="action-remove">
<span class="content">
<i class="font-icon icon-trash"></i><?php echo LNG('remove');?>
</span>
</div>
<div class="menu-close">
<span class="content">
<i class="font-icon icon-ellipsis-horizontal"></i>
</span>
</div>
<div style="clear:both"></div>
</div>
</div>

View File

@ -11,7 +11,7 @@
echo '<img class="background" src="'.$image.'" />';
echo '<style type="text/css">.title{background: #6699cc url('.$image.') 0px -92px;}</style>';
?>
<div class="loginbox" >
<div class="loginbox box-install" >
<div class="title">
<div class="logo"><i class="icon-cloud"></i><?php echo strip_tags(LNG('kod_name'));?></div>
<div class='info'>——<?php echo LNG('kod_name_desc');?></div>

View File

@ -37,11 +37,13 @@
<div class="form">
<form action="#">
<div class="inputs">
<div><span><?php echo LNG('username');?></span>
<input id="username" name='name' type="text" placeholder="<?php echo LNG('username');?>" required autocomplete="on"/>
<div>
<span><?php echo LNG('username');?></span>
<input id="username" name='name' type="text" placeholder="<?php echo LNG('username');?>" required autocomplete="on"/>
</div>
<div><span><?php echo LNG('password');?></span>
<input id="password" name='password' type="password" placeholder="<?php echo LNG('password');?>" required autocomplete="on" />
<div>
<span><?php echo LNG('password');?></span>
<input id="password" name='password' type="password" placeholder="<?php echo LNG('password');?>" required autocomplete="on" />
</div>
<?php if(need_check_code()){?>
<div class='check-code'>
@ -54,11 +56,15 @@
</div>
<div class="actions">
<label for='rm'>
<input type="checkbox" class="checkbox" name="rememberPassword" id='rm'/>
<?php echo LNG('login_rember_password');?>
</label>
<a href="javascript:void(0);" class="forget-password"><?php echo LNG('forget_password');?></a>
<br/>
<input type="submit" id="submit" value="<?php echo LNG('login');?>" />
<input type="checkbox" class="checkbox" name="rememberPassword" id='rm'/>
<label for='rm'><?php echo LNG('login_rember_password');?></label>
</div>
<a href="javascript:void(0);" class="forget-password"><?php echo LNG('forget_password');?></a>
<div class="msg"><?php echo $msg;?></div>
<div style="clear:both;"></div>

View File

@ -1,10 +1,17 @@
<!--user login-->
<?php include(TEMPLATE.'common/header.html');?>
<?php include(TEMPLATE.'common/header.html');?>
<link href="<?php echo STATIC_PATH;?>style/wap/login.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet">
<title><?php echo strip_tags(LNG('kod_name')).LNG('kod_power_by');?></title>
</head>
<body>
<?php
$arr = array(2,3,6,8,9,10,12);
$get = $arr[mt_rand(0,count($arr)-1)];
$image = STATIC_PATH."images/wall_page/".$get.".jpg";
echo '<div class="background" style="background-image:url('.$image.')"></div>';
echo '<style type="text/css">.title{background: #6699cc url('.$image.') 0px -92px;}</style>';
?>
<div class="loginbox login-wap" >
<div class="title">
<div class="logo">
@ -15,8 +22,14 @@
<div class="form">
<form action="#">
<div class="inputs">
<div><span><?php echo LNG('username');?></span><input id="username" name='name' type="text" placeholder="<?php echo LNG('username');?>" required/> </div>
<div><span><?php echo LNG('password');?></span><input id="password" name='password' type="password" placeholder="<?php echo LNG('password');?>" required /></div>
<div>
<span><?php echo LNG('username');?></span>
<input id="username" name='name' type="text" placeholder="<?php echo LNG('username');?>" required/>
</div>
<div>
<span><?php echo LNG('password');?></span>
<input id="password" name='password' type="password" placeholder="<?php echo LNG('password');?>" required />
</div>
<?php if(need_check_code()){?>
<div class='check-code'>
@ -28,9 +41,13 @@
<?php }?>
</div>
<div class="actions">
<div>
<label for='rememberPassword-label'>
<input type="checkbox" class="checkbox" name="rememberPassword" id='rememberPassword-label'/>
<?php echo LNG('login_rember_password');?>
</label>
</div>
<input type="submit" id="submit" value="<?php echo LNG('login');?>" />
<input type="checkbox" class="checkbox" name="rememberPassword" id='rememberPassword-label'/>
<label for='rememberPassword-label'><?php echo LNG('login_rember_password');?></label>
</div>
<div class="msg"><?php echo $msg;?></div>
<div style="clear:both;"></div>

View File

@ -102,6 +102,7 @@ function updateApps(){
$dataDist[$key] = $value;
}
fileCache::save($fileDist,$dataDist);
move_path(THE_BASIC_PATH.'/app/desktop_app.php',THE_DATA_PATH.'system/desktop_app.php');
}
function updateSystemSetting(){
$systemFile = THE_DATA_PATH.'system/system_setting.php';
@ -132,7 +133,9 @@ class Update3To400{
$this->initMember();
}
private function keyGet($str){
$str = str_replace(array('_id','theme_diy'),array('ID','themeDIY'),$str);
$str = str_replace(
array('_id','theme_diy','device_uuid'),
array('ID','themeDIY','deviceUUID'),$str);
$str = explode('_',$str);
for ($i=0; $i < count($str); $i++) {
if ($i == 0) continue;

View File

@ -26,7 +26,6 @@ if(GLOBAL_DEBUG){
//header('HTTP/1.1 200 Ok');//兼容部分lightHttp服务器环境; php5.1以下会输出异常;暂屏蔽
header("Content-type: text/html; charset=utf-8");
define('BASIC_PATH',str_replace('\\','/',dirname(dirname(__FILE__))).'/');
define('LIB_DIR', BASIC_PATH .'app/'); //系统库目录
define('PLUGIN_DIR', BASIC_PATH .'plugins/'); //插件目录
@ -34,7 +33,7 @@ define('CONTROLLER_DIR',LIB_DIR .'controller/'); //控制器目录
define('MODEL_DIR', LIB_DIR .'model/'); //模型目录
define('TEMPLATE', LIB_DIR .'template/'); //模版文件路径
define('FUNCTION_DIR', LIB_DIR .'function/'); //函数库目录
define('CLASS_DIR', LIB_DIR .'kod/'); //工具类目录
define('CLASS_DIR', LIB_DIR .'kod/'); //工具类目录
define('CORER_DIR', LIB_DIR .'core/'); //核心目录
define('SDK_DIR', LIB_DIR .'sdks/'); //
define('DEFAULT_PERRMISSIONS',0755); //新建文件、解压文件默认权限777 部分虚拟主机限制了777
@ -42,9 +41,15 @@ define('DEFAULT_PERRMISSIONS',0755); //新建文件、解压文件默认权限
/*
* 可以数据目录;移到web目录之外可以使程序更安全, 就不用限制用户的扩展名权限了;
* 1. 需要先将data文件夹移到别的地方 例如将data文件夹拷贝到D:/
* 2. 修改配置 define('DATA_PATH','D:/data/');
* 2. 在config文件夹下新建define.php 新增一行 define('DATA_PATH','D:/data/'); (避免升级覆盖)
*/
define('DATA_PATH', BASIC_PATH .'data/'); //用户数据目录
if(file_exists(BASIC_PATH.'config/define.php')){
include(BASIC_PATH.'config/define.php');
}
if(!defined('DATA_PATH')){
define('DATA_PATH', BASIC_PATH .'data/'); //用户数据目录
}
define('USER_PATH', DATA_PATH .'User/'); //用户目录
define('GROUP_PATH', DATA_PATH .'Group/'); //群组目录
define('USER_SYSTEM', DATA_PATH .'system/'); //用户数据存储目录
@ -57,10 +62,10 @@ define('KOD_SESSION', DATA_PATH .'session/'); //session目录
include(FUNCTION_DIR.'common.function.php');
include(FUNCTION_DIR.'web.function.php');
include(FUNCTION_DIR.'file.function.php');
include(FUNCTION_DIR.'helper.function.php');
$config['appStartTime'] = mtime();
$config['appCharset'] = 'utf-8'; //该程序整体统一编码
$config['appCharset'] = 'utf-8';//该程序整体统一编码
$config['checkCharset'] = 'ASCII,UTF-8,GB2312,GBK,BIG5,UTF-16,UCS-2,'.
'Unicode,EUC-KR,EUC-JP,SHIFT-JIS,EUCJP-WIN,SJIS-WIN,JIS,LATIN1';//文件打开自动检测编码
@ -70,11 +75,9 @@ define('APP_HOST',HOST.str_replace(WEB_ROOT,'',BASIC_PATH)); //程序根目录
define('PLUGIN_HOST',APP_HOST.str_replace(BASIC_PATH,'',PLUGIN_DIR)); //插件目录
include(CONTROLLER_DIR.'util.php');
include(FUNCTION_DIR.'helper.function.php');
include(BASIC_PATH.'config/setting.php');
include(BASIC_PATH.'config/version.php');
//when edit a file ;check charset and auto converto utf-8;
if (strtoupper(substr(PHP_OS, 0,3)) === 'WIN') {
$config['systemOS']='windows';

1
config/i18n/.4686f38f62.log Executable file
View File

@ -0,0 +1 @@
b6d9RfH-GxWoMzhjQrmq11aRkzAOgg06K-Wjt6uk7-PYyOuD5Ucy1KHvEKqxOXAT

View File

@ -1 +0,0 @@
8ef8jc0m8FR2SqEDIkxZ5dx75JS_LNOUh7ch08lujwWRhlvoa9-H3fZW9yT67NXW

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "فتح الرسوم المتحركة",
"recycle_open_if" => "فتح سلة المحذوفات",
"recycle_open" => "فتح",
"setting_user_recycle_desc" => "بعد حذف سيتم حذف الحذف المادي مباشرة",
"setting_user_animate_desc" => "نافذة مفتوحة والرسوم المتحركة الأخرى",
"setting_user_sound_desc" => "تشغيل الصوت",
"setting_user_imageThumb" => "الصور المصغرة",
"setting_user_imageThumb_desc" => "الموجهات وغيرها من المعدات منخفضة الأداء، يمكنك النظر في الإغلاق",
"setting_user_fileSelect" => "فتح الاختيار رمز الملف",
"setting_user_fileSelect_desc" => "رمز الملف الاختيار مفتاح اليسار، انقر بزر الماوس الأيمن فوق القائمة اختصار الإدخال",
"qrcode" => "URL رمز الاستجابة السريعة",
"theme_mac" => "ماك الأبيض الحد الأدنى",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "لم يكن لديك إذن لقراءة!",
"no_permission_download" => "لم يكن لديك إذن لتحميل!",
"php_env_check" => "تعمل مراقبة البيئة:",
"php_env_error" => "خطأ البيئة:",
"php_env_error" => "مكتبة فب مفقودة",
"php_env_error_ignore" => "تجاهل وأدخل",
"php_env_error_version" => "PHP النسخة لا يمكن أن يكون أقل من 5.0",
"php_env_error_iconv" => "يكونف فتحها",
"php_env_error_mb_string" => "mb_string فتحها",
"php_env_error_file" => "file_get_contents فتحها",
"php_env_error_path" => "غير قابل للكتابة",
"php_env_error_list_dir" => "خادم الويب الخاص بك يفتح الدليل ميزة قائمة لأسباب أمنية، تعطيل هذه الميزة!<a href=\"https://www.google.com.hk/#newwindow=1&safe=strict&q=web+server+turn+off+directory+listing\" target=\"blank\">كيف؟</a>",
"php_env_error_gd" => "وينبغي أن تكون مكتبة GD بى مفتوحة، وإلا رمز، استخدم الصورة المصغرة لن تعمل بشكل صحيح",

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "Open Анимация",
"recycle_open_if" => "Отворете кошчето",
"recycle_open" => "отворено",
"setting_user_recycle_desc" => "След изтриването ще бъде изтрито директно физическо изтриване",
"setting_user_animate_desc" => "Прозорец отворен и друга анимация",
"setting_user_sound_desc" => "Работен звук",
"setting_user_imageThumb" => "Миниатюри на картини",
"setting_user_imageThumb_desc" => "Рутери и друго оборудване с ниска производителност, можете да обмислите затваряне",
"setting_user_fileSelect" => "Отворете иконата на файла за проверка",
"setting_user_fileSelect_desc" => "Икона на файла за проверка на левия бутон, щракнете с десния бутон на мишката върху менюто",
"qrcode" => "URL QR код",
"theme_mac" => "Mac минималистичен бял",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "Вие нямате разрешение да чете!",
"no_permission_download" => "Не е нужно разрешение за сваляне!",
"php_env_check" => "Работна среда мониторинг:",
"php_env_error" => "Environment Грешка:",
"php_env_error" => "Липсва PHP библиотеката",
"php_env_error_ignore" => "Игнорирай и въведете",
"php_env_error_version" => "PHP версия не може да бъде по-малко от 5.0",
"php_env_error_iconv" => "Неотваряна изброяване",
"php_env_error_mb_string" => "Неотваряна mb_string",
"php_env_error_file" => "Неотворени file_get_contents",
"php_env_error_path" => "Не е достъпна за писане",
"php_env_error_list_dir" => "Вашият уеб сървър отваря директорията листинг функция от съображения за сигурност, деактивирате тази функция!<a href=\"https://www.google.com.hk/#newwindow=1&safe=strict&q=web+server+turn+off+directory+listing\" target=\"blank\">как?</a>",
"php_env_error_gd" => "Php GD библиотека трябва да бъде отворена, в противен случай кода, използвайте миниатюрата няма да функционира правилно",

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "অ্যানিমেশন খুলুন",
"recycle_open_if" => "রিসাইকেল বিন খুলুন",
"recycle_open" => "খোলা",
"setting_user_recycle_desc" => "মুছে ফেলার পরে সরাসরি শারীরিক অপসারণ মুছে ফেলা হবে",
"setting_user_animate_desc" => "উইন্ডো খোলা এবং অন্যান্য অ্যানিমেশন",
"setting_user_sound_desc" => "অপারেশন শব্দ",
"setting_user_imageThumb" => "ছবি থাম্বনেইল",
"setting_user_imageThumb_desc" => "Routers এবং অন্যান্য কম কর্মক্ষমতা সরঞ্জাম, আপনি বন্ধ বিবেচনা করতে পারেন",
"setting_user_fileSelect" => "ফাইল আইকন চেক খুলুন",
"setting_user_fileSelect_desc" => "ফাইল আইকন বাম কী চেক, ডান-ক্লিক করুন মেনু শর্টকাট এন্ট্রি",
"qrcode" => "URL টি QR কোড",
"theme_mac" => "ম্যাক অল্পস্বল্প সাদা",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "আপনি পড়ার অনুমতি আছে না!",
"no_permission_download" => "আপনি ডাউনলোড করার অনুমতি নেই!",
"php_env_check" => "অপারেটিং পরিবেশ পর্যবেক্ষণ:",
"php_env_error" => "পরিবেশ ত্রুটি:",
"php_env_error" => "Php লাইব্রেরি অনুপস্থিত",
"php_env_error_ignore" => "উপেক্ষা করুন এবং লিখুন",
"php_env_error_version" => "পিএইচপি সংস্করণ 5.0 কম হতে পারে না",
"php_env_error_iconv" => "অনুদ্ঘাটিত iconv",
"php_env_error_mb_string" => "অনুদ্ঘাটিত mb_string",
"php_env_error_file" => "অনুদ্ঘাটিত file_get_contents",
"php_env_error_path" => "লেখা যাচ্ছে না",
"php_env_error_list_dir" => "আপনার ওয়েব সার্ভারের মধ্যে নিরাপত্তার কারণে বৈশিষ্ট্য তালিকা প্রর্দশিত হবে, এই বৈশিষ্ট্যটি নিষ্ক্রিয়!<a href=\"https://www.google.com.hk/#newwindow=1&safe=strict&q=web+server+turn+off+directory+listing\" target=\"blank\">কিভাবে?</a>",
"php_env_error_gd" => "Php জিডি লাইব্রেরি খোলা, অন্যথায় কোড হতে হবে থাম্বনেইল ব্যবহার সঠিকভাবে কাজ করবে না",

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "obrir Animació",
"recycle_open_if" => "Obriu la Paperera de reciclatge",
"recycle_open" => "obert",
"setting_user_recycle_desc" => "Després de la supressió, se suprimirà l'eliminació física directament",
"setting_user_animate_desc" => "Finestra oberta i altra animació",
"setting_user_sound_desc" => "So de l'operació",
"setting_user_imageThumb" => "Miniatures de la imatge",
"setting_user_imageThumb_desc" => "Enrutadors i altres equips de baix rendiment, podeu considerar tancar",
"setting_user_fileSelect" => "Obriu la comprovació de la icona de fitxer",
"setting_user_fileSelect_desc" => "Feu clic a la icona de la icona d'arxiu, feu clic amb el botó secundari a l'entrada de menú contextual",
"qrcode" => "URL del codi QR",
"theme_mac" => "blanc minimalista Mac",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "Vostè no té permís per llegir!",
"no_permission_download" => "Vostè no té permís per descarregar!",
"php_env_check" => "Operant vigilància del medi ambient:",
"php_env_error" => "Error Medi Ambient:",
"php_env_error" => "Falta la biblioteca php",
"php_env_error_ignore" => "Ignorar i introdueixi",
"php_env_error_version" => "versió de PHP no pot ser inferior a 5.0",
"php_env_error_iconv" => "iconv sense obrir",
"php_env_error_mb_string" => "mb_string sense obrir",
"php_env_error_file" => "file_get_contents sense obrir",
"php_env_error_path" => "no es pot escriure",
"php_env_error_list_dir" => "El seu servidor web obre la característica de llistar directoris per raons de seguretat, desactivar aquesta característica!<a href=\"https://www.google.com.hk/#newwindow=1&safe=strict&q=web+server+turn+off+directory+listing\" target=\"blank\">com?</a>",
"php_env_error_gd" => "php biblioteca GD ha de ser obert, en cas contrari el codi, utilitzeu la miniatura no funcionarà correctament",

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "ανοικτή Animation",
"recycle_open_if" => "Ανοίξτε τον Κάδο Ανακύκλωσης",
"recycle_open" => "ανοιχτό",
"setting_user_recycle_desc" => "Μετά τη διαγραφή θα διαγραφεί απευθείας η φυσική διαγραφή",
"setting_user_animate_desc" => "Ανοιχτό παράθυρο και άλλη κινούμενη εικόνα",
"setting_user_sound_desc" => "Λειτουργία ήχου",
"setting_user_imageThumb" => "Εικόνες μικρογραφιών",
"setting_user_imageThumb_desc" => "Οι δρομολογητές και άλλοι εξοπλισμοί χαμηλής απόδοσης, μπορείτε να εξετάσετε το ενδεχόμενο κλεισίματος",
"setting_user_fileSelect" => "Ανοίξτε τον έλεγχο εικονιδίου αρχείου",
"setting_user_fileSelect_desc" => "Έλεγχος αριστερού πλήκτρου εικονιδίου αρχείου, κάντε δεξί κλικ στην καταχώρηση συντομεύσεων μενού",
"qrcode" => "URL κώδικα QR",
"theme_mac" => "Mac μινιμαλιστικό λευκό",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "Δεν έχετε άδεια για να διαβάσετε!",
"no_permission_download" => "Δεν έχετε άδεια για να κατεβάσετε!",
"php_env_check" => "Περιβάλλον λειτουργίας παρακολούθησης:",
"php_env_error" => "Περιβάλλον Σφάλμα:",
"php_env_error" => "Βιβλιοθήκη Php λείπει",
"php_env_error_ignore" => "Αγνοήστε και πληκτρολογήστε",
"php_env_error_version" => "PHP έκδοση δεν μπορεί να είναι μικρότερη από 5,0",
"php_env_error_iconv" => "Μη ανοιγμένα iconv",
"php_env_error_mb_string" => "Μη ανοιγμένα mb_string",
"php_env_error_file" => "Μη ανοιγμένα file_get_contents",
"php_env_error_path" => "δεν είναι εγγράψιμο",
"php_env_error_list_dir" => "web server σας ανοίγει τον κατάλογο χαρακτηριστικό λίστα για λόγους ασφαλείας, απενεργοποιήστε αυτή τη λειτουργία!<a href=\"https://www.google.com.hk/#newwindow=1&safe=strict&q=web+server+turn+off+directory+listing\" target=\"blank\">πώς;</a>",
"php_env_error_gd" => "Php GD βιβλιοθήκη πρέπει να είναι ανοιχτή, διαφορετικά τον κωδικό, χρησιμοποιήστε τη μικρογραφία δεν θα λειτουργεί σωστά",

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "Open the animation",
"recycle_open_if" => "Open The Recycle",
"recycle_open" => "Open",
"setting_user_recycle_desc" => "After the deletion will be deleted directly physical deletion",
"setting_user_animate_desc" => "Window open and other animation",
"setting_user_sound_desc" => "Operation sound",
"setting_user_imageThumb" => "Picture thumbnails",
"setting_user_imageThumb_desc" => "Routers and other low-performance equipment, you can consider closing",
"setting_user_fileSelect" => "Open the file icon check",
"setting_user_fileSelect_desc" => "File icon left key check, right-click menu shortcut entry",
"qrcode" => "URL QR code",
"theme_mac" => "Mac white",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "Does not have read permissions",
"no_permission_download" => "Does not have download permissions",
"php_env_check" => "Environment check:",
"php_env_error" => "Environment error:",
"php_env_error" => "Php library missing",
"php_env_error_ignore" => "Ignore and enter",
"php_env_error_version" => "PHP version must be greater than 5.0",
"php_env_error_iconv" => "iconv is not enabled",
"php_env_error_mb_string" => "mb_string is not enable",
"php_env_error_file" => "file_get_contents is not enabled",
"php_env_error_path" => "Can not write",
"php_env_error_list_dir" => "Your web server has a directory directory feature turned on, please disable this feature for security reasons! <a href=\"https://www.google.com.hk/#newwindow=1&safe=strict&q=web+server+turn+off+directory+listing\" target=\"blank\">how? </a>",
"php_env_error_gd" => "php GD is not enabled",

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "Abrir Animación",
"recycle_open_if" => "Abra la Papelera de reciclaje",
"recycle_open" => "abierto",
"setting_user_recycle_desc" => "Después de la eliminación se eliminará directamente eliminación física",
"setting_user_animate_desc" => "Ventana abierta y otra animación",
"setting_user_sound_desc" => "Operación de sonido",
"setting_user_imageThumb" => "Miniaturas de imágenes",
"setting_user_imageThumb_desc" => "Enrutadores y otros equipos de bajo rendimiento, puede considerar cerrar",
"setting_user_fileSelect" => "Abrir la comprobación del icono del archivo",
"setting_user_fileSelect_desc" => "Archivo icono de la izquierda clave de verificación, haga clic en el menú de acceso directo",
"qrcode" => "URL del código QR",
"theme_mac" => "blanco minimalista Mac",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "Usted no tiene permiso para leer!",
"no_permission_download" => "Usted no tiene permiso para descargar!",
"php_env_check" => "Operando vigilancia del medio ambiente:",
"php_env_error" => "Error Medio Ambiente:",
"php_env_error" => "Falta la biblioteca Php",
"php_env_error_ignore" => "Ignorar e introduzca",
"php_env_error_version" => "versión de PHP no puede ser inferior a 5.0",
"php_env_error_iconv" => "iconv sin abrir",
"php_env_error_mb_string" => "mb_string sin abrir",
"php_env_error_file" => "file_get_contents sin abrir",
"php_env_error_path" => "no se puede escribir",
"php_env_error_list_dir" => "Su servidor web abre la característica de listar directorios por razones de seguridad, desactivar esta característica!<a href=\"https://www.google.com.hk/#newwindow=1&safe=strict&q=web+server+turn+off+directory+listing\" target=\"blank\">cómo?</a>",
"php_env_error_gd" => "php biblioteca GD debe ser abierto, de lo contrario el código, utilice la miniatura no funcionará correctamente",

Binary file not shown.

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "گسترش انیمیشن",
"recycle_open_if" => "باز کردن سطل بازیافت",
"recycle_open" => "باز",
"setting_user_recycle_desc" => "پس از حذف حذف مستقیم فیزیکی حذف خواهد شد",
"setting_user_animate_desc" => "پنجره باز و انیمیشن دیگر",
"setting_user_sound_desc" => "صدا عملیات",
"setting_user_imageThumb" => "ریز عکسها",
"setting_user_imageThumb_desc" => "روترها و دیگر تجهیزات کم کارایی، شما می توانید بسته شدن را در نظر بگیرید",
"setting_user_fileSelect" => "بررسی نماد فایل را باز کنید",
"setting_user_fileSelect_desc" => "نماد فایل چپ کلید را بررسی کنید، میانبر ورودی منو راست کلیک کنید",
"qrcode" => "URL کد QR",
"theme_mac" => "مک سفید مینیمالیستی",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "شما اجازه خواندن ندارد!",
"no_permission_download" => "شما اجازه دانلود ندارد!",
"php_env_check" => "عامل نظارت بر محیط زیست:",
"php_env_error" => "خطا محیط زیست:",
"php_env_error" => "کتابخانه پی اچ پی از دست رفته است",
"php_env_error_ignore" => "نادیده گرفتن و وارد",
"php_env_error_version" => "نسخه پی اچ پی نمی تواند کمتر از 5.0",
"php_env_error_iconv" => "iconv باز نشده",
"php_env_error_mb_string" => "mb_string باز نشده",
"php_env_error_file" => "از file_get_contents باز نشده",
"php_env_error_path" => "قابل نوشتن نیست",
"php_env_error_list_dir" => "وب سرور خود را در دایرکتوری ویژگی را به دلایل امنیتی باز می شود، غیر فعال کردن این ویژگی!<a href=\"https://www.google.com.hk/#newwindow=1&safe=strict&q=web+server+turn+off+directory+listing\" target=\"blank\">چگونه؟</a>",
"php_env_error_gd" => "کتابخانه PHP GD باید باز باشد، در غیر این صورت کد، استفاده از تصاویر بند انگشتی نمی خواهد درست عمل",

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "एनीमेशन ओपन",
"recycle_open_if" => "रीसायकल बिन खोलें",
"recycle_open" => "खुला",
"setting_user_recycle_desc" => "हटाने के बाद सीधे भौतिक विलोपन हटा दिया जाएगा",
"setting_user_animate_desc" => "खिड़की खुली और अन्य एनीमेशन",
"setting_user_sound_desc" => "ऑपरेशन ध्वनि",
"setting_user_imageThumb" => "चित्र थंबनेल",
"setting_user_imageThumb_desc" => "रूटर और अन्य कम प्रदर्शन वाले उपकरण, आप बंद करने पर विचार कर सकते हैं",
"setting_user_fileSelect" => "फ़ाइल आइकन चेक खोलें",
"setting_user_fileSelect_desc" => "फ़ाइल आइकन कुंजी चेक को छोड़ दिया, राइट-क्लिक मेनू शॉर्टकट प्रविष्टि",
"qrcode" => "यूआरएल क्यूआर कोड",
"theme_mac" => "मैक minimalist सफेद",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "आप पढ़ने के लिए अनुमति नहीं है!",
"no_permission_download" => "आप डाउनलोड करने के लिए अनुमति नहीं है!",
"php_env_check" => "आपरेटिंग पर्यावरण निगरानी:",
"php_env_error" => "पर्यावरण त्रुटि:",
"php_env_error" => "PHP पुस्तकालय लापता है",
"php_env_error_ignore" => "पर ध्यान न दें और दर्ज करें",
"php_env_error_version" => "पीएचपी संस्करण 5.0 की तुलना में कम नहीं किया जा सकता",
"php_env_error_iconv" => "बंद iconv",
"php_env_error_mb_string" => "बंद mb_string",
"php_env_error_file" => "बंद file_get_contents",
"php_env_error_path" => "लिखने योग्य नहीं",
"php_env_error_list_dir" => "अपने वेब सर्वर निर्देशिका सुरक्षा कारणों के लिए सुविधा लिस्टिंग को खोलता है, इस सुविधा को अक्षम!<a href=\"https://www.google.com.hk/#newwindow=1&fe=strict&q=web+server+turn+off+directory+listin target=\"blank\">कैसे?</a>",
"php_env_error_gd" => "PHP जी.डी. पुस्तकालय खोलने, अन्यथा कोड होना चाहिए, थंबनेल का उपयोग ठीक ढंग से काम नहीं चलेगा",

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "オープンアニメーション",
"recycle_open_if" => "ごみ箱を開きます",
"recycle_open" => "オープン",
"setting_user_recycle_desc" => "削除後、物理的な削除が直接削除されます。",
"setting_user_animate_desc" => "ウィンドウが開いている、他のアニメーション",
"setting_user_sound_desc" => "操作音",
"setting_user_imageThumb" => "画像のサムネイル",
"setting_user_imageThumb_desc" => "ルータや他の低性能機器、あなたは閉鎖を検討することができます",
"setting_user_fileSelect" => "ファイルアイコンのチェックを開く",
"setting_user_fileSelect_desc" => "ファイルアイコン左キーチェック、右クリックメニューショートカットエントリ",
"qrcode" => "URL QRコード",
"theme_mac" => "Macのミニマリスト、白",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "あなたは読み取り権限を持っていません!",
"no_permission_download" => "あなたがダウンロードする権限がありません!",
"php_env_check" => "動作環境のモニタリング:",
"php_env_error" => "環境エラー:",
"php_env_error" => "PHPライブラリがありません",
"php_env_error_ignore" => "無視して入力します。",
"php_env_error_version" => "PHPのバージョンが5.0より小さくすることはできません",
"php_env_error_iconv" => "未開封のiconv",
"php_env_error_mb_string" => "未開封mb_string",
"php_env_error_file" => "未開封のfile_get_contents",
"php_env_error_path" => "書き込み可能ではありません",
"php_env_error_list_dir" => "Webサーバーは、この機能を無効にし、セキュリティ上の理由から機能をディレクトリリストを開きます<a href=\"https://www.google.com.hk/#newwindow=1&fe=strict&q=web+server+turn+off+directory+listin target=\"blank\">か?</a>",
"php_env_error_gd" => "PHPのGDライブラリのサムネイルを使用し、それ以外のコード開いている必要がありますが正しく機能しなくなります",

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "Анимация открытия",
"recycle_open_if" => "Открыть корзину",
"recycle_open" => "Открыть",
"setting_user_recycle_desc" => "После удаления будет удалено непосредственно физическое удаление",
"setting_user_animate_desc" => "Открывание окна и другая анимация",
"setting_user_sound_desc" => "Звук работы",
"setting_user_imageThumb" => "Миниатюры изображений",
"setting_user_imageThumb_desc" => "Маршрутизаторы и другое низкопроизводительное оборудование, вы можете рассмотреть возможность закрытия",
"setting_user_fileSelect" => "Открыть проверку значка файла",
"setting_user_fileSelect_desc" => "Значок значка файла левой клавиши, контекстное меню правой кнопки мыши",
"qrcode" => "URL QR-код",
"theme_mac" => "Mac минималистичный белый",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "У вас нет разрешения на чтение!",
"no_permission_download" => "У вас нет разрешения на скачивание!",
"php_env_check" => "Условия эксплуатации мониторинг:",
"php_env_error" => "Ошибка окружения:",
"php_env_error" => "Отсутствует библиотека php",
"php_env_error_ignore" => "Игнорировать и введите",
"php_env_error_version" => "PHP версия не может быть меньше, чем 5,0",
"php_env_error_iconv" => "Неоткрытое Iconv",
"php_env_error_mb_string" => "Неоткрытое mb_string",
"php_env_error_file" => "Нераскрытые file_get_contents",
"php_env_error_path" => "Не доступен для записи",
"php_env_error_list_dir" => "Ваш веб-сервер открывает каталог функцию со списком по соображениям безопасности, отключить эту функцию!<a href=\"https://www.google.com.hk/#newwindow=1&safe=strict&q=web+server+turn+off+directory+listing\" target=\"blank\">как?</a>",
"php_env_error_gd" => "библиотека Php GD должна быть открыта, в противном случае код, используйте эскиз не будет функционировать должным образом",

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "විවෘත සජීවනය",
"recycle_open_if" => "පිළිසකර බඳුන විවෘත",
"recycle_open" => "විවෘත",
"setting_user_recycle_desc" => "මකාදැමීමෙන් අනතුරුව සෘජු භෞතික මකාදැමීම මකා දැමෙනු ඇත",
"setting_user_animate_desc" => "කවුළුව විවෘත සහ අනෙකුත් සජිවීකරණ",
"setting_user_sound_desc" => "මෙහෙයුම් ශබ්දය",
"setting_user_imageThumb" => "පින්තූර thumbnails",
"setting_user_imageThumb_desc" => "රවුටර සහ අනෙකුත් අඩු කාර්ය සාධන උපකරණ, ඔබ වසා දැමීමට සලකා බැලිය හැකිය",
"setting_user_fileSelect" => "ගොනු අයිකනය පරීක්ෂා කරන්න",
"setting_user_fileSelect_desc" => "ගොනු අයිකනය යතුර පරික්ෂා කර, දකුණු-ක්ලික් කර මෙනු කෙටිමං ප්රවේශය",
"qrcode" => "URL එක QR කේතය",
"theme_mac" => "මැක් අවම මෝස්තර සුදු",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "ඔබ කියවා කිරීමට අවසර නැත!",
"no_permission_download" => "ඔබ බාගත කිරීම සඳහා ඔබට අවසර නැත!",
"php_env_check" => "මෙහෙයුම් පරිසරයක් අධීක්ෂණ:",
"php_env_error" => "පරිසර දෝෂය:",
"php_env_error" => "Php පුස්තකාල අතුරුදහන්",
"php_env_error_ignore" => "නොසලකා හරින්න සහ ඇතුළු",
"php_env_error_version" => "PHP අනුවාදය 5.0 ට වඩා අඩු විය නොහැක",
"php_env_error_iconv" => "හරවා iconv",
"php_env_error_mb_string" => "හරවා mb_string",
"php_env_error_file" => "හරවා file_get_contents",
"php_env_error_path" => ", ලිවිය-හැකි ගොනුවක් නොවේ",
"php_env_error_list_dir" => "ඔබේ වෙබ් සේවාදායකය මෙම අංගය අක්රීය, ආරක්ෂක හේතූන් ලක්ෂණය ලැයිස්තුගත බහලුම විවෘත කරයි!<a href=\"https://www.google.com.hk/#newwindow=1&safe=strict&q=web+server+turn+off+directory+listing\" target=\"blank\">කෙසේද?</a>",
"php_env_error_gd" => "Php GD පුස්තකාල සිඟිති රුව භාවිතා කරන්න, නැතහොත් එම කේතය, විවෘත විය යුතු නිසි ලෙස ක්රියාත්මක නොවන",

Binary file not shown.

Binary file not shown.

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "опен Анимација",
"recycle_open_if" => "Отворите корпу за отпатке",
"recycle_open" => "отворен",
"setting_user_recycle_desc" => "Након брисања биће избрисано директно физичко брисање",
"setting_user_animate_desc" => "Прозор отворен и друга анимација",
"setting_user_sound_desc" => "Оперативни звук",
"setting_user_imageThumb" => "Сличице слике",
"setting_user_imageThumb_desc" => "Рутери и друга опрема са ниским перформансама, можете размотрити затварање",
"setting_user_fileSelect" => "Отворите икону датотеке икона",
"setting_user_fileSelect_desc" => "Датотека икона остави на тастатури, унос пречице менија са десним тастером миша",
"qrcode" => "УРЛ адреса КР код",
"theme_mac" => "Мац минималистички бели",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "Немате дозволе за читање!",
"no_permission_download" => "Немате дозволу за преузимање!",
"php_env_check" => "Радно окружење мониторинг:",
"php_env_error" => "Животна средина Грешка:",
"php_env_error" => "Недостаје ПХП библиотека",
"php_env_error_ignore" => "Игнорисати и унесите",
"php_env_error_version" => "ПХП верзија не може бити мања од 5,0",
"php_env_error_iconv" => "неотворена ицонв",
"php_env_error_mb_string" => "неотворена мб_стринг",
"php_env_error_file" => "Неотворени филе_гет_цонтентс",
"php_env_error_path" => "не може писати",
"php_env_error_list_dir" => "Ваш веб сервер отвара директоријум листинг функцију из безбедносних разлога, искључите ову функцију! <a href=\"https://www.google.com.hk/#newwindow=1&safe=strict&q=web+server+turn+off+directory+listing\" target=\"blank\">како? </a>",
"php_env_error_gd" => "Пхп ГД библиотека требало би да буде отворен, иначе код, користи минијатурни неће функционисати како треба",

Binary file not shown.

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "திறந்த அனிமேஷன்",
"recycle_open_if" => "சுழற்சி தொட்டி திறக்க",
"recycle_open" => "திறந்த",
"setting_user_recycle_desc" => "நீக்கப்பட்ட பிறகு நேரடியாக உடல் நீக்கம் நீக்கப்படும்",
"setting_user_animate_desc" => "சாளர திறந்த மற்றும் பிற அனிமேஷன்",
"setting_user_sound_desc" => "ஆபரேஷன் ஒலி",
"setting_user_imageThumb" => "படம் சிறுபடங்கள்",
"setting_user_imageThumb_desc" => "திசைவிகள் மற்றும் பிற குறைந்த செயல்திறன் உபகரணங்கள், நீங்கள் மூடுவதைக் காணலாம்",
"setting_user_fileSelect" => "கோப்பு ஐகான் காசோலை திறக்க",
"setting_user_fileSelect_desc" => "கோப்பு ஐகானை இடது சரிபார்த்து, வலது கிளிக் மெனு குறுக்குவழி உள்ளீடு",
"qrcode" => "URL ஐ QR குறியீடு",
"theme_mac" => "மேக் குறைந்தபட்ச வெள்ளை",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "நீங்கள் படிக்க அனுமதி இல்லை!",
"no_permission_download" => "நீங்கள் பதிவிறக்கம் செய்ய அனுமதி இல்லை!",
"php_env_check" => "இயக்க சூழல் கண்காணிப்பு:",
"php_env_error" => "சுற்றுச்சூழல் பிழை:",
"php_env_error" => "PHP நூலகம் காணவில்லை",
"php_env_error_ignore" => "புறக்கணி மற்றும் நுழைய",
"php_env_error_version" => "PHP பதிப்பு 5.0 விட குறைவாக இருக்க முடியாது",
"php_env_error_iconv" => "திறக்கப்படாத க்கு மாற்ற iconv",
"php_env_error_mb_string" => "திறக்கப்படாத mb_string",
"php_env_error_file" => "திறக்கப்படாத file_get_contents",
"php_env_error_path" => "எழுத முடியாது",
"php_env_error_list_dir" => "உங்கள் வலை சர்வர் பாதுகாப்பு காரணங்களுக்காக பட்டியல் அம்சம் அடைவை திறந்து, இந்த அம்சத்தை முடக்க!<a href=\"https://www.google.com.hk/#newwindow=1&safe=strict&q=web+server+turn+off+directory+listing\" target=\"blank\">எப்படி?</a>",
"php_env_error_gd" => "PHP GD நூலகம் திறந்த, இல்லையெனில் குறியீடு, சிறு பயன்படுத்த சரியாக செயல்பட முடியாது இருக்க வேண்டும்",

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "เปิดนิเมชั่น",
"recycle_open_if" => "เปิด Recycle Bin",
"recycle_open" => "เปิด",
"setting_user_recycle_desc" => "หลังจากการลบจะถูกลบโดยตรงการลบทางกายภาพ",
"setting_user_animate_desc" => "เปิดหน้าต่างและภาพเคลื่อนไหวอื่น ๆ",
"setting_user_sound_desc" => "เสียงการทำงาน",
"setting_user_imageThumb" => "ภาพขนาดย่อ",
"setting_user_imageThumb_desc" => "เราเตอร์และอุปกรณ์ประสิทธิภาพต่ำอื่น ๆ คุณสามารถพิจารณาปิด",
"setting_user_fileSelect" => "เปิดการตรวจสอบไฟล์ไอคอน",
"setting_user_fileSelect_desc" => "ตรวจสอบแฟ้มที่ด้านซ้ายของรายการคลิกขวาที่รายการทางลัดของเมนู",
"qrcode" => "URL รหัส QR",
"theme_mac" => "แม็คสีขาวที่เรียบง่าย",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "คุณไม่ได้รับอนุญาตให้อ่าน!",
"no_permission_download" => "คุณไม่ได้รับอนุญาตให้ดาวน์โหลด!",
"php_env_check" => "การดำเนินงานการตรวจสอบสภาพแวดล้อม:",
"php_env_error" => "ข้อผิดพลาดสิ่งแวดล้อม:",
"php_env_error" => "ห้องสมุด Php หายไป",
"php_env_error_ignore" => "ละเว้นและป้อน",
"php_env_error_version" => "PHP รุ่นไม่สามารถจะน้อยกว่า 5.0",
"php_env_error_iconv" => "iconv ยังไม่ได้เปิด",
"php_env_error_mb_string" => "mb_string ยังไม่ได้เปิด",
"php_env_error_file" => "file_get_contents ยังไม่ได้เปิด",
"php_env_error_path" => "ไม่สามารถเขียนได้",
"php_env_error_list_dir" => "เว็บเซิร์ฟเวอร์ของคุณเปิดไดเรกทอรีคุณลักษณะรายการสำหรับเหตุผลด้านความปลอดภัยปิดใช้งานคุณลักษณะนี้!<a href=\"https://www.google.com.hk/#newwindow=1&ⵍfe=strict&q=web+server+turn+off+directory+listin⡞ target=\"blank\">อย่างไร</a>",
"php_env_error_gd" => "ห้องสมุด PHP GD ควรจะเปิดมิฉะนั้นรหัสที่ใช้ภาพขนาดย่อจะไม่ทำงานอย่างถูกต้อง",

Binary file not shown.

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "відкрити Анімація",
"recycle_open_if" => "відкрити кошика",
"recycle_open" => "відкритий",
"setting_user_recycle_desc" => "Після видалення буде видалено безпосередньо фізичне видалення",
"setting_user_animate_desc" => "Вікно відкрито та інша анімація",
"setting_user_sound_desc" => "Операція звук",
"setting_user_imageThumb" => "Ескізи зображень",
"setting_user_imageThumb_desc" => "Маршрутизатори та інше неякісне обладнання, ви можете розглянути питання про закриття",
"setting_user_fileSelect" => "Відкрийте перевірку значка файлу",
"setting_user_fileSelect_desc" => "Перевірте значок файлу лівої клавіші, клацніть правою кнопкою миші на клавіатурі",
"qrcode" => "URL QR-код",
"theme_mac" => "Mac мінімалістський білий",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "У вас немає дозволу на читання!",
"no_permission_download" => "У вас немає дозволу на скачування!",
"php_env_check" => "Умови експлуатації моніторинг:",
"php_env_error" => "Навколишнє середовище Помилка:",
"php_env_error" => "Php бібліотека відсутня",
"php_env_error_ignore" => "Ігнорувати і введіть",
"php_env_error_version" => "PHP версія не може бути менше, ніж 5,0",
"php_env_error_iconv" => "невідкрите Iconv",
"php_env_error_mb_string" => "невідкрите mb_string",
"php_env_error_file" => "нерозкриті file_get_contents",
"php_env_error_path" => "Чи не доступний для запису",
"php_env_error_list_dir" => "Ваш веб-сервер відкриває каталог функцію зі списком з міркувань безпеки, відключити цю функцію!<a href=\"https://www.google.com.hk/#newwindow=1&safe=strict&q=web+server+turn+off+directory+listing\" target=\"blank\">як?</a>",
"php_env_error_gd" => "бібліотека Php GD повинна бути відкрита, в іншому випадку код, використовуйте ескіз не працюватиме належним чином",

Binary file not shown.

Binary file not shown.

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "开启动画",
"recycle_open_if" => "开启回收站",
"recycle_open" => "开启",
"setting_user_recycle_desc" => "关闭后删除会直接物理删除,建议开启",
"setting_user_animate_desc" => "窗口打开等动画,操作不流畅时可以考虑关闭",
"setting_user_sound_desc" => "打开文件、删除文件、清空回收站等操作音效",
"setting_user_imageThumb" => "开启图片缩略图",
"setting_user_imageThumb_desc" => "路由器等性能低的设备,可以考虑关闭",
"setting_user_fileSelect" => "开启文件图标勾选",
"setting_user_fileSelect_desc" => "文件图标的左键勾选,右键菜单的快捷入口",
"qrcode" => "URL 二维码",
"theme_mac" => "Mac 简约白",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "您没有读取权限!",
"no_permission_download" => "您没有下载权限!",
"php_env_check" => "运行环境检测:",
"php_env_error" => "环境错误:",
"php_env_error" => "php库缺失",
"php_env_error_ignore" => "忽略并进入",
"php_env_error_version" => "PHP版本不能低于5.0",
"php_env_error_iconv" => "未开启 iconv",
"php_env_error_mb_string" => "未开启 mb_string",
"php_env_error_file" => "未开启 file_get_contents",
"php_env_error_path" => "不可写",
"php_env_error_list_dir" => "您的web服务器开启了列目录功能为安全考虑请禁用该功能<a href=\"http://jingyan.baidu.com/article/22fe7ced389a0f3003617f41.html\" target=\"blank\">如何操作?</a>",
"php_env_error_gd" => "须开启php GD库,否则验证码、缩略图使用将不正常",

View File

@ -10,6 +10,13 @@ return array(
"setting_user_animate_open" => "開啟動畫",
"recycle_open_if" => "開啟垃圾筒",
"recycle_open" => "開啟",
"setting_user_recycle_desc" => "關閉後刪除會直接物理刪除,建議開啟",
"setting_user_animate_desc" => "窗口打開等動畫,操作不流暢時可以考慮關閉",
"setting_user_sound_desc" => "打開文件、刪除文件、清空回收站等操作音效",
"setting_user_imageThumb" => "開啟圖片縮略圖",
"setting_user_imageThumb_desc" => "路由器等性能低的設備,可以考慮關閉",
"setting_user_fileSelect" => "開啟文件圖標勾選",
"setting_user_fileSelect_desc" => "文件圖標的左鍵勾選,右鍵菜單的快捷入口",
"qrcode" => "URL 二維碼",
"theme_mac" => "Mac 簡約白",
"theme_win7" => "Windows 7",
@ -258,12 +265,9 @@ return array(
"no_permission_read" => "您没有读取权限!",
"no_permission_download" => "您没有下载权限!",
"php_env_check" => "運行環境檢測:",
"php_env_error" => "環境錯誤:",
"php_env_error" => "php庫缺失",
"php_env_error_ignore" => "忽略並進入",
"php_env_error_version" => "PHP版本不能低於5.0",
"php_env_error_iconv" => "未開啟 iconv",
"php_env_error_mb_string" => "未開啟 mb_string",
"php_env_error_file" => "未開啟 file_get_contents",
"php_env_error_path" => "不可寫",
"php_env_error_list_dir" => "您的web服務器開啟了列目錄功能為安全考慮請禁用該功能<a href=\"http://jingyan.baidu.com/article/22fe7ced389a0f3003617f41.html\" target=\"blank\">如何操作?</a>",
"php_env_error_gd" => "須開啟php GD庫,否則驗證碼、縮略圖使用將不正常",

View File

@ -1,2 +1,2 @@
<?php
define('KOD_VERSION','4.03');
define('KOD_VERSION','4.05');

View File

@ -11,11 +11,12 @@
@ignore_user_abort(true);
@set_time_limit(3600*2);//set_time_limit(0) 1day
@ini_set('memory_limit','2028M');//2G;
include(__DIR__.'/../../../app/api/sso.php');
if(!check_session_data('AdminerAccess')){
include('./../../../app/api/sso.class.php');
if(!SSO::sessionCheck('AdminerAccess')){
die('Not Authorized!');
}
error_reporting(6135);$Lc=!preg_match('~^(unsafe_raw)?$~',ini_get("filter.default"));if($Lc||ini_get("filter.default_flags")){foreach(array('_GET','_POST','_COOKIE','_SERVER')as$X){$Wh=filter_input_array(constant("INPUT$X"),FILTER_UNSAFE_RAW);if($Wh)$$X=$Wh;}}if(function_exists("mb_internal_encoding"))mb_internal_encoding("8bit");if(isset($_GET["file"])){if($_SERVER["HTTP_IF_MODIFIED_SINCE"]){header("HTTP/1.1 304 Not Modified");exit;}header("Expires: ".gmdate("D, d M Y H:i:s",time()+365*24*60*60)." GMT");header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");header("Cache-Control: immutable");if($_GET["file"]=="favicon.ico"){header("Content-Type: image/x-icon");echo
lzw_decompress("\0\0\0` \0\0\n @\0´C„è\"\0`EãQ¸àÿ‡?ÀtvM'”JdÁd\\Œb0\0Ä\"™ÀfÓˆ¤îs5ÏçÑA<C391>XPaJ“0„¥‘8„#RŠT©z`ˆ#.©ÇcíXÃþÈ€?À-\0¡Im? .«M¶\0ȯ(̉ýÀ/(\0");}elseif($_GET["file"]=="default.css"){header("Content-Type: text/css; charset=utf-8");echo
lzw_decompress("\n1̇“ÙŒÞl7œ‡B1„4vb0˜Ífs¼ên2BÌѱ٘Þn:‡#(¼b.\rDc)ÈÈa7E„¤Âl ¦Ã±”èi1ÌŽs˜´ç-4™‡fÓ ÈÎi7³é† „ŽŒFé”vt2ž‚Ó! r0Ïãã£t~½U<1D>'3M€ÉW„B¦'cÍPÂ:6T\rc£A¾zr_îWK¶\r-¼VNFS%~Ãc²Ùí&\\^ÊrÀ­æuŎÞôÙ4'7k¶è¯ÂãQÔæhš'g\rFB\ryT7SS¥PÐ1=ǤcIèÊ:<18>d”ºm>£S8L†J<E280A0>œt.<01>Š Ï‹`'C¡¼ÛÐ889¤È ŽQØýŒî2<C3AE>#8Ð<38>­£˜6mú²†ðjˆ¢h«<…Œ°«Œ9/ë˜ç:<0E>Jê)Ê‚¤\0d>!\0Zˆvì»në¾ð¼o(Úó¥ÉkÔ7½<37>sàù>Œ î†!ÐR\"*nSý\0@P\"Áè’(#[¶¥£@g ¹oü­znþ9k¤8†nš™ª1´I*ˆô =Ín²¤ª<0E>¸è0«c(ö;¾Ã Ðè!°üë*cì÷>ÎŽ¬E7DñLJ© J=ÓÚÞ1Lû?Ðs=#`Ê3\$4ì€úÈuȱÌÎzGÑC YAt«?;×QÒk&Çï<C387>YP¿uèåǯ}UaHV%G;ƒs¼”<A\0\\¼ÔPÑ\\Âœ&ªóV¦ð\n£SUÃtíÅÇrŒêˆÆ2¤ l^íZ6˜ej…Á­³A ·dó[ÝsÕ¶ˆJP”ªÊóˆÒ<CB86>ŒŠ8è=»ƒ˜à6 74*óŸ¨#eÈÀÞ!Õ7{Æ6“¿<oÍCª9v[MôÅ-`Óõkö>ŽÚ´åIªƒHÚ3<C39A>xú€äw0t6¾Ã%MR%³½jhÚB˜<´\0ÉAQ<P<:šãu/¤;\\> Ë-¹„ʈÍÁ QH\nv¡L+vÖæì<ï\rèåvàöî¹\\* àÉçÓ´Ý¢gŒ<67>nË©¸ ¹TЩ2P•\r¨øß‹\"+z 8£ ¶:#€ÊèÃÎ2ºJ[<5B>i—£¨;z˜ûÑô¡rÊ3 #¨Ù‰ :ãní\r㽃eÙpdÝ<>Ý è2cˆê4²k¿Š£\rG•æE6_³¢ú=î·SZUǷ㌞O—ðÅ?¡éþ27£cÝÐ<C39D>ÅhnÆÜùu3…E>\$J[Áq[\räIŠ6.ÆJÑ\"EPrèGÌŠGA ÝW¡³ž\r<EFBFBD>º´6<EFBFBD>Ík†¢½`.-¡ªB2>#<15>ìhØÀˆ<58>øu\r¡¸=‡Z  b€Å<E282AC>╃!JZÈ”uªyO×Z¥M˜Õ6<0E>lM[0©ä€àß!ImñyÂ+pÉ#ag¡ÞŒvW˜:qp\"4ÅôòŸãhe<EFBFBD>î…0 Aq-\"¡Ê ƒ§ÆÂ\" ÍÒ@‡)o,,<2C>”¤”×Rb`@©B@ÐÊʯ<>¤Q\n†èŠ·˜<EFBFBD>„™=(r~‰l©~¯ÄhˆsAllÖ\n7»!1 ! Ü#é\0…A“LH(½!ÔʘagH\0ÄT\ni˜\$ôöœ4GaÎIÉ!¸.—Ř5§ÅM\rÑ2Ï Ù;ƒ,öžLIJ†äÃd?“ÒºÅí%Õˆ:çN@b.âª2í5«ôt: FAw²B£EŽ,Ç-\$ù£'ê:Ó©u©?¨tK;kÍ<6B>àžÐ¸¨ä\0ouMD)k_Phž˜Ó5MC}7…È2‡w.Q<>B¦8)ìÀ†8(DIù=©éy`Øed\0s,`É•jŒH<C592>Ä\"(b³¢Ä\\ÙÖnl\"Ù‚^Ë쀭eE½\nèáë±X!SqXÔÀ\r©Œ€7A±ž†0ê<1C>£y7pPìºðçA˜4‡ƒ(yÖJwm…2…ò<0E>ª.¯ó‰†¬fp°ÏË;Æ„5ÂJÍcÜqŒQz\\\0[H ÿ<> 3f'b¼µFðøÆY¨\nAà9_§IÞà(fÎÓ<C38E>qVÑŨäõ³4µÜò¹„RIÂY<C382>å&JºFñ}£{FTëh9[7h\0à TÖ^ö´jËÔq×jõžÕ”§­€cÂWIð@`_ÑsVDçÃ[¾\"{1áÈ3‡• ŽÚô»÷¨<…l¼l.±éÐ[¨»<1A>Þ#įº¤b°Þu­¶/Ÿ\0ä3ævaå«Dp>2 ½I<03>DWÕš¢kK<6B>AŒ»hHš]¨<>•ã€W!]Ê<>÷ltÜÉ•RÌ­4L[äÐÅYC cTj<c;s‡q¸p€ Ä5ÅtóJ§m6—%J”-\\õÍeB=i ß-ð*%´·¦÷¢TV[&M8ó*\r™bÄY\rihˆ „ÙPŒ9T×-VÉ°ZÔúüÛ³ù49β™”ƒp-´`ÙÿÜÌÇGÉÙ' ì¹Ðô M²:§Å™')0ƒYuÚcí:!« x#צè¦-l*®TÉ\nYläù†š ³‹*D ÉXë V\\îËØÚ®ó]y¯ƒ\nÖ2r,Ɇåç<C3A5>,ÎdÐ×~ųÝ÷s³-ç+Ö»uÛ\\BÀ¶¥²Iw€Ô!ƒOsØÔ¯lò YCÁÐ<C390>È:À@ÆœEUË._)Ë9uÿzœµvψ´¬1ï—é_(Sõéq齡r¾yuî+¥Z*ê6€u<E282AC>y¿<ÉÇõz\\|ØZK; áe×úoYåÀ<C3A5>óžÃl´xöà-7×ô÷4rkYY?ÔÕGWt¡¼÷[KÚšÃåzoØ<¿€Íà têÏô†¶¾ù—É€gçýjð‡_!à<>o…êÊ\$ Iã¹ÀI¿.&Ü5½P\\—›]¥Àè†Æ\nCØ.ïÖ_¹ø;¿çs«<69>S/gÖ:ÞPëɳauNͨ|Æaáå¯á™º¬±¢µÓâ«6ØÓŽÙž3Ö|÷¾‡Ä{©ceîXòù<°e«p>Ní}´í~âÿO¾¡÷Ò™Bl¿ÂjÊ/¢óKø¼Hdch-˾ýŽºØšð/ûîÜþÎäùȶ·hÔž<C394>0ŽÀÐŒÈÐÌú<C38C>ÎH<C38E>©8<C2A9>j6é\n+d <20>l7\r ¾ ÀÚ…0N7e<06>Z°0`m Ën¢ÝÃp\0Ð\0¾} Ç@[<08><>ãi0˜ ðƒ ð~…<>¤4P•\nÐ<EFBFBD>”bЯ0©p P¢4@ï ꇉI\0``f”ë\r`<60>``˜°Yð¢zÀß Põ€ê\r𯰿 pÎ ¤y HÕq¬@Ø ñ QÆq‡Ñ ¬`¿±Ñ bi”ŒUС ñš@`)™ðÁÐô àì)°ÍÑZèpj(Ñ--lÕâêÖ1Q<10><>%­ñYÑ\n1}°ÏÍ\\*¤“hÿŒ{§†C0°#€ÆHˆ˜0TqAäö ðb”=Â…±f- éðÿ iAðs'‘ÝÑãZ\r<EFBFBD>Rc'°å«­ èYQ1±Ò<C2B1>2!r\"1÷ Qï!qûr\0°B˜²DÑwð”\0Û±¾<C2B1>ªñ\$òSÃÙ\"¬]ò@`è±²@,Ÿ\"r\"ò)&Ñô&é\nt€äbèm0˜2)Qw\nÀÖ  ó æ ò¦p(0«*ò³‡ÒŽ±ò¡£q\nÃ&i\nî \"ù’ÁCÒáÏ\"Á.1y.q^ òøŸ2ñòð\0Ï.òõQ׬rýÑ)/\0Ú”!/¹.S+1Rë/3:5ÀÆ<C380>ó11³\nBÑ43 4±G#〜`ŒSa °ra6Îâes7Óq£,æ<>©¹j3q4)<29>\$ˆ˜‰« à@*Ò×-²Í9ñá¢\n±ë\"0',ÑhõS}\"Ÿ3ss9ðÅ1ó½7S-=1g4 ß<pr.€Û)LA9ê¶Í´ êÁ/9ÏSÍ?“/5H}>É.«‰4LD;‘¿@2!AÑã@³áôBråÔ-/ô+016˜#„)Š˜\"ÂŽi@€`P;.\n<><)Ô±ôV\nl8<EFBFBD>K#gkød|¶ƒ8ãlÁÂâ.lf.ô?œA@\rÆ.¤\$J2tN#ôRr¢AE¢ËEéë´e€ËFóFÓ¦g­8*€");}elseif($_GET["file"]=="functions.js"){header("Content-Type: text/javascript; charset=utf-8");echo

View File

@ -0,0 +1,5 @@
<?php
include('./../../../app/api/sso.class.php');
SSO::sessionAuth('loginTest','check=roleID&value=1','http://127.0.0.1/kod/kod_dev/');
echo '登陆成功!'.$_GET['a'];

View File

@ -18,9 +18,8 @@ class adminerPlugin extends PluginBase{
));
}
public function index(){
@session_start();
$_SESSION['AdminerAccess'] = 1;
@session_write_close();
include(LIB_DIR.'api/sso.class.php');
SSO::sessionSet('AdminerAccess');
header('Location: '.$this->pluginHost.'adminer/');
}
}

View File

@ -1,58 +1,72 @@
define(function(require, exports) {
var itemsArr = [];
var getImageArr = function(imagePath){
var items = [];
itemsArr = [];
var index = -1;
var width = 0,height = 0;
if(window.Config){
if(Config.pageApp == 'editor'){
var $folder = $(".curSelectedNode").parent().parent();
var fileNum = 0;
var zTree = ui.tree.zTree()
$folder.find('li[treenode]').each(function(){
var node = zTree.getNodeByTId($(this).attr('id'));
if(!node) return;
var thePath = node.path;
var ext = core.pathExt(node.path);
if(!kodApp.appSupportCheck('photoSwipe',ext)){
return;
}
if(thePath == imagePath){
index = fileNum;
}
fileNum ++;
items.push({
src:core.path2url(thePath),
msrc:core.path2url(thePath),
title:urlDecode(core.pathThis(thePath)),
w:width,h:height
});
});
}else{
$('.file-continer .ico.picture').each(function(i){
var $image = $(this).find('img');
var thePath = hashDecode($(this).parents('.file').attr('data-path'));
if(thePath == imagePath){
index = i;
}
items.push({
src:core.path2url(thePath),
msrc:$image.attr('data-original'),
title:urlDecode(core.pathThis(thePath)),
w:width,h:height
});
});
var itemsPush = function(path,msrc,$dom){
var width = 0,height = 0;
if(!msrc){
msrc = core.path2url(path);
}
itemsArr.push({
src:core.path2url(path),
msrc:msrc,
title:urlDecode(core.pathThis(path)),
w:width,h:height,
$dom:$dom?$dom:false
});
}
if(items.length == 0 || index == -1){
items = [{
src:core.path2url(imagePath),
msrc:core.path2url(imagePath),
title:urlDecode(core.pathThis(imagePath)),
w:width,h:height
}];
//打开时最后的target对象dom [文件列表;搜索列表;树目录[编辑器压缩文件预览]]
var $lastTarget = kodApp.getLastOpenTarget();
//console.log('test',$lastTarget);
if(!$lastTarget || _.get($lastTarget,'length') == 0){
}else if($lastTarget.hasClass('file-box')){
var $continer = $lastTarget.parents('.file-continer');
$continer.find('.ico.picture').each(function(i){
var $image = $(this).find('img');
var thePath = hashDecode($(this).parents('.file').attr('data-path'));
if(thePath == imagePath){
index = i;
}
itemsPush(thePath,$image.attr('data-original'),$image);
});
}else if($lastTarget.parents('.search-result').exists()){//搜索列表
var $continer = $lastTarget.parents('.search-result');
$continer.find('.file-item').each(function(i){
var thePath = hashDecode($(this).attr('data-path'));
var ext = core.pathExt(thePath);
if(!kodApp.appSupportCheck('photoSwipe',ext)){
return;
}
if(thePath == imagePath){
index = i;
}
itemsPush(thePath,false,$(this).find('.file-icon'));
});
}else if($lastTarget.parents('.ztree').exists()){ //树目录:编辑器或压缩文件内打开
var id = $lastTarget.parents('.ztree').attr('id');
var zTree = $.fn.zTree.getZTreeObj(id);
var fileNum = 0;
$lastTarget.parent().find('li[treenode]').each(function(){
var node = zTree.getNodeByTId($(this).attr('id'));
if(!node) return;
var thePath = node.path;
var ext = core.pathExt(node.path);
if(!kodApp.appSupportCheck('photoSwipe',ext)){
return;
}
if(thePath == imagePath){
index = fileNum;
}
fileNum ++;
itemsPush(thePath,false,$(this).find('.tree_icon'));
});
}
return {items:items,index:index};
if(itemsArr.length == 0 || index == -1){
itemsPush(imagePath);
}
return {items:itemsArr,index:index};
}
var options = {
@ -68,17 +82,13 @@ define(function(require, exports) {
showAnimationDuration: 300,
hideAnimationDuration: 300,
getThumbBoundsFn: function(index) {
// 自动获取图片大小后;不支持打开关闭渐变动画了
var thumbnail = $('.ico.picture')[index];
if(!thumbnail || $(thumbnail).find('img').length == 0){//目录切换后没有原图
var result = {x:$(window).width()/2,y:$(window).height()/2,w:1,h:1};
return result;
var item = itemsArr[index];
if(!item || !item.$dom){//目录切换后没有原图
return {x:$(window).width()/2,y:$(window).height()/2,w:1,h:1};
}
thumbnail = $(thumbnail).find('img').get(0);
var pageYScroll = window.pageYOffset || document.documentElement.scrollTop;
var rect = thumbnail.getBoundingClientRect();
var result = {x:rect.left,y:rect.top + pageYScroll,w:rect.width,h:rect.height};
return result;
var rect = $(item.$dom).get(0).getBoundingClientRect();
return {x:rect.left,y:rect.top + pageYScroll,w:rect.width,h:rect.height};
}
};
@ -96,6 +106,9 @@ define(function(require, exports) {
$(photoSwipeTpl).appendTo('body');
$('.pswp__caption__center').css({"text-align":"center"});
}
if($('.pswp').hasClass('pswp--open')){//已经打开
return;
}
var image = getImageArr(imagePath);
options.index = image.index;

View File

@ -5,14 +5,11 @@ kodReady.push(function(){
if(_.get(window,'Config.pageApp') != 'desktop'){
return;
}
//加载时钟挂件
$.artDialog.open("{{pluginApi}}",{
className:'desktop-widget',
title:"clock",
top: 45,
resize:true,
left:$(window).width() - 200 - 5,
top: 40,
left:$(window).width() - 210,
width:'200px',
height:'200px',
simple:true

View File

@ -15,6 +15,9 @@ kodReady.push(function(){
// $(scrollArr.join(',')).mCustomScrollbar({theme:"minimal-dark"});
});
//关闭随机壁纸
//$.addStyle('#random-wallpaper,.randomImage{display:none;}');
//编辑器扩展
kodApp.appSupportSet('aceEditor','vue,we,wpy');

View File

@ -48,7 +48,7 @@
"type":"number",
"display":"{{LNG.Plugin.Config.fileSort}}",
"desc":"{{LNG.Plugin.Config.fileSortDesc}}",
"value":1000,
"value":50,
},
"cacheFile":{

View File

@ -16,7 +16,16 @@ class zipViewPlugin extends PluginBase{
$download = isset($this->in['download'])?true:false;
KodArchive::filePreview($path,$this->in['index'],$download,$this->in['name']);
}else{
$cacheFile = TEMP_PATH.'zipView/'.hash_path($path).'.info';
if(file_exists($cacheFile)){
$data = json_decode(file_get_contents($cacheFile),true);
show_json($data);
}
mk_dir(get_path_father($cacheFile));
$result = KodArchive::listContent($path);
if($result['code']){
file_put_contents($cacheFile,json_encode($result['data']));
}
show_json($result['data'],$result['code']);
}
}

View File

@ -1,4 +1,5 @@
define(function(require, exports) {
var currentFileUrl = '';
var tplZipview =
'<div class="zip-view-content">\
<div class="header">\
@ -33,7 +34,7 @@ define(function(require, exports) {
});
return function(appOption){
var zTreeList;
var zTree;
var setting = {
view: {
showLine: false,
@ -82,7 +83,7 @@ define(function(require, exports) {
if($(event.target).hasClass('menu-item-parent')){
return;
}
zTreeList.selectNode(treeNode);
zTree.selectNode(treeNode);
pathInfoNode(treeNode);
if(treeNode && treeNode.type=='folder'){
$("#"+treeNode.tId+'_switch').click();
@ -97,14 +98,14 @@ define(function(require, exports) {
beforeRightClick:function(treeId, treeNode){
if(!treeNode) return;
pathInfoNode(treeNode);
zTreeList.selectNode(treeNode);
zTree.selectNode(treeNode);
},
onDblClick:function(event,treeId,treeNode){
if($(event.target).hasClass('.menu-item-parent')){
return;
}
if(treeNode && treeNode.type == 'file'){
menuAction('open',zTreeList);
menuAction('open',zTree);
}
}
}
@ -118,16 +119,17 @@ define(function(require, exports) {
}
var item = tree[i];
tree[i] = {
name:core.pathThis(item['filename']),
path:item['filename'],
isParent:!!(item['child']),
type:item['folder']?'folder':'file',
name:core.pathThis(item.filename),
filePath:item.filename,
path:currentFileUrl+'&index='+item.index+"&name=/"+urlEncode(item.filename),
isParent:!!(item.child),
type:item.folder?'folder':'file',
menuType:item['folder']?'menu-zip-list-folder':'menu-zip-list-file',
ext:core.pathExt(item['filename']),
mtime:item['mtime'],
index:item['index'],
size:item['size'],
child:item['child']
ext:core.pathExt(item.filename),
mtime:item.mtime,
index:item.index,
size:item.size,
child:item.child
}
if(item['folder']){
delete(tree[i]['ext']);
@ -317,21 +319,17 @@ define(function(require, exports) {
kodApp.download(url);
}
var zipFileOpen = function(tree,node,app){
var filePath = tree.setting.filePath;
var fileUrl = tree.setting.fileUrl;
var ext = node.ext;
var url = fileUrl+'&index='+node.index+"&name=/"+urlEncode(node.path);
//zip内的zip则不处理
if( ext == 'zip'){
ext = 'unknow';
if( ext == 'zip'){//zip内的zip则不处理
//ext = 'unknow';
}
//文件太大,提示解压后
if(node.size >= 1024*1024*200){
Tips.tips(LNG.zipview_file_big,'warning');
ext = 'unknow';
}
kodApp.open(url,ext,app);
kodApp.setLastOpenTarget($('#'+node.tId));
kodApp.open(node.path,ext,app);
}
var zipFileUnzipTo = function(tree,node){
core.api.pathSelect(
@ -369,7 +367,7 @@ define(function(require, exports) {
return;
}
ui.f5(true,true,function(){
var thePath = unzipTo+core.pathThis(node.path);
var thePath = unzipTo+node.name;
ui.path.setSelectByFilename(thePath);
});
}
@ -388,7 +386,7 @@ define(function(require, exports) {
var pathInfoData = function(node){
var data = {
name:node.name,
path:node.path,
path:node.filename,
size:node.size,
sizeFriendly:pathTools.fileSize(node.size),
mtime:date(LNG.time_type_info,node.mtime)
@ -407,7 +405,7 @@ define(function(require, exports) {
}
var pathInfo = function(zTree,node){
var icoType = (node.type =='folder')?'folder':core.pathExt(node.path);
var icoType = (node.type =='folder')?'folder':node.ext;
var tplFile = (node.type =='folder')?tplPathInfo:tplFileInfo;
var render = template.compile(tplFile);
var data = pathInfoData(node);
@ -417,7 +415,7 @@ define(function(require, exports) {
padding:5,
ico:core.iconSmall(icoType),
fixed: true,//不跟随页面滚动
title:core.pathThis(node.path),
title:node.name,
content:render(data),
ok: true
});
@ -508,9 +506,9 @@ define(function(require, exports) {
menuType:'menu-zip-list-folder'
}
$.fn.zTree.init($("#"+treeID),setting,treeData);
zTreeList = $.fn.zTree.getZTreeObj(treeID);
zTree = $.fn.zTree.getZTreeObj(treeID);
resetOdd(treeID);
pathInfoNode(zTreeList.getNodeByParam("index",'-1',null));
pathInfoNode(zTree.getNodeByParam("index",'-1',null));
}
var init = function(path){
@ -520,6 +518,7 @@ define(function(require, exports) {
return;
}
var fileUrl = appOption.apiList+'&path='+urlEncode(path);
currentFileUrl = fileUrl;
if (typeof(G.sharePage) != 'undefined' && G.sid) {
kodApp.openUnknow(path);
return;
@ -536,8 +535,8 @@ define(function(require, exports) {
if(data.code){
var name = urlDecode(core.pathThis(path));
initData(name,data.data,path);
zTreeList.setting.filePath = path;
zTreeList.setting.fileUrl = fileUrl;
zTree.setting.filePath = path;
zTree.setting.fileUrl = fileUrl;
}else{//预览失败
kodApp.openUnknow(path,data.data);
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -34,6 +34,34 @@ var dialogList = {//加入人物列表
};
//$.contextMenu.hidden();
var bindTouchDrag = function($wrap){
if(!isWap()){
return;
}
var startLeft,startTop;
var position = function(x,y){
$wrap.css({
left:x + startLeft,
top :y + startTop
});
}
$wrap.find('.aui-title').drag({
start:function(){
startLeft = parseInt($wrap.css('left'));
startTop = parseInt($wrap.css('top'));
},
move:function(offsetx,offsety,e){
position(offsetx,offsety);
$wrap.addClass('aui-state-drag');
return false;
},
end:function(offsetx,offsety){
$wrap.removeClass('aui-state-drag');
position(offsetx,offsety);
}
});
}
;(function ($, window, undefined) {
$.noop = $.noop || function () {}; // jQuery 1.3.2
@ -46,7 +74,7 @@ var _thisScript,_path,
_$html = $('html'),
_elem = document.documentElement,
_isMobile = 'createTouch' in document && !('onmousemove' in _elem)
|| /(iPhone|iPad|iPod)/i.test(navigator.userAgent),
|| /(iPhone|iPad|iPod|Android)/i.test(navigator.userAgent),
_expando = 'artDialog' + + new Date,
_titleBarHeight = 0;
@ -189,6 +217,10 @@ artDialog.fn = artDialog.prototype = {
DOM.wrap.addClass('dialog-max dialog-max-first');
}
if( isWap() &&
config.height !='100%'){//统一设置位置
config.top = '40px';
}
config.follow
? that.follow(config.follow)
: that.position(config.left, config.top);
@ -207,6 +239,7 @@ artDialog.fn = artDialog.prototype = {
_titleBarHeight = DOM.title.css('height');
_titleBarHeight = _titleBarHeight.replace('px','');
$(DOM.wrap).find('iframe').focus();
bindTouchDrag($(DOM.wrap));
return that;
},
@ -1414,7 +1447,6 @@ artDialog.dragEvent.prototype = {
this.onend(event.clientX, event.clientY);
return false;
}
};
preMouseUpTime=0;
@ -1573,6 +1605,7 @@ _use = function (event) {
_dragEvent.start(event);
};
// 代理 mousedown 事件触发对话框拖动
_$document.bind('mousedown', function (event) {
if (event.which!=1) {

View File

@ -827,7 +827,7 @@ var Tips = (function(){
code=msg.code;
msg = msg.data;
}
if (msg == undefined) msg = 'loading...';
if (msg == undefined) msg = _.get(window,'LNG.loading','loading...');
msg+= "&nbsp;&nbsp; <img src='"+staticPath+"images/common/loading_circle.gif'/>";
var self = _init(true,msg,code);
@ -1262,11 +1262,13 @@ var MaskView = (function(){
//拖动事件
(function($){
$.fn.drag = function(obj,is_stopPP) {
$.fn.drag = function(obj,isStopPP) {
this.each(function(){
var isDraging = false;
var mouseFirstX = 0;
var mouseFirstY = 0;
var offsetX = 0;
var offsetY = 0;
var $that = $(this);
$that.die('mousedown').live('mousedown',function(e){
@ -1280,15 +1282,34 @@ var MaskView = (function(){
stopPP(e);
return false;
});
if(is_stopPP){//指定不冒泡才停止向上冒泡。split拖拽调整宽度父窗口拖拽框选防止冒泡
if(isStopPP){//指定不冒泡才停止向上冒泡。split拖拽调整宽度父窗口拖拽框选防止冒泡
stopPP(e);return false;
}
//stopPP(e);return false;//跨iframe导致事件屏蔽问题
});
//移动端拖拽支持
$that.on('touchstart',function(e){
dragStart(e);
}).on('touchmove',function(e){
dragMove(e);
}).on('touchend',function(e){
dragEnd(e);
stopPP(e);
return false;
});
var getEvent = function(e){
if( e.originalEvent &&
e.originalEvent.targetTouches){
return e.originalEvent.targetTouches[0];
}
return e;
}
var dragStart = function(e){
var mouse = getEvent(e);
isDraging = true;
mouseFirstX = e.pageX;
mouseFirstY = e.pageY;
mouseFirstX = mouse.pageX;
mouseFirstY = mouse.pageY;
if (typeof(obj["start"]) == 'function'){
obj["start"](e,$that);
}
@ -1296,14 +1317,18 @@ var MaskView = (function(){
var dragMove = function(e){
if (!isDraging) return true;
if (typeof(obj["move"]) == 'function'){
obj["move"](e.pageX-mouseFirstX,e.pageY-mouseFirstY,e,$that);
var mouse = getEvent(e);
offsetX = mouse.pageX - mouseFirstX;
offsetY = mouse.pageY - mouseFirstY;
obj["move"](offsetX,offsetY,e,$that);
}
};
var dragEnd = function(e){
if (!isDraging) return false;
isDraging = false;
if (typeof(obj["end"]) == 'function'){
obj["end"](e.pageX-mouseFirstX,e.pageY-mouseFirstY,e,$that);
//var mouse = getEvent(e);
obj["end"](offsetX,offsetY,e,$that);
}
};
});

View File

@ -75,14 +75,14 @@ input:focus {border-color: #75A1F0; outline: none; box-shadow: 0 0 12px #75A1F0;
-webkit-transition: all 0.218s; -moz-transition: all 0.218s; -o-transition: all 0.218s; -ms-transition: all 0.218s; transition: all 0.218s;}
.actions{padding-left:105px;}
.actions .checkbox{display: inline-block;margin: 0px;margin-left: 20px;}
.checkbox{border:none;padding-right: 10px;}
.actions #submit{border:none;outline: none;background: #6699cc;color:#fff;
padding: 5px 30px;margin-left: 20px;padding: 2px 15px\9;}
.actions #submit:hover{background: #369;}
.actions #submit:active{background: #444;}
.forget-password{display:inline-block;margin: 10px 0 0 125px;color: #999;}
.actions .checkbox{
display: inline-block;margin: 0px;margin-left: 20px;
border:none;padding-right: 10px;
position: relative;top: -1px;
}
.forget-password{display:inline-block;margin: 10px 0 0 115px;color: #999;}
.msg{color:#f44336;text-align: center;margin-bottom: -10px;padding-top: 10px;font-size:14px;}
.common-footer{color:#eee;position: absolute;bottom:0px;text-align: center;width: 100%;
background:#444;background: rgba(0,0,0,0.3);padding: 10px;
@ -102,6 +102,37 @@ input:focus {border-color: #75A1F0; outline: none; box-shadow: 0 0 12px #75A1F0;
.loginbox .guest a:hover{color:#f60;border-color:#f60;}
div .inputs div input,input,.inputs div input:focus{background: #fff;border-radius:2px;}
div .inputs div input:focus,input:focus{
border: 1px solid #3890ff;
box-shadow: 0 0 0 3px rgba(56,144,255,.15);
}
.actions #submit:hover{background: #317ee0;}
.actions #submit:active{background:#3373c5;}
div .actions #submit{
border:none;outline: none;background: #6699cc;color:#fff;
padding: 5px 30px;margin-left: 20px;padding: 2px 15px\9;
padding:6px 0px;
width:240px;border-radius:4px;
border: 1px solid #217ef2;
background-color: #3890ff;
background-image: linear-gradient(0deg,hsla(0,0%,100%,.06) 0,hsla(0,0%,100%,.06)),linear-gradient(0deg,rgba(9,109,236,.5) 0,rgba(76,155,255,.5));
box-shadow: inset 0 1px 0 hsla(0,0%,100%,.08), 0 1px 1px rgba(0,0,0,.08);
text-shadow: 0 -1px 0 rgba(0,0,0,.1);
}
.inputs .check-code input{border-radius: 2px 0 0 2px;}
.loginbox .guest{padding: 15px 0 10px 0;position: relative;}
.loginbox .guest a{
padding: 20px 0 10px 0;margin-left:85px;padding:5px 0px;
color: #217ef2;width:240px;border-radius:4px;
border: 1px solid #217ef2;
}
.box-install.loginbox .guest a {margin-left: 0;width: 200px;}
.menu-group{
position: absolute;top:5px;left:5px;
font-weight: 400;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More