|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <!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=<?php echo $cfg_soft_lang; ?>">
- <title>文件管理器</title>
- <link rel="stylesheet" href="../static/css/bootstrap.min.css">
- <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
- <link rel="stylesheet" type="text/css" href="css/base.css">
- <script language="javascript" src="../static/js/jquery.js"></script>
- <script src="../static/js/bootstrap.bundle.js"></script>
- <script language='javascript' src='js/main.js'></script>
- <script language="javascript">
- function Post() {
- if (document.form1.filename.value == "") {
- ShowMsg("文件名不能为空");
- document.form1.filename.focus();
- return false;
- }
- }
- </script>
- <link rel="stylesheet" type="text/css" href="css/codemirror.css">
- <script type="text/javascript" src="js/codemirror.js"></script>
- <script type="text/javascript" src="js/mode/xml/xml.js"></script>
- <script type="text/javascript" src="js/mode/javascript/javascript.js"></script>
- <script type="text/javascript" src="js/mode/css/css.js"></script>
- <script type="text/javascript" src="js/mode/php/php.js"></script>
- <script type="text/javascript" src="js/mode/clike/clike.js"></script>
- <script type="text/javascript" src="js/mode/htmlmixed/htmlmixed.js"></script>
- </head>
-
- <body background='images/allbg.gif' leftmargin="8" topmargin='8'>
- <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#ECFAD3"
- style="margin-bottom:8px;" class="maintable mt-3">
- <tr>
- <td height="28" style="border:1px dotted #BFD67C;padding-left:10px;" background='images/wbg.gif'>
- ◇<a href='file_manage_main.php?activepath={dede:global name=' activepath'/}'><b>文件管理</b></a>
- >> <b>修改/新建文件</b>
- </td>
- </tr>
- </table>
- <form method="POST" action="file_manage_control.php" name=form1 onSubmit="return Post()">
- <input type="hidden" name="fmdo" value="edit" />
- <input type="hidden" name="backurl" value="{dede:global name='backurl' function='urlencode(@me)'/}" />
- <input type="hidden" name="_csrf_token" value="{dede:global name='csrf_token'/}" />
-
- <table width='100%' border='0' align="center" cellpadding='3' cellspacing='1' bgcolor='#cfcfcf' class="table maintable table-borderless">
- <tr bgcolor='#EEF4EA'>
- <td colspan='2' background='images/wbg.gif' height='26' style="padding-left:10px;">
- <font color='#666600'><b>修改/新建文件:</b></font>
- </td>
- </tr>
- <tr bgcolor='#FFFFFF'>
- <td>工作目录</td>
- <td>
- <input name='activepath' size='40'
- value="{dede:global name='activepath'/}" />
- (空白表示根目录 ,不允许用 “..” 形式的路径)
- </td>
- </tr>
- <tr bgcolor='#FFFFFF'>
- <td>文件名称</td>
- <td>
- <input name=filename size=40 value="{dede:global name='filename'/}" />
- (不允许用 “..” 形式的路径)
- </td>
- </tr>
- <tr bgcolor='#FFFFFF' class="table table-bordered">
- <td colspan='2'>
- {dede:global name='contentView'/}
- </td>
- </tr>
- <tr>
- <td colspan='2' height="36" bgcolor='#F9FCEF' align='center'>
- <button type=submit name='B1' class="btn btn-secondary"> 保 存 </button>
-
- <button type=reset name='B2' class="btn btn-secondary"> 重 置 </button>
-
- <button type=button name='B4' class="btn btn-secondary"
- onClick="javascript:history.go(-1);"> 返 回 </button>
- </td>
- </tr>
- </table>
- </form>
- <script type="text/javascript">
- var editor = CodeMirror.fromTextArea(document.getElementById('str'), {
- lineNumbers: true,
- lineWrapping: true,
- mode: '{dede:global name='extension'/}'
- });
- </script>
- </body>
-
- </html>
|