国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
2.9KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  6. <title>新建/修改文件</title>
  7. <link rel="stylesheet" href="/static/web/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="/static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="/static/web/css/admin.css">
  10. <link rel="stylesheet" href="/static/web/css/codemirror.css">
  11. <script src="/static/web/js/jquery.min.js"></script>
  12. <script src="/static/web/js/bootstrap.min.js"></script>
  13. <script src="/static/web/js/codemirror.js"></script>
  14. <script src="/static/web/js/mode/xml/xml.js"></script>
  15. <script src="/static/web/js/mode/javascript/javascript.js"></script>
  16. <script src="/static/web/js/mode/css/css.js"></script>
  17. <script src="/static/web/js/mode/php/php.js"></script>
  18. <script src="/static/web/js/mode/clike/clike.js"></script>
  19. <script src="/static/web/js/mode/htmlmixed/htmlmixed.js"></script>
  20. <script src="/static/web/js/admin.main.js"></script>
  21. </head>
  22. <body>
  23. <div class="container-fluid">
  24. <ol class="breadcrumb">
  25. <li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li>
  26. <li class="breadcrumb-item"><a href="file_manage_main.php">文件管理器</a></li>
  27. <li class="breadcrumb-item active">新建/修改文件</li>
  28. </ol>
  29. <div class="card shadow-sm">
  30. <div class="card-header">新建/修改文件</div>
  31. <div class="card-body">
  32. <form name="form1" action="file_manage_control.php" method="post">
  33. <input type="hidden" name="fmdo" value="edit">
  34. <input type="hidden" name="backurl" value="{dede:global name='backurl' function='urlencode(@me)'/}">
  35. <input type="hidden" name="_csrf_token" value="{dede:global name='csrf_token'/}">
  36. <div class="table-responsive">
  37. <table class="table table-borderless">
  38. <tbody>
  39. <tr>
  40. <td width="260">文件目录</td>
  41. <td><input name="activepath" value="{dede:global name='activepath'/}" class="admin-input-lg" required>(空白表示根目录,不可以用小数点..表示路径)</td>
  42. </tr>
  43. <tr>
  44. <td>文件名称</td>
  45. <td><input name="filename" value="{dede:global name='filename'/}" class="admin-input-lg">(不可以用小数点..表示路径)</td>
  46. </tr>
  47. <tr>
  48. <td colspan="2">{dede:global name='contentView'/}</td>
  49. </tr>
  50. <tr>
  51. <td colspan="2" align="center">
  52. <button type="submit" class="btn btn-success btn-sm">保存</button>
  53. <button type="reset" class="btn btn-outline-success btn-sm">重置</button>
  54. </td>
  55. </tr>
  56. </tbody>
  57. </table>
  58. </div>
  59. </form>
  60. </div>
  61. </div>
  62. </div>
  63. <script>
  64. var editor = CodeMirror.fromTextArea(document.getElementById("str"), {
  65. lineNumbers: true,
  66. lineWrapping: true,
  67. mode: '{dede:global name='extension'/}',
  68. });
  69. </script>
  70. </body>
  71. </html>