X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=themes%2Fin_the_pink.php;h=8ac1020d7026d016eef2ded8a24a2c046e64403e;hb=32a7b3e05f69fdf4dd7edd4882cc7208987a7117;hp=6a3ea45df6def509018db84da534f4e8e1a6e128;hpb=4b5049de2fa934c45599d6e4c74bf2bbee10d34d;p=squirrelmail.git diff --git a/themes/in_the_pink.php b/themes/in_the_pink.php index 6a3ea45d..8ac1020d 100755 --- a/themes/in_the_pink.php +++ b/themes/in_the_pink.php @@ -16,20 +16,13 @@ */ /** Prevent direct script loading */ -if ((isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == __FILE__) || - (isset($HTTP_SERVER_SERVER['SCRIPT_FILENAME']) && $HTTP_SERVER_SERVER['SCRIPT_FILENAME'] == __FILE__) ) { +if (isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == __FILE__) { die(); } -/** load sq_mt_randomize() */ -include_once(SM_PATH . 'functions/strings.php'); - -/* seed the random number generator */ -sq_mt_randomize(); - -for ($i = 0; $i <= 15; $i++) { +for ($i = 0; $i <= 16; $i++) { /* background/foreground toggle */ - if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) { + if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12 or $i == 16) { /* background */ $r = mt_rand(248,255); $b = mt_rand(140,255);