問題:我不是企業(yè)版本,沒有簽收功能。用戶登錄面板的簽收文章純屬多余的...怎么刪除?能具體點(diǎn)嗎?
解決方法:
1.先看下您的調(diào)用調(diào)用方法是用2005的調(diào)用方法還是2006的調(diào)用方法:
2005版登錄:<IFRAME id=UserLogin src="UserLogin.asp?ShowType=1" frameBorder=0 scrolling=no
2006版登錄:<div id=UserLogin>載入中…<script language="JavaScript" type="text/JavaScript">LoadUserLogin('{$InstallDir}',0,2);</script></div>
具體請看:會員登錄橫排解決方法
2.假如是05的調(diào)用方法這樣就可以直接查看代碼進(jìn)行修改了。
假如是06的調(diào)用方法就比較難,所以建議還是改為05的調(diào)用方式。
2006版調(diào)用用戶登錄的修改方法
3.具體修改方法:找到簽收文章的代碼刪除即可。
05的代碼刪除:(UserLogin.asp)
If ShowType = 1 Then
Response.Write "<br> "
Else
Response.Write "</td><td>"
End If
Response.Write "待簽文章:" & vbCrLf
If Trim(UnsignedItems & "") = "" Then
Response.Write " <b><font color=gray>0</font></b> 篇"
Else
Dim UnsignedItemNum, arrUser
arrUser = Split(UnsignedItems, ",")
UnsignedItemNum = UBound(arrUser) 1
Response.Write " <b><font color=red>" & UnsignedItemNum & "</font></b> 篇"
End If
06的代碼刪除:(js/checklogin.js)
154行: tempstr = "</div><div id=/"userlogined/">待签文章: <b><font color=/"gray/">" root.item(0).getElementsByTagName("article").item(0).text "</font></b> 篇";
171行: tempstr = "<td>待签文章:<b><font color=/"#ffff00/">" root.item(0).getElementsByTagName("article").item(0).text "</font></b> 篇</td>";
178行: tempstr = "<td>待签文章:<b><font color=/"gray/">" root.item(0).getElementsByTagName("article").item(0).text "</font></b> 篇</td>";
新聞熱點(diǎn)
疑難解答
圖片精選