diff --git a/lib/layout.php b/lib/layout.php index 0d293a2..99ea1f5 100644 --- a/lib/layout.php +++ b/lib/layout.php @@ -370,7 +370,9 @@ } $jscripts = ''; + $ikachan_text = ''; if (true) { // Ikachan! :D! + //$ikachan = 'images/ikachan/vikingikachan.png'; //$ikachan = 'images/sankachan.png'; //$ikachan = 'images/ikamad.png'; @@ -385,16 +387,26 @@ //$ikaquote = 'Back to being a fixture now, please stop bitching.'; //$ikaquote = 'I just want to let you know that you are getting coal this year. You deserve it.'; - $yyy = ""; + // Enables people to disable the floating squid if they want, or re-enable it later + // Saved browser-side rather than being yet another silly config option + if (isset($_COOKIE['ikachan']) && $_COOKIE['ikachan'] === "hidden") { + $ikachan_text = ""; + + + } else { + $ikachan_text = ""; + + } + } /*if ($_GET['w']) { - $yyy = ""; - $yyy .= ""; - $yyy .= ""; + $ikachan_header = ""; + $ikachan_header .= ""; + $ikachan_header .= ""; for ($xxx = rand(0,5); $xxx < 20; $xxx++) { - $yyy .= ""; + $ikachan_header .= ""; } }*/ @@ -427,7 +439,6 @@ $css $body - $yyy
$tblstart
@@ -519,7 +530,7 @@ Acmlmboard - ". (file_exists('version.txt') ? file_get_contents("version.txt") : shell_exec("git log --format='commit %h [%ad]' --date='short' -n 1")) ." -
©2000-". date("Y") ." Acmlm, Xkeeper, Inuyasha, et al. +
©2000-". date("Y") ." Acmlm, Xkeeper, Inuyasha, et al. $ikachan_text