X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=themes%2Fdarkness.php;h=a6e11c6a3233091aca5bb6a26b7ee22816bd107d;hb=3b64ced262967d6e86af54f0d37598937947b98e;hp=4ac0ff299f97929eeaf57116475373e005a6d610;hpb=673f935035f4872437d24a4ce4fabb305dad9696;p=squirrelmail.git diff --git a/themes/darkness.php b/themes/darkness.php index 4ac0ff29..a6e11c6a 100755 --- a/themes/darkness.php +++ b/themes/darkness.php @@ -1,13 +1,15 @@ ' . '\n'; + 'blendTrans(Duration=2.0)" />' . "\n"; } - -?> - 0) { // Text colors -- Try to keep the colors distinct $cmin = 196; $cmax = 255; - + /** generate random color **/ $r = mt_rand($cmin,$cmax); $g = mt_rand($cmin,$cmax); @@ -127,8 +129,8 @@ $squirrelmail_plugin_hooks['generic_header']['theme_darkness'] = if (IsUnique($targetDistance, $r, $g, $b, $used)) { $i = array_shift($Left); $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b); - $used[] = array($r, $g, $b); - $targetDistance = $TextTargetDistance; + $used[] = array($r, $g, $b); + $targetDistance = $TextTargetDistance; } else { $targetDistance *= $TextAdjust; } @@ -155,4 +157,4 @@ f 14: Color for text with more than one quote (default: #FF0000) **/ -?> +?> \ No newline at end of file