diff --git a/modules/chat/chat.js b/modules/chat/chat.js deleted file mode 100644 index c34e19f..0000000 --- a/modules/chat/chat.js +++ /dev/null @@ -1,54 +0,0 @@ -document.domain = "ponytopia.net"; - -function notice() { - document.getElementById('notice').play(); -} -function play(source) { - if(window.parent.bgmusic!=false){ - updateSource(source); - document.getElementById('audioPlayer').play(); - } -} -function changenotice(file) { - var zeit = new Date(); - var ms = zeit.getMilliseconds(); - var audio = $('#notice').empty(); - var newSrc = $("").attr("src", "//chat.ponytopia.net/modules/chat/sound/"+file+"_notice.ogg?id="+ms).appendTo(audio); - var newSrc2 = $("").attr("src", "//chat.ponytopia.net/modules/chat/sound/"+file+"_notice.mp3?id="+ms).appendTo(audio); - audio[0].pause(); - audio[0].load(); -} - -function reload_locations() { - window.parent.refresh(); -} -function pause() { - document.getElementById('audioPlayer').pause(); -} -var as=true; -var asoff=false; -function doscroll() { - if (as != false && asoff==false) { - window.scrollTo(1, 500000); - } - window.setTimeout("doscroll()", 200); -} -function scroll_toggle() { - if(as==false){ - as=true; - window.scroll(1, 500000); - }else{ - as=false; - } - -} -doscroll(); -function updateSource(file) { - var zeit = new Date(); - var ms = zeit.getMilliseconds(); - var audio = $('#audioPlayer'); - $('#oggSource').attr('src',"//chat.ponytopia.net/modules/chat/sound/"+file+".ogg?id="+ms).detach().appendTo($('#audioPlayer')); - $('#mp3Source').attr('src',"//chat.ponytopia.net/modules/chat/sound/"+file+".mp3?id="+ms).detach().appendTo($('#audioPlayer')); - audio[0].pause(); - audio[0].load(); -} diff --git a/modules/chat/chat.output.php b/modules/chat/chat.output.php index 3eaa83e..82031db 100644 --- a/modules/chat/chat.output.php +++ b/modules/chat/chat.output.php @@ -94,7 +94,7 @@ class chat extends module{ curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 3); - // führe die Aktion aus und gebe die Daten an den Browser weiter + // führe die Aktion aus und gebe die Daten an den Browser weiterChanged VCall name back $fh=curl_exec($ch); //var_dump(curl_getinfo($ch)); @@ -493,7 +493,7 @@ function xmeta(){ function repmeta(){ global $yacsid,$config; $meta.=" - + '; - $meta.=''; + $meta.=''; /* $meta.=' - - + + - - - {$footer} +
+ +
+ +
+ +
+ +{$footer} - diff --git a/modules/chat/templates/default/chat_full_ws.tpl b/modules/chat/templates/default/chat_full_ws.tpl index 9c75ee7..5014e09 100644 --- a/modules/chat/templates/default/chat_full_ws.tpl +++ b/modules/chat/templates/default/chat_full_ws.tpl @@ -3,7 +3,7 @@
-
+
@@ -21,16 +21,4 @@ diff --git a/modules/chat/templates/default/userlist.tpl b/modules/chat/templates/default/userlist.tpl index ac7bd52..aad5466 100644 --- a/modules/chat/templates/default/userlist.tpl +++ b/modules/chat/templates/default/userlist.tpl @@ -14,11 +14,6 @@ No users.