-
- {L_WHOIS_CHATTING}
-
-
-
-
-
{whoisrow.USERNAME_FULL}
-
-
+
+
+
+ {{ lang('WHOIS_CHATTING') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
diff --git a/styles/GhostSpace/template/chat_font_colour_hold.html b/styles/Prospace/template/chat_body_font_colour_hold.html
similarity index 86%
rename from styles/GhostSpace/template/chat_font_colour_hold.html
rename to styles/Prospace/template/chat_body_font_colour_hold.html
index 2103487..471527c 100644
--- a/styles/GhostSpace/template/chat_font_colour_hold.html
+++ b/styles/Prospace/template/chat_body_font_colour_hold.html
@@ -3,7 +3,7 @@
- {L_SELECT_COLOR}
+ {{ lang('SELECT_COLOR') }}
@@ -55,7 +55,7 @@
}
document.writeln('');
}
- colorPalette('h', 15, 12);
+ colorPalette('h', 15, 10);
function hilite(value)
{
var cur_color = value;
@@ -66,6 +66,6 @@
|
-
{L_DELETE_CHAT_COOKIE_EXPLAIN}
-
+
{{ lang('DELETE_CHAT_COOKIE_EXPLAIN') }}
+
\ No newline at end of file
diff --git a/styles/Prospace/template/chat_body_input.html b/styles/Prospace/template/chat_body_input.html
new file mode 100644
index 0000000..214c903
--- /dev/null
+++ b/styles/Prospace/template/chat_body_input.html
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/styles/Prospace/template/chat_body_input_full.html b/styles/Prospace/template/chat_body_input_full.html
new file mode 100644
index 0000000..b168578
--- /dev/null
+++ b/styles/Prospace/template/chat_body_input_full.html
@@ -0,0 +1,39 @@
+
+ -
+
+ -
+
+
+
+
+ {{ lang('NO_POST_IN_CHAT') }}
+
+
+
{{ lang('GUEST_MESSAGE') }}
+
+
+ -
+
+
+
+
\ No newline at end of file
diff --git a/styles/Prospace/template/chat_body_input_original.html b/styles/Prospace/template/chat_body_input_original.html
new file mode 100644
index 0000000..b0e5690
--- /dev/null
+++ b/styles/Prospace/template/chat_body_input_original.html
@@ -0,0 +1,25 @@
+
+ -
+
+ -
+
+
+
+
+ {{ lang('NO_POST_IN_CHAT') }}
+
+
+
{{ lang('GUEST_MESSAGE') }}
+
+
+ -
+
+
+
+
\ No newline at end of file
diff --git a/styles/Prospace/template/chat_body_whois.html b/styles/Prospace/template/chat_body_whois.html
new file mode 100644
index 0000000..933f151
--- /dev/null
+++ b/styles/Prospace/template/chat_body_whois.html
@@ -0,0 +1,5 @@
+
+
+
{whoisrow.USERNAME_FULL}
+
+
\ No newline at end of file
diff --git a/styles/Prospace/template/chat_edit.html b/styles/Prospace/template/chat_edit.html
new file mode 100644
index 0000000..63440ff
--- /dev/null
+++ b/styles/Prospace/template/chat_edit.html
@@ -0,0 +1,40 @@
+
+
+
+
+
+
diff --git a/styles/Prospace/template/ucp_ajax_chat.html b/styles/Prospace/template/ucp_ajax_chat.html
new file mode 100644
index 0000000..cf25dae
--- /dev/null
+++ b/styles/Prospace/template/ucp_ajax_chat.html
@@ -0,0 +1,111 @@
+
+
+
+
+
diff --git a/styles/Subway/template/chat_body.html b/styles/Subway/template/chat_body.html
deleted file mode 100644
index 8be3c1f..0000000
--- a/styles/Subway/template/chat_body.html
+++ /dev/null
@@ -1,255 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
{chatrow.USER_AVATAR}
-
- {chatrow.USER_AVATAR_THUMB}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@
-
-
@
-
-
- @
-
- {chatrow.USERNAME_FULL}
« {chatrow.TIME} »
-
-
- -
-
-
-
- {SMILIES_PATH}
-
-
- {chatrow.MESSAGE}
-
-
-
-
-
- --!--{LAST_ID}--!--
-
-
-
-
-
-
-
-
-
{whoisrow.USERNAME_FULL}
-
-
-
- --!--{LAST_TIME}--!--{REFRESH_TIME}--!--{LAST_POST}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {L_CHAT_RULE}
{CHAT_RULES}
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
{chatrow.USER_AVATAR}
-
- {chatrow.USER_AVATAR_THUMB}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@
-
-
@
-
-
- @
-
- {chatrow.USERNAME_FULL}
« {chatrow.TIME} »
-
-
- -
-
-
-
-
-
- {chatrow.MESSAGE}
-
-
-
-
-
-
-
-
-
-
- {L_WHOIS_CHATTING}
-
-
-
-
-
{whoisrow.USERNAME_FULL}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/styles/all/template/chat_body.html b/styles/all/template/chat_body.html
deleted file mode 100644
index 4decabc..0000000
--- a/styles/all/template/chat_body.html
+++ /dev/null
@@ -1,251 +0,0 @@
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
{chatrow.USER_AVATAR}
-
- {chatrow.USER_AVATAR_THUMB}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@
-
-
@
-
-
- @
-
- {chatrow.USERNAME_FULL}
« {chatrow.TIME} »
-
-
- -
-
-
-
- {SMILIES_PATH}
-
-
- {chatrow.MESSAGE}
-
-
-
-
- --!--{LAST_ID}--!--
-
-
-
-
-
-
-
-
-
{whoisrow.USERNAME_FULL}
-
-
-
- --!--{LAST_TIME}--!--{REFRESH_TIME}--!--{LAST_POST}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {L_CHAT_RULE}
{CHAT_RULES}
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
{chatrow.USER_AVATAR}
-
- {chatrow.USER_AVATAR_THUMB}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@
-
-
@
-
-
- @
-
- {chatrow.USERNAME_FULL}
« {chatrow.TIME} »
-
-
- -
-
-
-
-
-
- {chatrow.MESSAGE}
-
-
-
-
-
-
-
-
-
- {L_WHOIS_CHATTING}
-
-
-
-
-
{whoisrow.USERNAME_FULL}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/styles/all/template/chat_body_buttons.html b/styles/all/template/chat_body_buttons.html
new file mode 100644
index 0000000..7eaccf5
--- /dev/null
+++ b/styles/all/template/chat_body_buttons.html
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
diff --git a/styles/all/template/chat_body_chatrow.html b/styles/all/template/chat_body_chatrow.html
new file mode 100644
index 0000000..099631a
--- /dev/null
+++ b/styles/all/template/chat_body_chatrow.html
@@ -0,0 +1,42 @@
+
+
+
+
+
class="chat-avatars">
+
+
+
+
{chatrow.USER_AVATAR}
+
+ {chatrow.USER_AVATAR_THUMB}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@
+
+
@
+
+
+ @
+
+ {chatrow.USERNAME_FULL}
« {chatrow.TIME} »
+
+
+ {SMILIES_PATH}
+
+
+ {chatrow.MESSAGE}
+
+
+
+
\ No newline at end of file
diff --git a/styles/all/template/chat_body_readadd.html b/styles/all/template/chat_body_readadd.html
new file mode 100644
index 0000000..6fa1c83
--- /dev/null
+++ b/styles/all/template/chat_body_readadd.html
@@ -0,0 +1,13 @@
+
+
+ --!--{LAST_ID}--!--
+
+
+
+
+
+
+
+
+ --!--{LAST_TIME}--!--{REFRESH_TIME}--!--{LAST_POST}
+
\ No newline at end of file
diff --git a/styles/all/template/chat_buttons.html b/styles/all/template/chat_buttons.html
deleted file mode 100644
index 5e38449..0000000
--- a/styles/all/template/chat_buttons.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
diff --git a/styles/all/template/chatrow_message_icons.html b/styles/all/template/chatrow_message_icons.html
new file mode 100644
index 0000000..b0ba19a
--- /dev/null
+++ b/styles/all/template/chatrow_message_icons.html
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/styles/all/template/event/index_body_stat_blocks_before.html b/styles/all/template/event/index_body_forumlist_body_after.html
similarity index 97%
rename from styles/all/template/event/index_body_stat_blocks_before.html
rename to styles/all/template/event/index_body_forumlist_body_after.html
index 664778a..1d6110a 100644
--- a/styles/all/template/event/index_body_stat_blocks_before.html
+++ b/styles/all/template/event/index_body_forumlist_body_after.html
@@ -1,5 +1,5 @@
-
+
diff --git a/styles/all/template/event/index_body_markforums_after.html b/styles/all/template/event/index_body_markforums_after.html
index 018e1fd..008dd90 100644
--- a/styles/all/template/event/index_body_markforums_after.html
+++ b/styles/all/template/event/index_body_markforums_after.html
@@ -1,5 +1,5 @@
-
+
diff --git a/styles/all/template/event/navbar_header_quick_links_after.html b/styles/all/template/event/navbar_header_quick_links_after.html
index ed121e0..db275d9 100644
--- a/styles/all/template/event/navbar_header_quick_links_after.html
+++ b/styles/all/template/event/navbar_header_quick_links_after.html
@@ -1,5 +1,5 @@
-
{L_CHAT_EXPLAIN}
+
{{ lang('CHAT_EXPLAIN') }}
diff --git a/styles/all/template/event/overall_footer_content_after.html b/styles/all/template/event/overall_footer_content_after.html
new file mode 100644
index 0000000..9e8807c
--- /dev/null
+++ b/styles/all/template/event/overall_footer_content_after.html
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/styles/all/template/event/overall_header_head_append.html b/styles/all/template/event/overall_header_head_append.html
index fca29e6..1d317e4 100644
--- a/styles/all/template/event/overall_header_head_append.html
+++ b/styles/all/template/event/overall_header_head_append.html
@@ -1 +1,3 @@
-
+
+
+
\ No newline at end of file
diff --git a/styles/all/template/event/overall_header_navigation_append.html b/styles/all/template/event/overall_header_navigation_append.html
index 87df1bb..31d7183 100644
--- a/styles/all/template/event/overall_header_navigation_append.html
+++ b/styles/all/template/event/overall_header_navigation_append.html
@@ -1,5 +1,5 @@
-
{L_CHAT_EXPLAIN}
+
{{ lang('CHAT_EXPLAIN') }}
diff --git a/styles/all/template/event/simple_header_head_append.html b/styles/all/template/event/simple_header_head_append.html
index fca29e6..1d317e4 100644
--- a/styles/all/template/event/simple_header_head_append.html
+++ b/styles/all/template/event/simple_header_head_append.html
@@ -1 +1,3 @@
-
+
+
+
\ No newline at end of file
diff --git a/styles/all/template/event/viewforum_forum_title_after.html b/styles/all/template/event/viewforum_forum_title_after.html
index 8bdab12..169ff2e 100644
--- a/styles/all/template/event/viewforum_forum_title_after.html
+++ b/styles/all/template/event/viewforum_forum_title_after.html
@@ -1,3 +1,11 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/styles/all/template/event/viewtopic_topic_title_after.html b/styles/all/template/event/viewtopic_topic_title_after.html
index 67c12ab..c0b65f0 100644
--- a/styles/all/template/event/viewtopic_topic_title_after.html
+++ b/styles/all/template/event/viewtopic_topic_title_after.html
@@ -1,3 +1,11 @@
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/styles/all/template/js/ajax_chat.js b/styles/all/template/js/ajax_chat.js
index 2fa9a3d..96c8fb3 100644
--- a/styles/all/template/js/ajax_chat.js
+++ b/styles/all/template/js/ajax_chat.js
@@ -13,28 +13,28 @@ function setCookie(name, value, expires, path, domain, secure) {
}
//******************************************************************************************
-// This functions reads & returns the cookie value of the specified cookie (by cookie name)
+// This functions reads & returns the cookie value of the specified cookie (by cookie name)
//******************************************************************************************
function getCookie(name) {
var start = document.cookie.indexOf(name + "=");
var len = start + name.length + 1;
- if ((!start) && (name != document.cookie.substring(0, name.length))) {
+ if ((!start) && (name !== document.cookie.substring(0, name.length))) {
return null;
}
- if (start == -1)
+ if (start === -1)
return null;
var end = document.cookie.indexOf(';', len);
- if (end == -1)
+ if (end === -1)
end = document.cookie.length;
return unescape(document.cookie.substring(len, end));
}
function deletecookie(name)
{
- var cookie_date = new Date ( ); // current date & time
- cookie_date.setTime ( cookie_date.getTime() - 1 );
- document.cookie = cookie_name += "=; expires=" + cookie_date.toGMTString();
- location.reload(true);
+ var cookie_date = new Date( ); // current date & time
+ cookie_date.setTime(cookie_date.getTime() - 1);
+ document.cookie = cookie_name += "=; expires=" + cookie_date.toGMTString();
+ location.reload(true);
}
var form_name = 'postform';
@@ -44,45 +44,31 @@ var xmlHttp = http_object();
var type = 'receive';
var d = new Date();
var post_time = d.getTime();
-
-var interval = setInterval('handle_send("read", last_id);', read_interval);
+var interval = setInterval('handle_send("read", last_id);', read_interval* 1000);
var name = getCookie(cookie_name);
+
if (chatbbcodetrue)
{
var blkopen = name;
-
- if (name === null || name == 'null')
+
+ if (name === null || name === 'null')
{
var blkopen = '';
var blkclose = '';
- }
- else
+ } else
{
var blkopen = name;
var blkclose = '[/color2]';
}
-}
-else
+} else
{
var blkopen = '';
var blkclose = '';
}
-$(window).load(function () {
- $("#smilies").click(function () {
- $("#chat_smilies").toggle(600);
- });
- $("#bbcodes").click(function () {
- $("#chat_bbcodes").toggle(600);
- });
- $("#chat_bbpalette").click(function () {
- $("#chat_colour_palette").toggle(600);
- });
-});
-
function handle_send(mode, f)
{
- if (xmlHttp.readyState == 4 || xmlHttp.readyState == 0)
+ if (xmlHttp.readyState === 4 || xmlHttp.readyState === 0)
{
indicator_switch('on');
type = 'receive';
@@ -92,7 +78,7 @@ function handle_send(mode, f)
param += '&last_post=' + post_time;
param += '&read_interval=' + read_interval;
- if (mode == 'add' && document.postform.message.value != '')
+ if (mode === 'add' && document.postform.message.value !== '')
{
type = 'send';
for (var i = 0; i < f.elements.length; i++)
@@ -101,20 +87,30 @@ function handle_send(mode, f)
param += '&' + elem.name + '=' + blkopen + "" + encodeURIComponent(elem.value) + blkclose;
}
document.postform.message.value = '';
- }
- else if (mode == 'add' && document.postform.message.value == '')
-
+ } else if (mode === 'add' && document.postform.message.value === '')
{
alert(chat_empty);
return false;
- }
-
- else if (mode == 'delete')
+ } else if (mode === 'edit')
{
+ var message = document.getElementById('message').value;
+ type = 'edit';
+ mode += '/' + f;
+ param = '&submit=1&message=' + message;
+ } else if (mode === 'delete')
+ {
+ var parent = document.getElementById('chat');
+ var child = document.getElementById('p' + f);
+ parent.removeChild(child);
type = 'delete';
param += '&chat_id=' + f;
+ } else if (mode === 'quotemessage')
+ {
+ type = 'quotemessage';
+ param += '&chat_id=' + f;
}
- xmlHttp.open("POST", query_url, true);
+
+ xmlHttp.open("POST", query_url + "/" + mode, true);
xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xmlHttp.onreadystatechange = handle_return;
xmlHttp.send(param);
@@ -123,19 +119,44 @@ function handle_send(mode, f)
function handle_return()
{
- if (xmlHttp.readyState == 4)
+ if (xmlHttp.readyState === 4)
{
- if (type != 'delete')
- {
+ results = xmlHttp.responseText.split('--!--');
+
+ if (type === 'quotemessage') {
+ if (results[0]) {
+ $text = document.getElementById('message').value;
+ document.getElementById('message').value = $text + results[0];
+ document.getElementById("message").focus();
+ }
+ } else if (type === 'edit') {
+ jQuery(function($) {
- results = xmlHttp.responseText.split('--!--');
+ 'use strict';
+
+ var opener = window.opener;
+ if (opener) {
+ $(opener.document).find('#p' + last_id).replaceWith(results[0]);
+ }
+
+ var popup = window.self;
+ popup.opener = window.self;
+ popup.close();
+ });
+ } else if (type !== 'delete') {
if (results[1])
{
- if (last_id == 0)
+ jQuery(function($) {
+
+ 'use strict';
+
+ $(fieldname).append(results[0]);
+ });
+
+ if (last_id === 0)
{
document.getElementById(fieldname).innerHTML = results[0];
- }
- else
+ } else
{
document.getElementById(fieldname).innerHTML = results[0] + document.getElementById(fieldname).innerHTML;
}
@@ -148,34 +169,50 @@ function handle_return()
{
read_interval = results[4];
window.clearInterval(interval);
-
interval = setInterval('handle_send("read", last_id);', read_interval * 1000);
document.getElementById('update_seconds').innerHTML = read_interval;
}
-
+
}
}
}
+ if (chatmessagedown)
+ {
+ setInterval(function(){
+ var $chatscroll = $('div.shout-body');
+ if($chatscroll.filter(function(){ return $(this).is(':hover'); }).length){$chatscroll.stop();}else {$chatscroll.scrollTop($('#chat').height());}
+ }, 200);
+ }
indicator_switch('off');
}
}
+function edit_post(chat_id)
+{
+ //message = document.getElementId('message').value;
+ //console.log(message);
+}
+
function delete_post(chatid)
{
document.getElementById('p' + chatid).style.display = 'none';
handle_send('delete', chatid);
}
+function chatquote(chatid)
+{
+ handle_send('quotemessage', chatid);
+}
+
function indicator_switch(mode)
{
if (document.getElementById("act_indicator"))
{
var img = document.getElementById("act_indicator");
- if (img.style.visibility == "hidden" && mode == 'on')
+ if (img.style.visibility === "hidden" && mode === 'on')
{
img.style.visibility = "visible";
- }
- else if (mode == 'off')
+ } else if (mode === 'off')
{
img.style.visibility = "hidden";
}
@@ -184,11 +221,10 @@ function indicator_switch(mode)
if (document.getElementById("check_indicator"))
{
var img = document.getElementById("check_indicator");
- if (img.style.visibility == "hidden" && mode == 'off')
+ if (img.style.visibility === "hidden" && mode === 'off')
{
img.style.visibility = "visible";
- }
- else if (mode == 'on')
+ } else if (mode === 'on')
{
img.style.visibility = "hidden";
}
@@ -200,26 +236,22 @@ function http_object()
if (window.XMLHttpRequest)
{
return new XMLHttpRequest();
- }
- else if (window.ActiveXObject)
+ } else if (window.ActiveXObject)
{
try
{
return new ActiveXObject("Msxml2.XMLHTTP");
- }
- catch (e)
+ } catch (e)
{
try
{
return new ActiveXObject("Microsoft.XMLHTTP");
- }
- catch (e)
+ } catch (e)
{
document.getElementById('p_status').innerHTML = (ie_no_ajax);
}
}
- }
- else
+ } else
{
document.getElementById('p_status').innerHTML = (upgrade_browser);
}
@@ -247,11 +279,40 @@ function addText(instext)
mess.selectionStart = startPos + instext.length;
mess.selectionEnd = endPos + instext.length;
mess.focus();
- }
- else
+ } else
{
mess.value += instext;
mess.focus();
}
}
//END;Whatever
+
+jQuery(function($) {
+
+ 'use strict';
+
+ $(window).load(function () {
+ $("#smilies").click(function () {
+ $("#chat_smilies").toggle(600);
+ });
+ $("#bbcodes").click(function () {
+ $("#chat_bbcodes").toggle(600);
+ });
+ $("#chat_bbpalette").click(function () {
+ $("#chat_colour_palette").toggle(600);
+ });
+ if (chatmessagedown && type !== 'edit')
+ {
+ setInterval(function(){
+ var $chatscroll = $('div.shout-body');
+ if($chatscroll.filter(function(){ return $(this).is(':hover'); }).length){$chatscroll.stop();}else {$chatscroll.scrollTop($('#chat').height());}
+ }, 200);
+ }
+ });
+
+ var $chat_edit = $('#chat_edit');
+ $chat_edit.find('#submit').on('click', function(e) {
+ e.preventDefault();
+ handle_send('edit', $chat_edit.find('input[name=chat_id]').val());
+ });
+});
diff --git a/styles/all/theme/ajax_chat.css b/styles/all/theme/ajax_chat.css
index 95b9f31..016ac7f 100644
--- a/styles/all/theme/ajax_chat.css
+++ b/styles/all/theme/ajax_chat.css
@@ -51,17 +51,28 @@
display: none;
}
+#ajaxchat .navbar.chatrules {
+ margin: 0 5px 3px 5px;
+ border-radius: 0 0 7px 7px;
+ text-align: center;
+}
+
+#ajaxchat .forabg {
+ margin-bottom: 0;
+}
+
.select_color {
margin: 0 auto;
}
.shouts {
- float: left;
- width: 84%;
+ width: 85%;
height: 250px;
overflow: auto;
overflow-x: hidden;
margin-left: 0.5%;
+ display: inline-block;
+ position: relative;
}
.chat_online_off {
@@ -77,8 +88,7 @@
}
.whois {
- display: block;
- width: 15%;
+ display: inline-block;
height: 250px;
overflow: auto;
text-align: center;
@@ -89,16 +99,6 @@
margin: 2px 0;
}
-.whois_chatting {
- display: block;
- width: 98%;
- border-bottom: 1px solid #CCCCCC;
- font-weight: bold;
- text-transform: uppercase;
- font-size: 1.0em;
- margin: 0 auto 4px;
-}
-
.whois_online {
display: block;
width: 90%;
@@ -115,10 +115,10 @@
.chat-postbody {
padding: 0;
- line-height: 1.48em;
+ line-height: 1em;
width: 100%;
clear: both;
- min-height: 30px;
+ min-height: 20px;
}
.chat dd {
@@ -186,20 +186,26 @@
.message {
line-height: 1.4em;
font-size: 1.2em;
- margin-left: 17%;
- padding-top: 4px;
+ padding-top: 2px;
+ overflow: auto;
}
.chat-postprofile {
- width: 15%;
- min-width: 160px;
+ margin-right: 32px;
+ display: inline-block;
float: left;
- display: inline;
+ white-space: nowrap;
}
-.chat-profile-width {
- min-width: 175px;
- display: inline;
+.chat-postprofile-no-avatar {
+ margin-right: 4px;
+ display: inline-block;
+ float: left;
+ white-space: nowrap;
+}
+
+.chat-usernames {
+ padding-top: 5px;
}
.chat-time {
@@ -224,15 +230,12 @@
.chat-avatars {
float: left;
+ max-width: 20px;
position: relative;
margin-right: 10px;
outline: none;
z-index: 0;
- padding: 3px 0px 0px 3px;
-}
-
-.chat-names {
- margin-left: 10px;
+ padding: 1px 0px 1px 0px;
}
div.chat-avatars:hover {
@@ -262,12 +265,8 @@ div.chat-avatars:hover span {
width: 300px;
}
-.big-avatar {
- max-height: 128px;
-}
-
-.small-avatar {
- max-height: 20px;
+.top-pad {
+ padding-top: 2px;
}
.chat-avatars img {
@@ -285,7 +284,8 @@ div.chat-avatars:hover span {
.chatnavbar {
margin: 6px 0 4px 0;
- padding: 5px 10px;
+ padding: 5px 10px 8px 10px;
+ text-align: center;
}
.input_message {
@@ -295,6 +295,7 @@ div.chat-avatars:hover span {
.chat-postbody .message blockquote, .chat-postbody .codebox {
margin-right: 30px;
margin-bottom: 4px;
+ width: 60%;
}
.chat .button {
@@ -321,77 +322,26 @@ div.chat-avatars:hover span {
border: none !important;
}
-@media only screen and (max-width: 900px), only screen and (max-device-width: 900px) {
- .whois {
- width: 100%;
- height: auto;
- text-align: left;
- padding: 6px 0 0;
- }
- .whois_chatting {
- display: inline;
- border: none;
- margin: 0;
- }
- .whois_online {
- display: inline;
- margin: 0 4px;
- }
- .shouts {
- width: 100%;
- height:150px;
- }
- #whois_online {
- display: -webkit-flex; /* Safari */
- -webkit-flex-wrap: wrap; /* Safari 6.1+ */
- display: inline-flex;
- flex-wrap: wrap;
- }
-}
-
-@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {
- .shouts {
- width: 100%;
- height:250px;
- }
- .chat-avatars {
- display: none;
- }
- .chat-postprofile {
- min-width: 80px;
- float: left;
- display: inline;
- }
- .chatnavbar {
- padding: 2px;
- }
- #bbpalette {
- display: none;
- }
- #whois_online {
- display: -webkit-flex; /* Safari */
- -webkit-flex-wrap: wrap; /* Safari 6.1+ */
- display: inline-flex;
- flex-wrap: wrap;
- }
+.chat_edit textarea.inputbox {
+ width: 99%;
}
/* ABBC3 Compatibility */
-.abbc3_buttons_row {
+#ajaxchat .abbc3_buttons_row {
width: inherit !important;
}
-#abbc3_buttons {
+#ajaxchat #abbc3_buttons {
margin-top: 0 !important;
}
-#color_palette_placeholder {
+#ajaxchat #color_palette_placeholder {
width: 100%;
margin: 0 auto;
}
-#color_palette_placeholder table {
+#ajaxchat #color_palette_placeholder table {
width: 100%;
margin: 0 auto;
}
@@ -400,15 +350,26 @@ div.chat-avatars:hover span {
position: inherit;
}
+#chat ul.topiclist dt {
+ width: auto;
+}
+
/* bootlike additions */
.bordernav {
border: 1px solid #E7E7E7;
}
-#chat .post {
- padding-bottom: 3px;
+.chatpost {
+ padding: 0 0 2px 5px;
+ margin-bottom: 0;
+ background-repeat: no-repeat;
+ background-position: 100% 0;
+ position: relative;
border-radius: 4px;
+ border-right: #CCCCCC 1px solid;
+ border-bottom: #CCCCCC 1px solid;
+ border-left: #CCCCCC 1px solid;
}
.chat .btnbl {
@@ -423,6 +384,11 @@ div.chat-avatars:hover span {
margin-bottom: 3px;
}
+.chat-messages-down {
+ -webkit-transform: scaleY(-1);
+ transform: scaleY(-1);
+}
+
/* Subway additions */
#chat .subway .post-buttons .icon-button:before {
top: 5px;
@@ -433,12 +399,177 @@ div.chat-avatars:hover span {
width: 24px;
}
-.subway #chat .post {
+.subway .chatpost {
margin-bottom: 5px;
padding: 5px;
}
/* Black additions */
- .fachaticon .nav-link {
- content: '\f075'; // fa-comment
- }
+.fachaticon {
+ width: 30px;
+ margin-left: -5px;
+}
+
+.fachaticon .nav-link {
+ width: 30px;
+}
+
+.fachaticon .navbar .nav-tabs .responsive-menu .nav-link:after, .navbar .nav-tabs .account .nav-link:after, .navbar .nav-tabs .pm .nav-link:after, .navbar .nav-tabs .notifications .nav-link:after, .navbar .nav-tabs .mcp .nav-link:after, .navbar .nav-tabs .acp .nav-link:after, .navbar .nav-tabs .faq .nav-link:after, .navbar .nav-tabs .logout .nav-link:after, .navbar .nav-tabs .login .nav-link:after, .navbar .nav-tabs .register .nav-link:after, .navbar .nav-tabs .rightside .boardrules .nav-link:after, .navbar .nav-tabs .rightside .pages .nav-link:after, .navbar .nav-tabs .members .nav-link:after, .navbar .nav-tabs .forums .nav-link:after, .navbar .nav-tabs .leftside .boardrules .nav-link:after, .navbar .nav-tabs .leftside .pages .nav-link:after {
+ font-size: 16px;
+}
+
+/* Aqua-Marine additions */
+#ajaxchat .forabg.aqua-marine {
+ padding-bottom: 0;
+}
+
+#ajaxchat .navbar.chatrules.aqua-marine {
+ margin-top: -4px;
+}
+
+/*!
+ * Font Awesome 4.6.1 by @davegandy - http://fontawesome.io - @fontawesome
+ * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
+ */
+/* FONT PATH
+ * -------------------------- */
+@font-face {
+ font-family: 'FontAwesome';
+ src: url('font-awesome/fontawesome-webfont.eot?v=4.5.0');
+ src: url('font-awesome/fontawesome-webfont.eot?#iefix&v=4.5.0') format('embedded-opentype'), url('font-awesome/fontawesome-webfont.woff2?v=4.5.0') format('woff2'), url('font-awesome/fontawesome-webfont.woff?v=4.5.0') format('woff'), url('font-awesome/fontawesome-webfont.ttf?v=4.5.0') format('truetype'), url('font-awesome/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+@font-face {
+ font-family: 'FontAwesome';
+ src: url('font-awesome/fontawesome-webfont.eot?v=4.6.1');
+ src: url('font-awesome/fontawesome-webfont.eot?#iefix&v=4.6.1') format('embedded-opentype'), url('font-awesome/fontawesome-webfont.woff2?v=4.6.1') format('woff2'), url('font-awesome/fontawesome-webfont.woff?v=4.6.1') format('woff'), url('font-awesome/fontawesome-webfont.ttf?v=4.6.1') format('truetype'), url('font-awesome/fontawesome-webfont.svg?v=4.6.1#fontawesomeregular') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+
+.shout-body .fa {
+ display: inline-block;
+ font: normal normal normal 14px/1 FontAwesome;
+ font-size: 1.125em;
+ text-rendering: auto;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+.fa-fw {
+ width: 1.28571429em;
+ text-align: center;
+}
+
+.pull-right {
+ float: right;
+}
+
+.pull-left {
+ float: left;
+}
+
+.fa-quote-left:before {
+ content: "\f10d";
+}
+
+.fa-pencil-square-o:before {
+ content: "\f044";
+}
+
+.fa-trash-o:before {
+ content: "\f014";
+}
+
+.fa-comments:before {
+ content: "\f086";
+}
+
+@media only screen and (max-width: 900px), only screen and (max-device-width: 900px) {
+ .whois {
+ width: 100%;
+ height: auto;
+ text-align: left;
+ padding: 6px 0 0;
+ }
+ .whois_chatting {
+ display: inline;
+ border: none;
+ margin: 0;
+ }
+ .whois_online {
+ display: inline;
+ margin: 0 4px;
+ }
+ .shouts {
+ width: 100%;
+ height:150px;
+ }
+ #whois_online {
+ display: -webkit-flex; /* Safari */
+ -webkit-flex-wrap: wrap; /* Safari 6.1+ */
+ display: inline-flex;
+ flex-wrap: wrap;
+ }
+ .chatpost {
+ padding: 0 0 2px 10px !important;
+ }
+}
+
+@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
+ .chatpost {
+ padding: 0 0 2px 10px !important;
+ }
+ .chat-postprofile {
+ float: left;
+ }
+ .message {
+ clear: left;
+ }
+ .shout-body .fa {
+ font-size: 1em;
+ }
+}
+
+@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {
+ .chat-avatars {
+ display: none;
+ }
+ .chat-postprofile {
+ margin-right: 4px;
+ min-width: 80px;
+ display: inline;
+ }
+ .chatnavbar {
+ padding: 2px;
+ }
+ #bbpalette {
+ display: none;
+ }
+ #whois_online {
+ display: -webkit-flex; /* Safari */
+ -webkit-flex-wrap: wrap; /* Safari 6.1+ */
+ display: inline-flex;
+ flex-wrap: wrap;
+ }
+ .chatpost {
+ padding: 0 0 2px 10px !important;
+ }
+}
+
+.original {
+ padding: 8px 10px;
+ margin-bottom: 4px;
+}
+
+.nomargin {
+ margin-top: 0 !important;
+ margin-bottom: 0 !important;
+ margin-left: 0 !important;
+ margin-right: 0 !important;
+}
+
+#ajaxchat .forabg ul.topiclist li.header dt, .forumbg ul.topiclist li.header dt {
+ width: 100%;
+}
\ No newline at end of file
diff --git a/styles/all/theme/font-awesome/FontAwesome.otf b/styles/all/theme/font-awesome/FontAwesome.otf
new file mode 100644
index 0000000..59853bc
Binary files /dev/null and b/styles/all/theme/font-awesome/FontAwesome.otf differ
diff --git a/styles/all/theme/font-awesome/fontawesome-webfont.eot b/styles/all/theme/font-awesome/fontawesome-webfont.eot
new file mode 100644
index 0000000..96f92f9
Binary files /dev/null and b/styles/all/theme/font-awesome/fontawesome-webfont.eot differ
diff --git a/styles/all/theme/font-awesome/fontawesome-webfont.svg b/styles/all/theme/font-awesome/fontawesome-webfont.svg
new file mode 100644
index 0000000..5a5f0ec
--- /dev/null
+++ b/styles/all/theme/font-awesome/fontawesome-webfont.svg
@@ -0,0 +1,685 @@
+
+
+
\ No newline at end of file
diff --git a/styles/all/theme/font-awesome/fontawesome-webfont.ttf b/styles/all/theme/font-awesome/fontawesome-webfont.ttf
new file mode 100644
index 0000000..86784df
Binary files /dev/null and b/styles/all/theme/font-awesome/fontawesome-webfont.ttf differ
diff --git a/styles/all/theme/font-awesome/fontawesome-webfont.woff b/styles/all/theme/font-awesome/fontawesome-webfont.woff
new file mode 100644
index 0000000..c7faa19
Binary files /dev/null and b/styles/all/theme/font-awesome/fontawesome-webfont.woff differ
diff --git a/styles/all/theme/font-awesome/fontawesome-webfont.woff2 b/styles/all/theme/font-awesome/fontawesome-webfont.woff2
new file mode 100644
index 0000000..cab8571
Binary files /dev/null and b/styles/all/theme/font-awesome/fontawesome-webfont.woff2 differ
diff --git a/styles/all/theme/sounds/sound.mp3 b/styles/all/theme/sounds/sound.mp3
index c1d47db..43f49a3 100644
Binary files a/styles/all/theme/sounds/sound.mp3 and b/styles/all/theme/sounds/sound.mp3 differ
diff --git a/styles/all/theme/sounds/soundout.mp3 b/styles/all/theme/sounds/soundout.mp3
index e42d43a..d8b205e 100644
Binary files a/styles/all/theme/sounds/soundout.mp3 and b/styles/all/theme/sounds/soundout.mp3 differ
diff --git a/styles/black/template/chat_body.html b/styles/black/template/chat_body.html
deleted file mode 100644
index 5d28318..0000000
--- a/styles/black/template/chat_body.html
+++ /dev/null
@@ -1,251 +0,0 @@
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
{chatrow.USER_AVATAR}
-
- {chatrow.USER_AVATAR_THUMB}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@
-
-
@
-
-
- @
-
- {chatrow.USERNAME_FULL}
« {chatrow.TIME} »
-
-
- -
-
-
-
- {SMILIES_PATH}
-
-
- {chatrow.MESSAGE}
-
-
-
-
- --!--{LAST_ID}--!--
-
-
-
-
-
-
-
-
-
{whoisrow.USERNAME_FULL}
-
-
-
- --!--{LAST_TIME}--!--{REFRESH_TIME}--!--{LAST_POST}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {L_CHAT_RULE}
{CHAT_RULES}
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
{chatrow.USER_AVATAR}
-
- {chatrow.USER_AVATAR_THUMB}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@
-
-
@
-
-
- @
-
- {chatrow.USERNAME_FULL}
« {chatrow.TIME} »
-
-
- -
-
-
-
-
-
- {chatrow.MESSAGE}
-
-
-
-
-
-
-
-
-
- {L_WHOIS_CHATTING}
-
-
-
-
-
{whoisrow.USERNAME_FULL}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/styles/black/template/event/navbar_header_quick_links_after.html b/styles/black/template/event/navbar_header_quick_links_after.html
deleted file mode 100644
index d836073..0000000
--- a/styles/black/template/event/navbar_header_quick_links_after.html
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
{L_CHAT_EXPLAIN}
-
-
diff --git a/styles/black/template/event/overall_header_navigation_append.html b/styles/black/template/event/overall_header_navigation_append.html
deleted file mode 100644
index e69de29..0000000
diff --git a/styles/bootlike/template/chat_body.html b/styles/bootlike/template/chat_body.html
deleted file mode 100644
index 4429f4b..0000000
--- a/styles/bootlike/template/chat_body.html
+++ /dev/null
@@ -1,227 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
{chatrow.USER_AVATAR}
-
- {chatrow.USER_AVATAR_THUMB}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@
-
-
@
-
-
- @
-
- {chatrow.USERNAME_FULL}
« {chatrow.TIME} »
-
-
- {SMILIES_PATH}
-
-
- {chatrow.MESSAGE}
-
-
-
-
- --!--{LAST_ID}--!--
-
-
-
-
-
-
-
-
-
{whoisrow.USERNAME_FULL}
-
-
-
- --!--{LAST_TIME}--!--{REFRESH_TIME}--!--{LAST_POST}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {L_CHAT_RULE}
{CHAT_RULES}
-
-
-
-
-
-
-
-
-
-
-
-
-
{chatrow.USER_AVATAR}
-
- {chatrow.USER_AVATAR_THUMB}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@
-
-
@
-
-
- @
-
- {chatrow.USERNAME_FULL}
« {chatrow.TIME} »
-
-
-
-
- {chatrow.MESSAGE}
-
-
-
-
-
-
-
-
-
- {L_WHOIS_CHATTING}
-
-
-
-
-
{whoisrow.USERNAME_FULL}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/styles/bootlike/template/event/navbar_header_quick_links_after.html b/styles/bootlike/template/event/navbar_header_quick_links_after.html
deleted file mode 100644
index b59bb3e..0000000
--- a/styles/bootlike/template/event/navbar_header_quick_links_after.html
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
{L_CHAT_EXPLAIN}
-
-
diff --git a/styles/bootlike/template/event/overall_header_navigation_append.html b/styles/bootlike/template/event/overall_header_navigation_append.html
deleted file mode 100644
index f870408..0000000
--- a/styles/bootlike/template/event/overall_header_navigation_append.html
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
{L_CHAT_EXPLAIN}
-
-
diff --git a/styles/bootlike/template/ucp_ajax_chat.html b/styles/bootlike/template/ucp_ajax_chat.html
deleted file mode 100644
index e574c5f..0000000
--- a/styles/bootlike/template/ucp_ajax_chat.html
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
-
diff --git a/styles/proDVGFX/template/event/index_body_forumlist_body_after.html b/styles/proDVGFX/template/event/index_body_forumlist_body_after.html
deleted file mode 100644
index 2c49b1a..0000000
--- a/styles/proDVGFX/template/event/index_body_forumlist_body_after.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/styles/proDVGFX/template/event/index_body_stat_blocks_before.html b/styles/proDVGFX/template/event/index_body_stat_blocks_before.html
deleted file mode 100644
index e69de29..0000000
diff --git a/styles/prosilver/template/chat_body.html b/styles/prosilver/template/chat_body.html
new file mode 100644
index 0000000..ac86998
--- /dev/null
+++ b/styles/prosilver/template/chat_body.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {CHAT_RULES}
+
+
+
+
+
class="chat-messages-down" >
+
+
+
+
+
+
+ {{ lang('WHOIS_CHATTING') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/styles/prosilver/template/chat_body_font_colour_hold.html b/styles/prosilver/template/chat_body_font_colour_hold.html
new file mode 100644
index 0000000..471527c
--- /dev/null
+++ b/styles/prosilver/template/chat_body_font_colour_hold.html
@@ -0,0 +1,71 @@
+
+
+
+
+
+ {{ lang('SELECT_COLOR') }}
+
+
+
+
+ |
+
+
+
{{ lang('DELETE_CHAT_COOKIE_EXPLAIN') }}
+
+
\ No newline at end of file
diff --git a/styles/prosilver/template/chat_body_input.html b/styles/prosilver/template/chat_body_input.html
new file mode 100644
index 0000000..214c903
--- /dev/null
+++ b/styles/prosilver/template/chat_body_input.html
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/styles/prosilver/template/chat_body_input_full.html b/styles/prosilver/template/chat_body_input_full.html
new file mode 100644
index 0000000..5b42184
--- /dev/null
+++ b/styles/prosilver/template/chat_body_input_full.html
@@ -0,0 +1,39 @@
+
\ No newline at end of file
diff --git a/styles/prosilver/template/chat_body_input_original.html b/styles/prosilver/template/chat_body_input_original.html
new file mode 100644
index 0000000..0445d02
--- /dev/null
+++ b/styles/prosilver/template/chat_body_input_original.html
@@ -0,0 +1,25 @@
+
\ No newline at end of file
diff --git a/styles/prosilver/template/chat_body_whois.html b/styles/prosilver/template/chat_body_whois.html
new file mode 100644
index 0000000..933f151
--- /dev/null
+++ b/styles/prosilver/template/chat_body_whois.html
@@ -0,0 +1,5 @@
+
+
+
{whoisrow.USERNAME_FULL}
+
+
\ No newline at end of file
diff --git a/styles/prosilver/template/chat_edit.html b/styles/prosilver/template/chat_edit.html
new file mode 100644
index 0000000..ddc31a7
--- /dev/null
+++ b/styles/prosilver/template/chat_edit.html
@@ -0,0 +1,40 @@
+
+
+
+
+
+
diff --git a/styles/prosilver/template/ucp_ajax_chat.html b/styles/prosilver/template/ucp_ajax_chat.html
new file mode 100644
index 0000000..cf25dae
--- /dev/null
+++ b/styles/prosilver/template/ucp_ajax_chat.html
@@ -0,0 +1,111 @@
+
+
+
+
+
diff --git a/styles/subsilver2/template/chat_body.html b/styles/subsilver2/template/chat_body.html
deleted file mode 100644
index 6b48244..0000000
--- a/styles/subsilver2/template/chat_body.html
+++ /dev/null
@@ -1,231 +0,0 @@
-
-
-
-
-
-
-
-
-
- {L_DELETE}
-
-
-
-
- @
-
- @
-
-
- @
-
- {chatrow.USERNAME_FULL}
-
- « {chatrow.TIME} »
- |
-
- {chatrow.MESSAGE}
- |
-
-
-
-
- --!--{LAST_ID}--!--
-
-
-
-
-
-
-
-
-
{whoisrow.USERNAME_FULL}
-
-
-
- --!--{LAST_TIME}--!--{REFRESH_TIME}--!--{LAST_POST}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/styles/subsilver2/template/chat_buttons.html b/styles/subsilver2/template/chat_buttons.html
deleted file mode 100644
index 3907b81..0000000
--- a/styles/subsilver2/template/chat_buttons.html
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
-
-
diff --git a/styles/subsilver2/template/event/index_body_forumlist_body_after.html b/styles/subsilver2/template/event/index_body_forumlist_body_after.html
deleted file mode 100644
index 5eb0f73..0000000
--- a/styles/subsilver2/template/event/index_body_forumlist_body_after.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/styles/subsilver2/template/event/index_body_markforums_after.html b/styles/subsilver2/template/event/index_body_markforums_after.html
deleted file mode 100644
index 018e1fd..0000000
--- a/styles/subsilver2/template/event/index_body_markforums_after.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/styles/subsilver2/template/event/overall_header_head_append.html b/styles/subsilver2/template/event/overall_header_head_append.html
deleted file mode 100644
index fca29e6..0000000
--- a/styles/subsilver2/template/event/overall_header_head_append.html
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/styles/subsilver2/template/event/overall_header_navigation_prepend.html b/styles/subsilver2/template/event/overall_header_navigation_prepend.html
deleted file mode 100644
index 257b408..0000000
--- a/styles/subsilver2/template/event/overall_header_navigation_prepend.html
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
{L_CHAT_EXPLAIN}
-
-
diff --git a/styles/subsilver2/template/event/simple_header_head_append.html b/styles/subsilver2/template/event/simple_header_head_append.html
deleted file mode 100644
index fca29e6..0000000
--- a/styles/subsilver2/template/event/simple_header_head_append.html
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/styles/subsilver2/template/ucp_ajax_chat.html b/styles/subsilver2/template/ucp_ajax_chat.html
deleted file mode 100644
index 3fa2ede..0000000
--- a/styles/subsilver2/template/ucp_ajax_chat.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
- {L_USER_AJAXCHAT_SETTINGS} |
-
-
- {L_NO_VIEW_CHAT} |
-
-
-
-
-
diff --git a/styles/subsilver2/theme/ajax_chat.css b/styles/subsilver2/theme/ajax_chat.css
deleted file mode 100644
index 5af032c..0000000
--- a/styles/subsilver2/theme/ajax_chat.css
+++ /dev/null
@@ -1,157 +0,0 @@
-#bbpalette {
- display: inline;
-}
-
-#fc {
- margin: 0 auto;
- height: 20px;
- width: 20px;
- border-style: solid;
- border-width: 1px;
-}
-
-#chat_colour_palette {
- display: none;
- text-align: center;
- padding-bottom: 5px;
- text-indent: 0;
-}
-
-#chat_colour_palette table {
- margin: 0 auto;
-}
-
-#chat {
- width: 100%;
- text-align: left;
-}
-
-#message {
- width: 65%;
-}
-
-#whois_online{
- vertical-align: text-top;
- text-align: left;
-}
-
-#act_indicator {
- visibility: hidden;
- vertical-align: text-bottom;
- cursor: wait;
-}
-
-#check_indicator{
- vertical-align: text-bottom;
- margin-right: -16px;
- cursor: help;
-}
-
-.chat_sound {
- visibility: hidden;
- position: absolute;
-}
-
-.select_color {
- margin: 0 auto;
-}
-
-.box {
- width: 100%;
- margin-left: auto;
- margin-right: auto;
-}
-
-.chat_profile {
- width: 200px;
- padding: 4px;
-}
-
-.whois {
- height: 300px;
- overflow: auto;
-}
-
-.shouts {
- width: 100%;
- height: 300px;
- overflow: auto;
-}
-
-.status_img {
- vertical-align: middle;
-}
-
-.chat-avatars {
- float: left;
- position: relative;
- margin-right: 10px;
- outline: none;
- z-index: 0;
-}
-
-div.chat-avatars:hover {
- background-color: transparent;
- z-index: 50;
-}
-
-.chat-avatars span {
- position: absolute;
- left: 0px;
- display: none;
- color: #FFFFFF;
- text-decoration: none;
-}
-
-.chat-avatars span img {
- border-width: 0;
-}
-
-div.chat-avatars:hover span {
- position: absolute;
- display: block;
- top: -25px;
- left: 40px;
- padding: 2px 2px 0;
- background-color: transparent;
- border: none;
-}
-
-.chat .cat {
- background-repeat-y: no-repeat !important;
-}
-
-.chat-icon {
- background-position: 0 50%;
- background-repeat: no-repeat;
- background-image: url("./images/icon_chat.png");
- padding: 6px 0 6px 21px;
-}
-
-.span_chat_rule {
- font-weight: bold;
- font-size: 1.1em;
- color: #AA0000;
-}
-
-#chat_smilies {
- margin-bottom: 5px;
-}
-
-.details {
- color: #AA0000;
-}
-
-/* ABBC3 Compatibility */
-
-.abbc3_buttons_row {
- width: inherit !important;
-}
-
-#abbc3_buttons {
- margin-top: 0 !important;
-}
-
-#chat_bbcodes #bbcode_wizard {
- position: inherit;
-}
diff --git a/styles/subsilver2/theme/images/icon_chat.png b/styles/subsilver2/theme/images/icon_chat.png
deleted file mode 100644
index e3e549e..0000000
Binary files a/styles/subsilver2/theme/images/icon_chat.png and /dev/null differ
diff --git a/styles/we_universal/template/chat_body.html b/styles/we_universal/template/chat_body.html
deleted file mode 100644
index df21a6c..0000000
--- a/styles/we_universal/template/chat_body.html
+++ /dev/null
@@ -1,251 +0,0 @@
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
{chatrow.USER_AVATAR}
-
- {chatrow.USER_AVATAR_THUMB}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@
-
-
@
-
-
- @
-
- {chatrow.USERNAME_FULL}
« {chatrow.TIME} »
-
-
- -
-
-
-
- {SMILIES_PATH}
-
-
- {chatrow.MESSAGE}
-
-
-
-
- --!--{LAST_ID}--!--
-
-
-
-
-
-
-
-
-
{whoisrow.USERNAME_FULL}
-
-
-
- --!--{LAST_TIME}--!--{REFRESH_TIME}--!--{LAST_POST}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {L_CHAT_RULE}
{CHAT_RULES}
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
{chatrow.USER_AVATAR}
-
- {chatrow.USER_AVATAR_THUMB}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@
-
-
@
-
-
- @
-
- {chatrow.USERNAME_FULL}
« {chatrow.TIME} »
-
-
- -
-
-
-
-
-
- {chatrow.MESSAGE}
-
-
-
-
-
-
-
-
-
- {L_WHOIS_CHATTING}
-
-
-
-
-
{whoisrow.USERNAME_FULL}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/styles/we_universal/template/event/navbar_header_quick_links_after.html b/styles/we_universal/template/event/navbar_header_quick_links_after.html
deleted file mode 100644
index 62069f9..0000000
--- a/styles/we_universal/template/event/navbar_header_quick_links_after.html
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
{L_CHAT_EXPLAIN}
-
-
diff --git a/ucp/ucp_ajaxchat_module.php b/ucp/ucp_ajaxchat_module.php
index f6b6ffa..7f8bac2 100644
--- a/ucp/ucp_ajaxchat_module.php
+++ b/ucp/ucp_ajaxchat_module.php
@@ -100,13 +100,13 @@ public function main($id, $mode)
'user_ajax_chat_avatar_hover' => $this->request->variable('ajax_chat_avatar_hover', (bool) $this->user->data['user_ajax_chat_avatar_hover']),
'user_ajax_chat_onlinelist' => $this->request->variable('ajax_chat_onlinelist', (bool) $this->user->data['user_ajax_chat_onlinelist']),
'user_ajax_chat_autocomplete' => $this->request->variable('ajax_chat_autocomplete', (bool) $this->user->data['user_ajax_chat_autocomplete']),
+ 'user_ajax_chat_messages_down' => $this->request->variable('ajax_chat_messages_down', (bool) $this->user->data['user_ajax_chat_messages_down']),
);
$error = array();
- $submit = $this->request->variable('submit', false, false, \phpbb\request\request_interface::POST);
+ $submit = $this->request->is_set_post('submit');
add_form_key('ucp_ajax_chat');
- $post = $this->request->get_super_global(\phpbb\request\request_interface::POST);
if ($submit)
{
if (!check_form_key('ucp_ajax_chat'))
@@ -116,7 +116,7 @@ public function main($id, $mode)
if (!$this->config['location_ajax_chat_override'])
{
- $chat_position2 = $post['ajax_chat_position'];
+ $chat_position2 = $this->request->variable('ajax_chat_position', 0);
}
else
{
@@ -125,7 +125,7 @@ public function main($id, $mode)
if (!$this->config['viewforum_ajax_chat_override'])
{
- $chat_viewforum2 = $post['ajax_chat_viewforum'];
+ $chat_viewforum2 = $this->request->variable('ajax_chat_viewforum', 0);
}
else
{
@@ -134,7 +134,7 @@ public function main($id, $mode)
if (!$this->config['viewtopic_ajax_chat_override'])
{
- $chat_viewtopic2 = $post['ajax_chat_viewtopic'];
+ $chat_viewtopic2 = $this->request->variable('ajax_chat_viewtopic', 0);
}
else
{
@@ -144,16 +144,17 @@ public function main($id, $mode)
if (!sizeof($error))
{
$sql_ary = array(
- 'user_ajax_chat_view' => $post['ajax_chat_view'],
- 'user_ajax_chat_avatars' => $post['ajax_chat_avatars'],
+ 'user_ajax_chat_view' => $this->request->variable('ajax_chat_view', 0),
+ 'user_ajax_chat_avatars' => $this->request->variable('ajax_chat_avatars', 0),
'user_ajax_chat_position' => $chat_position2,
'user_ajax_chat_viewforum' => $chat_viewforum2,
'user_ajax_chat_viewtopic' => $chat_viewtopic2,
- 'user_ajax_chat_sound' => $post['ajax_chat_sound'],
- 'user_ajax_chat_sound' => $post['ajax_chat_sound'],
- 'user_ajax_chat_avatar_hover' => $post['ajax_chat_avatar_hover'],
- 'user_ajax_chat_onlinelist' => $post['ajax_chat_onlinelist'],
- 'user_ajax_chat_autocomplete' => $post['ajax_chat_autocomplete'],
+ 'user_ajax_chat_sound' => $this->request->variable('ajax_chat_sound', 0),
+ 'user_ajax_chat_sound' => $this->request->variable('ajax_chat_sound', 0),
+ 'user_ajax_chat_avatar_hover' => $this->request->variable('ajax_chat_avatar_hover', 0),
+ 'user_ajax_chat_onlinelist' => $this->request->variable('ajax_chat_onlinelist', 0),
+ 'user_ajax_chat_autocomplete' => $this->request->variable('ajax_chat_autocomplete', 0),
+ 'user_ajax_chat_messages_down' => $this->request->variable('ajax_chat_messages_down', 0),
);
if (sizeof($sql_ary))
@@ -184,6 +185,7 @@ public function main($id, $mode)
'S_AJAX_CHAT_AVATAR_HOVER' => $data['user_ajax_chat_avatar_hover'],
'S_AJAX_CHAT_ONLINELIST' => $data['user_ajax_chat_onlinelist'],
'S_AJAX_CHAT_AUTOCOMPLETE' => $data['user_ajax_chat_autocomplete'],
+ 'S_AJAX_CHAT_MESSAGES_DOWN' => $data['user_ajax_chat_messages_down'],
));
break;
}