打开admin/ks.template.asp
找到603行,增加下面红色的
Response.Write " <form name=""TemplateForm"" method=""post"" action=""KS.Template.asp?Action=TemplateSave""return(CheckForm())"">"
Response.Write "<input type='hidden' name='CurrPath' value='" & CurrPath &"'/>"
Response.Write " <tr class=""clefttitle"">"
Response.Write " <td height=""30"" style='text-align:left'><b>"
If Request("t")="skin" Then
Response.Write "CSS地址"
Else
Response.Write "模板地址"
End If
再往下找到816行左右,增加红色的
If right(lcase(TemplateFileName),4) =".css" Then
Response.Write ("<script> alert('恭喜,CSS在线修改成功!');top.frames['BottomFrame'].location.href='" & KS.Setting(3) & KS.Setting(89) & "KS.Split.asp?OpStr=模板管理&ButtonSymbol=Disabled'; location.href='KS.Template.asp?flag=skin&currpath=" & request.Form("currpath") &"';</script>")
Else
Response.Write ("<script> alert('成功提示:模板修改成功!');top.frames['BottomFrame'].location.href='" & KS.Setting(3) & KS.Setting(89) & "KS.Split.asp?OpStr=模板管理&ButtonSymbol=Disabled'; location.href='KS.Template.asp?currpath=" & request.Form("currpath") &"';</script>")
End If