浏览器兼容性调整,分享bug修复
pull/19/head
warlee 2015-03-30 19:20:38 +08:00
parent 0b562aa217
commit bbd23ffb11
43 changed files with 100 additions and 59 deletions

View File

@ -1,5 +1,23 @@
###ver3.11 `2015/3/30`
-----
####update:
- 用户没有权限,提示优化
- 用户配置数据保存,写入失败提示
####fix bug
- 分享mp3音乐播放路径问题
- 火狐bug修复
- 分享页面、文件夹office预览问题
- 编辑器
中文光标错位问题
tab 宽度根据标签个数自动缩放(ie 火狐不兼容问题)
当前文件路径对应到title
工具栏火狐兼容性bug
###ver3.1 `2015/3/26` ###ver3.1 `2015/3/26`
-----
####update: ####update:
- 分享可以修改路径;避免文件移动后原始分享路径失效问题 - 分享可以修改路径;避免文件移动后原始分享路径失效问题
- 分享后自动刷新当前目录;跟新配置数据 - 分享后自动刷新当前目录;跟新配置数据

View File

@ -45,10 +45,10 @@ define('STATIC_PATH',"./static/");//静态文件目录
可以使程序更安全, 就不用限制用户的扩展名权限了; 可以使程序更安全, 就不用限制用户的扩展名权限了;
*/ */
define('USER_PATH', DATA_PATH .'User/'); //用户目录 define('USER_PATH', DATA_PATH .'User/'); //用户目录
//自定义用户目录需要先将data/User移到别的地方 例如修改成如下地址 //自定义用户目录需要先将data/User移到别的地方 再修改配置,例如:
//define('USER_PATH', DATA_PATH .'/Library/WebServer/Documents/User'); //define('USER_PATH', DATA_PATH .'/Library/WebServer/Documents/User');
define('PUBLIC_PATH', DATA_PATH .'public/'); //公共目录 define('PUBLIC_PATH', DATA_PATH .'public/'); //公共目录
//公共共享目录,读写权限跟随用户目录的读写权限 例如修改成如下地址 //公共共享目录,读写权限跟随用户目录的读写权限 再修改配置,例如:
//define('PUBLIC_PATH','/Library/WebServer/Documents/Public/'); //define('PUBLIC_PATH','/Library/WebServer/Documents/Public/');
/* /*
* office服务器配置默认调用的微软的接口程序需要部署到外网。 * office服务器配置默认调用的微软的接口程序需要部署到外网。

View File

@ -16,7 +16,7 @@ $config['setting_all'] = array(
'moviethemeall' => "webplayer,qqplayer,vplayer,tvlive,youtube" 'moviethemeall' => "webplayer,qqplayer,vplayer,tvlive,youtube"
); );
// 默认配置 //新用户初始化配置
$config['setting_default'] = array( $config['setting_default'] = array(
'list_type' => "icon", // list||icon 'list_type' => "icon", // list||icon
'list_sort_field' => "name", // name||size||ext||mtime 'list_sort_field' => "name", // name||size||ext||mtime
@ -28,7 +28,7 @@ $config['setting_default'] = array(
'movietheme' => "webplayer" // movie player theme 'movietheme' => "webplayer" // movie player theme
); );
//初始系统配置 //初始系统配置
$config['setting_system_default'] = array( $config['setting_system_default'] = array(
'system_password' => rand_string(10), 'system_password' => rand_string(10),
'system_name' => "KodExplorer", 'system_name' => "KodExplorer",
@ -40,7 +40,7 @@ $config['setting_system_default'] = array(
'new_user_folder' => "download,music,image,desktop" 'new_user_folder' => "download,music,image,desktop"
); );
//默认菜单配置 //初始化默认菜单配置
$config['setting_menu_default'] = array( $config['setting_menu_default'] = array(
array('name'=>'desktop','type'=>'system','url'=>'index.php?desktop','target'=>'_self','use'=>'1'), array('name'=>'desktop','type'=>'system','url'=>'index.php?desktop','target'=>'_self','use'=>'1'),
array('name'=>'explorer','type'=>'system','url'=>'index.php?explorer','target'=>'_self','use'=>'1'), array('name'=>'explorer','type'=>'system','url'=>'index.php?explorer','target'=>'_self','use'=>'1'),

View File

@ -1,2 +1,2 @@
<?php <?php
define('KOD_VERSION','3.1'); define('KOD_VERSION','3.11');

View File

@ -46,7 +46,7 @@ class setting extends Controller{
} }
$setting = $GLOBALS['config']['setting_system']; $setting = $GLOBALS['config']['setting_system'];
foreach ($data as $key => $value){ foreach ($data as $key => $value){
$setting[$key] = $value; $setting[$key] = rawurldecode($value);
} }
//$setting['menu'] = $GLOBALS['config']['setting_menu_default']; //$setting['menu'] = $GLOBALS['config']['setting_menu_default'];
//为了保存更多的数据;不直接覆盖文件 $data->setting_file; //为了保存更多的数据;不直接覆盖文件 $data->setting_file;

View File

@ -64,6 +64,8 @@ $L = array(
"unknow_file_tips" =>"not to support the open", "unknow_file_tips" =>"not to support the open",
"unknow_file_download" =>"Download", "unknow_file_download" =>"Download",
"unknow_file_office" =>"office preview,this process needs to be deployed in the network", "unknow_file_office" =>"office preview,this process needs to be deployed in the network",
"config_save_error_auth" => 'error,no permission!',
"config_save_error_file" => 'error,file no permission write!',
//editor //editor
"shortcut" => 'Shortcuts', "shortcut" => 'Shortcuts',
@ -129,6 +131,7 @@ Even as webIDE, can be directly online development. You can also integrate the t
"kod_name" => "KodExplorer", "kod_name" => "KodExplorer",
"kod_name_desc" => "kod online explorer", "kod_name_desc" => "kod online explorer",
"kod_power_by" => " - Powered by KodExplorer", "kod_power_by" => " - Powered by KodExplorer",
"kod_name_copyright" => "kod online explorer",
//login //login
"login" => "login", "login" => "login",

View File

@ -63,6 +63,9 @@ $L= array(
"unknow_file_tips" =>"暂不支持打开", "unknow_file_tips" =>"暂不支持打开",
"unknow_file_download" =>"下载到本地", "unknow_file_download" =>"下载到本地",
"unknow_file_office" =>"office预览,此程序需要部署在外网", "unknow_file_office" =>"office预览,此程序需要部署在外网",
"config_save_error_auth" => '配置保存失败,管理员禁止了此权限!',
"config_save_error_file" => '配置保存失败,kod目录需要有写权限!',
//editor //editor
"shortcut" => '快捷键', "shortcut" => '快捷键',
@ -129,7 +132,7 @@ $L= array(
"kod_name" => "KodExplorer", "kod_name" => "KodExplorer",
"kod_name_desc" => "芒果云•资源管理器", "kod_name_desc" => "芒果云•资源管理器",
"kod_power_by" => " - Powered by KodExplorer", "kod_power_by" => " - Powered by KodExplorer",
"kod_name_copyright" => "芒果云•资源管理器",
//login //login
"login" => "登陆 ", "login" => "登陆 ",
@ -147,8 +150,8 @@ $L= array(
"old_password_error" => "原密码错误!", "old_password_error" => "原密码错误!",
"permission" => "权限!", "permission" => "权限!",
"permission_edit" => "修改权限", "permission_edit" => "修改权限",
"no_permission" => "您没有此权限!", "no_permission" => "管理员禁止了此权限!",
"no_permission_ext" => "您没有该类型文件权限", "no_permission_ext" => "管理员禁止了该类型文件权限",
"dialog_min" => "最小化", "dialog_min" => "最小化",
"dialog_min_all" => "最小化所有", "dialog_min_all" => "最小化所有",
"dialog_display_all" => "显示所有窗口", "dialog_display_all" => "显示所有窗口",

View File

@ -64,6 +64,8 @@ $L= array(
"unknow_file_tips" =>"暫不支持打開", "unknow_file_tips" =>"暫不支持打開",
"unknow_file_download" =>"下載到本地", "unknow_file_download" =>"下載到本地",
"unknow_file_office" =>"office預覽,此程序需要部署在外網", "unknow_file_office" =>"office預覽,此程序需要部署在外網",
"config_save_error_auth" => '配置保存失败,管理员禁止了此权限!',
"config_save_error_file" => '配置保存失败,kod目录需要有写权限!',
//editor //editor
"shortcut" => '快捷鍵', "shortcut" => '快捷鍵',
@ -130,6 +132,7 @@ $L= array(
"kod_name" => "KodExplorer", "kod_name" => "KodExplorer",
"kod_name_desc" => "芒果雲•資源管理器", "kod_name_desc" => "芒果雲•資源管理器",
"kod_power_by" => " - Powered by KodExplorer", "kod_power_by" => " - Powered by KodExplorer",
"kod_name_copyright" => "芒果雲•資源管理器",
"login" => "登六", "login" => "登六",

View File

@ -388,6 +388,7 @@ function get_file_mime($ext){
"dll" => "application/x-msdownload", "dll" => "application/x-msdownload",
"dms" => "application/octet-stream", "dms" => "application/octet-stream",
"doc" => "application/msword", "doc" => "application/msword",
"docx" => "application/msword",
"dot" => "application/msword", "dot" => "application/msword",
"dvi" => "application/x-dvi", "dvi" => "application/x-dvi",
"dxr" => "application/x-director", "dxr" => "application/x-director",
@ -472,6 +473,7 @@ function get_file_mime($ext){
"ppm" => "image/x-portable-pixmap", "ppm" => "image/x-portable-pixmap",
"pps" => "application/vnd.ms-powerpoint", "pps" => "application/vnd.ms-powerpoint",
"ppt" => "application/vnd.ms-powerpoint", "ppt" => "application/vnd.ms-powerpoint",
"pptx" => "application/vnd.ms-powerpoint",
"prf" => "application/pics-rules", "prf" => "application/pics-rules",
"ps" => "application/postscript", "ps" => "application/postscript",
"pub" => "application/x-mspublisher", "pub" => "application/x-mspublisher",
@ -534,6 +536,7 @@ function get_file_mime($ext){
"xlc" => "application/vnd.ms-excel", "xlc" => "application/vnd.ms-excel",
"xlm" => "application/vnd.ms-excel", "xlm" => "application/vnd.ms-excel",
"xls" => "application/vnd.ms-excel", "xls" => "application/vnd.ms-excel",
"xlsx" => "application/vnd.ms-excel",
"xlt" => "application/vnd.ms-excel", "xlt" => "application/vnd.ms-excel",
"xlw" => "application/vnd.ms-excel", "xlw" => "application/vnd.ms-excel",
"xof" => "x-world/x-vrml", "xof" => "x-world/x-vrml",

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

@ -302,6 +302,15 @@ var objectValues = function(obj){
return values; return values;
} }
var $sizeInt = function($obj){
var str = $obj+'';
var theSize = parseInt(str.replace('px',''));
if (isNaN(theSize)) {
return 0;
}else{
return theSize;
}
}
//通用遮罩层 //通用遮罩层
var MaskView = (function(){ var MaskView = (function(){

View File

@ -561,7 +561,7 @@ body div#ace_settingsmenu,body div#kbshortcutmenu { background-color: #000; opac
.show_code .code { background: none; padding: 0px; margin: 0;} .show_code .code { background: none; padding: 0px; margin: 0;}
.show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;} .show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;}
.ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;} .ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;}
.office_page { bottom: 2px;} .office_page { bottom: -18px;}
.show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;} .show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;}
.show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;} .show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;}
.music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;} .music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;}

View File

@ -608,3 +608,4 @@ html { overflow-x: hidden; overflow-y: hidden;}
.frame-main .frame-right .dropdown-menu { font-size: 13px;} .frame-main .frame-right .dropdown-menu { font-size: 13px;}
.frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #41bbec; color: #fff; filter: none;} .frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #41bbec; color: #fff; filter: none;}
.frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;} .frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;}
.fileList_icon div.file { transition: all 0.2s ease 0s;}

View File

@ -554,7 +554,7 @@ body div#ace_settingsmenu,body div#kbshortcutmenu { background-color: #000; opac
.show_code .code { background: none; padding: 0px; margin: 0;} .show_code .code { background: none; padding: 0px; margin: 0;}
.show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;} .show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;}
.ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;} .ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;}
.office_page { bottom: 2px;} .office_page { bottom: -18px;}
.show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;} .show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;}
.show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;} .show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;}
.music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;} .music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;}

View File

@ -609,3 +609,4 @@ html { overflow-x: hidden; overflow-y: hidden;}
.frame-main .frame-right .dropdown-menu { font-size: 13px;} .frame-main .frame-right .dropdown-menu { font-size: 13px;}
.frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #5579BA; color: #fff; filter: none;} .frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #5579BA; color: #fff; filter: none;}
.frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;} .frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;}
.fileList_icon div.file { transition: all 0.2s ease 0s;}

View File

@ -554,7 +554,7 @@ body div#ace_settingsmenu,body div#kbshortcutmenu { background-color: #000; opac
.show_code .code { background: none; padding: 0px; margin: 0;} .show_code .code { background: none; padding: 0px; margin: 0;}
.show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;} .show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;}
.ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;} .ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;}
.office_page { bottom: 2px;} .office_page { bottom: -18px;}
.show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;} .show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;}
.show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;} .show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;}
.music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;} .music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;}

View File

@ -609,3 +609,4 @@ html { overflow-x: hidden; overflow-y: hidden;}
.frame-main .frame-right .dropdown-menu { font-size: 13px;} .frame-main .frame-right .dropdown-menu { font-size: 13px;}
.frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #5db2ff; color: #fff; filter: none;} .frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #5db2ff; color: #fff; filter: none;}
.frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;} .frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;}
.fileList_icon div.file { transition: all 0.2s ease 0s;}

View File

@ -554,7 +554,7 @@ body div#ace_settingsmenu,body div#kbshortcutmenu { background-color: #000; opac
.show_code .code { background: none; padding: 0px; margin: 0;} .show_code .code { background: none; padding: 0px; margin: 0;}
.show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;} .show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;}
.ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;} .ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;}
.office_page { bottom: 2px;} .office_page { bottom: -18px;}
.show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;} .show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;}
.show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;} .show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;}
.music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;} .music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;}

View File

@ -609,3 +609,4 @@ html { overflow-x: hidden; overflow-y: hidden;}
.frame-main .frame-right .dropdown-menu { font-size: 13px;} .frame-main .frame-right .dropdown-menu { font-size: 13px;}
.frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #008a17; color: #fff; filter: none;} .frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #008a17; color: #fff; filter: none;}
.frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;} .frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;}
.fileList_icon div.file { transition: all 0.2s ease 0s;}

View File

@ -554,7 +554,7 @@ body div#ace_settingsmenu,body div#kbshortcutmenu { background-color: #000; opac
.show_code .code { background: none; padding: 0px; margin: 0;} .show_code .code { background: none; padding: 0px; margin: 0;}
.show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;} .show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;}
.ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;} .ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;}
.office_page { bottom: 2px;} .office_page { bottom: -18px;}
.show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;} .show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;}
.show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;} .show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;}
.music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;} .music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;}

View File

@ -609,3 +609,4 @@ html { overflow-x: hidden; overflow-y: hidden;}
.frame-main .frame-right .dropdown-menu { font-size: 13px;} .frame-main .frame-right .dropdown-menu { font-size: 13px;}
.frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #444; color: #fff; filter: none;} .frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #444; color: #fff; filter: none;}
.frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;} .frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;}
.fileList_icon div.file { transition: all 0.2s ease 0s;}

View File

@ -554,7 +554,7 @@ body div#ace_settingsmenu,body div#kbshortcutmenu { background-color: #000; opac
.show_code .code { background: none; padding: 0px; margin: 0;} .show_code .code { background: none; padding: 0px; margin: 0;}
.show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;} .show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;}
.ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;} .ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;}
.office_page { bottom: 2px;} .office_page { bottom: -18px;}
.show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;} .show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;}
.show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;} .show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;}
.music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;} .music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;}

View File

@ -609,3 +609,4 @@ html { overflow-x: hidden; overflow-y: hidden;}
.frame-main .frame-right .dropdown-menu { font-size: 13px;} .frame-main .frame-right .dropdown-menu { font-size: 13px;}
.frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #03B3B2; color: #fff; filter: none;} .frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #03B3B2; color: #fff; filter: none;}
.frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;} .frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;}
.fileList_icon div.file { transition: all 0.2s ease 0s;}

View File

@ -554,7 +554,7 @@ body div#ace_settingsmenu,body div#kbshortcutmenu { background-color: #000; opac
.show_code .code { background: none; padding: 0px; margin: 0;} .show_code .code { background: none; padding: 0px; margin: 0;}
.show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;} .show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;}
.ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;} .ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;}
.office_page { bottom: 2px;} .office_page { bottom: -18px;}
.show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;} .show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;}
.show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;} .show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;}
.music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;} .music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;}

View File

@ -609,3 +609,4 @@ html { overflow-x: hidden; overflow-y: hidden;}
.frame-main .frame-right .dropdown-menu { font-size: 13px;} .frame-main .frame-right .dropdown-menu { font-size: 13px;}
.frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #FF8F32; color: #fff; filter: none;} .frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #FF8F32; color: #fff; filter: none;}
.frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;} .frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;}
.fileList_icon div.file { transition: all 0.2s ease 0s;}

View File

@ -554,7 +554,7 @@ body div#ace_settingsmenu,body div#kbshortcutmenu { background-color: #000; opac
.show_code .code { background: none; padding: 0px; margin: 0;} .show_code .code { background: none; padding: 0px; margin: 0;}
.show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;} .show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;}
.ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;} .ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;}
.office_page { bottom: 2px;} .office_page { bottom: -18px;}
.show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;} .show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;}
.show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;} .show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;}
.music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;} .music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;}

View File

@ -609,3 +609,4 @@ html { overflow-x: hidden; overflow-y: hidden;}
.frame-main .frame-right .dropdown-menu { font-size: 13px;} .frame-main .frame-right .dropdown-menu { font-size: 13px;}
.frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #DC4FAD; color: #fff; filter: none;} .frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #DC4FAD; color: #fff; filter: none;}
.frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;} .frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;}
.fileList_icon div.file { transition: all 0.2s ease 0s;}

View File

@ -554,7 +554,7 @@ body div#ace_settingsmenu,body div#kbshortcutmenu { background-color: #000; opac
.show_code .code { background: none; padding: 0px; margin: 0;} .show_code .code { background: none; padding: 0px; margin: 0;}
.show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;} .show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;}
.ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;} .ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;}
.office_page { bottom: 2px;} .office_page { bottom: -18px;}
.show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;} .show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;}
.show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;} .show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;}
.music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;} .music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;}

View File

@ -609,3 +609,4 @@ html { overflow-x: hidden; overflow-y: hidden;}
.frame-main .frame-right .dropdown-menu { font-size: 13px;} .frame-main .frame-right .dropdown-menu { font-size: 13px;}
.frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #8D3CC4; color: #fff; filter: none;} .frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #8D3CC4; color: #fff; filter: none;}
.frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;} .frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;}
.fileList_icon div.file { transition: all 0.2s ease 0s;}

View File

@ -573,7 +573,7 @@ body div#ace_settingsmenu,body div#kbshortcutmenu { background-color: #000; opac
.show_code .code { background: none; padding: 0px; margin: 0;} .show_code .code { background: none; padding: 0px; margin: 0;}
.show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;} .show_code .code .ace_gutter { display: inline-block; width: 30px !important; padding: 0 10px;}
.ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;} .ace_editor { font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;}
.office_page { bottom: 2px;} .office_page { bottom: -18px;}
.show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;} .show_office { margin: 0; width: 100%; height: 100%; margin-top: -50px;}
.show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;} .show_swf { width: 80%; margin: 0 auto; padding-top: 30px; height: 90%;}
.music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;} .music_player { width: 320px; height: 400px; box-shadow: 0 10px 100px #444; margin-top: 12%;}

View File

@ -621,3 +621,4 @@ html { overflow-x: hidden; overflow-y: hidden;}
.frame-main .frame-right .dropdown-menu { font-size: 13px;} .frame-main .frame-right .dropdown-menu { font-size: 13px;}
.frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #63acff; color: #fff; filter: none;} .frame-main .frame-right .dropdown-menu a:hover,.frame-main .frame-right .dropdown-menu .this a { background: #63acff; color: #fff; filter: none;}
.frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;} .frame-main .frame-right .bodymain { position: absolute; zoom: 1; z-index: 0; top: 35px; bottom: 0; left: 0; overflow: auto; width: 100%; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;}
.fileList_icon div.file { transition: all 0.2s ease 0s;}

View File

@ -22,15 +22,6 @@
--> -->
<div class="btn-group"> <div class="btn-group">
<a type="button" class="btn btn-primary btn_download" target="_blank" href=""><?php echo $L['download'];?></a> <a type="button" class="btn btn-primary btn_download" target="_blank" href=""><?php echo $L['download'];?></a>
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu download_drop_menu pull-right" role="menu">
<li><a href="javascript:void(0);" class="page_share button_my_share" id="button_share">
<?php echo $L['share'];?></a>
</li>
</ul>
</div> </div>
</div> </div>
<div class="menu_group"> <div class="menu_group">

View File

@ -23,6 +23,7 @@
-o-user-select: all; -o-user-select: all;
user-select: all; user-select: all;
} }
.frame-main{bottom: 32px;}
</style> </style>
<body> <body>
@ -36,13 +37,13 @@
<div class="size"><span></span><i class="share_time"></i></div> <div class="size"><span></span><i class="share_time"></i></div>
<div class="btn-group"> <div class="btn-group">
<a type="button" class="btn btn-primary btn_download" href=""><?php echo $L['download'];?></a> <a type="button" class="btn btn-primary btn_download" href=""><?php echo $L['download'];?></a>
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> <!-- <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<span class="caret"></span> <span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span> <span class="sr-only">Toggle Dropdown</span>
</button> </button>
<ul class="dropdown-menu" role="menu"> <ul class="dropdown-menu" role="menu">
<li><a href="#" class="page_share button_my_share" id="button_share"><?php echo $L['share'];?></a></li> <li><a href="#" class="page_share button_my_share" id="button_share"><?php echo $L['share'];?></a></li>
</ul> </ul> -->
</div> </div>
<div class="error_tips"><?php echo $L['share_error_show_tips'];?></div> <div class="error_tips"><?php echo $L['share_error_show_tips'];?></div>
</div> </div>

View File

@ -6,7 +6,7 @@
<title><?php echo $L['kod_name'].$L['kod_power_by'];?></title> <title><?php echo $L['kod_name'].$L['kod_power_by'];?></title>
<link href="<?php echo STATIC_PATH;?>images/favicon.ico" rel="Shortcut Icon" > <link href="<?php echo STATIC_PATH;?>images/favicon.ico" rel="Shortcut Icon" >
<link href="<?php echo STATIC_PATH;?>style/bootstrap.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet"/> <link href="<?php echo STATIC_PATH;?>style/bootstrap.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet"/>
<link href=",/static/font-awesome/css/font-awesome.css" rel="stylesheet" > <link href="./static/style/font-awesome/css/font-awesome.css" rel="stylesheet" >
<!-- 字体不能跨域问题 --> <!-- 字体不能跨域问题 -->
<!--[if IE 7]> <!--[if IE 7]>
<link rel="stylesheet" href="./static/style/font-awesome/css/font-awesome-ie7.css"> <link rel="stylesheet" href="./static/style/font-awesome/css/font-awesome-ie7.css">