diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2014-11-15 14:48:48 -0500 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2014-11-15 14:48:48 -0500 |
| commit | c8bd3b66365c25fef2114c904ebf75ea58f2ef68 (patch) | |
| tree | 2627647c7d8f44a793b3008c267bc1d18c01b316 | |
| parent | 6996ef1862ec133e6d15ef06b660605d1192b166 (diff) | |
stuffs
| -rw-r--r-- | static/js/admin.js | 4 | ||||
| -rw-r--r-- | static/js/pichat.js | 6 | ||||
| -rw-r--r-- | template/fullscreen.st | 8 |
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(); |
