打开Admin/KS.Article.asp 650行左右
找到以下代码
复制代码
- .Write "<table border='0' width='100%' cellspacing='0' cellpadding='0'>"
- .Write "<tr><td height='30' colspan='3'> <strong>分页方式: </strong><selectif (this.value==2){$('#pagearea').show()}else{$('#pagearea').hide()}"" name='PaginationType'><option value='0'>不分页</option><option value='1' selected>手工分页</option><option value=2>自动分页</option></select> <strong>注:</strong><font color=blue>手工分页符标记为<font color=red>“[NextPage]”</font>,注意大小写</font> </td></tr>"
- .Write "<tr id='pagearea' style='display:none'><td colspan=3> 自动分页时的每页大约字符数<input type='text' name='MaxCharPerPage' value='" & KS.Setting(9) & "' size=6 class='textbox'> <font color=blue>必须大于100才能生效</font></td></tr>"
修改为
复制代码
- If KS.G("ID")="" Then
- .Write "<tr><td height='30' colspan='3'> <strong>分页方式: </strong><selectif (this.value==2){$('#pagearea').show()}else{$('#pagearea').hide()}"" name='PaginationType'><option value='0'>不分页</option><option value='1'>手工分页</option><option value=2 selected>自动分页</option></select> <strong>注:</strong><font color=blue>手工分页符标记为<font color=red>“[NextPage]”</font>,注意大小写</font> </td></tr>"
- .Write "<tr id='pagearea'><td colspan=3> 自动分页时的每页大约字符数<input type='text' name='MaxCharPerPage' value='" & KS.Setting(9) & "' size=6 class='textbox'> <font color=blue>必须大于100才能生效</font></td></tr>"
- Else
- .Write "<tr><td height='30' colspan='3'> <strong>分页方式: </strong><selectif (this.value==2){$('#pagearea').show()}else{$('#pagearea').hide()}"" name='PaginationType'><option value='0'>不分页</option><option value='1' selected>手工分页</option><option value=2>自动分页</option></select> <strong>注:</strong><font color=blue>手工分页符标记为<font color=red>“[NextPage]”</font>,注意大小写</font> </td></tr>"
- .Write "<tr id='pagearea' style='display:none'><td colspan=3> 自动分页时的每页大约字符数<input type='text' name='MaxCharPerPage' value='" & KS.Setting(9) & "' size=6 class='textbox'> <font color=blue>必须大于100才能生效</font></td></tr>"
- End If