国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

191 satır
9.1KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  6. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  7. <script language="javascript" src="../static/web/js/webajax.js"></script>
  8. <script language="javascript">
  9. function ShowHideField(cbox,vid,nid)
  10. {
  11. var cboxobj = document.getElementById(cbox);
  12. if(cboxobj.checked)
  13. {
  14. document.getElementById(nid).style.display = 'block';
  15. document.getElementById(vid).style.display = 'none';
  16. } else {
  17. document.getElementById(nid).style.display = 'none';
  18. document.getElementById(vid).style.display = 'block';
  19. }
  20. }
  21. function ShowHideMb(rbox1,nid)
  22. {
  23. var rboxobj = document.getElementById(rbox1);
  24. if(rboxobj.checked)
  25. {
  26. document.getElementById(nid).style.display = 'none';
  27. } else {
  28. document.getElementById(nid).style.display = 'block';
  29. }
  30. }
  31. </script>
  32. <title>模块打包</title>
  33. <link rel="stylesheet" href="../static/web/css/admin.css">
  34. </head>
  35. <body>
  36. <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  37. <form action="module_make.php" method="post" enctype="multipart/form-data" name="form1">
  38. <input type='hidden' name='action' value='edit'>
  39. <input type='hidden' name='dev_id' value='<?php echo $dev_id; ?>'>
  40. <tr>
  41. <td height="26" colspan="2" background='../static/web/img/wbg.gif' style="padding-left:10px"><a href="module_main.php">模块管理</a> &gt; 模块修改</td>
  42. </tr>
  43. <tr>
  44. <td width="260">模块名称:</td>
  45. <td><input name="modulname" type="text" id="modulname" style="width:160px" value="<?php echo $name; ?>" class='alltxt'/></td>
  46. </tr>
  47. <tr>
  48. <td>开发者ID:</td>
  49. <td><input name="dev_id2" type="text" id="dev_id2" style="width:160px" value="<?php echo $dev_id; ?>" class='alltxt' disabled/> <a href="<?php echo $cfg_biz_dedebizUrl; ?>/developer" target="_blank" class="text-success">如何获取开发者ID</a></td>
  50. </tr>
  51. <tr>
  52. <td>语言编码:</td>
  53. <td><?php echo $lang; ?></td>
  54. </tr>
  55. <tr>
  56. <td>封装类型:</td>
  57. <td>
  58. <label><input name="moduletype" type="radio" id="moduletype1" class='np' value='soft'<?php if($moduletype=='soft') echo " checked='1' "; ?>/> 模块</label>
  59. <label><input name="moduletype" type="radio" id="moduletype2" class='np' value='templets'<?php if($moduletype=='templets') echo " checked='1' "; ?>/> 模板</label>
  60. <label><input name="moduletype" type="radio" id="moduletype3" class='np' value='plus'<?php if($moduletype=='plus') echo " checked='1' "; ?>/> 小插件</label>
  61. <label><input name="moduletype" type="radio" id="moduletype3" class='np' value='patch'<?php if($moduletype=='patch') echo " checked='1' "; ?>/> 补丁</label>
  62. </td>
  63. </tr>
  64. <tr>
  65. <td>模块识别码:</td>
  66. <td>
  67. <input type='hidden' name='hash' value='<?php echo $hash; ?>'>
  68. <input type='text' disabled name='hashv' value='<?php echo $hash; ?>' style="width:260px" class='alltxt'>(不可改)
  69. </td>
  70. </tr>
  71. <tr>
  72. <td>发布时间:</td>
  73. <td><input name="mtime" type="text" id="mtime" style="width:160px" value="<?php echo $time; ?>" class='alltxt'/></td>
  74. </tr>
  75. <tr>
  76. <td>是否涉及会员系统:</td>
  77. <td>
  78. <label><input name="ismember" type="radio" class='np' id="ismember0" value="0" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='0') echo " checked='1' "; ?>>
  79. 不涉及</label>
  80. <label><input name="ismember" type="radio" id="ismember1" value="1" onclick="ShowHideMb('ismember0','rboxct')" class='np' <?php if($ismember=='1') echo " checked='1' "; ?>> 涉及</label>
  81. <div id='rboxct' style='display:<?php echo ($ismember=='0' ? 'none' : 'block'); ?>'>
  82. 导航使用名称:
  83. <input name="indexname" type="text" id="indexname" style="width:160px" value="<?php echo $indexname; ?>" class='alltxt'/>
  84. <br>
  85. 导航使用网址:
  86. <input name="indexurl" type="text" id="indexurl" style="width:160px" value="<?php echo $indexurl; ?>" class='alltxt'>
  87. (用相对于会员中心的网址,如:../ask)
  88. </div>
  89. </td>
  90. </tr>
  91. <tr>
  92. <td>后台管理菜单:</td>
  93. <td>
  94. <textarea name="menustring" id="menustring" style="width:98%;height:160px"><?php echo $menustring; ?></textarea><br>
  95. (普通插件或模板、补丁类不要填写,模块菜单格式请参考inc/inc_menu_module.php)
  96. </td>
  97. </tr>
  98. <tr>
  99. <td>使用说明文件:</td>
  100. <td>
  101. <table width="100%" cellpadding="5" cellspacing="1">
  102. <tr>
  103. <td bgcolor="#F3FDE1">使用协议或说明:<br>
  104. 如果需要带HTML格式,请编译后点击修改时使用HTML
  105. </td>
  106. </tr>
  107. <tr>
  108. <td><textarea name="readmetxt" id="readmetxt" style="width:98%;height:160px"><?php echo $readmetxt; ?></textarea></td>
  109. </tr>
  110. </table>
  111. </td>
  112. </tr>
  113. <tr>
  114. <td>程序安装:</td>
  115. <td>
  116. <label><input type="checkbox" name="autosetup" id="autosetup" value='1' class="np" onclick="ShowHideField('autosetup','autosetupinput','autosetupct')"<?php if(isset($autosetup) && $autosetup==1) echo " checked='1'"; ?> />
  117. 自动生成(由系统自动处理安装)</label>
  118. <br>
  119. <div style="display:<?php if(!isset($autosetup) || $autosetup==0) echo 'block'; else echo 'none'; ?>" id="autosetupinput">
  120. <input name="setup" type="file" id="setup" style="width:360px">
  121. </div>
  122. <div style="margin:5px 0px 5px 5px;display:<?php if(isset($autosetup) && $autosetup==1) echo 'block'; else echo 'none'; ?>" id="autosetupct">
  123. <table width="100%" cellpadding="5" cellspacing="1">
  124. <tr>
  125. <td bgcolor="#F3FDE1">
  126. 请使用MySQL4.0版本格式的SQL语句:<br>
  127. MySQL4.1/5.x版本请把创建表语句 ENGINE=MyISAM DEFAULT CHARSET=* ,改为 TYPE=MyISAM ,SQL语句允许换行,但必须用 ";换行" 表示一条SQL语句结束<br>
  128. 如果SQL中包含有模块网址的,用 _ROOTURL_ 表示,如:_ROOTURL_/ask/index.php
  129. </td>
  130. </tr>
  131. <tr>
  132. <td><textarea name="setupsql40" id="setupsql40" style="width:98%;height:160px"><?php echo $setupsql40; ?></textarea></td>
  133. </tr>
  134. </table>
  135. </div>
  136. </td>
  137. </tr>
  138. <tr>
  139. <td>删除程序:</td>
  140. <td>
  141. <label><input type="checkbox" name="autodel" id="autodel" value='1' class="np" onclick="ShowHideField('autodel','autodelinput','autodelct')" <?php if(isset($autodel) && $autodel==1) echo " checked='1' "; ?> />
  142. 自动生成(由系统自动处理卸载)</label>
  143. <br>
  144. <div style='display:<?php if(!isset($autodel) || $autodel==0) echo 'block'; else echo 'none'; ?>' id='autodelinput'>
  145. <input name="uninstall" type="file" id="uninstall" style="width:360px">
  146. </div>
  147. <div style='margin:5px 0px 5px 5px;display:<?php if(isset($autodel) && $autodel==1) echo 'block'; else echo 'none'; ?>' id='autodelct'>
  148. <table width="100%" cellpadding="5" cellspacing="1">
  149. <tr>
  150. <td bgcolor="#F3FDE1">卸载时执行的SQL语句:<br>
  151. (SQL允许换行,但必须用 ";换行" 表示一条SQL语句结束)
  152. </td>
  153. </tr>
  154. <tr>
  155. <td><textarea name="delsql" id="delsql" style="width:98%;height:160px"><?php echo $delsql; ?></textarea></td>
  156. </tr>
  157. </table>
  158. </div>
  159. </td>
  160. </tr>
  161. <tr>
  162. <td>模块文件选项:</td>
  163. <td>
  164. <label><input name="rebuild" type="radio" id="rebuild1" class='np' value='yes' checked='1'/> 重新编译所有文件</label>
  165. <label><input name="rebuild" type="radio" id="rebuild2" class='np' value='no'/> 不对[文件列表]内文件重编译</label>
  166. </td>
  167. </tr>
  168. <tr>
  169. <td>文件列表:</td>
  170. <td>每行指定一个文件或目录,路径为相对于本目录,本目录的文件则直接用文件名即可,对于整个打包的目录,不需要指定子目录里的文件<br>
  171. 如:如果已经指定了:../book 则不需要再指定目录里的 ../book/index.php 等文件或目录,系统会自动索引整个目录,<br>
  172. 对于不需要索引整个目录的,请不要指定这个目录,否则可能会把不必要的文件也放进模块中 <br>
  173. <textarea name="filelist" id="filelist" style="width:98%;height:160px"><?php echo $filelist; ?></textarea>
  174. </td>
  175. </tr>
  176. <tr>
  177. <td>开发者私钥:</td>
  178. <td>开发者认证后获取的私钥<br>
  179. <textarea name="priv" id="priv" style="width:98%;height:160px"></textarea>
  180. </td>
  181. </tr>
  182. <tr>
  183. <td colspan="2" align="center" class="py-3">
  184. <button name="imageField" type="submit" class="btn btn-success btn-sm">提交</button>
  185. <button type="button" id="button" onClick="location='module_main.php';" class="btn btn-success btn-sm">返回</button>
  186. </td>
  187. </tr>
  188. </form>
  189. </table>
  190. </body>
  191. </html>