Browse Source

bug修改

tags/6.2.0
xushubieli 1 year ago
parent
commit
ddf93a1760
4 changed files with 22 additions and 23 deletions
  1. +2
    -2
      src/admin/plus_main.php
  2. +9
    -9
      src/admin/templets/module_edit.htm
  3. +9
    -9
      src/admin/templets/module_make.htm
  4. +2
    -3
      src/admin/templets/sys_sql_query.htm

+ 2
- 2
src/admin/plus_main.php View File

@@ -20,8 +20,8 @@ $dlist->display();
function GetSta($sta, $id, $title)
{
if ($sta == 1) {
return "<a href='plus_edit.php?dopost=edit&aid=$id'>修改</a> 启用 &gt; <a href='plus_edit.php?dopost=hide&aid=$id'>禁用</a> <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>删除</a>";
return "启用 &gt; <a href='plus_edit.php?dopost=hide&aid=$id' class='text-danger'>禁用</a> <a href='plus_edit.php?dopost=edit&aid=$id'>修改</a> <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>删除</a>";
} else {
return "<a href='plus_edit.php?aid=$id'>修改</a> 禁用 &gt; <a href='plus_edit.php?dopost=show&aid=$id'>启用</a> <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>册除</a>";
return "禁用 &gt; <a href='plus_edit.php?dopost=show&aid=$id' class='text-success'>启用</a> <a href='plus_edit.php?aid=$id'>修改</a> <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>册除</a>";
}
}

+ 9
- 9
src/admin/templets/module_edit.htm View File

@@ -56,10 +56,10 @@
<tr>
<td>封装类型:</td>
<td>
<label><input type="radio" name="moduletype" value="soft" <?php if($moduletype=='soft') echo "checked='1'"; ?>> 模块</label>
<label><input type="radio" name="moduletype" value="templets" <?php if($moduletype=='templets') echo "checked='1'"; ?>> 模板</label>
<label><input type="radio" name="moduletype" value="plus" <?php if($moduletype=='plus') echo "checked='1'"; ?>> 小插件</label>
<label><input type="radio" name="moduletype" value="patch" <?php if($moduletype=='patch') echo "checked='1'"; ?>> 补丁</label>
<label><input type="radio" name="moduletype" id="moduletype1" value="soft" <?php if($moduletype=='soft') echo "checked='1'"; ?>> 模块</label>
<label><input type="radio" name="moduletype" id="moduletype2" value="templets" <?php if($moduletype=='templets') echo "checked='1'"; ?>> 模板</label>
<label><input type="radio" name="moduletype" id="moduletype3" value="plus" <?php if($moduletype=='plus') echo "checked='1'"; ?>> 小插件</label>
<label><input type="radio" name="moduletype" id="moduletype4" value="patch" <?php if($moduletype=='patch') echo "checked='1'"; ?>> 补丁</label>
</td>
</tr>
<tr>
@@ -76,8 +76,8 @@
<tr>
<td>是否涉及会员系统:</td>
<td>
<label><input type="radio" name="ismember" value="0" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='0') echo "checked='1'"; ?>> 不涉及</label>
<label><input type="radio" name="ismember" value="1" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='1') echo "checked='1'"; ?>> 涉及</label>
<label><input type="radio" name="ismember" id="ismember1" value="1" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='1') echo "checked='1'"; ?>> 涉及</label>
<label><input type="radio" name="ismember" id="ismember0" value="0" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='0') echo "checked='1'"; ?>> 不涉及</label>
<div id="rboxct" style="display:<?php echo ($ismember=='0' ? 'none' : 'block'); ?>">
导航使用名称:<input type="text" name="indexname" id="indexname" style="width:160px" value="<?php echo $indexname; ?>"><br>
导航使用网址:<input type="text" name="indexurl" id="indexurl" style="width:160px" value="<?php echo $indexurl; ?>">(用相对于会员中心的网址,如:../ask)
@@ -96,7 +96,7 @@
<td>
<table width="100%" cellpadding="5" cellspacing="1">
<tr>
<td bgcolor="#F3FDE1">使用协议或说明:<br>
<td bgcolor="#FBFCE2">使用协议或说明:<br>
如果需要带HTML格式,请编译后点击修改时使用HTML</td>
</tr>
<tr>
@@ -113,7 +113,7 @@
<div style="margin:5px 0px 5px 5px;display:<?php if(isset($autosetup) && $autosetup==1) echo 'block'; else echo 'none'; ?>" id="autosetupct">
<table width="100%" cellpadding="5" cellspacing="1">
<tr>
<td bgcolor="#F3FDE1">
<td bgcolor="#FBFCE2">
请使用MySQL4.0版本格式的SQL语句:<br>
MySQL4.1/5.x版本请把创建表语句 ENGINE=MyISAM DEFAULT CHARSET=* ,改为 TYPE=MyISAM ,SQL语句允许换行,但必须用 ";换行" 表示一条SQL语句结束<br>
如果SQL中包含有模块网址的,用 _ROOTURL_ 表示,如:_ROOTURL_/ask/index.php
@@ -135,7 +135,7 @@
<div style='margin:5px 0px 5px 5px;display:<?php if(isset($autodel) && $autodel==1) echo 'block'; else echo 'none'; ?>' id='autodelct'>
<table width="100%" cellpadding="5" cellspacing="1">
<tr>
<td bgcolor="#F3FDE1">卸载时执行的SQL语句:<br>
<td bgcolor="#FBFCE2">卸载时执行的SQL语句:<br>
(SQL允许换行,但必须用 ";换行" 表示一条SQL语句结束)</td>
</tr>
<tr>


+ 9
- 9
src/admin/templets/module_make.htm View File

@@ -47,10 +47,10 @@
<tr>
<td>封装类型:</td>
<td>
<label><input type="radio" name="moduletype" value="soft" checked="1"> 模块</label>
<label><input type="radio" name="moduletype" value="templets"> 模板</label>
<label><input type="radio" name="moduletype" value="plus"> 小插件</label>
<label><input type="radio" name="moduletype" value="patch"> 补丁</label>
<label><input type="radio" name="moduletype" id="moduletype1" value="soft" checked="1"> 模块</label>
<label><input type="radio" name="moduletype" id="moduletype2" value="templets"> 模板</label>
<label><input type="radio" name="moduletype" id="moduletype3" value="plus"> 小插件</label>
<label><input type="radio" name="moduletype" id="moduletype4" value="patch"> 补丁</label>
</td>
</tr>
<tr>
@@ -64,8 +64,8 @@
<tr>
<td>是否涉及会员系统:</td>
<td>
<label><input type="radio" name="ismember" value="0" onclick="ShowHideMb('ismember0','rboxct')" checked="checked"> 不涉及</label>
<label><input type="radio" name="ismember" value="1" onclick="ShowHideMb('ismember0','rboxct')"> 涉及</label>
<label><input type="radio" name="ismember" id="ismember1" value="1" onclick="ShowHideMb('ismember0','rboxct')"> 涉及</label>
<label><input type="radio" name="ismember" id="ismember0" value="0" onclick="ShowHideMb('ismember0','rboxct')" checked="checked"> 不涉及</label>
<div id="rboxct" style="display:none">
导航使用名称:<input type="text" name="indexname" id="indexname" style="width:160px" value=""><br>
导航使用网址:<input type="text" name="indexurl" id="indexurl" style="width:160px" value="">
@@ -91,7 +91,7 @@
<div style="margin:5px 0px 5px 5px;display:none" id="autoreadmect">
<table width="100%" cellpadding="5" cellspacing="1">
<tr>
<td bgcolor="#F3FDE1">
<td bgcolor="#FBFCE2">
填写使用协议或说明:<br>
如果需要带HTML格式,请编译后点击修改时使用HTML</td>
</tr>
@@ -113,7 +113,7 @@
<div style="margin:5px 0px 5px 5px;display:none" id="autosetupct">
<table width="100%" cellpadding="5" cellspacing="1">
<tr>
<td bgcolor="#F3FDE1">
<td bgcolor="#FBFCE2">
请使用MySQL4.0版本格式的SQL语句:<br>
MySQL4.1/5.x版本请把创建表语句 ENGINE=MyISAM DEFAULT CHARSET=* ,改为 TYPE=MyISAM ,SQL语句允许换行,但必须用 ";换行" 表示一条SQL语句结束<br>
如果SQL中包含有模块网址的,用 _ROOTURL_ 表示,如:_ROOTURL_/ask/index.php
@@ -135,7 +135,7 @@
<div style="margin:5px 0px 5px 5px;display:none" id="autodelct">
<table width="100%" cellpadding="5" cellspacing="1">
<tr>
<td bgcolor="#F3FDE1">卸载时执行的SQL语句:<br>
<td bgcolor="#FBFCE2">卸载时执行的SQL语句:<br>
(SQL允许换行,但必须用 ";换行" 表示一条SQL语句结束)
</td>
</tr>


+ 2
- 3
src/admin/templets/sys_sql_query.htm View File

@@ -58,8 +58,7 @@
?>
</select>
</td>
<td width="2%"></td>
<td width="68%" valign="top">
<td width="70%">
<button type="Submit" name="Submit1" class="btn btn-success btn-sm" onClick="this.form.dopost.value='opimize';">优化选中表</button>
<button type="Submit" name="Submit2" class="btn btn-success btn-sm" onClick="this.form.dopost.value='repair';">修复选中表</button>
<button type="Submit" name="Submit3" class="btn btn-success btn-sm" onClick="this.form.dopost.value='viewinfo';">查看表结构</button>
@@ -85,7 +84,7 @@
</td>
</tr>
<tr>
<td colspan="2"><textarea id="sqlquery" name="sqlquery" cols="20" rows="5" id="sqlquery" style="width:90%"></textarea></td>
<td colspan="2"><textarea id="sqlquery" name="sqlquery" cols="10" rows="5" id="sqlquery" style="width:90%"></textarea></td>
</tr>
<tr>
<td colspan="2" align="center" class="py-2"><button type="submit" class="btn btn-success btn-sm">保存</button></td>


Loading…
Cancel
Save