|
|
@@ -16,7 +16,7 @@ |
|
|
|
<input type="hidden" name="dopost" value="save"> |
|
|
|
<input type="hidden" name="id" value="<?php echo $id;?>"> |
|
|
|
<input type="hidden" name="topid" value="<?php echo $myrow['topid'];?>"> |
|
|
|
<table class="table border my-3"> |
|
|
|
<table class="table shadow-sm my-3"> |
|
|
|
<tr> |
|
|
|
<td colspan="4">修改栏目</td> |
|
|
|
</tr> |
|
|
@@ -155,7 +155,7 @@ |
|
|
|
<label><input type="radio" name="cross" id="cross0" value="0" onclick="CheckCross();" <?php if ($myrow['cross']==0) echo 'checked';?>> 不交叉</label> |
|
|
|
<label><input type="radio" name="cross" id="cross1" value="1" onclick="CheckCross();" <?php if ($myrow['cross']==1) echo 'checked';?>> 自动获取同名栏目</label> |
|
|
|
<label><input type="radio" name="cross" id="cross2" value="2" onclick="CheckCross();" <?php if ($myrow['cross']==2) echo 'checked';?>> 指定交叉栏目id(英文逗号隔开)</label> |
|
|
|
<a href="javascript:ShowHide('helpvarco');" title="帮助" class="btn btn-success btn-sm"><i class="fa fa-question-circle"></i></a><br> |
|
|
|
<a href="javascript:ShowHide('helpvarco');" class="btn btn-success btn-sm">说明</a><br> |
|
|
|
<textarea name="crossid" id="crossid" class="admin-textarea-sm" style="<?php if ($myrow['cross']!=2) echo'display:none';?>"><?php echo $myrow['crossid'];?></textarea> |
|
|
|
<div id="helpvarco" class="alert alert-info my-2" style="display:none">交叉栏目是大栏目与另一个非子栏目交叉的情况,相当于副栏目功能,需要在栏目里设置好</div> |
|
|
|
</td> |
|
|
@@ -179,7 +179,7 @@ |
|
|
|
<td> |
|
|
|
<input type="text" name="tempindex" value="<?php echo $myrow['tempindex']?>" class="admin-input-lg"> |
|
|
|
<button type="button" name="set2" class="btn btn-success btn-sm" onclick="SelectTemplets('form1.tempindex')">选择</button> |
|
|
|
<a href="javascript:ShowHide('helpvar1');" title="帮助" class="btn btn-success btn-sm"><i class="fa fa-question-circle"></i></a> |
|
|
|
<a href="javascript:ShowHide('helpvar1');" class="btn btn-success btn-sm">说明</a> |
|
|
|
<div id="helpvar1" class="alert alert-info my-2" style="display:none"> |
|
|
|
<p>{tid} 栏目id</p> |
|
|
|
<span>{cid} 栏目模型名字id</span> |
|
|
@@ -195,7 +195,7 @@ |
|
|
|
<td>列表命名规则:</td> |
|
|
|
<td> |
|
|
|
<input type="text" name="namerule2" id="namerule2" value="<?php echo $myrow['namerule2']?>" class="admin-input-lg"> |
|
|
|
<a href="javascript:ShowHide('helpvar2');" title="帮助" class="btn btn-success btn-sm"><i class="fa fa-question-circle"></i></a> |
|
|
|
<a href="javascript:ShowHide('helpvar2');" class="btn btn-success btn-sm">说明</a> |
|
|
|
<div id="helpvar2" class="alert alert-info my-2" style="display:none"> |
|
|
|
<p>静态规则</p> |
|
|
|
<p>{tid} 栏目id</p> |
|
|
@@ -210,7 +210,7 @@ |
|
|
|
<td>文档命名规则:</td> |
|
|
|
<td> |
|
|
|
<input type="text" name="namerule" id="namerule" value="<?php echo $myrow['namerule']?>" class="admin-input-lg"> |
|
|
|
<a href="javascript:ShowHide('helpvar3');" title="帮助" class="btn btn-success btn-sm"><i class="fa fa-question-circle"></i></a> |
|
|
|
<a href="javascript:ShowHide('helpvar3');" class="btn btn-success btn-sm">说明</a> |
|
|
|
<div id="helpvar3" class="alert alert-info my-2" style="display:none"> |
|
|
|
<p>静态规则</p> |
|
|
|
<p>{Y}{M}{D} 年月日</p> |
|
|
@@ -251,8 +251,8 @@ |
|
|
|
<input value="<?php echo $myrow['apikey']?>" type="text" name="apikey" id="apikey" class="admin-input-lg" placeholder="请输入跨站调用秘钥"> |
|
|
|
<label><input type="radio" name="apienabled" value="1" <?php if ($myrow['apienabled']=="1") echo 'checked';?>> 支持</label> |
|
|
|
<label><input type="radio" name="apienabled" value="0" <?php if ($myrow['apienabled']=="0") echo 'checked';?>> 不支持</label> |
|
|
|
<a href="javascript:makeAPIKey();" class="btn btn-success btn-sm" title="更新秘钥"><i class="fa fa-repeat"></i></a> |
|
|
|
<a href="javascript:showAPI(<?php echo $id;?>);" class="btn btn-success btn-sm" title="秘钥标签"><i class="fa fa-question-circle"></i></a> |
|
|
|
<a href="javascript:makeAPIKey();" class="btn btn-success btn-sm">更新</i></a> |
|
|
|
<a href="javascript:showAPI(<?php echo $id;?>);" class="btn btn-success btn-sm">说明</a> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|