svnno****@sourc*****
svnno****@sourc*****
2009年 1月 7日 (水) 13:21:38 JST
Revision: 917 http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=917 Author: tach Date: 2009-01-07 13:21:38 +0900 (Wed, 07 Jan 2009) Log Message: ----------- change first firehose color Modified Paths: -------------- slashjp/trunk/tagboxes/FireHoseScores/FireHoseScores.pm -------------- next part -------------- Modified: slashjp/trunk/tagboxes/FireHoseScores/FireHoseScores.pm =================================================================== --- slashjp/trunk/tagboxes/FireHoseScores/FireHoseScores.pm 2009-01-06 05:19:52 UTC (rev 916) +++ slashjp/trunk/tagboxes/FireHoseScores/FireHoseScores.pm 2009-01-07 04:21:38 UTC (rev 917) @@ -220,7 +220,7 @@ my $constants = getCurrentStatic(); my($color_level, $extra_pop) = (0, 0); if ($type eq "submissions") { - $color_level = 5; + $color_level = 4; } elsif ($type eq "journals") { my $journal = getObject("Slash::Journal"); my $j = $journal->get($target_id); @@ -229,7 +229,7 @@ # Depending on whether the journal author asked for it to be # publicized, published, or merely posted, its starting color # for regular users will be blue, indigo, or violet. - $color_level = $publicize ? 5 : $publish ? 6 : 7; + $color_level = $publicize ? 4 : $publish ? 5 : 6; } elsif ($type eq 'urls') { # XXX should modify next line by users' vote clout $extra_pop = $self->sqlCount('bookmarks', "url_id=$target_id_q") || 0;