X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=themes%2Fdarkness.php;h=0591d8531d55c4369f8f969c8e29e5165e600506;hb=d4e46166df04792c6b939356ea5dfda8e47bba7b;hp=8dac3df6ce79dc47861fa8aebbb80ff397ae0bdc;hpb=101068d9a51a7fd4b600de878f1e2d5349e209a3;p=squirrelmail.git diff --git a/themes/darkness.php b/themes/darkness.php old mode 100755 new mode 100644 index 8dac3df6..0591d853 --- a/themes/darkness.php +++ b/themes/darkness.php @@ -5,24 +5,20 @@ * Like black? * * @author Tyler Akins - * @copyright © 2001-2007 The SquirrelMail Project Team + * @copyright © 2001-2009 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail * @subpackage themes */ -/** - * Load up the usual suspects.. */ -require_once(SM_PATH . 'functions/strings.php'); - - // Note: The text distance is actually pre-squared - // Background range is from 24-64, all three colors are the same - // Text range is from 196 to 255 - $BackgroundTargetDistance = 12; - $BackgroundAdjust = 1; - $TextTargetDistance = 65536; - $TextAdjust = 0.95; +// Note: The text distance is actually pre-squared +// Background range is from 24-64, all three colors are the same +// Text range is from 196 to 255 +$BackgroundTargetDistance = 12; +$BackgroundAdjust = 1; +$TextTargetDistance = 65536; +$TextAdjust = 0.95; function IsUnique($Distance, $r, $g, $b, $usedArray) { @@ -74,9 +70,6 @@ global $squirrelmail_plugin_hooks; $squirrelmail_plugin_hooks['generic_header']['theme_darkness'] = 'Darkness_HeaderPlugin'; -/** seed the random number generator **/ -sq_mt_randomize(); - $color[3] = '#000000'; $color[4] = '#000000'; $used = array(0);