Permalink
Browse files

add hotpost

  • Loading branch information...
1 parent b674a54 commit 195256819bf9faad2cd79aceb91cd75dd8dae907 chenxj committed with zzdhidden Dec 10, 2009
Showing with 657 additions and 625 deletions.
  1. +3 −0 Makefile
  2. +3 −0 css/icons.css
  3. +1 −0 im/Makefile
  4. +1 −0 im/index.html
  5. +1 −0 im/index.js
  6. +258 −257 im/src/webim.js
  7. BIN images/icons/hotpost.jpg
  8. +124 −122 index.html
  9. +92 −91 index.js
  10. +79 −78 js/i18n/webim-zh-CN.js
  11. +75 −74 js/i18n/webim-zh-TW.js
  12. +19 −3 js/ui.js
  13. +1 −0 ucenter/custom.js.php
View
@@ -25,6 +25,8 @@ CSS_BASE_FILES = ${CSS_SRC_DIR}/core.css\
${CSS_SRC_DIR}/menu.css\
${CSS_SRC_DIR}/history.css\
${CSS_SRC_DIR}/layout.css\
+ ${CSS_SRC_DIR}/hotpost.css\
+
IM = ${SRC_DIR}/im/dist/webim.js
@@ -43,6 +45,7 @@ JS_BASE_FILES = ${JS_SRC_DIR}/core.js\
${JS_SRC_DIR}/ui.history.js\
${JS_SRC_DIR}/ui.menu.js\
${JS_SRC_DIR}/ui.chat.js\
+ ${JS_SRC_DIR}/ui.hotpost.js\
UI_CSS_FILES = ${CSS_BASE_FILES}
View
@@ -39,3 +39,6 @@
background-position:-16px -32px;
}
+ .webim-icon-hotpost{
+ background-image:url(../images/icons/hotpost.jpg);
+ }
View
@@ -20,6 +20,7 @@ BASE_FILES = ${SRC_DIR}/core.js\
${SRC_DIR}/room.js\
${SRC_DIR}/notification.js\
${SRC_DIR}/history.js
+ ${SRC_DIR}/hotpost.js
WEBIM_FILES = ${SRC_DIR}/intro.js\
View
@@ -20,6 +20,7 @@
<script type="text/javascript" src="src/buddy.js" ></script>
<script type="text/javascript" src="src/notification.js" ></script>
<script type="text/javascript" src="src/history.js" ></script>
+ <script type="text/javascript" src="src/hotpost.js" ></script>
<!-- webim end -->
</head>
<body>
View
@@ -17,6 +17,7 @@ webim.history.defaults.urls = {
};
webim.buddy.defaults.url = path + "webim/buddies.php";
webim.notification.defaults.url = path + "webim/notifications.php";
+webim.hotpost.defaults.url = path + "webim/hotpost.php";
var im = new webim();
//webim.layout.webapi.defaults.shortcuts = menu;
Oops, something went wrong.

0 comments on commit 1952568

Please sign in to comment.