[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/sites/accessibility
From:       Olaf Schmidt <ojschmidt () kde ! org>
Date:       2007-07-06 16:46:49
Message-ID: 1183740409.453042.23029.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 684450 by ojschmidt:

second tint function test11 fix3

 M  +3 -2      oxygen.php  


--- trunk/www/sites/accessibility/oxygen.php #684449:684450
@@ -255,8 +255,9 @@
         echo '</div>';
         echo '<div>';
         echo 'Tint1: ';
+        $luminosity = 0;
         for ($amount = 0; $amount <= 10; $amount++) {
-            echo '<span style="background-color:'.tint1 ($extracolor, $color, \
$amount/10).';color:'; +            echo '<span style="background-color:'.tint1 \
                ($extracolor, $color, $amount/10, $luminosity).';color:';
             echo ($luminosity <= 0.07) ? "#FFFFFF" : ($luminosity > 0.70) ? \
"#000000" : "#800000";  echo '">';
             printf ('%.1f ', $amount/10);
@@ -266,7 +267,7 @@
         echo '<div>';
         echo 'Tint2: ';
         for ($amount = 0; $amount <= 10; $amount++) {
-            echo '<span style="background-color:'.tint2 ($extracolor, $color, \
$amount/10).';color:'; +            echo '<span style="background-color:'.tint2 \
                ($extracolor, $color, $amount/10, $luminosity).';color:';
             echo ($luminosity <= 0.07) ? "#FFFFFF" : ($luminosity > 0.70) ? \
"#000000" : "#800000";  echo '">';
             printf ('%.1f ', $amount/10);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic