Ugg, Im having some problems converting the SSI calendar file over to CSS classes.
Especially this line of code for all the "days with events" I want it to be in another color, but it always refers back to the vars_calendar
if ($desc[1] eq $j) {
# there's an event today
$preday="<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=calendar&date=$j">$preday";
$postday="$postday</a>";
$clr = $in{css} ? qq~ class="link"~ : qq~ color="$vars_calendar{color_event}"~ unless $clr;
}
If i switch over the link class, it doesnt work, and if i add a clas to the HREF it still doesnt work. Any ideas?
Plus i had to assign two classes to this code
$calendarRow .= qq~<td class="tdcalendarbody" align="left">$preday <font class="tdcalendarbody1" $clr >~;
$calendarRow .= ($j >= $jstart && $j <= $jend) ? sprintf("%.2d", $day) : "";
$calendarRow .= qq~</font>$postday</td>~;
which kinda sux