2016-12-21 08:01:06 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" scroll="no">
|
2015-03-22 20:54:54 +00:00
|
|
|
<head>
|
2016-12-21 08:01:06 +00:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
|
|
|
<meta name="renderer" content="webkit">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
|
|
|
2015-03-22 20:54:54 +00:00
|
|
|
<title><?php echo $share_info['name'].' - '.$L['share_title'].' - '.$L['kod_name'].$L['kod_power_by'];?></title>
|
2016-12-21 08:01:06 +00:00
|
|
|
<link href="<?php echo STATIC_PATH;?>images/common/favicon.ico" rel="Shortcut Icon">
|
|
|
|
<link href="<?php echo STATIC_PATH;?>style/common.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet"/>
|
|
|
|
<link href="./static/style/font-awesome/css/font-awesome.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet">
|
2015-03-22 20:54:54 +00:00
|
|
|
<!--[if IE 7]>
|
|
|
|
<link rel="stylesheet" href="./static/style/font-awesome/css/font-awesome-ie7.css">
|
|
|
|
<![endif]-->
|
|
|
|
|
|
|
|
|
2016-12-21 08:01:06 +00:00
|
|
|
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/base/app_editor.css?ver=<?php echo KOD_VERSION;?>"/>
|
|
|
|
<link rel="stylesheet" href="<?php echo STATIC_PATH;?>style/skin/<?php echo $config_theme;?>.css?ver=<?php echo KOD_VERSION;?>" id='link_css_list'/>
|
2015-03-22 20:54:54 +00:00
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
|
<?php if(isset($_GET['project'])){?>
|
2016-12-21 08:01:06 +00:00
|
|
|
<style>
|
|
|
|
.topbar{display: none;}
|
|
|
|
.frame-header,.frame-main,.frame-main .frame-left{top:0;}
|
|
|
|
.edit_content.markdown_full_page .edit_right_frame .markdown_preview {padding-top: 50px;}
|
|
|
|
.edit_body {bottom: 30px;}
|
|
|
|
</style>
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
<?php if(isset($_GET['user'])){?>
|
|
|
|
<style>
|
|
|
|
.frame-main .frame-left{top:0;}
|
|
|
|
.frame-main{bottom: 32px;}
|
|
|
|
</style>
|
2015-03-22 20:54:54 +00:00
|
|
|
<?php } ?>
|
|
|
|
|
2016-12-21 08:01:06 +00:00
|
|
|
<body style="overflow:hidden;" oncontextmenu="return core.contextmenu();" class="page_editor">
|
2015-03-22 20:54:54 +00:00
|
|
|
<?php include(TEMPLATE.'common/navbar_share.html');?>
|
|
|
|
<div class="frame-main">
|
|
|
|
<div class='frame-left'>
|
|
|
|
<ul id="folderList" style="margin-top:10px;" class="ztree"></ul>
|
|
|
|
</div><!-- / frame-left end-->
|
|
|
|
<div class='frame-resize'></div>
|
|
|
|
<div class='frame-right'>
|
|
|
|
<div class="frame-right-main" style="height:100%;padding:0;margin:0;">
|
|
|
|
<div class="resizeMask"></div>
|
|
|
|
<div class="messageBox"><div class="content"></div></div>
|
|
|
|
<div class="menuTreeRoot"></div>
|
|
|
|
<div class="menuTreeFolder"></div>
|
|
|
|
<div class="menuTreeFile"></div>
|
|
|
|
<div class ='frame'>
|
|
|
|
<iframe name="OpenopenEditor"
|
2016-12-21 08:01:06 +00:00
|
|
|
src="./index.php?share/edit&user=<?php echo clear_html($_GET['user']);?>&sid=<?php echo clear_html($_GET['sid']);?>"
|
2015-03-22 20:54:54 +00:00
|
|
|
style="width:100%;height:100%;border:0;" frameborder=0></iframe>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div><!-- / frame-right end-->
|
|
|
|
</div><!-- / frame-main end-->
|
|
|
|
<?php include(TEMPLATE.'common/footer.html');?>
|
2016-12-21 08:01:06 +00:00
|
|
|
<script type="text/javascript" src="<?php echo STATIC_PATH;?>js/lib/seajs/sea.js?ver=<?php echo KOD_VERSION;?>"></script>
|
|
|
|
<script type="text/javascript" src="./index.php?share/common_js&user=<?php echo clear_html($_GET['user']);?>&sid=<?php echo clear_html($_GET['sid']);?>&#=<?php echo rand_string(8);?>"></script>
|
2015-03-22 20:54:54 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
AUTH = {'explorer:fileDownload':<?php echo $can_download;?>};
|
2016-12-21 08:01:06 +00:00
|
|
|
G.project = "<?php echo (isset($_GET['project'])?clear_html($_GET['project']):'') ;?>";
|
|
|
|
G.user = "<?php echo clear_html($_GET['user']);?>";
|
|
|
|
G.sid = "<?php echo clear_html($_GET['sid']);?>";
|
2015-03-22 20:54:54 +00:00
|
|
|
G.share_info = <?php echo json_encode($share_info);?>;
|
|
|
|
G.theme = "<?php echo $config_theme;?>";
|
|
|
|
seajs.config({
|
|
|
|
base: "<?php echo STATIC_PATH;?>js/",
|
|
|
|
preload: ["lib/jquery-1.8.0.min"],
|
|
|
|
map:[
|
2015-03-24 09:31:30 +00:00
|
|
|
[ /^(.*\.(?:css|js))(.*)$/i,'$1$2?ver='+G.version]
|
2015-03-22 20:54:54 +00:00
|
|
|
]
|
|
|
|
});
|
|
|
|
seajs.use("app/src/share_editor/main");
|
|
|
|
</script>
|
|
|
|
</body>
|
2016-12-21 08:01:06 +00:00
|
|
|
</html>
|