Sun Java System Instant Messaging 7.2 管理指南

變更歸檔資料的顯示

歸檔的資料使用 IMArchiveDisplay.jsp 檔來部署。在預設情況下,IMArchiveDisplay.jsp 檔案安裝在 /etc/opt/SUNWps/desktop/default/IMProvider 資料夾中。您可修改此檔案以變更歸檔資料的樣式和資源字串。

例如,您可依照下列步驟說明,取代一般使用者加入會議室時顯示的預設系統訊息。

您也可以採用類似的方法,修改顯示金鑰資訊之其他金鑰和樣式的資源字串。

如果您變更「標題」名稱,且 Portal Server 搜尋的預設模式中「完整文字」的屬性名稱已變更,則這些變更也會反應到 IMArchiveDisplay.jsp 檔案中。

Procedure修改預設系統訊息

  1. 編輯 IMArchiveDisplay.jsp

  2. IMArchiveDisplay.jsp 中搜尋下列程式碼行:


    ....
    ht.put("has_joined_the_room","<span class='user'> {0} </span>
    <span class='headervalue'> has joined the room.</span>");
    ....
  3. 以想要的文字取代 headervalue

    例如:


    ....
    ht.put("has_joined_the_room","<span class='user'> {0} </span>
    <span class='headervalue'> has entered the room.</span>");
    ....