From: Roger R. <eps...@us...> - 2002-04-13 15:52:18
|
Update of /cvsroot/pn-modules/PN_PostCalendar/modules/PostCalendar/pnblocks In directory usw-pr-cvs1:/tmp/cvs-serv24944/pnblocks Modified Files: calendar.php Log Message: daily commit Index: calendar.php =================================================================== RCS file: /cvsroot/pn-modules/PN_PostCalendar/modules/PostCalendar/pnblocks/calendar.php,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** calendar.php 8 Apr 2002 20:22:01 -0000 1.38 --- calendar.php 13 Apr 2002 15:52:15 -0000 1.39 *************** *** 400,408 **** // << MONTH YEAR >> //******************************************************************* ! if($showcalendar) { $output->Linebreak(); } ! ! $output->Text('<table border="0" cellpadding="0" cellspacing="1" width="100%"><tr><td bgcolor="'.$bgcolor2.'">'); ! $output->Text('<table border="0" cellpadding="1" cellspacing="1" width="100%"><tr><td bgcolor="'.$bgcolor1.'">'); ! if($showcalendar) { $output->TableStart(); $row = array(); --- 400,407 ---- // << MONTH YEAR >> //******************************************************************* ! if($showcalendar) { ! $output->Linebreak(); ! //$output->Text('<table border="0" cellpadding="0" cellspacing="1" width="100%"><tr><td bgcolor="'.$bgcolor2.'">'); ! //$output->Text('<table border="0" cellpadding="1" cellspacing="1" width="100%"><tr><td bgcolor="'.$bgcolor1.'">'); $output->TableStart(); $row = array(); *************** *** 412,417 **** $output->TableAddRow($row); $output->TableEnd(); ! $output->Text('</td></tr>'); ! $output->Text('<tr><td valign="top" align="left" bgcolor="'.$bgcolor1.'">'); } --- 411,416 ---- $output->TableAddRow($row); $output->TableEnd(); ! //$output->Text('</td></tr>'); ! //$output->Text('<tr><td valign="top" align="left" bgcolor="'.$bgcolor1.'">'); } *************** *** 449,455 **** $output->Text(_PC_BLOCK_NO_EVENTS); } ! ! $output->Text('</td></tr></table>'); ! $output->Text('</td></tr></table>'); } // <--- end if showevents --- 448,455 ---- $output->Text(_PC_BLOCK_NO_EVENTS); } ! if($showcalendar) { ! //$output->Text('</td></tr></table>'); ! //$output->Text('</td></tr></table>'); ! } } // <--- end if showevents *************** *** 461,467 **** if($showevents || $showcalendar) { $output->Linebreak(); } ! $output->Text('<table border="0" cellpadding="0" cellspacing="1" width="100%"><tr><td bgcolor="'.$bgcolor2.'">'); ! $output->Text('<table border="0" cellpadding="1" cellspacing="1" width="100%"><tr><td bgcolor="'.$bgcolor1.'">'); ! if($showevents || $showcalendar) { $output->TableStart(); $row = array(); --- 461,468 ---- if($showevents || $showcalendar) { $output->Linebreak(); } ! ! if($showevents || $showcalendar) { ! //$output->Text('<table border="0" cellpadding="0" cellspacing="1" width="100%"><tr><td bgcolor="'.$bgcolor2.'">'); ! //$output->Text('<table border="0" cellpadding="1" cellspacing="1" width="100%"><tr><td bgcolor="'.$bgcolor1.'">'); $output->TableStart(); $row = array(); *************** *** 471,476 **** $output->TableAddRow($row); $output->TableEnd(); ! $output->Text('</td></tr>'); ! $output->Text('<tr><td valign="top" align="left" bgcolor="'.$bgcolor1.'">'); } --- 472,477 ---- $output->TableAddRow($row); $output->TableEnd(); ! //$output->Text('</td></tr>'); ! //$output->Text('<tr><td valign="top" align="left" bgcolor="'.$bgcolor1.'">'); } *************** *** 515,520 **** } ! $output->Text('</td></tr></table>'); ! $output->Text('</td></tr></table>'); } // <--- end if nextevents --- 516,523 ---- } ! if($showevents || $showcalendar) { ! //$output->Text('</td></tr></table>'); ! //$output->Text('</td></tr></table>'); ! } } // <--- end if nextevents *************** *** 639,647 **** pnModSetVar('PostCalendar_block_'.$bid, 'pcbshowsslinks', $pcbshowsslinks); - //$blockinfo['content'] = pnBlockVarsToContent($vars); - return $blockinfo; } - - ?> --- 642,646 ---- |