Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv17931
Modified Files:
serendipity_functions.inc.php
Log Message:
Enhanced the default style, added my "newspaper like" style. The default style i
sn't completely done yet, the admin interface still looks like shit. But my ener
gy is used up, need it for university atm (that's why I'm commiting it now, in c
ase somebody wants to continue workin on it).
See you in a few weeks!
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- serendipity_functions.inc.php 25 Jun 2003 22:04:30 -0000 1.79
+++ serendipity_functions.inc.php 26 Jun 2003 17:22:59 -0000 1.80
@@ -189,7 +189,7 @@
// Prepare the table
?>
-<TABLE width='100%' CLASS='serendipity_calendar' CELLSPACING=0>
+<TABLE width='100%' CLASS='serendipity_calendar' CELLSPACING=1>
<TR>
<TD ALIGN='left' class='serendipity_calendarHeader'><A HREF='<?php echo $serendipity['serendipityHTTPPath'] ; ?>index.php?serendipity[calendarZoom]=<?php echo $previousYear.sprintf("%02d",$previousMonth); ?>'><IMG ALT="<?php echo BACK; ?>" SRC='<?php echo serendipity_getTemplateFile('img/back.png') ; ?>' BORDER='0'></A></TD>
<TD COLSPAN='5' ALIGN='center' VALIGN='bottom' CLASS='serendipity_calendarHeader'><B><nobr>
@@ -234,10 +234,8 @@
// Start printing
if (($x>0 || $y>=$firstDayWeekDay) && $currDay<=$nrOfDays) {
- /*
- if ($activeDays[$currDay] > 1) $bg = "BGCOLOR='#DBECFF'";
- else $bg = ""; */
- print("<TD CLASS='serendipity_calendarDay$cellProp' ALIGN='center' $bg VALIGN='middle'>");
+ if ($activeDays[$currDay] > 1) $cellProp.='Active';
+ print("<TD CLASS='serendipity_calendarDay$cellProp'>");
// Print day
if ($serendipity["rewrite"]==true)
|