[TEP-COMMIT] [CVS admin] use the message stack class from the catalog side

hpdl-OfajU3CKLf1/[email protected] 28 Oct 2004 19:01:02 -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>admin/admin</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt><a href="#file1">backup.php</a></tt></td><td align="right" id="added">+7</td><td align="right" id="removed">-7</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/backup.php?rev=1.63&amp;content-type=text/vnd.viewcvs-markup">1.63</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/backup.php.diff?r1=1.63&amp;r2=1.64">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/backup.php?rev=1.64&amp;content-type=text/vnd.viewcvs-markup">1.64</a></td></tr>
<tr class="alt"><td><tt><a href="#file2">banner_manager.php</a></tt></td><td align="right" id="added">+9</td><td align="right" id="removed">-9</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/banner_manager.php?rev=1.75&amp;content-type=text/vnd.viewcvs-markup">1.75</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/banner_manager.php.diff?r1=1.75&amp;r2=1.76">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/banner_manager.php?rev=1.76&amp;content-type=text/vnd.viewcvs-markup">1.76</a></td></tr>
<tr><td><tt><a href="#file3">cache.php</a></tt></td><td align="right" id="added">+2</td><td align="right" id="removed">-2</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/cache.php?rev=1.27&amp;content-type=text/vnd.viewcvs-markup">1.27</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/cache.php.diff?r1=1.27&amp;r2=1.28">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/cache.php?rev=1.28&amp;content-type=text/vnd.viewcvs-markup">1.28</a></td></tr>
<tr class="alt"><td><tt><a href="#file4">categories.php</a></tt></td><td align="right" id="added">+5</td><td align="right" id="removed">-5</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/categories.php?rev=1.156&amp;content-type=text/vnd.viewcvs-markup">1.156</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/categories.php.diff?r1=1.156&amp;r2=1.157">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/categories.php?rev=1.157&amp;content-type=text/vnd.viewcvs-markup">1.157</a></td></tr>
<tr><td><tt><a href="#file5">configuration.php</a></tt></td><td align="right" id="added">+2</td><td align="right" id="removed">-2</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/configuration.php?rev=1.45&amp;content-type=text/vnd.viewcvs-markup">1.45</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/configuration.php.diff?r1=1.45&amp;r2=1.46">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/configuration.php?rev=1.46&amp;content-type=text/vnd.viewcvs-markup">1.46</a></td></tr>
<tr class="alt"><td><tt><a href="#file6">countries.php</a></tt></td><td align="right" id="added">+5</td><td align="right" id="removed">-5</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/countries.php?rev=1.29&amp;content-type=text/vnd.viewcvs-markup">1.29</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/countries.php.diff?r1=1.29&amp;r2=1.30">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/countries.php?rev=1.30&amp;content-type=text/vnd.viewcvs-markup">1.30</a></td></tr>
<tr><td><tt><a href="#file7">credit_cards.php</a></tt></td><td align="right" id="added">+6</td><td align="right" id="removed">-6</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/credit_cards.php?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/credit_cards.php.diff?r1=1.3&amp;r2=1.4">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/credit_cards.php?rev=1.4&amp;content-type=text/vnd.viewcvs-markup">1.4</a></td></tr>
<tr class="alt"><td><tt><a href="#file8">currencies.php</a></tt></td><td align="right" id="added">+6</td><td align="right" id="removed">-6</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/currencies.php?rev=1.51&amp;content-type=text/vnd.viewcvs-markup">1.51</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/currencies.php.diff?r1=1.51&amp;r2=1.52">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/currencies.php?rev=1.52&amp;content-type=text/vnd.viewcvs-markup">1.52</a></td></tr>
<tr><td><tt><a href="#file9">customers.php</a></tt></td><td align="right" id="added">+27</td><td align="right" id="removed">-27</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/customers.php?rev=1.89&amp;content-type=text/vnd.viewcvs-markup">1.89</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/customers.php.diff?r1=1.89&amp;r2=1.90">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/customers.php?rev=1.90&amp;content-type=text/vnd.viewcvs-markup">1.90</a></td></tr>
<tr class="alt"><td><tt><a href="#file10">file_manager.php</a></tt></td><td align="right" id="added">+5</td><td align="right" id="removed">-5</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/file_manager.php?rev=1.45&amp;content-type=text/vnd.viewcvs-markup">1.45</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/file_manager.php.diff?r1=1.45&amp;r2=1.46">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/file_manager.php?rev=1.46&amp;content-type=text/vnd.viewcvs-markup">1.46</a></td></tr>
<tr><td><tt><a href="#file11">geo_zones.php</a></tt></td><td align="right" id="added">+11</td><td align="right" id="removed">-11</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/geo_zones.php?rev=1.30&amp;content-type=text/vnd.viewcvs-markup">1.30</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/geo_zones.php.diff?r1=1.30&amp;r2=1.31">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/geo_zones.php?rev=1.31&amp;content-type=text/vnd.viewcvs-markup">1.31</a></td></tr>
<tr class="alt"><td><tt><a href="#file12">languages.php</a></tt></td><td align="right" id="added">+4</td><td align="right" id="removed">-4</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/languages.php?rev=1.36&amp;content-type=text/vnd.viewcvs-markup">1.36</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/languages.php.diff?r1=1.36&amp;r2=1.37">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/languages.php?rev=1.37&amp;content-type=text/vnd.viewcvs-markup">1.37</a></td></tr>
<tr><td><tt><a href="#file13">manufacturers.php</a></tt></td><td align="right" id="added">+3</td><td align="right" id="removed">-3</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/manufacturers.php?rev=1.59&amp;content-type=text/vnd.viewcvs-markup">1.59</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/manufacturers.php.diff?r1=1.59&amp;r2=1.60">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/manufacturers.php?rev=1.60&amp;content-type=text/vnd.viewcvs-markup">1.60</a></td></tr>
<tr class="alt"><td><tt><a href="#file14">newsletters.php</a></tt></td><td align="right" id="added">+2</td><td align="right" id="removed">-2</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/newsletters.php?rev=1.19&amp;content-type=text/vnd.viewcvs-markup">1.19</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/newsletters.php.diff?r1=1.19&amp;r2=1.20">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/newsletters.php?rev=1.20&amp;content-type=text/vnd.viewcvs-markup">1.20</a></td></tr>
<tr><td><tt><a href="#file15">orders.php</a></tt></td><td align="right" id="added">+3</td><td align="right" id="removed">-3</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/orders.php?rev=1.116&amp;content-type=text/vnd.viewcvs-markup">1.116</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/orders.php.diff?r1=1.116&amp;r2=1.117">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/orders.php?rev=1.117&amp;content-type=text/vnd.viewcvs-markup">1.117</a></td></tr>
<tr class="alt"><td><tt><a href="#file16">orders_status.php</a></tt></td><td align="right" id="added">+8</td><td align="right" id="removed">-8</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/orders_status.php?rev=1.23&amp;content-type=text/vnd.viewcvs-markup">1.23</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/orders_status.php.diff?r1=1.23&amp;r2=1.24">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/orders_status.php?rev=1.24&amp;content-type=text/vnd.viewcvs-markup">1.24</a></td></tr>
<tr><td><tt><a href="#file17">products.php</a></tt></td><td align="right" id="added">+11</td><td align="right" id="removed">-11</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products.php?rev=1.15&amp;content-type=text/vnd.viewcvs-markup">1.15</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products.php.diff?r1=1.15&amp;r2=1.16">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products.php?rev=1.16&amp;content-type=text/vnd.viewcvs-markup">1.16</a></td></tr>
<tr class="alt"><td><tt><a href="#file18">products_attributes.php</a></tt></td><td align="right" id="added">+8</td><td align="right" id="removed">-8</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products_attributes.php?rev=1.55&amp;content-type=text/vnd.viewcvs-markup">1.55</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products_attributes.php.diff?r1=1.55&amp;r2=1.56">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products_attributes.php?rev=1.56&amp;content-type=text/vnd.viewcvs-markup">1.56</a></td></tr>
<tr><td><tt><a href="#file19">products_expected.php</a></tt></td><td align="right" id="added">+2</td><td align="right" id="removed">-2</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products_expected.php?rev=1.32&amp;content-type=text/vnd.viewcvs-markup">1.32</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products_expected.php.diff?r1=1.32&amp;r2=1.33">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products_expected.php?rev=1.33&amp;content-type=text/vnd.viewcvs-markup">1.33</a></td></tr>
<tr class="alt"><td><tt><a href="#file20">reviews.php</a></tt></td><td align="right" id="added">+4</td><td align="right" id="removed">-4</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/reviews.php?rev=1.44&amp;content-type=text/vnd.viewcvs-markup">1.44</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/reviews.php.diff?r1=1.44&amp;r2=1.45">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/reviews.php?rev=1.45&amp;content-type=text/vnd.viewcvs-markup">1.45</a></td></tr>
<tr><td><tt><a href="#file21">services.php</a></tt></td><td align="right" id="added">+6</td><td align="right" id="removed">-6</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/services.php?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/services.php.diff?r1=1.2&amp;r2=1.3">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/services.php?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a></td></tr>
<tr class="alt"><td><tt><a href="#file22">specials.php</a></tt></td><td align="right" id="added">+4</td><td align="right" id="removed">-4</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/specials.php?rev=1.42&amp;content-type=text/vnd.viewcvs-markup">1.42</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/specials.php.diff?r1=1.42&amp;r2=1.43">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/specials.php?rev=1.43&amp;content-type=text/vnd.viewcvs-markup">1.43</a></td></tr>
<tr><td><tt><a href="#file23">tax_classes.php</a></tt></td><td align="right" id="added">+11</td><td align="right" id="removed">-11</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/tax_classes.php?rev=1.22&amp;content-type=text/vnd.viewcvs-markup">1.22</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/tax_classes.php.diff?r1=1.22&amp;r2=1.23">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/tax_classes.php?rev=1.23&amp;content-type=text/vnd.viewcvs-markup">1.23</a></td></tr>
<tr class="alt"><td><tt><a href="#file24">weight_classes.php</a></tt></td><td align="right" id="added">+6</td><td align="right" id="removed">-6</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/weight_classes.php?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/weight_classes.php.diff?r1=1.2&amp;r2=1.3">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/weight_classes.php?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a></td></tr>
<tr><td><tt><a href="#file25">zones.php</a></tt></td><td align="right" id="added">+6</td><td align="right" id="removed">-6</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/zones.php?rev=1.24&amp;content-type=text/vnd.viewcvs-markup">1.24</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/zones.php.diff?r1=1.24&amp;r2=1.25">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/zones.php?rev=1.25&amp;content-type=text/vnd.viewcvs-markup">1.25</a></td></tr>
<tr class="alt"><td><tt>includes/<a href="#file26">application_top.php</a></tt></td><td align="right" id="added">+7</td><td align="right" id="removed">-6</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php?rev=1.176&amp;content-type=text/vnd.viewcvs-markup">1.176</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php.diff?r1=1.176&amp;r2=1.177">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php?rev=1.177&amp;content-type=text/vnd.viewcvs-markup">1.177</a></td></tr>
<tr><td><tt>includes/classes/<a href="#file27">upload.php</a></tt></td><td align="right" id="added">+15</td><td align="right" id="removed">-15</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/classes/upload.php?rev=1.4&amp;content-type=text/vnd.viewcvs-markup">1.4</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/classes/upload.php.diff?r1=1.4&amp;r2=1.5">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/classes/upload.php?rev=1.5&amp;content-type=text/vnd.viewcvs-markup">1.5</a></td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<span id="removed">message_stack.php</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/classes/message_stack.php?rev=1.7&amp;content-type=text/vnd.viewcvs-markup">1.7</a> removed</td></tr>
<tr><td><tt>includes/functions/<a href="#file29">general.php</a></tt></td><td align="right" id="added">+4</td><td align="right" id="removed">-4</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/functions/general.php?rev=1.171&amp;content-type=text/vnd.viewcvs-markup">1.171</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/functions/general.php.diff?r1=1.171&amp;r2=1.172">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/functions/general.php?rev=1.172&amp;content-type=text/vnd.viewcvs-markup">1.172</a></td></tr>
<tr class="alt"><td><tt>templates/default/<a href="#file30">header.php</a></tt></td><td align="right" id="added">+2</td><td align="right" id="removed">-2</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/default/header.php?rev=1.5&amp;content-type=text/vnd.viewcvs-markup">1.5</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/default/header.php.diff?r1=1.5&amp;r2=1.6">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/default/header.php?rev=1.6&amp;content-type=text/vnd.viewcvs-markup">1.6</a></td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file31">stylesheet.css</a></tt></td><td align="right" id="added">+11</td><td align="right" id="removed">-6</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/default/stylesheet.css?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/default/stylesheet.css.diff?r1=1.3&amp;r2=1.4">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/default/stylesheet.css?rev=1.4&amp;content-type=text/vnd.viewcvs-markup">1.4</a></td></tr>
<tr class="alt"><td><tt>templates/pages/<a href="#file32">define_language_edit.php</a></tt></td><td align="right" id="added">+2</td><td align="right" id="removed">-3</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/pages/define_language_edit.php?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/pages/define_language_edit.php.diff?r1=1.1&amp;r2=1.2">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/pages/define_language_edit.php?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a></td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file33">orders_edit.php</a></tt></td><td align="right" id="added">+2</td><td align="right" id="removed">-2</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/pages/orders_edit.php?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/pages/orders_edit.php.diff?r1=1.1&amp;r2=1.2">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/pages/orders_edit.php?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a></td></tr>
<tr><td></td><td align="right" id="added">+206</td><td align="right" id="removed">-201</td><td></td></tr>
</table>
<small id="info">1 removed + 32 modified, total 33 files</small><br />
<pre class="comment">
use the message stack class from the catalog side

attach groups to the message stack messages
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>backup.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/backup.php?rev=1.63&amp;content-type=text/vnd.viewcvs-markup">1.63</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/backup.php.diff?r1=1.63&amp;r2=1.64">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/backup.php?rev=1.64&amp;content-type=text/vnd.viewcvs-markup">1.64</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.63 -r1.64
--- backup.php	2004/08/15 18:15:04	1.63
+++ backup.php	2004/10/28 18:59:47	1.64
@@ -28,7 +28,7 @@
</small></pre><pre class="diff" id="context">           $osC_Cache-&gt;clear('configuration');
         }
 
</pre><pre class="diff" id="removed">-        $messageStack-&gt;add_session(SUCCESS_LAST_RESTORE_CLEARED, 'success');
</pre><pre class="diff" id="added">+        $osC_MessageStack-&gt;add_session('header', SUCCESS_LAST_RESTORE_CLEARED, 'success');
</pre><pre class="diff" id="context"> 
         tep_redirect(tep_href_link(FILENAME_BACKUP));
         break;
</pre><pre class="diff"><small id="info">@@ -174,7 +174,7 @@
</small></pre><pre class="diff" id="context">               unlink(DIR_FS_BACKUP . $backup_file);
           }
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(SUCCESS_DATABASE_SAVED, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', SUCCESS_DATABASE_SAVED, 'success');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_BACKUP));
</pre><pre class="diff"><small id="info">@@ -335,7 +335,7 @@
</small></pre><pre class="diff" id="context">             unlink($restore_from);
           }
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(SUCCESS_DATABASE_RESTORED, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', SUCCESS_DATABASE_RESTORED, 'success');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_BACKUP));
</pre><pre class="diff"><small id="info">@@ -357,7 +357,7 @@
</small></pre><pre class="diff" id="context">               exit;
             }
           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add(ERROR_DOWNLOAD_LINK_NOT_ACCEPTABLE, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add('header', ERROR_DOWNLOAD_LINK_NOT_ACCEPTABLE, 'error');
</pre><pre class="diff" id="context">           }
         }
         break;
</pre><pre class="diff"><small id="info">@@ -367,7 +367,7 @@
</small></pre><pre class="diff" id="context">             tep_remove(DIR_FS_BACKUP . basename($_GET['file']));
 
             if (!$tep_remove_error) {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(SUCCESS_BACKUP_DELETED, 'success');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', SUCCESS_BACKUP_DELETED, 'success');
</pre><pre class="diff" id="context"> 
               tep_redirect(tep_href_link(FILENAME_BACKUP));
             }
</pre><pre class="diff"><small id="info">@@ -383,10 +383,10 @@
</small></pre><pre class="diff" id="context">     if (is_writeable(DIR_FS_BACKUP)) {
       $dir_ok = true;
     } else {
</pre><pre class="diff" id="removed">-      $messageStack-&gt;add(ERROR_BACKUP_DIRECTORY_NOT_WRITEABLE, 'error');
</pre><pre class="diff" id="added">+      $osC_MessageStack-&gt;add('header', ERROR_BACKUP_DIRECTORY_NOT_WRITEABLE, 'error');
</pre><pre class="diff" id="context">     }
   } else {
</pre><pre class="diff" id="removed">-    $messageStack-&gt;add(ERROR_BACKUP_DIRECTORY_DOES_NOT_EXIST, 'error');
</pre><pre class="diff" id="added">+    $osC_MessageStack-&gt;add('header', ERROR_BACKUP_DIRECTORY_DOES_NOT_EXIST, 'error');
</pre><pre class="diff" id="context">   }
 
   $page_contents = 'backup.php';
</pre></div>
<hr /><a name="file2" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>banner_manager.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/banner_manager.php?rev=1.75&amp;content-type=text/vnd.viewcvs-markup">1.75</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/banner_manager.php.diff?r1=1.75&amp;r2=1.76">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/banner_manager.php?rev=1.76&amp;content-type=text/vnd.viewcvs-markup">1.76</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.75 -r1.76
--- banner_manager.php	2004/08/15 18:18:31	1.75
+++ banner_manager.php	2004/10/28 18:59:47	1.76
@@ -28,12 +28,12 @@
</small></pre><pre class="diff" id="context">         $banner_error = false;
 
         if (empty($_POST['banners_title'])) {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(ERROR_BANNER_TITLE_REQUIRED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', ERROR_BANNER_TITLE_REQUIRED, 'error');
</pre><pre class="diff" id="context">           $banner_error = true;
         }
 
         if (empty($_POST['banners_group'])) {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(ERROR_BANNER_GROUP_REQUIRED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', ERROR_BANNER_GROUP_REQUIRED, 'error');
</pre><pre class="diff" id="context">           $banner_error = true;
         }
 
</pre><pre class="diff"><small id="info">@@ -86,9 +86,9 @@
</small></pre><pre class="diff" id="context">               $banners_id = $osC_Database-&gt;nextID();
             }
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
 
           tep_redirect(tep_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&amp;bID=' . $banners_id));
</pre><pre class="diff"><small id="info">@@ -106,10 +106,10 @@
</small></pre><pre class="diff" id="context">               if (is_writeable('../images/' . $Qimage-&gt;value('banners_image'))) {
                 unlink('../images/' . $Qimage-&gt;value('banners_image'));
               } else {
</pre><pre class="diff" id="removed">-                $messageStack-&gt;add_session(ERROR_IMAGE_IS_NOT_WRITEABLE, 'error');
</pre><pre class="diff" id="added">+                $osC_MessageStack-&gt;add_session('header', ERROR_IMAGE_IS_NOT_WRITEABLE, 'error');
</pre><pre class="diff" id="context">               }
             } else {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(ERROR_IMAGE_DOES_NOT_EXIST, 'error');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', ERROR_IMAGE_DOES_NOT_EXIST, 'error');
</pre><pre class="diff" id="context">             }
           }
 
</pre><pre class="diff"><small id="info">@@ -143,7 +143,7 @@
</small></pre><pre class="diff" id="context">             }
           }
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(SUCCESS_BANNER_REMOVED, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', SUCCESS_BANNER_REMOVED, 'success');
</pre><pre class="diff" id="context"> 
           tep_redirect(tep_href_link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page']));
         }
</pre><pre class="diff"><small id="info">@@ -158,10 +158,10 @@
</small></pre><pre class="diff" id="context">       if (is_writeable('images/graphs')) {
         $dir_ok = true;
       } else {
</pre><pre class="diff" id="removed">-        $messageStack-&gt;add(ERROR_GRAPHS_DIRECTORY_NOT_WRITEABLE, 'error');
</pre><pre class="diff" id="added">+        $osC_MessageStack-&gt;add('header', ERROR_GRAPHS_DIRECTORY_NOT_WRITEABLE, 'error');
</pre><pre class="diff" id="context">       }
     } else {
</pre><pre class="diff" id="removed">-      $messageStack-&gt;add(ERROR_GRAPHS_DIRECTORY_DOES_NOT_EXIST, 'error');
</pre><pre class="diff" id="added">+      $osC_MessageStack-&gt;add('header', ERROR_GRAPHS_DIRECTORY_DOES_NOT_EXIST, 'error');
</pre><pre class="diff" id="context">     }
   }
 
</pre></div>
<hr /><a name="file3" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>cache.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/cache.php?rev=1.27&amp;content-type=text/vnd.viewcvs-markup">1.27</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/cache.php.diff?r1=1.27&amp;r2=1.28">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/cache.php?rev=1.28&amp;content-type=text/vnd.viewcvs-markup">1.28</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.27 -r1.28
--- cache.php	2004/08/18 11:49:35	1.27
+++ cache.php	2004/10/28 18:59:48	1.28
@@ -30,9 +30,9 @@
</small></pre><pre class="diff" id="context"> 
 // check if the cache directory exists
   if (is_dir(DIR_FS_WORK)) {
</pre><pre class="diff" id="removed">-    if (!is_writeable(DIR_FS_WORK)) $<span id="removedchars">messageStack-&gt;add(</span>ERROR_CACHE_DIRECTORY_NOT_WRITEABLE, 'error');
</pre><pre class="diff" id="added">+    if (!is_writeable(DIR_FS_WORK)) $<span id="addedchars">osC_MessageStack-&gt;add('header',&nbsp;</span>ERROR_CACHE_DIRECTORY_NOT_WRITEABLE, 'error');
</pre><pre class="diff" id="context">   } else {
</pre><pre class="diff" id="removed">-    $messageStack-&gt;add(ERROR_CACHE_DIRECTORY_DOES_NOT_EXIST, 'error');
</pre><pre class="diff" id="added">+    $osC_MessageStack-&gt;add('header', ERROR_CACHE_DIRECTORY_DOES_NOT_EXIST, 'error');
</pre><pre class="diff" id="context">   }
 
   $page_contents = 'cache.php';
</pre></div>
<hr /><a name="file4" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>categories.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/categories.php?rev=1.156&amp;content-type=text/vnd.viewcvs-markup">1.156</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/categories.php.diff?r1=1.156&amp;r2=1.157">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/categories.php?rev=1.157&amp;content-type=text/vnd.viewcvs-markup">1.157</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.156 -r1.157
--- categories.php	2004/10/26 20:19:54	1.156
+++ categories.php	2004/10/28 18:59:48	1.157
@@ -106,11 +106,11 @@
</small></pre><pre class="diff" id="context">           osC_Cache::clear('category_tree');
           osC_Cache::clear('also_purchased');
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">         } else {
           $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'page=' . $_GET['page'] . '&amp;cPath=' . $cPath . '&amp;cID=' . $category_id));
</pre><pre class="diff"><small id="info">@@ -160,7 +160,7 @@
</small></pre><pre class="diff" id="context">           osC_Cache::clear('category_tree');
           osC_Cache::clear('also_purchased');
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'page=' . $_GET['page'] . '&amp;cPath=' . $cPath . '&amp;search=' . $_GET['search']));
</pre><pre class="diff"><small id="info">@@ -170,7 +170,7 @@
</small></pre><pre class="diff" id="context">           $path = explode('_', $_POST['move_to_category_id']);
 
           if (in_array($_GET['cID'], $path)) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_CANNOT_MOVE_CATEGORY_TO_PARENT, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_CANNOT_MOVE_CATEGORY_TO_PARENT, 'error');
</pre><pre class="diff" id="context">           } else {
             $Qupdate = $osC_Database-&gt;query('update :table_categories set parent_id = :parent_id, last_modified = now() where categories_id = :categories_id');
             $Qupdate-&gt;bindTable(':table_categories', TABLE_CATEGORIES);
</pre><pre class="diff"><small id="info">@@ -183,7 +183,7 @@
</small></pre><pre class="diff" id="context">               osC_Cache::clear('category_tree');
               osC_Cache::clear('also_purchased');
 
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context"> 
               tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'page=' . $_GET['page'] . '&amp;cPath=' . $cPath . '&amp;search=' . $_GET['search']));
             }
</pre></div>
<hr /><a name="file5" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>configuration.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/configuration.php?rev=1.45&amp;content-type=text/vnd.viewcvs-markup">1.45</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/configuration.php.diff?r1=1.45&amp;r2=1.46">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/configuration.php?rev=1.46&amp;content-type=text/vnd.viewcvs-markup">1.46</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.45 -r1.46
--- configuration.php	2004/07/22 23:27:17	1.45
+++ configuration.php	2004/10/28 18:59:48	1.46
@@ -33,9 +33,9 @@
</small></pre><pre class="diff" id="context">           if ($Qupdate-&gt;affectedRows()) {
             osC_Cache::clear('configuration');
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">           }
         }
 
</pre></div>
<hr /><a name="file6" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>countries.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/countries.php?rev=1.29&amp;content-type=text/vnd.viewcvs-markup">1.29</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/countries.php.diff?r1=1.29&amp;r2=1.30">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/countries.php?rev=1.30&amp;content-type=text/vnd.viewcvs-markup">1.30</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.29 -r1.30
--- countries.php	2004/07/22 23:27:30	1.29
+++ countries.php	2004/10/28 18:59:48	1.30
@@ -38,12 +38,12 @@
</small></pre><pre class="diff" id="context"> 
         if ($osC_Database-&gt;isError() === false) {
           if ($Qcountry-&gt;affectedRows()) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">           }
         } else {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">         }
 
         if (isset($_GET['cID']) &amp;&amp; is_numeric($_GET['cID'])) {
</pre><pre class="diff"><small id="info">@@ -80,11 +80,11 @@
</small></pre><pre class="diff" id="context">           if ($error === false) {
             $osC_Database-&gt;commitTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
             $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
         }
 
</pre></div>
<hr /><a name="file7" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>credit_cards.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/credit_cards.php?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/credit_cards.php.diff?r1=1.3&amp;r2=1.4">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/credit_cards.php?rev=1.4&amp;content-type=text/vnd.viewcvs-markup">1.4</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.3 -r1.4
--- credit_cards.php	2004/10/28 13:46:40	1.3
+++ credit_cards.php	2004/10/28 18:59:48	1.4
@@ -26,12 +26,12 @@
</small></pre><pre class="diff" id="context">         $error = false;
 
         if (empty($_POST['credit_card_name'])) {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(ERROR_CREDIT_CARD_NAME, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', ERROR_CREDIT_CARD_NAME, 'error');
</pre><pre class="diff" id="context">           $error = true;
         }
 
         if (empty($_POST['credit_card_code'])) {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(ERROR_CREDIT_CARD_CODE, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', ERROR_CREDIT_CARD_CODE, 'error');
</pre><pre class="diff" id="context">           $error = true;
         }
 
</pre><pre class="diff"><small id="info">@@ -52,9 +52,9 @@
</small></pre><pre class="diff" id="context">           if ($Qcc-&gt;affectedRows()) {
             osC_Cache::clear('credit-cards');
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">           }
 
           tep_redirect(tep_href_link(FILENAME_CREDIT_CARDS, 'page=' . $_GET['page'] . '&amp;ccID=' . ((isset($_GET['ccID']) &amp;&amp; is_numeric($_GET['ccID'])) ? $_GET['ccID'] : $osC_Database-&gt;nextID())));
</pre><pre class="diff"><small id="info">@@ -77,9 +77,9 @@
</small></pre><pre class="diff" id="context">           if ($Qdel-&gt;affectedRows()) {
             osC_Cache::clear('credit-cards');
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">           }
         }
 
</pre></div>
<hr /><a name="file8" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>currencies.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/currencies.php?rev=1.51&amp;content-type=text/vnd.viewcvs-markup">1.51</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/currencies.php.diff?r1=1.51&amp;r2=1.52">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/currencies.php?rev=1.52&amp;content-type=text/vnd.viewcvs-markup">1.52</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.51 -r1.52
--- currencies.php	2004/07/22 23:27:55	1.51
+++ currencies.php	2004/10/28 18:59:48	1.52
@@ -60,9 +60,9 @@
</small></pre><pre class="diff" id="context">             }
           }
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">         } else {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_CURRENCIES, 'page=' . $_GET['page'] . '&amp;cID=' . $currency_id));
</pre><pre class="diff"><small id="info">@@ -81,9 +81,9 @@
</small></pre><pre class="diff" id="context">             $Qdelete-&gt;execute();
 
             if ($osC_Database-&gt;isError() === false) {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">             } else {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">             }
           }
         }
</pre><pre class="diff"><small id="info">@@ -108,9 +108,9 @@
</small></pre><pre class="diff" id="context">               $Qupdate-&gt;bindInt(':currencies_id', $Qcurrencies-&gt;valueInt('currencies_id'));
               $Qupdate-&gt;execute();
 
</pre><pre class="diff" id="removed">-              $<span id="removedchars">messageStack-&gt;add_session(</span>sprintf(TEXT_INFO_CURRENCY_UPDATED, $Qcurrencies-&gt;value('title'), $Qcurrencies-&gt;value('code'), $_POST['service']), 'success');
</pre><pre class="diff" id="added">+              $<span id="addedchars">osC_MessageStack-&gt;add_session('header',&nbsp;</span>sprintf(TEXT_INFO_CURRENCY_UPDATED, $Qcurrencies-&gt;value('title'), $Qcurrencies-&gt;value('code'), $_POST['service']), 'success');
</pre><pre class="diff" id="context">             } else {
</pre><pre class="diff" id="removed">-              $<span id="removedchars">messageStack-&gt;add_session(</span>sprintf(ERROR_CURRENCY_INVALID, $Qcurrencies-&gt;value('title'), $Qcurrencies-&gt;value('code'), $_POST['service']), 'error');
</pre><pre class="diff" id="added">+              $<span id="addedchars">osC_MessageStack-&gt;add_session('header',&nbsp;</span>sprintf(ERROR_CURRENCY_INVALID, $Qcurrencies-&gt;value('title'), $Qcurrencies-&gt;value('code'), $_POST['service']), 'error');
</pre><pre class="diff" id="context">             }
           }
 
</pre></div>
<hr /><a name="file9" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>customers.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/customers.php?rev=1.89&amp;content-type=text/vnd.viewcvs-markup">1.89</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/customers.php.diff?r1=1.89&amp;r2=1.90">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/customers.php?rev=1.90&amp;content-type=text/vnd.viewcvs-markup">1.90</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.89 -r1.90
--- customers.php	2004/10/28 13:46:41	1.89
+++ customers.php	2004/10/28 18:59:49	1.90
@@ -29,18 +29,18 @@
</small></pre><pre class="diff" id="context"> 
         if (ACCOUNT_GENDER &gt; 0) {
           if (!isset($_POST['gender']) || (($_POST['gender'] != 'm') &amp;&amp; ($_POST['gender'] != 'f'))) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add(ENTRY_GENDER_ERROR);
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add('header', ENTRY_GENDER_ERROR, 'error');
</pre><pre class="diff" id="context">             $error = true;
           }
         }
 
         if (!isset($_POST['firstname']) || (strlen(trim($_POST['firstname'])) &lt; ACCOUNT_FIRST_NAME)) {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(ENTRY_FIRST_NAME_ERROR);
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', ENTRY_FIRST_NAME_ERROR, 'error');
</pre><pre class="diff" id="context">           $error = true;
         }
 
         if (!isset($_POST['lastname']) || (strlen(trim($_POST['lastname'])) &lt; ACCOUNT_LAST_NAME)) {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(ENTRY_LAST_NAME_ERROR);
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', ENTRY_LAST_NAME_ERROR, 'error');
</pre><pre class="diff" id="context">           $error = true;
         }
 
</pre><pre class="diff"><small id="info">@@ -48,16 +48,16 @@
</small></pre><pre class="diff" id="context">           if (isset($_POST['dob_days']) &amp;&amp; isset($_POST['dob_months']) &amp;&amp; isset($_POST['dob_years']) &amp;&amp; checkdate($_POST['dob_months'], $_POST['dob_days'], $_POST['dob_years'])) {
             $dob = adodb_mktime(0, 0, 0, $_POST['dob_months'], $_POST['dob_days'], $_POST['dob_years']);
           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add(ENTRY_DATE_OF_BIRTH_ERROR);
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add('header', ENTRY_DATE_OF_BIRTH_ERROR, 'error');
</pre><pre class="diff" id="context">             $error = true;
           }
         }
 
         if (!isset($_POST['email_address']) || (strlen(trim($_POST['email_address'])) &lt; ACCOUNT_EMAIL_ADDRESS)) {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(ENTRY_EMAIL_ADDRESS_ERROR);
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', ENTRY_EMAIL_ADDRESS_ERROR, 'error');
</pre><pre class="diff" id="context">           $error = true;
         } elseif (tep_validate_email($_POST['email_address']) == false) {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(ENTRY_EMAIL_ADDRESS_CHECK_ERROR);
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', ENTRY_EMAIL_ADDRESS_CHECK_ERROR, 'error');
</pre><pre class="diff" id="context">           $error = true;
         } else {
           $Qcheck = $osC_Database-&gt;query('select customers_id from :table_customers where customers_email_address = :customers_email_address');
</pre><pre class="diff"><small id="info">@@ -71,7 +71,7 @@
</small></pre><pre class="diff" id="context">           $Qcheck-&gt;execute();
 
           if ($Qcheck-&gt;numberOfRows() &gt; 0) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add(ENTRY_EMAIL_ADDRESS_ERROR_EXISTS);
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add('header', ENTRY_EMAIL_ADDRESS_ERROR_EXISTS, 'error');
</pre><pre class="diff" id="context">             $error = true;
           }
 
</pre><pre class="diff"><small id="info">@@ -79,57 +79,57 @@
</small></pre><pre class="diff" id="context">         }
 
         if ( (!isset($_GET['cID']) || (isset($_POST['password']) &amp;&amp; !empty($_POST['password']))) &amp;&amp; (strlen(trim($_POST['password'])) &lt; ACCOUNT_PASSWORD)) {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(ENTRY_PASSWORD_ERROR);
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', ENTRY_PASSWORD_ERROR, 'error');
</pre><pre class="diff" id="context">           $error = true;
         } elseif (isset($_POST['confirmation']) &amp;&amp; !empty($_POST['confirmation']) &amp;&amp; (trim($_POST['password']) != trim($_POST['confirmation']))) {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(ENTRY_PASSWORD_ERROR_NOT_MATCHING);
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', ENTRY_PASSWORD_ERROR_NOT_MATCHING, 'error');
</pre><pre class="diff" id="context">           $error = true;
         }
 
         if (!isset($_GET['cID']) || (strlen(trim($_POST['ab_street_address'])) &gt; 0)) {
           if (ACCOUNT_GENDER &gt; 0) {
             if (!isset($_POST['ab_gender']) || (($_POST['ab_gender'] != 'm') &amp;&amp; ($_POST['ab_gender'] != 'f'))) {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add(ENTRY_GENDER_ERROR);
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add('header', ENTRY_GENDER_ERROR, 'error');
</pre><pre class="diff" id="context">               $error = true;
             }
           }
 
           if (!isset($_POST['ab_firstname']) || (strlen(trim($_POST['ab_firstname'])) &lt; ACCOUNT_FIRST_NAME)) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add(ENTRY_FIRST_NAME_ERROR);
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add('header', ENTRY_FIRST_NAME_ERROR, 'error');
</pre><pre class="diff" id="context">             $error = true;
           }
 
           if (!isset($_POST['ab_lastname']) || (strlen(trim($_POST['ab_lastname'])) &lt; ACCOUNT_LAST_NAME)) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add(ENTRY_LAST_NAME_ERROR);
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add('header', ENTRY_LAST_NAME_ERROR, 'error');
</pre><pre class="diff" id="context">             $error = true;
           }
 
           if (ACCOUNT_COMPANY &gt; 0) {
             if (!isset($_POST['ab_company']) || (strlen(trim($_POST['ab_company'])) &lt; ACCOUNT_COMPANY)) {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add(ENTRY_COMPANY_ERROR);
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add('header', ENTRY_COMPANY_ERROR, 'error');
</pre><pre class="diff" id="context">               $error = true;
             }
           }
 
           if (!isset($_POST['ab_street_address']) || (strlen(trim($_POST['ab_street_address'])) &lt; ACCOUNT_STREET_ADDRESS)) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add(ENTRY_STREET_ADDRESS_ERROR);
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add('header', ENTRY_STREET_ADDRESS_ERROR, 'error');
</pre><pre class="diff" id="context">             $error = true;
           }
 
           if (ACCOUNT_SUBURB &gt; 0) {
             if (!isset($_POST['ab_suburb']) || (strlen(trim($_POST['ab_suburb'])) &lt; ACCOUNT_SUBURB)) {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add(ENTRY_SUBURB_ERROR);
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add('header', ENTRY_SUBURB_ERROR, 'error');
</pre><pre class="diff" id="context">               $error = true;
             }
           }
 
           if (!isset($_POST['ab_postcode']) || (strlen(trim($_POST['ab_postcode'])) &lt; ACCOUNT_POST_CODE)) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add(ENTRY_POST_CODE_ERROR);
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add('header', ENTRY_POST_CODE_ERROR, 'error');
</pre><pre class="diff" id="context">             $error = true;
           }
 
           if (!isset($_POST['ab_city']) || (strlen(trim($_POST['ab_city'])) &lt; ACCOUNT_CITY)) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add(ENTRY_CITY_ERROR);
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add('header', ENTRY_CITY_ERROR, 'error');
</pre><pre class="diff" id="context">             $error = true;
           }
 
</pre><pre class="diff"><small id="info">@@ -164,7 +164,7 @@
</small></pre><pre class="diff" id="context">                 if ($Qzone-&gt;numberOfRows() === 1) {
                   $zone_id = $Qzone-&gt;valueInt('zone_id');
                 } else {
</pre><pre class="diff" id="removed">-                  $messageStack-&gt;add(ENTRY_STATE_ERROR_SELECT);
</pre><pre class="diff" id="added">+                  $osC_MessageStack-&gt;add('header', ENTRY_STATE_ERROR_SELECT, 'error');
</pre><pre class="diff" id="context">                   $error = true;
                 }
               }
</pre><pre class="diff"><small id="info">@@ -172,27 +172,27 @@
</small></pre><pre class="diff" id="context">               $Qzone-&gt;freeResult();
             } else {
               if (strlen(trim($_POST['ab_state'])) &lt; ACCOUNT_STATE) {
</pre><pre class="diff" id="removed">-                $messageStack-&gt;add(ENTRY_STATE_ERROR);
</pre><pre class="diff" id="added">+                $osC_MessageStack-&gt;add('header', ENTRY_STATE_ERROR, 'error');
</pre><pre class="diff" id="context">                 $error = true;
               }
             }
           }
 
           if ( (is_numeric($_POST['ab_country']) === false) || ($_POST['ab_country'] &lt; 1) ) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add(ENTRY_COUNTRY_ERROR);
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add('header', ENTRY_COUNTRY_ERROR, 'error');
</pre><pre class="diff" id="context">             $error = true;
           }
 
           if (ACCOUNT_TELEPHONE &gt; 0) {
             if (!isset($_POST['ab_telephone']) || (strlen(trim($_POST['ab_telephone'])) &lt; ACCOUNT_TELEPHONE)) {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add(ENTRY_TELEPHONE_NUMBER_ERROR);
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add('header', ENTRY_TELEPHONE_NUMBER_ERROR, 'error');
</pre><pre class="diff" id="context">               $error = true;
             }
           }
 
           if (ACCOUNT_FAX &gt; 0) {
             if (!isset($_POST['ab_fax']) || (strlen(trim($_POST['ab_fax'])) &lt; ACCOUNT_FAX)) {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add(ENTRY_FAX_NUMBER_ERROR);
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add('header', ENTRY_FAX_NUMBER_ERROR, 'error');
</pre><pre class="diff" id="context">               $error = true;
             }
           }
</pre><pre class="diff"><small id="info">@@ -347,14 +347,14 @@
</small></pre><pre class="diff" id="context">                 tep_mail($full_name, $Qcustomer-&gt;value('customers_email_address'), EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
               }
 
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">             } else {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">             }
           } else {
             $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
 
           tep_redirect(tep_href_link(FILENAME_CUSTOMERS, (isset($_GET['search']) ? 'search=' . $_GET['search'] . '&amp;' : '') . 'page=' . $_GET['page'] . '&amp;cID=' . $customer_id));
</pre><pre class="diff"><small id="info">@@ -493,11 +493,11 @@
</small></pre><pre class="diff" id="context">           if ($error === false) {
             $osC_Database-&gt;commitTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
             $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
         }
 
</pre></div>
<hr /><a name="file10" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>file_manager.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/file_manager.php?rev=1.45&amp;content-type=text/vnd.viewcvs-markup">1.45</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/file_manager.php.diff?r1=1.45&amp;r2=1.46">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/file_manager.php?rev=1.46&amp;content-type=text/vnd.viewcvs-markup">1.46</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.45 -r1.46
--- file_manager.php	2004/08/15 18:16:07	1.45
+++ file_manager.php	2004/10/28 18:59:49	1.46
@@ -55,9 +55,9 @@
</small></pre><pre class="diff" id="context">             tep_remove($target);
           } else {
             if (is_file($target)) {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(sprintf(ERROR_FILE_NOT_WRITEABLE, $target), 'error');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', sprintf(ERROR_FILE_NOT_WRITEABLE, $target), 'error');
</pre><pre class="diff" id="context">             } else {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(sprintf(ERROR_DIRECTORY_NOT_WRITEABLE, $target), 'error');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', sprintf(ERROR_DIRECTORY_NOT_WRITEABLE, $target), 'error');
</pre><pre class="diff" id="context">             }
           }
         }
</pre><pre class="diff"><small id="info">@@ -74,10 +74,10 @@
</small></pre><pre class="diff" id="context">                 tep_redirect(tep_href_link(FILENAME_FILE_MANAGER, 'entry=' . urlencode(basename($_POST['directory_name']))));
               }
             } else {
</pre><pre class="diff" id="removed">-              $<span id="removedchars">messageStack-&gt;add(</span>sprintf(ERROR_DIRECTORY_EXISTS, $new_directory), 'error');
</pre><pre class="diff" id="added">+              $<span id="addedchars">osC_MessageStack-&gt;add('header',&nbsp;</span>sprintf(ERROR_DIRECTORY_EXISTS, $new_directory), 'error');
</pre><pre class="diff" id="context">             }
           } else {
</pre><pre class="diff" id="removed">-            $<span id="removedchars">messageStack-&gt;add_session(</span>sprintf(ERROR_DIRECTORY_NOT_WRITEABLE, $current_path), 'error');
</pre><pre class="diff" id="added">+            $<span id="addedchars">osC_MessageStack-&gt;add_session('header',&nbsp;</span>sprintf(ERROR_DIRECTORY_NOT_WRITEABLE, $current_path), 'error');
</pre><pre class="diff" id="context">           }
         }
 
</pre><pre class="diff"><small id="info">@@ -107,7 +107,7 @@
</small></pre><pre class="diff" id="context">             new upload('file_' . $i, $current_path);
           }
         } else {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(sprintf(ERROR_DIRECTORY_NOT_WRITEABLE, $current_path), 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', sprintf(ERROR_DIRECTORY_NOT_WRITEABLE, $current_path), 'error');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_FILE_MANAGER));
</pre></div>
<hr /><a name="file11" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>geo_zones.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/geo_zones.php?rev=1.30&amp;content-type=text/vnd.viewcvs-markup">1.30</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/geo_zones.php.diff?r1=1.30&amp;r2=1.31">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/geo_zones.php?rev=1.31&amp;content-type=text/vnd.viewcvs-markup">1.31</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.30 -r1.31
--- geo_zones.php	2004/07/22 23:28:49	1.30
+++ geo_zones.php	2004/10/28 18:59:49	1.31
@@ -48,12 +48,12 @@
</small></pre><pre class="diff" id="context">           }
 
           if ($Qzone-&gt;affectedRows()) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">           }
         } else {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_GEO_ZONES, 'page=' . $_GET['page'] . '&amp;zID=' . $zone_id));
</pre><pre class="diff"><small id="info">@@ -85,11 +85,11 @@
</small></pre><pre class="diff" id="context">           if ($error === false) {
             $osC_Database-&gt;commitTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
             $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
 
           tep_redirect(tep_href_link(FILENAME_GEO_ZONES, 'page=' . $_GET['page']));
</pre><pre class="diff"><small id="info">@@ -121,12 +121,12 @@
</small></pre><pre class="diff" id="context">           }
 
           if ($Qentry-&gt;affectedRows()) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">           }
         } else {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_GEO_ZONES, 'page=' . $_GET['page'] . '&amp;zID=' . $_GET['zID'] . '&amp;action=list&amp;entriesPage=' . $_GET['entriesPage'] . '&amp;zeID=' . $entry_id));
</pre><pre class="diff"><small id="info">@@ -140,12 +140,12 @@
</small></pre><pre class="diff" id="context"> 
           if ($osC_Database-&gt;isError() === false) {
             if ($Qentry-&gt;affectedRows()) {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">             } else {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">             }
           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
 
           tep_redirect(tep_href_link(FILENAME_GEO_ZONES, 'page=' . $_GET['page'] . '&amp;zID=' . $_GET['zID'] . '&amp;action=list&amp;entriesPage=' . $_GET['entriesPage']));
</pre></div>
<hr /><a name="file12" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>languages.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/languages.php?rev=1.36&amp;content-type=text/vnd.viewcvs-markup">1.36</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/languages.php.diff?r1=1.36&amp;r2=1.37">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/languages.php?rev=1.37&amp;content-type=text/vnd.viewcvs-markup">1.37</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.36 -r1.37
--- languages.php	2004/07/22 23:29:09	1.36
+++ languages.php	2004/10/28 18:59:49	1.37
@@ -207,11 +207,11 @@
</small></pre><pre class="diff" id="context">         if ($error === false) {
           $osC_Database-&gt;commitTransaction();
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">         } else {
           $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_LANGUAGES, 'page=' . $_GET['page'] . '&amp;lID=' . $language_id));
</pre><pre class="diff"><small id="info">@@ -306,11 +306,11 @@
</small></pre><pre class="diff" id="context">             if ($error === false) {
               $osC_Database-&gt;commitTransaction();
 
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">             } else {
               $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">             }
           }
         }
</pre></div>
<hr /><a name="file13" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>manufacturers.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/manufacturers.php?rev=1.59&amp;content-type=text/vnd.viewcvs-markup">1.59</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/manufacturers.php.diff?r1=1.59&amp;r2=1.60">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/manufacturers.php?rev=1.60&amp;content-type=text/vnd.viewcvs-markup">1.60</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.59 -r1.60
--- manufacturers.php	2004/08/18 11:49:35	1.59
+++ manufacturers.php	2004/10/28 18:59:50	1.60
@@ -83,11 +83,11 @@
</small></pre><pre class="diff" id="context"> 
           osC_Cache::reset('manufacturers');
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">         } else {
           $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_MANUFACTURERS, 'page=' . $_GET['page'] . '&amp;mID=' . $manufacturers_id));
</pre><pre class="diff"><small id="info">@@ -137,7 +137,7 @@
</small></pre><pre class="diff" id="context"> 
           osC_Cache::reset('manufacturers');
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_MANUFACTURERS, 'page=' . $_GET['page']));
</pre></div>
<hr /><a name="file14" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>newsletters.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/newsletters.php?rev=1.19&amp;content-type=text/vnd.viewcvs-markup">1.19</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/newsletters.php.diff?r1=1.19&amp;r2=1.20">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/newsletters.php?rev=1.20&amp;content-type=text/vnd.viewcvs-markup">1.20</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.19 -r1.20
--- newsletters.php	2004/08/17 23:54:16	1.19
+++ newsletters.php	2004/10/28 18:59:50	1.20
@@ -28,13 +28,13 @@
</small></pre><pre class="diff" id="context">         if (!isset($_POST['module']) || (isset($_POST['module']) &amp;&amp; empty($_POST['module']))) {
           $newsletter_error = true;
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(ERROR_NEWSLETTER_MODULE, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', ERROR_NEWSLETTER_MODULE, 'error');
</pre><pre class="diff" id="context">         }
 
         if (!isset($_POST['title']) || (isset($_POST['title']) &amp;&amp; empty($_POST['title']))) {
           $newsletter_error = true;
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(ERROR_NEWSLETTER_TITLE, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', ERROR_NEWSLETTER_TITLE, 'error');
</pre><pre class="diff" id="context">         }
 
         if ($newsletter_error === false) {
</pre></div>
<hr /><a name="file15" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>orders.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/orders.php?rev=1.116&amp;content-type=text/vnd.viewcvs-markup">1.116</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/orders.php.diff?r1=1.116&amp;r2=1.117">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/orders.php?rev=1.117&amp;content-type=text/vnd.viewcvs-markup">1.117</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.116 -r1.117
--- orders.php	2004/08/25 19:57:29	1.116
+++ orders.php	2004/10/28 18:59:50	1.117
@@ -72,12 +72,12 @@
</small></pre><pre class="diff" id="context">                 $Qupdate-&gt;bindValue(':comments', $_POST['comment']);
                 $Qupdate-&gt;execute();
 
</pre><pre class="diff" id="removed">-                $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+                $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">               } else {
</pre><pre class="diff" id="removed">-                $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+                $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">               }
             } else {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">             }
           }
         }
</pre></div>
<hr /><a name="file16" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>orders_status.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/orders_status.php?rev=1.23&amp;content-type=text/vnd.viewcvs-markup">1.23</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/orders_status.php.diff?r1=1.23&amp;r2=1.24">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/orders_status.php?rev=1.24&amp;content-type=text/vnd.viewcvs-markup">1.24</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.23 -r1.24
--- orders_status.php	2004/07/22 23:30:03	1.23
+++ orders_status.php	2004/10/28 18:59:50	1.24
@@ -82,11 +82,11 @@
</small></pre><pre class="diff" id="context">             }
           }
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">         } else {
           $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_ORDERS_STATUS, 'page=' . $_GET['page'] . '&amp;osID=' . $orders_status_id));
</pre><pre class="diff"><small id="info">@@ -105,15 +105,15 @@
</small></pre><pre class="diff" id="context"> 
           if ( (DEFAULT_ORDERS_STATUS_ID == $_GET['osID']) || ($Qorders-&gt;valueInt('total') &gt; 0) || ($Qhistory-&gt;valueInt('total') &gt; 0) ) {
             if (DEFAULT_ORDERS_STATUS_ID == $_GET['osID']) {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(TEXT_INFO_DELETE_PROHIBITED, 'warning');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', TEXT_INFO_DELETE_PROHIBITED, 'warning');
</pre><pre class="diff" id="context">             }
 
             if ($Qorders-&gt;valueInt('total') &gt; 0) {
</pre><pre class="diff" id="removed">-              $<span id="removedchars">messageStack-&gt;add_session(</span>sprintf(TEXT_INFO_DELETE_PROHIBITED_ORDERS, $Qorders-&gt;valueInt('total')), 'warning');
</pre><pre class="diff" id="added">+              $<span id="addedchars">osC_MessageStack-&gt;add_session('header',&nbsp;</span>sprintf(TEXT_INFO_DELETE_PROHIBITED_ORDERS, $Qorders-&gt;valueInt('total')), 'warning');
</pre><pre class="diff" id="context">             }
 
             if ($Qhistory-&gt;valueInt('total') &gt; 0) {
</pre><pre class="diff" id="removed">-              $<span id="removedchars">messageStack-&gt;add_session(</span>sprintf(TEXT_INFO_DELETE_PROHIBITED_HISTORY, $Qhistory-&gt;valueInt('total')), 'warning');
</pre><pre class="diff" id="added">+              $<span id="addedchars">osC_MessageStack-&gt;add_session('header',&nbsp;</span>sprintf(TEXT_INFO_DELETE_PROHIBITED_HISTORY, $Qhistory-&gt;valueInt('total')), 'warning');
</pre><pre class="diff" id="context">             }
 
             tep_redirect(tep_href_link(FILENAME_ORDERS_STATUS, 'page=' . $_GET['page'] . '&amp;osID=' . $_GET['osID']));
</pre><pre class="diff"><small id="info">@@ -124,12 +124,12 @@
</small></pre><pre class="diff" id="context"> 
             if ($osC_Database-&gt;isError() === false) {
               if ($Qstatus-&gt;affectedRows()) {
</pre><pre class="diff" id="removed">-                $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+                $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">               } else {
</pre><pre class="diff" id="removed">-                $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+                $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">               }
             } else {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">             }
 
             tep_redirect(tep_href_link(FILENAME_ORDERS_STATUS, 'page=' . $_GET['page']));
</pre></div>
<hr /><a name="file17" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>products.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products.php?rev=1.15&amp;content-type=text/vnd.viewcvs-markup">1.15</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products.php.diff?r1=1.15&amp;r2=1.16">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products.php?rev=1.16&amp;content-type=text/vnd.viewcvs-markup">1.16</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.15 -r1.16
--- products.php	2004/10/26 20:15:19	1.15
+++ products.php	2004/10/28 18:59:50	1.16
@@ -66,7 +66,7 @@
</small></pre><pre class="diff" id="context">             osC_Cache::clear('category_tree');
             osC_Cache::clear('also_purchased');
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           }
         }
 
</pre><pre class="diff"><small id="info">@@ -93,11 +93,11 @@
</small></pre><pre class="diff" id="context">               osC_Cache::clear('category_tree');
               osC_Cache::clear('also_purchased');
 
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context"> 
               tep_redirect(tep_href_link(FILENAME_PRODUCTS, 'page=' . $_GET['page'] . '&amp;cPath=' . $_POST['move_to_category_id'] . '&amp;search=' . $_GET['search'] . '&amp;pID=' . $_GET['pID']));
             } else {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">             }
           }
         }
</pre><pre class="diff"><small id="info">@@ -281,11 +281,11 @@
</small></pre><pre class="diff" id="context">             osC_Cache::clear('category_tree');
             osC_Cache::clear('also_purchased');
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
             $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
 
           tep_redirect(tep_href_link(FILENAME_PRODUCTS, 'page=' . $_GET['page'] . '&amp;cPath=' . $cPath . '&amp;search=' . $_GET['search'] . '&amp;pID=' . $products_id));
</pre><pre class="diff"><small id="info">@@ -309,13 +309,13 @@
</small></pre><pre class="diff" id="context">                 $Qcat-&gt;execute();
 
                 if ($Qcat-&gt;affectedRows()) {
</pre><pre class="diff" id="removed">-                  $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+                  $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context"> 
                   tep_redirect(tep_href_link(FILENAME_PRODUCTS, 'page=' . $_GET['page'] . '&amp;cPath=' . $_POST['categories_id'] . '&amp;search=' . $_GET['search'] . '&amp;pID=' . $_GET['pID']));
                 }
               }
             } else {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(ERROR_CANNOT_LINK_TO_SAME_CATEGORY, 'error');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', ERROR_CANNOT_LINK_TO_SAME_CATEGORY, 'error');
</pre><pre class="diff" id="context">             }
           } elseif ($_POST['copy_as'] == 'duplicate') {
             $Qproduct = $osC_Database-&gt;query('select products_quantity, products_model, products_image, products_price, products_date_available, products_weight, products_tax_class_id, manufacturers_id from :table_products where products_id = :products_id');
</pre><pre class="diff"><small id="info">@@ -387,13 +387,13 @@
</small></pre><pre class="diff" id="context">                 osC_Cache::clear('category_tree');
                 osC_Cache::clear('also_purchased');
 
</pre><pre class="diff" id="removed">-                $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+                $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context"> 
                 tep_redirect(tep_href_link(FILENAME_PRODUCTS, 'page=' . $_GET['page'] . '&amp;cPath=' . $_POST['categories_id'] . '&amp;search=' . $_GET['search'] . '&amp;pID=' . $new_product_id));
               } else {
                 $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-                $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+                $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">               }
             }
           }
</pre><pre class="diff"><small id="info">@@ -410,10 +410,10 @@
</small></pre><pre class="diff" id="context"> // check if the catalog image directory exists
   if (is_dir(DIR_FS_CATALOG_IMAGES)) {
     if (!is_writeable(DIR_FS_CATALOG_IMAGES)) {
</pre><pre class="diff" id="removed">-      $messageStack-&gt;add(ERROR_CATALOG_IMAGE_DIRECTORY_NOT_WRITEABLE, 'error');
</pre><pre class="diff" id="added">+      $osC_MessageStack-&gt;add('header', ERROR_CATALOG_IMAGE_DIRECTORY_NOT_WRITEABLE, 'error');
</pre><pre class="diff" id="context">     }
   } else {
</pre><pre class="diff" id="removed">-    $messageStack-&gt;add(ERROR_CATALOG_IMAGE_DIRECTORY_DOES_NOT_EXIST, 'error');
</pre><pre class="diff" id="added">+    $osC_MessageStack-&gt;add('header', ERROR_CATALOG_IMAGE_DIRECTORY_DOES_NOT_EXIST, 'error');
</pre><pre class="diff" id="context">   }
 
   switch ($action) {
</pre></div>
<hr /><a name="file18" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>products_attributes.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products_attributes.php?rev=1.55&amp;content-type=text/vnd.viewcvs-markup">1.55</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products_attributes.php.diff?r1=1.55&amp;r2=1.56">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products_attributes.php?rev=1.56&amp;content-type=text/vnd.viewcvs-markup">1.56</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.55 -r1.56
--- products_attributes.php	2004/08/29 22:19:03	1.55
+++ products_attributes.php	2004/10/28 18:59:51	1.56
@@ -92,11 +92,11 @@
</small></pre><pre class="diff" id="context">         if ($error === false) {
           $osC_Database-&gt;commitTransaction();
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">         } else {
           $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, 'page=' . $_GET['page'] . '&amp;paID=' . $group_id));
</pre><pre class="diff"><small id="info">@@ -151,11 +151,11 @@
</small></pre><pre class="diff" id="context">           if ($error === false) {
             $osC_Database-&gt;commitTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
             $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
         }
 
</pre><pre class="diff"><small id="info">@@ -217,11 +217,11 @@
</small></pre><pre class="diff" id="context">         if ($error === false) {
           $osC_Database-&gt;commitTransaction();
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">         } else {
           $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, 'page=' . $_GET['page'] . '&amp;paID=' . $_GET['paID'] . '&amp;action=list&amp;entriesPage=' . $_GET['entriesPage'] . '&amp;paeID=' . $entry_id));
</pre><pre class="diff"><small id="info">@@ -256,11 +256,11 @@
</small></pre><pre class="diff" id="context">           if ($error === false) {
             $osC_Database-&gt;commitTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
             $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
         }
 
</pre></div>
<hr /><a name="file19" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>products_expected.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products_expected.php?rev=1.32&amp;content-type=text/vnd.viewcvs-markup">1.32</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products_expected.php.diff?r1=1.32&amp;r2=1.33">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/products_expected.php?rev=1.33&amp;content-type=text/vnd.viewcvs-markup">1.33</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.32 -r1.33
--- products_expected.php	2004/07/22 23:30:17	1.32
+++ products_expected.php	2004/10/28 18:59:51	1.33
@@ -35,9 +35,9 @@
</small></pre><pre class="diff" id="context">           $Qproduct-&gt;execute();
 
           if ($osC_Database-&gt;isError() === false) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
         }
 
</pre></div>
<hr /><a name="file20" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>reviews.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/reviews.php?rev=1.44&amp;content-type=text/vnd.viewcvs-markup">1.44</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/reviews.php.diff?r1=1.44&amp;r2=1.45">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/reviews.php?rev=1.45&amp;content-type=text/vnd.viewcvs-markup">1.45</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.44 -r1.45
--- reviews.php	2004/07/22 23:30:25	1.44
+++ reviews.php	2004/10/28 18:59:51	1.45
@@ -54,11 +54,11 @@
</small></pre><pre class="diff" id="context">             if ($error === false) {
               $osC_Database-&gt;commitTransaction();
 
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">             } else {
               $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">             }
 
             tep_redirect(tep_href_link(FILENAME_REVIEWS, 'page=' . $_GET['page'] . '&amp;rID=' . $_GET['rID']));
</pre><pre class="diff"><small id="info">@@ -92,11 +92,11 @@
</small></pre><pre class="diff" id="context">           if ($error === false) {
             $osC_Database-&gt;commitTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
             $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
 
           tep_redirect(tep_href_link(FILENAME_REVIEWS, 'page=' . $_GET['page']));
</pre></div>
<hr /><a name="file21" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>services.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/services.php?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/services.php.diff?r1=1.2&amp;r2=1.3">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/services.php?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.2 -r1.3
--- services.php	2004/07/22 23:30:41	1.2
+++ services.php	2004/10/28 18:59:51	1.3
@@ -51,11 +51,11 @@
</small></pre><pre class="diff" id="context"> 
             osC_Cache::clear('configuration');
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
             $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">           }
         }
 
</pre><pre class="diff"><small id="info">@@ -79,9 +79,9 @@
</small></pre><pre class="diff" id="context">           if ($Qsu-&gt;affectedRows()) {
             osC_Cache::clear('configuration');
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">           }
         }
 
</pre><pre class="diff"><small id="info">@@ -151,9 +151,9 @@
</small></pre><pre class="diff" id="context">           if ($Qsu-&gt;affectedRows()) {
             osC_Cache::clear('configuration');
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">           }
         }
 
</pre></div>
<hr /><a name="file22" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>specials.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/specials.php?rev=1.42&amp;content-type=text/vnd.viewcvs-markup">1.42</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/specials.php.diff?r1=1.42&amp;r2=1.43">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/specials.php?rev=1.43&amp;content-type=text/vnd.viewcvs-markup">1.43</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.42 -r1.43
--- specials.php	2004/07/22 23:30:50	1.42
+++ specials.php	2004/10/28 18:59:51	1.43
@@ -49,9 +49,9 @@
</small></pre><pre class="diff" id="context">           $Qspecial-&gt;execute();
 
           if ($osC_Database-&gt;isError() === false) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
         }
 
</pre><pre class="diff"><small id="info">@@ -65,9 +65,9 @@
</small></pre><pre class="diff" id="context">           $Qspecial-&gt;execute();
 
           if ($Qspecial-&gt;affectedRows()) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">           }
         }
 
</pre></div>
<hr /><a name="file23" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>tax_classes.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/tax_classes.php?rev=1.22&amp;content-type=text/vnd.viewcvs-markup">1.22</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/tax_classes.php.diff?r1=1.22&amp;r2=1.23">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/tax_classes.php?rev=1.23&amp;content-type=text/vnd.viewcvs-markup">1.23</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.22 -r1.23
--- tax_classes.php	2004/07/22 23:31:48	1.22
+++ tax_classes.php	2004/10/28 18:59:51	1.23
@@ -48,12 +48,12 @@
</small></pre><pre class="diff" id="context">           }
 
           if ($Qclass-&gt;affectedRows()) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">           }
         } else {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&amp;tcID=' . $tax_class_id));
</pre><pre class="diff"><small id="info">@@ -85,11 +85,11 @@
</small></pre><pre class="diff" id="context">           if ($error === false) {
             $osC_Database-&gt;commitTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
             $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
 
           tep_redirect(tep_href_link(FILENAME_TAX_CLASSES, 'page=' . $_GET['page']));
</pre><pre class="diff"><small id="info">@@ -123,12 +123,12 @@
</small></pre><pre class="diff" id="context">           }
 
           if ($Qrate-&gt;affectedRows()) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">           }
         } else {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&amp;tcID=' . $_GET['tcID'] . '&amp;action=list&amp;entriesPage=' . $_GET['entriesPage'] . '&amp;trID=' . $tax_rate_id));
</pre><pre class="diff"><small id="info">@@ -142,12 +142,12 @@
</small></pre><pre class="diff" id="context"> 
           if ($osC_Database-&gt;isError() === false) {
             if ($Qrate-&gt;affectedRows()) {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">             } else {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">             }
           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
 
           tep_redirect(tep_href_link(FILENAME_TAX_CLASSES, 'page=' . $_GET['page'] . '&amp;tcID=' . $_GET['tcID'] . '&amp;action=list&amp;entriesPage=' . $_GET['entriesPage']));
</pre></div>
<hr /><a name="file24" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>weight_classes.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/weight_classes.php?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/weight_classes.php.diff?r1=1.2&amp;r2=1.3">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/weight_classes.php?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.2 -r1.3
--- weight_classes.php	2004/07/22 23:31:58	1.2
+++ weight_classes.php	2004/10/28 18:59:52	1.3
@@ -141,11 +141,11 @@
</small></pre><pre class="diff" id="context">             }
           }
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">         } else {
           $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_WEIGHT_CLASSES, 'page=' . $_GET['page'] . '&amp;wcID=' . $weight_class_id));
</pre><pre class="diff"><small id="info">@@ -159,11 +159,11 @@
</small></pre><pre class="diff" id="context"> 
           if ( (SHIPPING_WEIGHT_UNIT == $_GET['wcID']) || ($Qcheck-&gt;valueInt('total') &gt; 0) ) {
             if (SHIPPING_WEIGHT_UNIT == $_GET['wcID']) {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(TEXT_INFO_DELETE_PROHIBITED, 'warning');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', TEXT_INFO_DELETE_PROHIBITED, 'warning');
</pre><pre class="diff" id="context">             }
 
             if ($Qcheck-&gt;valueInt('total') &gt; 0) {
</pre><pre class="diff" id="removed">-              $<span id="removedchars">messageStack-&gt;add_session(</span>sprintf(TEXT_INFO_DELETE_PROHIBITED_PRODUCTS, $Qcheck-&gt;valueInt('total')), 'warning');
</pre><pre class="diff" id="added">+              $<span id="addedchars">osC_MessageStack-&gt;add_session('header',&nbsp;</span>sprintf(TEXT_INFO_DELETE_PROHIBITED_PRODUCTS, $Qcheck-&gt;valueInt('total')), 'warning');
</pre><pre class="diff" id="context">             }
 
             tep_redirect(tep_href_link(FILENAME_WEIGHT_CLASSES, 'page=' . $_GET['page'] . '&amp;wcID=' . $_GET['wcID']));
</pre><pre class="diff"><small id="info">@@ -199,11 +199,11 @@
</small></pre><pre class="diff" id="context">               $osC_Cache-&gt;clear('weight-classes');
               $osC_Cache-&gt;clear('weight-rules');
 
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">             } else {
               $osC_Database-&gt;rollbackTransaction();
 
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">             }
 
             tep_redirect(tep_href_link(FILENAME_WEIGHT_CLASSES, 'page=' . $_GET['page']));
</pre></div>
<hr /><a name="file25" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a><br /></span>
<div class="fileheader"><big><b>zones.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/zones.php?rev=1.24&amp;content-type=text/vnd.viewcvs-markup">1.24</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/zones.php.diff?r1=1.24&amp;r2=1.25">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/zones.php?rev=1.25&amp;content-type=text/vnd.viewcvs-markup">1.25</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.24 -r1.25
--- zones.php	2004/07/22 23:32:05	1.24
+++ zones.php	2004/10/28 18:59:52	1.25
@@ -43,12 +43,12 @@
</small></pre><pre class="diff" id="context">           }
 
           if ($Qzone-&gt;affectedRows()) {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">           }
         } else {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">         }
 
         tep_redirect(tep_href_link(FILENAME_ZONES, 'page=' . $_GET['page'] . '&amp;zID=' . $zone_id));
</pre><pre class="diff"><small id="info">@@ -62,12 +62,12 @@
</small></pre><pre class="diff" id="context"> 
           if ($osC_Database-&gt;isError() === false) {
             if ($Qzone-&gt;affectedRows()) {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', SUCCESS_DB_ROWS_UPDATED, 'success');
</pre><pre class="diff" id="context">             } else {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', WARNING_DB_ROWS_NOT_UPDATED, 'warning');
</pre><pre class="diff" id="context">             }
           } else {
</pre><pre class="diff" id="removed">-            $messageStack-&gt;add_session(ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="added">+            $osC_MessageStack-&gt;add_session('header', ERROR_DB_ROWS_NOT_UPDATED, 'error');
</pre><pre class="diff" id="context">           }
 
           tep_redirect(tep_href_link(FILENAME_ZONES, 'page=' . $_GET['page']));
</pre></div>
<hr /><a name="file26" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a><br /></span>
<div class="fileheader"><big><b>application_top.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php?rev=1.176&amp;content-type=text/vnd.viewcvs-markup">1.176</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php.diff?r1=1.176&amp;r2=1.177">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php?rev=1.177&amp;content-type=text/vnd.viewcvs-markup">1.177</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.176 -r1.177
--- application_top.php	2004/10/28 15:19:05	1.176
+++ application_top.php	2004/10/28 19:00:17	1.177
@@ -81,7 +81,7 @@
</small></pre><pre class="diff" id="context">   } else {
     include('../includes/classes/session.php');
   }
</pre><pre class="diff" id="removed">-  $osC_Session = new osC_Session;
</pre><pre class="diff" id="added">+  $osC_Session = new osC_Session<span id="addedchars">()</span>;
</pre><pre class="diff" id="context">   $osC_Session-&gt;setName('osCAdminID');
 
 // lets start our session
</pre><pre class="diff"><small id="info">@@ -123,8 +123,9 @@
</small></pre><pre class="diff" id="context">   require('includes/classes/table_block.php');
 
 // initialize the message stack for output messages
</pre><pre class="diff" id="removed">-  require('includes/classes/message_stack.php');
-  $messageStack = new messageStack;
</pre><pre class="diff" id="added">+  require('../includes/classes/message_stack.php');
+  $osC_MessageStack = new messageStack();
+  $osC_MessageStack-&gt;loadFromSession();
</pre><pre class="diff" id="context"> 
 // entry/item info classes
   require('includes/classes/object_info.php');
</pre><pre class="diff"><small id="info">@@ -138,15 +139,15 @@
</small></pre><pre class="diff" id="context"> 
 // check if a default currency is set
   if (!defined('DEFAULT_CURRENCY')) {
</pre><pre class="diff" id="removed">-    $messageStack-&gt;add(ERROR_NO_DEFAULT_CURRENCY_DEFINED, 'error');
</pre><pre class="diff" id="added">+    $osC_MessageStack-&gt;add('header', ERROR_NO_DEFAULT_CURRENCY_DEFINED, 'error');
</pre><pre class="diff" id="context">   }
 
 // check if a default language is set
   if (!defined('DEFAULT_LANGUAGE')) {
</pre><pre class="diff" id="removed">-    $messageStack-&gt;add(ERROR_NO_DEFAULT_LANGUAGE_DEFINED, 'error');
</pre><pre class="diff" id="added">+    $osC_MessageStack-&gt;add('header', ERROR_NO_DEFAULT_LANGUAGE_DEFINED, 'error');
</pre><pre class="diff" id="context">   }
 
   if (function_exists('ini_get') &amp;&amp; ((bool)ini_get('file_uploads') == false) ) {
</pre><pre class="diff" id="removed">-    $messageStack-&gt;add(WARNING_FILE_UPLOADS_DISABLED, 'warning');
</pre><pre class="diff" id="added">+    $osC_MessageStack-&gt;add('header', WARNING_FILE_UPLOADS_DISABLED, 'warning');
</pre><pre class="diff" id="context">   }
 ?&gt;
</pre></div>
<hr /><a name="file27" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/classes">classes</a><br /></span>
<div class="fileheader"><big><b>upload.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/classes/upload.php?rev=1.4&amp;content-type=text/vnd.viewcvs-markup">1.4</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/classes/upload.php.diff?r1=1.4&amp;r2=1.5">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/classes/upload.php?rev=1.5&amp;content-type=text/vnd.viewcvs-markup">1.5</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.4 -r1.5
--- upload.php	2004/08/03 10:54:52	1.4
+++ upload.php	2004/10/28 19:00:19	1.5
@@ -36,7 +36,7 @@
</small></pre><pre class="diff" id="context">     }
 
     function parse() {
</pre><pre class="diff" id="removed">-      global $<span id="removedchars">m</span>essageStack;
</pre><pre class="diff" id="added">+      global $<span id="addedchars">osC_M</span>essageStack;
</pre><pre class="diff" id="context"> 
       if (isset($_FILES[$this-&gt;file])) {
         $file = array('name' =&gt; $_FILES[$this-&gt;file]['name'],
</pre><pre class="diff"><small id="info">@@ -61,9 +61,9 @@
</small></pre><pre class="diff" id="context">         if (sizeof($this-&gt;extensions) &gt; 0) {
           if (!in_array(strtolower(substr($file['name'], strrpos($file['name'], '.')+1)), $this-&gt;extensions)) {
             if ($this-&gt;message_location == 'direct') {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add(ERROR_FILETYPE_NOT_ALLOWED, 'error');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add('header', ERROR_FILETYPE_NOT_ALLOWED, 'error');
</pre><pre class="diff" id="context">             } else {
</pre><pre class="diff" id="removed">-              $messageStack-&gt;add_session(ERROR_FILETYPE_NOT_ALLOWED, 'error');
</pre><pre class="diff" id="added">+              $osC_MessageStack-&gt;add_session('header', ERROR_FILETYPE_NOT_ALLOWED, 'error');
</pre><pre class="diff" id="context">             }
 
             return false;
</pre><pre class="diff"><small id="info">@@ -81,9 +81,9 @@
</small></pre><pre class="diff" id="context">         }
       } else {
         if ($this-&gt;message_location == 'direct') {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(WARNING_NO_FILE_UPLOADED, 'warning');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', WARNING_NO_FILE_UPLOADED, 'warning');
</pre><pre class="diff" id="context">         } else {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(WARNING_NO_FILE_UPLOADED, 'warning');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', WARNING_NO_FILE_UPLOADED, 'warning');
</pre><pre class="diff" id="context">         }
 
         return false;
</pre><pre class="diff"><small id="info">@@ -91,7 +91,7 @@
</small></pre><pre class="diff" id="context">     }
 
     function save() {
</pre><pre class="diff" id="removed">-      global $<span id="removedchars">m</span>essageStack;
</pre><pre class="diff" id="added">+      global $<span id="addedchars">osC_M</span>essageStack;
</pre><pre class="diff" id="context"> 
       if (substr($this-&gt;destination, -1) != '/') $this-&gt;destination .= '/';
 
</pre><pre class="diff"><small id="info">@@ -99,17 +99,17 @@
</small></pre><pre class="diff" id="context">         chmod($this-&gt;destination . $this-&gt;filename, $this-&gt;permissions);
 
         if ($this-&gt;message_location == 'direct') {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(SUCCESS_FILE_SAVED_SUCCESSFULLY, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', SUCCESS_FILE_SAVED_SUCCESSFULLY, 'success');
</pre><pre class="diff" id="context">         } else {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(SUCCESS_FILE_SAVED_SUCCESSFULLY, 'success');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', SUCCESS_FILE_SAVED_SUCCESSFULLY, 'success');
</pre><pre class="diff" id="context">         }
 
         return true;
       } else {
         if ($this-&gt;message_location == 'direct') {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add(ERROR_FILE_NOT_SAVED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add('header', ERROR_FILE_NOT_SAVED, 'error');
</pre><pre class="diff" id="context">         } else {
</pre><pre class="diff" id="removed">-          $messageStack-&gt;add_session(ERROR_FILE_NOT_SAVED, 'error');
</pre><pre class="diff" id="added">+          $osC_MessageStack-&gt;add_session('header', ERROR_FILE_NOT_SAVED, 'error');
</pre><pre class="diff" id="context">         }
 
         return false;
</pre><pre class="diff"><small id="info">@@ -149,20 +149,20 @@
</small></pre><pre class="diff" id="context">     }
 
     function check_destination() {
</pre><pre class="diff" id="removed">-      global $<span id="removedchars">m</span>essageStack;
</pre><pre class="diff" id="added">+      global $<span id="addedchars">osC_M</span>essageStack;
</pre><pre class="diff" id="context"> 
       if (!is_writeable($this-&gt;destination)) {
         if (is_dir($this-&gt;destination)) {
           if ($this-&gt;message_location == 'direct') {
</pre><pre class="diff" id="removed">-            $<span id="removedchars">messageStack-&gt;add(</span>sprintf(ERROR_DESTINATION_NOT_WRITEABLE, $this-&gt;destination), 'error');
</pre><pre class="diff" id="added">+            $<span id="addedchars">osC_MessageStack-&gt;add('header',&nbsp;</span>sprintf(ERROR_DESTINATION_NOT_WRITEABLE, $this-&gt;destination), 'error');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $<span id="removedchars">messageStack-&gt;add_session(</span>sprintf(ERROR_DESTINATION_NOT_WRITEABLE, $this-&gt;destination), 'error');
</pre><pre class="diff" id="added">+            $<span id="addedchars">osC_MessageStack-&gt;add_session('header',&nbsp;</span>sprintf(ERROR_DESTINATION_NOT_WRITEABLE, $this-&gt;destination), 'error');
</pre><pre class="diff" id="context">           }
         } else {
           if ($this-&gt;message_location == 'direct') {
</pre><pre class="diff" id="removed">-            $<span id="removedchars">messageStack-&gt;add(</span>sprintf(ERROR_DESTINATION_DOES_NOT_EXIST, $this-&gt;destination), 'error');
</pre><pre class="diff" id="added">+            $<span id="addedchars">osC_MessageStack-&gt;add('header',&nbsp;</span>sprintf(ERROR_DESTINATION_DOES_NOT_EXIST, $this-&gt;destination), 'error');
</pre><pre class="diff" id="context">           } else {
</pre><pre class="diff" id="removed">-            $<span id="removedchars">messageStack-&gt;add_session(</span>sprintf(ERROR_DESTINATION_DOES_NOT_EXIST, $this-&gt;destination), 'error');
</pre><pre class="diff" id="added">+            $<span id="addedchars">osC_MessageStack-&gt;add_session('header',&nbsp;</span>sprintf(ERROR_DESTINATION_DOES_NOT_EXIST, $this-&gt;destination), 'error');
</pre><pre class="diff" id="context">           }
         }
 
</pre></div>
<hr /><a name="file28" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/classes">classes</a><br /></span>
<div class="fileheader" id="removed"><big><b>message_stack.php</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/classes/message_stack.php?rev=1.7&amp;content-type=text/vnd.viewcvs-markup">1.7</a></small></div>
<pre class="diff"><small id="info">diff -N message_stack.php
--- /tmp/cvsAAAy2aWUk	Thu Oct 28 21:00:22 2004
+++ /dev/null	Thu Oct 28 21:00:21 2004
@@ -1,75 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;?php
-/*
-  $Id$
-
-  osCommerce, Open Source E-Commerce Solutions
-  http://www.oscommerce.com
-
-  Copyright (c) 2003 osCommerce
-
-  Released under the GNU General Public License
-
-  Example usage:
-
-  $messageStack = new messageStack();
-  $messageStack-&gt;add('Error: Error 1', 'error');
-  $messageStack-&gt;add('Error: Error 2', 'warning');
-  if ($messageStack-&gt;size &gt; 0) echo $messageStack-&gt;output();
-*/
-
-  class messageStack extends tableBlock {
-    var $size = 0;
-
-    function messageStack() {
-      global $osC_Session;
-
-      $this-&gt;errors = array();
-
-      if ($osC_Session-&gt;exists('messageToStack')) {
-        $messageToStack = $osC_Session-&gt;value('messageToStack');
-
-        foreach ($osC_Session-&gt;value('messageToStack') as $message) {
-          $this-&gt;add($message['text'], $message['type']);
-        }
-
-        $osC_Session-&gt;remove('messageToStack');
-      }
-    }
-
-    function add($message, $type = 'error') {
-      if ($type == 'error') {
-        $this-&gt;errors[] = array('params' =&gt; 'class="messageStackError"', 'text' =&gt; tep_image(DIR_WS_ICONS . 'error.gif', ICON_ERROR) . '&amp;nbsp;' . $message);
-      } elseif ($type == 'warning') {
-        $this-&gt;errors[] = array('params' =&gt; 'class="messageStackWarning"', 'text' =&gt; tep_image(DIR_WS_ICONS . 'warning.gif', ICON_WARNING) . '&amp;nbsp;' . $message);
-      } elseif ($type == 'success') {
-        $this-&gt;errors[] = array('params' =&gt; 'class="messageStackSuccess"', 'text' =&gt; tep_image(DIR_WS_ICONS . 'success.gif', ICON_SUCCESS) . '&amp;nbsp;' . $message);
-      } else {
-        $this-&gt;errors[] = array('params' =&gt; 'class="messageStackError"', 'text' =&gt; $message);
-      }
-
-      $this-&gt;size++;
-    }
-
-    function add_session($message, $type = 'error') {
-      global $osC_Session;
-
-      if ($osC_Session-&gt;exists('messageToStack') === false) {
-        $messageToStack = array();
-      }
-
-      $messageToStack[] = array('text' =&gt; $message, 'type' =&gt; $type);
-
-      $osC_Session-&gt;set('messageToStack', $messageToStack);
-    }
-
-    function reset() {
-      $this-&gt;errors = array();
-      $this-&gt;size = 0;
-    }
-
-    function output() {
-      $this-&gt;table_data_parameters = 'class="messageBox"';
-      return $this-&gt;tableBlock($this-&gt;errors);
-    }
-  }
-?&gt;
<hr /><a name="file29" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/functions">functions</a><br /></span>
<div class="fileheader"><big><b>general.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/functions/general.php?rev=1.171&amp;content-type=text/vnd.viewcvs-markup">1.171</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/functions/general.php.diff?r1=1.171&amp;r2=1.172">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/functions/general.php?rev=1.172&amp;content-type=text/vnd.viewcvs-markup">1.172</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.171 -r1.172
--- general.php	2004/10/28 15:19:09	1.171
+++ general.php	2004/10/28 19:00:22	1.172
@@ -938,7 +938,7 @@
</small></pre><pre class="diff" id="context">   }
 
   function tep_remove($source) {
</pre><pre class="diff" id="removed">-    global $<span id="removedchars">m</span>essageStack, $tep_remove_error;
</pre><pre class="diff" id="added">+    global $<span id="addedchars">osC_M</span>essageStack, $tep_remove_error;
</pre><pre class="diff" id="context"> 
     if (isset($tep_remove_error)) $tep_remove_error = false;
 
</pre><pre class="diff"><small id="info">@@ -949,7 +949,7 @@
</small></pre><pre class="diff" id="context">           if (is_writeable($source . '/' . $file)) {
             tep_remove($source . '/' . $file);
           } else {
</pre><pre class="diff" id="removed">-            $<span id="removedchars">messageStack-&gt;add(</span>sprintf(ERROR_FILE_NOT_REMOVEABLE, $source . '/' . $file), 'error');
</pre><pre class="diff" id="added">+            $<span id="addedchars">osC_MessageStack-&gt;add('header',&nbsp;</span>sprintf(ERROR_FILE_NOT_REMOVEABLE, $source . '/' . $file), 'error');
</pre><pre class="diff" id="context">             $tep_remove_error = true;
           }
         }
</pre><pre class="diff"><small id="info">@@ -959,14 +959,14 @@
</small></pre><pre class="diff" id="context">       if (is_writeable($source)) {
         rmdir($source);
       } else {
</pre><pre class="diff" id="removed">-        $<span id="removedchars">messageStack-&gt;add(</span>sprintf(ERROR_DIRECTORY_NOT_REMOVEABLE, $source), 'error');
</pre><pre class="diff" id="added">+        $<span id="addedchars">osC_MessageStack-&gt;add('header',&nbsp;</span>sprintf(ERROR_DIRECTORY_NOT_REMOVEABLE, $source), 'error');
</pre><pre class="diff" id="context">         $tep_remove_error = true;
       }
     } else {
       if (is_writeable($source)) {
         unlink($source);
       } else {
</pre><pre class="diff" id="removed">-        $<span id="removedchars">messageStack-&gt;add(</span>sprintf(ERROR_FILE_NOT_REMOVEABLE, $source), 'error');
</pre><pre class="diff" id="added">+        $<span id="addedchars">osC_MessageStack-&gt;add('header',&nbsp;</span>sprintf(ERROR_FILE_NOT_REMOVEABLE, $source), 'error');
</pre><pre class="diff" id="context">         $tep_remove_error = true;
       }
     }
</pre></div>
<hr /><a name="file30" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates">templates</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/default">default</a><br /></span>
<div class="fileheader"><big><b>header.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/default/header.php?rev=1.5&amp;content-type=text/vnd.viewcvs-markup">1.5</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/default/header.php.diff?r1=1.5&amp;r2=1.6">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/default/header.php?rev=1.6&amp;content-type=text/vnd.viewcvs-markup">1.6</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.5 -r1.6
--- header.php	2004/08/29 22:22:08	1.5
+++ header.php	2004/10/28 19:00:23	1.6
@@ -12,8 +12,8 @@
</small></pre><pre class="diff" id="context"> 
   $languages = tep_get_languages();
 
</pre><pre class="diff" id="removed">-  if ($messageStack-&gt;size &gt; 0) {
-    echo $messageStack-&gt;output();
</pre><pre class="diff" id="added">+  if ($osC_MessageStack-&gt;size('header') &gt; 0) {
+    echo $osC_MessageStack-&gt;output('header');
</pre><pre class="diff" id="context">   }
 ?&gt;
 
</pre></div>
<hr /><a name="file31" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates">templates</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/default">default</a><br /></span>
<div class="fileheader"><big><b>stylesheet.css</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/default/stylesheet.css?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/default/stylesheet.css.diff?r1=1.3&amp;r2=1.4">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/default/stylesheet.css?rev=1.4&amp;content-type=text/vnd.viewcvs-markup">1.4</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.3 -r1.4
--- stylesheet.css	2004/10/28 10:51:01	1.3
+++ stylesheet.css	2004/10/28 19:00:23	1.4
@@ -82,12 +82,6 @@
</small></pre><pre class="diff" id="context"> .infoBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; color: #ffffff; background-color: #B3BAC5; padding: 2px; }
 .infoBoxContent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; background-color: #DEE4E8; padding: 2px; }
 
</pre><pre class="diff" id="removed">-/* message box */
-
-.messageBox { font-family: Verdana, Arial, sans-serif; font-size: 10px; }
-.messageStackError, .messageStackWarning { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #ffb3b5; }
-.messageStackSuccess { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #99ff00; }
-
</pre><pre class="diff" id="context"> /* forms */
 CHECKBOX, INPUT, RADIO, SELECT, TEXTAREA, FILE { font-family: Verdana, Arial, sans-serif; font-size: 11px; }
 FORM { display: inline; margin: 0; }
</pre><pre class="diff"><small id="info">@@ -118,3 +112,14 @@
</small></pre><pre class="diff" id="context"> .infoBoxButton { font-family: Verdana, Arial, sans-serif; font-size: 9px; color: white; font-weight: bold; padding: 2px; margin: 1px; border: 1px solid black; background-color: #8DAD23; }
 .operationButton { font-family: Verdana, Arial, sans-serif; font-size: 9px; color: white; font-weight: bold; padding: 2px; margin: 1px; border: 1px solid black; background-color: #2386AD; }
 .sectionButton { font-family: Verdana, Arial, sans-serif; font-size: 9px; color: white; font-weight: bold; padding: 2px; margin: 1px; border: 1px solid black; background-color: #AD3A23; }
</pre><pre class="diff" id="added">+
+/* message stack output */
+
+.messageStack {
+  margin: 5px;
+  font-size: 10px;
+  color: #465584;
+  background-color: #FFFCF5;
+  border-width: 1px;
+  border-style: dotted;
+}
</pre></div>
<hr /><a name="file32" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates">templates</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/pages">pages</a><br /></span>
<div class="fileheader"><big><b>define_language_edit.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/pages/define_language_edit.php?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/pages/define_language_edit.php.diff?r1=1.1&amp;r2=1.2">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/pages/define_language_edit.php?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.1 -r1.2
--- define_language_edit.php	2004/08/15 18:17:04	1.1
+++ define_language_edit.php	2004/10/28 19:00:25	1.2
@@ -28,9 +28,8 @@
</small></pre><pre class="diff" id="context">     if (is_writeable($file) !== true) {
       $file_writeable = false;
 
</pre><pre class="diff" id="removed">-      $messageStack-&gt;reset();
-      $messageStack-&gt;add(sprintf(ERROR_FILE_NOT_WRITEABLE, $file), 'error');
-      echo $messageStack-&gt;output();
</pre><pre class="diff" id="added">+      $osC_MessageStack-&gt;add('define_language', sprintf(ERROR_FILE_NOT_WRITEABLE, $file), 'error');
+      echo $osC_MessageStack-&gt;output('define_language');
</pre><pre class="diff" id="context">     }
 ?&gt;
 
</pre></div>
<hr /><a name="file33" /><div class="file">
<span class="pathname"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates">templates</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/pages">pages</a><br /></span>
<div class="fileheader"><big><b>orders_edit.php</b></big> <small id="info"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/pages/orders_edit.php?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/pages/orders_edit.php.diff?r1=1.1&amp;r2=1.2">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/templates/pages/orders_edit.php?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.1 -r1.2
--- orders_edit.php	2004/07/22 23:29:47	1.1
+++ orders_edit.php	2004/10/28 19:00:25	1.2
@@ -22,8 +22,8 @@
</small></pre><pre class="diff" id="context"> 
 &lt;?php
   if ($osC_Order-&gt;isValid() === false) {
</pre><pre class="diff" id="removed">-    $messageStack-&gt;add(sprintf(ERROR_ORDER_DOES_NOT_EXIST, $_GET['oID']), 'error');
-    echo $messageStack-&gt;output();
</pre><pre class="diff" id="added">+    $osC_MessageStack-&gt;add('orders_edit', sprintf(ERROR_ORDER_DOES_NOT_EXIST, $_GET['oID']), 'error');
+    echo $osC_MessageStack-&gt;output('orders_edit');
</pre><pre class="diff" id="context">   } else {
 ?&gt;
 
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -&gt; email">CVSspam</a> 0.2.9</small></center>
</body></html>


-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/