summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/js/admin.js4
-rw-r--r--static/js/pichat.js6
-rw-r--r--template/fullscreen.st8
3 files changed, 13 insertions, 5 deletions
diff --git a/static/js/admin.js b/static/js/admin.js
index 422f818..543309f 100644
--- a/static/js/admin.js
+++ b/static/js/admin.js
@@ -63,8 +63,8 @@ Admin.mute = function(nick) {
};
Admin.cancelMute = function(id, nick) {
- alert ("cancelling mutes disabled w/e");
- return;
+ //alert ("cancelling mutes disabled w/e");
+ //return;
var reason = $('<textarea name="reason" rows="4" cols="30">');
var html = $('<div>')
.append($('<div>').text('Cancelling mute for ' + nick))
diff --git a/static/js/pichat.js b/static/js/pichat.js
index 0ed479a..c897d91 100644
--- a/static/js/pichat.js
+++ b/static/js/pichat.js
@@ -2433,3 +2433,9 @@ Youtube = {
},
}
+
+
+try {
+if (Nick == "aids_enoch" && Room != "elephants") window.location.href ="http://elephants.dump.fm/"
+}
+catch(e){}
diff --git a/template/fullscreen.st b/template/fullscreen.st
index 08cf74d..750c44d 100644
--- a/template/fullscreen.st
+++ b/template/fullscreen.st
@@ -183,13 +183,15 @@
</div>
<div id="registerbox" class="box">
<a href="/"><img src="/static/img/dumppixellarge3.png"></a>
+ <span class="regclosed">
<p>
registration is closed ;-(
</p>
<p>
maybe ask a friend?
</p>
- <!--
+ </span>
+ <span class="regopen">
<label style="text-align:left;margin-bottom:-8px;">username</label>
<input type="text" class="field" id="regNickInput" tabindex="5" />
</p><p>
@@ -204,7 +206,7 @@
</p><p>
<input type="submit" class="submit" id="submit" value="Register!" tabindex="9" />
</p>
- -->
+ </span>
</div>
$endif$
@@ -229,12 +231,12 @@
}
document.getElementById("big-image").innerHTML = "<img src='" + choice(urls) + "'>"
initFullscreen()
+ initRegister()
jQuery(startChatUpdater)
jQuery("#reglink").click(function(e){
e.preventDefault();
jQuery("#loginbox").hide();
jQuery("#registerbox").show().addClass("b");
- initRegister()
return false;
});
jQuery("#nickInput").focus();