Browse Source

调整

tags/6.2.7
叙述、别离 1 year ago
parent
commit
0094ce5c76
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/admin/templets/catalog_add.htm
  2. +2
    -2
      src/admin/templets/catalog_edit.htm

+ 1
- 1
src/admin/templets/catalog_add.htm View File

@@ -264,9 +264,9 @@
<td>是否支持跨站调用:</td>
<td>
<input type="text" name="apikey" id="apikey" class="admin-input-lg" placeholder="请输入跨站调用秘钥">
<span class="btn btn-success btn-sm mr-2" title="更新秘钥" onclick="makeAPIKey()"><i class="fa fa-repeat"></i></span>
<label class="l-height-28"><input type="radio" name="apienabled" value="1"> 支持</label>
<label class="l-height-28"><input type="radio" name="apienabled" value="0" checked> 不支持</label>
<span class="btn btn-success btn-sm ml-2" title="更新秘钥" onclick="makeAPIKey()"><i class="fa fa-repeat"></i></span>
</td>
</tr>
<tr>


+ 2
- 2
src/admin/templets/catalog_edit.htm View File

@@ -248,10 +248,10 @@
<td>是否支持跨站调用:</td>
<td>
<input value="<?php echo $myrow['apikey']?>" type="text" name="apikey" id="apikey" class="admin-input-lg" placeholder="请输入跨站调用秘钥">
<?php if ($myrow['apienabled']=="1") {;?><span class="btn btn-success btn-sm" title="秘钥标签" onclick="showAPI(<?php echo $id;?>)"><i class="fa fa-question-circle"></i></span><?php } ;?>
<span class="btn btn-success btn-sm mr-2" title="更新秘钥" onclick="makeAPIKey()"><i class="fa fa-repeat"></i></span>
<label><input type="radio" name="apienabled" value="1" <?php if ($myrow['apienabled']=="1") echo "checked='1'";?>> 支持</label>
<label><input type="radio" name="apienabled" value="0" <?php if ($myrow['apienabled']=="0") echo "checked='1'";?>> 不支持</label>
<span class="btn btn-success btn-sm ml-2" title="更新秘钥" onclick="makeAPIKey()"><i class="fa fa-repeat"></i></span>
<?php if ($myrow['apienabled']=="1") {;?><span class="btn btn-success btn-sm" title="秘钥标签" onclick="showAPI(<?php echo $id;?>)"><i class="fa fa-question-circle"></i></span><?php } ;?>
</td>
</tr>
<tr>


Loading…
Cancel
Save