Commit info for scoop/lib/Scoop/Stories:

Modified Files:
	Elements.pm 
Log Message:
Committing cron fixes, even though they don't solve the problem reported
in bug 15, they do tidy up some of the cron stuff. --hulver


Index: Elements.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Stories/Elements.pm,v
retrieving revision 1.112
retrieving revision 1.113
diff -r1.112 -r1.113
107c107
< 	my $info = qq|<A HREF="%%rootdir%%/user/$linknick">$story->{nick}</A>$editlink|;
---
> 	my $info = qq|<A CLASS="light" HREF="%%rootdir%%/user/$linknick">$story->{nick}</A>$editlink|;
227a228
> 	my $maxstories = $args->{'-maxstories'} || $S->{UI}->{VARS}->{maxstories};
260d260
< 		my $maxstories = $S->{UI}->{VARS}->{maxstories};
413a414,419
> 
> 		my $maxdays = $args->{'-maxdays'};
> 		if ($maxdays) {
> 			$sec_where .= qq|AND TO_DAYS(NOW()) - TO_DAYS(time) <= $maxdays |; 
> 		}
> 
416d421
< 		my $maxstories = $S->{UI}->{VARS}->{maxstories};