[TEP-COMMIT] [CVS catalog] fix a banner showing bug
hpdl-OfajU3CKLf1/[email protected] 24 Nov 2004 15:55:09 -0000
| Newsgroups | gmane.comp.web.oscommerce.cvs |
|---|---|
| Message-ID | <[email protected]> |
<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>catalog/catalog/includes</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt><a href="#file1">footer.php</a></tt></td><td align="right" id="added">+1</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes/footer.php?rev=1.29&content-type=text/vnd.viewcvs-markup">1.29</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes/footer.php.diff?r1=1.29&r2=1.30">-></a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes/footer.php?rev=1.30&content-type=text/vnd.viewcvs-markup">1.30</a></td></tr>
<tr class="alt"><td><tt>functions/<a href="#file2">banner.php</a></tt></td><td align="right" id="added">+1</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes/functions/banner.php?rev=1.13&content-type=text/vnd.viewcvs-markup">1.13</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes/functions/banner.php.diff?r1=1.13&r2=1.14">-></a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes/functions/banner.php?rev=1.14&content-type=text/vnd.viewcvs-markup">1.14</a></td></tr>
<tr><td></td><td align="right" id="added">+2</td><td align="right" id="removed">-2</td><td></td></tr>
</table>
<small id="info">2 modified files</small><br />
<pre class="comment">
fix a banner showing bug
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog">catalog</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog">catalog</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes">includes</a><br /></span>
<div class="fileheader"><big><b>footer.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes/footer.php?rev=1.29&content-type=text/vnd.viewcvs-markup">1.29</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes/footer.php.diff?r1=1.29&r2=1.30">-></a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes/footer.php?rev=1.30&content-type=text/vnd.viewcvs-markup">1.30</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.29 -r1.30
--- footer.php 2004/04/13 08:08:41 1.29
+++ footer.php 2004/11/24 15:55:04 1.30
@@ -48,7 +48,7 @@
</small></pre><pre class="diff" id="context"> <br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
</pre><pre class="diff" id="removed">- <td align="center"><?php echo tep_display_banner('<span id="removedchars">static', $banner</span>); ?></td>
</pre><pre class="diff" id="added">+ <td align="center"><?php echo tep_display_banner('<span id="addedchars">dynamic', '468x50'</span>); ?></td>
</pre><pre class="diff" id="context"> </tr>
</table>
<?php
</pre></div>
<hr /><a name="file2" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog">catalog</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog">catalog</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes/functions">functions</a><br /></span>
<div class="fileheader"><big><b>banner.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes/functions/banner.php?rev=1.13&content-type=text/vnd.viewcvs-markup">1.13</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes/functions/banner.php.diff?r1=1.13&r2=1.14">-></a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/catalog/catalog/includes/functions/banner.php?rev=1.14&content-type=text/vnd.viewcvs-markup">1.14</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.13 -r1.14
--- banner.php 2004/02/16 07:23:17 1.13
+++ banner.php 2004/11/24 15:55:05 1.14
@@ -92,7 +92,7 @@
</small></pre><pre class="diff" id="context"> $Qbanner = $osC_Database->query('select banners_id, banners_title, banners_image, banners_html_text from :table_banners where banners_group = :banners_group and status = 1');
$Qbanner->bindRaw(':table_banners', TABLE_BANNERS);
$Qbanner->bindValue(':banners_group', $identifier);
</pre><pre class="diff" id="removed">- $Qbanner->executeRandom<span id="removedchars">Single</span>();
</pre><pre class="diff" id="added">+ $Qbanner->executeRandom();
</pre><pre class="diff" id="context"> }
$Qbannercheck->freeResult();
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.9</small></center>
</body></html>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/