diff options
author | friendica <info@friendica.com> | 2014-01-27 18:37:06 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-27 18:37:06 -0800 |
commit | eb21bbdd550e4d1efc9a4c6e506eb64ba2cf9842 (patch) | |
tree | 887fbfc6ba78c4c2e12d0361003b33c6e76926ac /library/ajaxchat/chat/lib/template/shoutbox.html | |
parent | 3100b5d93e9f440a17b99d2856ee022b29d73f80 (diff) | |
download | volse-hubzilla-eb21bbdd550e4d1efc9a4c6e506eb64ba2cf9842.tar.gz volse-hubzilla-eb21bbdd550e4d1efc9a4c6e506eb64ba2cf9842.tar.bz2 volse-hubzilla-eb21bbdd550e4d1efc9a4c6e506eb64ba2cf9842.zip |
Ajaxchat package has way too many incompatible assumptions - after a lot of review, we can't work with it without re-writing huge chunks. Think I'll just start fresh. Ajax chat isn't that hard and we can do stuff with it that you just can't do with other chat clients because - well we've got zot.
Diffstat (limited to 'library/ajaxchat/chat/lib/template/shoutbox.html')
-rw-r--r-- | library/ajaxchat/chat/lib/template/shoutbox.html | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/library/ajaxchat/chat/lib/template/shoutbox.html b/library/ajaxchat/chat/lib/template/shoutbox.html deleted file mode 100644 index 5f2de9981..000000000 --- a/library/ajaxchat/chat/lib/template/shoutbox.html +++ /dev/null @@ -1,60 +0,0 @@ -<div id="ajaxChatContent"> - <script src="[AJAX_CHAT_URL/]js/chat.js" type="text/javascript" charset="UTF-8"></script> - <script src="[AJAX_CHAT_URL/]js/custom.js" type="text/javascript" charset="UTF-8"></script> - <script src="[AJAX_CHAT_URL/]js/shoutbox.js" type="text/javascript" charset="UTF-8"></script> - <script src="[AJAX_CHAT_URL/]js/lang/[LANG_CODE/].js" type="text/javascript" charset="UTF-8"></script> - <script src="[AJAX_CHAT_URL/]js/config.js" type="text/javascript" charset="UTF-8"></script> - <script src="[AJAX_CHAT_URL/]js/FABridge.js" type="text/javascript" charset="UTF-8"></script> - <div id="ajaxChatChatList"></div> - <div id="ajaxChatInputFieldContainer" class="[CLASS_WRITEABLE/]"> - <input id="ajaxChatInputField" type="text" maxlength="[MESSAGE_TEXT_MAX_LENGTH/]" onkeypress="ajaxChat.handleInputFieldKeyPress(event);"/> - </div> - <script type="text/javascript"> - // <![CDATA[ - ajaxChatConfig.ajaxURL = '[AJAX_CHAT_URL/]?ajax=true&shoutbox=true'; - ajaxChatConfig.baseURL = '[AJAX_CHAT_URL/]'; - - ajaxChatConfig.sessionName = '[SESSION_NAME/]'; - ajaxChatConfig.cookieExpiration = parseInt('[COOKIE_EXPIRATION/]'); - ajaxChatConfig.cookiePath = '[COOKIE_PATH/]'; - ajaxChatConfig.cookieDomain = '[COOKIE_DOMAIN/]'; - ajaxChatConfig.cookieSecure = '[COOKIE_SECURE/]'; - ajaxChatConfig.chatBotName = decodeURIComponent('[CHAT_BOT_NAME/]'); - ajaxChatConfig.chatBotID = '[CHAT_BOT_ID/]'; - ajaxChatConfig.allowUserMessageDelete = parseInt('[ALLOW_USER_MESSAGE_DELETE/]'); - ajaxChatConfig.inactiveTimeout = parseInt('[INACTIVE_TIMEOUT/]'); - ajaxChatConfig.privateChannelDiff = parseInt('[PRIVATE_CHANNEL_DIFF/]'); - ajaxChatConfig.privateMessageDiff = parseInt('[PRIVATE_MESSAGE_DIFF/]'); - ajaxChatConfig.showChannelMessages = false; - ajaxChatConfig.messageTextMaxLength = parseInt('[MESSAGE_TEXT_MAX_LENGTH/]'); - ajaxChatConfig.socketServerEnabled = parseInt('[SOCKET_SERVER_ENABLED/]'); - ajaxChatConfig.socketServerHost = decodeURIComponent('[SOCKET_SERVER_HOST/]'); - ajaxChatConfig.socketServerPort = parseInt('[SOCKET_SERVER_PORT/]'); - ajaxChatConfig.socketServerChatID = parseInt('[SOCKET_SERVER_CHAT_ID/]'); - - ajaxChatConfig.domIDs['chatList'] = 'ajaxChatChatList'; - ajaxChatConfig.domIDs['inputField'] = 'ajaxChatInputField'; - ajaxChatConfig.domIDs['flashInterfaceContainer'] = 'ajaxChatFlashInterfaceContainer'; - - ajaxChatConfig.startChatOnLoad = false; - - ajaxChatConfig.settings.autoFocus = false; - ajaxChatConfig.settings.wordWrap = true; - ajaxChatConfig.settings.maxWordLength = 11; - ajaxChatConfig.settings.blink = false; - ajaxChatConfig.nonPersistentSettings.push('autoFocus','wordWrap','maxWordLength','blink'); - - ajaxChat.init(ajaxChatConfig, ajaxChatLang, true, false, true); - // ]]> - </script> - <!-- - Please retain the full copyright notice below including the link to blueimp.net. - This not only gives respect to the amount of time given freely by the developer - but also helps build interest, traffic and use of AJAX Chat. - - Thanks, - Sebastian Tschan - //--> - <div id="ajaxChatCopyright"><a href="https://blueimp.net/ajax/">AJAX Chat</a> © <a href="https://blueimp.net">blueimp.net</a></div> -</div> -<div id="ajaxChatFlashInterfaceContainer"></div> |