From: <on...@us...> - 2002-09-28 21:52:16
|
Update of /cvsroot/xoops/xoops-current/html/include In directory usw-pr-cvs1:/tmp/cvs-serv22832 Modified Files: old_theme_functions.php Log Message: no message Index: old_theme_functions.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/include/old_theme_functions.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** old_theme_functions.php 26 Sep 2002 17:10:01 -0000 1.3 --- old_theme_functions.php 28 Sep 2002 21:52:13 -0000 1.4 *************** *** 3,68 **** // These are needed when viewing old modules (that don't use Smarty template files) when a theme that use Smarty templates are selected. ! function OpenTable($width="100%") { ! echo "<table width='".$width."' border='0' cellspacing='0' cellpadding='0' class='bg2'><tr><td>\n"; ! echo "<table width='100%' border='0' cellspacing='0' cellpadding='8' class='bg5'><tr><td>\n"; ! echo "<table width='100%' border='0' cellspacing='0' cellpadding='8' class='bg4'><tr><td>\n"; } function CloseTable() { ! echo "</td></tr></table></td></tr></table></td></tr></table>\n"; } function themecenterposts($title, $content) { ! ! echo "<table cellpadding='0' cellspacing='0' border='0' width='100%' class='bg5'>" ! ."<tr>" ! ."<td>" ! ."<table cellpadding='4' cellspacing='1' border='0' width='100%'>" ! ."<tr>" ! ."<td class='btitle'>$title</td>" ! ."</tr>" ! ."<tr>" ! ."<td class='bcontent'>$content</td>" ! ."</tr>" ! ."</table>" ! ."</td>" ! ."</tr>" ! ."</table>"; } ! function themenews ($poster, $time, $title, $counter, $thetext, $timglink, $adminlink, $morelink="") { ! ! echo "<table cellpadding='2' width='99%' align='center' class='solidborder'>" ! ."<tr>" ! ."<td>" ! ."<table cellpadding='0' cellspacing='0' border='0' width='100%' class='bg5' align='center'>" ! ."<tr>" ! ."<td>" ! ."<table cellpadding='4' cellspacing='1' border='0' width='100%'>" ! ."<tr>" ! ."<td class='ntitle'>$title</td>" ! ."</tr>" ! ."<tr>" ! ."<td class='bg3'>"._POSTEDBY." <span class='postedby'>$poster</span> "._ON." $time ($counter "._READS.") </td>" ! ."</tr>" ! ."<tr>" ! ."<td class='ncontent'>$timglink $thetext</td>" ! ."</tr>" ! ."<tr>" ! ."<td class='bg3nfoot'> $adminlink "; ! ! if ($morelink != "" ) { ! echo "".$morelink ; ! } ! echo "</td>" ! ."</tr>" ! ."</table>" ! ."</td>" ! ."</tr>" ! ."</table>" ! ."</td>" ! ."</tr>" ! ."</table><br />"; } ?> --- 3,65 ---- // These are needed when viewing old modules (that don't use Smarty template files) when a theme that use Smarty templates are selected. ! function OpenTable($width='100%') { ! echo ' ! <table width="'.$width.'" border="0" cellspacing="0" cellpadding="0" class="bg2"> ! <tr> ! <td> ! <table width="100%" border="0" cellspacing="0" cellpadding="8" class="bg4"> ! <tr> ! <td> ! '; } function CloseTable() { ! echo ' ! </td> ! </tr> ! </table> ! </td> ! </tr> ! </table> ! '; } function themecenterposts($title, $content) { ! echo ' ! <table cellpadding="4" cellspacing="1" align="center" border="0" width="98%"> ! <tr> ! <td class="btitle">'.$title.'</td> ! </tr> ! <tr> ! <td class="bcontent">'.$content.'</td> ! </tr> ! </table> ! '; } ! function themenews ($poster, $time, $title, $counter, $thetext, $timglink, $adminlink, $morelink='') { ! echo ' ! <table cellpadding="4" cellspacing="1" align="center" border="0" width="98%"> ! <tr> ! <td class="ntitle">'.$title.'</td> ! </tr> ! <tr> ! <td class="bg3">'._POSTEDBY.' <span class="postedby">'.$poster.'</span> '._ON.' '.$time.' ('.$counter.' '._READS.') </td> ! </tr> ! <tr> ! <td class="ncontent">'.$timglink.' '.$thetext.'</td> ! </tr> ! <tr> ! <td class="bg3nfoot"> '.$adminlink; ! if ($morelink != '' ) { ! echo $morelink; ! } ! echo ' ! </td> ! </tr> ! </table> ! <br /> ! '; } ?> |