2014-04-01 18:00:42 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
2015-03-22 20:54:54 +00:00
|
|
|
<title><?php echo $L['ui_editor'].' - '.$L['kod_name'].$L['kod_power_by'];?></title>
|
2014-04-01 18:00:42 +00:00
|
|
|
<link rel="Shortcut Icon" href="<?php echo STATIC_PATH;?>images/favicon.ico">
|
2015-03-22 20:54:54 +00:00
|
|
|
<link href="<?php echo STATIC_PATH;?>style/bootstrap.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet"/><link rel="stylesheet" href="./static/style/font-awesome/css/font-awesome.css">
|
2015-03-25 03:08:25 +00:00
|
|
|
<link rel="stylesheet" href="./static/style/font-awesome/css/font-awesome.css">
|
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]-->
|
|
|
|
|
|
|
|
|
2014-09-02 14:49:20 +00:00
|
|
|
<link href="<?php echo STATIC_PATH;?>style/skin/<?php echo $config['user']['theme'];?>app_editor.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet" id='link_css_list'/>
|
2015-03-22 20:54:54 +00:00
|
|
|
|
2014-04-01 18:00:42 +00:00
|
|
|
</head>
|
2015-03-22 20:54:54 +00:00
|
|
|
|
|
|
|
<?php if(isset($_GET['project'])){?>
|
|
|
|
<style>.topbar{display: none;}.frame-header{top:0;}.frame-main{top:0px;}</style>
|
|
|
|
<?php } ?>
|
|
|
|
|
2014-04-01 18:00:42 +00:00
|
|
|
<body style="overflow:hidden;" oncontextmenu="return core.contextmenu();">
|
|
|
|
<?php include(TEMPLATE.'common/navbar.html');?>
|
|
|
|
<div class="frame-main">
|
|
|
|
<div class='frame-left'>
|
|
|
|
<div class="tools-left">
|
|
|
|
<a class="home" href="#" title='<?php echo $L['root_path'];?>'><i class="icon-home"></i></a>
|
|
|
|
<a class="view" href="#" title='<?php echo $L['manage_folder'];?>'><i class="icon-laptop"></i></a>
|
|
|
|
<a class="folder" href="#" title='<?php echo $L['newfolder'];?>'><i class="icon-folder-close-alt"></i></a>
|
|
|
|
<a class="file" href="#" title='<?php echo $L['newfile'];?>'><i class="icon-file-alt"></i></a>
|
|
|
|
<a class="refresh" href="#" title='<?php echo $L['refresh'];?>'><i class="icon-refresh"></i></a>
|
|
|
|
</div>
|
|
|
|
<ul id="folderList" 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'>
|
2014-06-15 15:35:50 +00:00
|
|
|
<iframe name="OpenopenEditor" src="./index.php?editor/edit" style="width:100%;height:100%;border:0;" frameborder=0></iframe>
|
2014-04-01 18:00:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div><!-- / frame-right end-->
|
|
|
|
</div><!-- / frame-main end-->
|
2015-03-22 20:54:54 +00:00
|
|
|
<?php include(TEMPLATE.'common/footer.html');?>
|
2014-09-16 16:22:35 +00:00
|
|
|
<script src="<?php echo STATIC_PATH;?>js/lib/seajs/sea.js?ver=<?php echo KOD_VERSION;?>"></script>
|
2015-03-24 09:31:30 +00:00
|
|
|
<script src="./index.php?user/common_js#id=<?php echo rand_string(8);?>"></script>
|
2014-04-01 18:00:42 +00:00
|
|
|
<script type="text/javascript">
|
2015-10-25 15:39:11 +00:00
|
|
|
G.project = "<?php echo (isset($_GET['project'])?$_GET['project']:'') ;?>";
|
2014-04-01 18:00:42 +00:00
|
|
|
seajs.config({
|
|
|
|
base: "<?php echo STATIC_PATH;?>js/",
|
2014-09-02 14:49:20 +00:00
|
|
|
preload: ["lib/jquery-1.8.0.min"],
|
|
|
|
map:[
|
2015-03-24 09:31:30 +00:00
|
|
|
[ /^(.*\.(?:css|js))(.*)$/i,'$1$2?ver='+G.version]
|
2014-09-02 14:49:20 +00:00
|
|
|
]
|
2014-04-01 18:00:42 +00:00
|
|
|
});
|
2015-03-22 20:54:54 +00:00
|
|
|
seajs.use("app/src/editor/main");
|
2014-04-01 18:00:42 +00:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|