X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=themes%2Fdarkness.php;h=a6e11c6a3233091aca5bb6a26b7ee22816bd107d;hb=c720eadda2bcf0e3710754ca4e642d641a9a1395;hp=d0b9cfa1e4319b1ee3db7a99e0522ccdd997c4c8;hpb=8c933a3232fe74dd621e8c10b7be4fc7cc3b39b8;p=squirrelmail.git diff --git a/themes/darkness.php b/themes/darkness.php index d0b9cfa1..a6e11c6a 100755 --- a/themes/darkness.php +++ b/themes/darkness.php @@ -1,10 +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); @@ -123,9 +128,9 @@ $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; + $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b); + $used[] = array($r, $g, $b); + $targetDistance = $TextTargetDistance; } else { $targetDistance *= $TextAdjust; } @@ -147,9 +152,9 @@ b 9: Darker version of #0 b 10: Darker version of #9 f 11: Special folders color [Inbox, Trash, Sent] b 12: Alternate color for message list [alters between 4 and this one] -f 13: Color for single-quoted text ("> text") when reading (default: #800000) +f 13: Color for single-quoted text ('> text') when reading (default: #800000) f 14: Color for text with more than one quote (default: #FF0000) **/ -?> +?> \ No newline at end of file