X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=themes%2Fdarkness.php;h=3b2491574d022b97df039aace3a6ad222a59d986;hb=0cc4fb0d98f02135ae9f6c4c7a0f79fc4e0070c0;hp=553a6b91a1d50c9dc8c3d87bca84b604cfd35257;hpb=a6bc3f3fde5332dc224b94f6d3924f52a176f673;p=squirrelmail.git diff --git a/themes/darkness.php b/themes/darkness.php index 553a6b91..3b249157 100755 --- a/themes/darkness.php +++ b/themes/darkness.php @@ -1,12 +1,19 @@ ' . '\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 +134,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 +162,4 @@ f 14: Color for text with more than one quote (default: #FF0000) **/ -?> +?> \ No newline at end of file