[TEP-COMMIT] [CVS admin] remove the redundant box class

hpdl-OfajU3CKLf1/[email protected] 26 Oct 2004 20:09:12 -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/includes</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt><a href="#file1">application_top.php</a></tt></td><td align="right" id="added">+1</td><td align="right" id="removed">-2</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php?rev=1.170&amp;content-type=text/vnd.viewcvs-markup">1.170</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php.diff?r1=1.170&amp;r2=1.171">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php?rev=1.171&amp;content-type=text/vnd.viewcvs-markup">1.171</a></td></tr>
<tr class="alt"><td><tt>classes/<span id="removed">box.php</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/classes/box.php?rev=1.8&amp;content-type=text/vnd.viewcvs-markup">1.8</a> removed</td></tr>
<tr><td></td><td align="right" id="added">+1</td><td align="right" id="removed">-2</td><td></td></tr>
</table>
<small id="info">1 removed + 1 modified, total 2 files</small><br />
<pre class="comment">
remove the redundant box class
</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>/<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.170&amp;content-type=text/vnd.viewcvs-markup">1.170</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php.diff?r1=1.170&amp;r2=1.171">-&gt;</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php?rev=1.171&amp;content-type=text/vnd.viewcvs-markup">1.171</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.170 -r1.171
--- application_top.php	2004/08/25 19:59:46	1.170
+++ application_top.php	2004/10/26 20:09:04	1.171
@@ -129,9 +129,8 @@
</small></pre><pre class="diff" id="context"> // Include validation functions (right now only email address)
   require('includes/functions/validations.php');
 
</pre><pre class="diff" id="removed">-// setup our boxes
</pre><pre class="diff" id="added">+// setup our boxes; PENDING REMOVAL (dependencies: messageStack class)
</pre><pre class="diff" id="context">   require('includes/classes/table_block.php');
</pre><pre class="diff" id="removed">-  require('includes/classes/box.php');
</pre><pre class="diff" id="context"> 
 // initialize the message stack for output messages
   require('includes/classes/message_stack.php');
</pre></div>
<hr /><a name="file2" /><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>box.php</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/classes/box.php?rev=1.8&amp;content-type=text/vnd.viewcvs-markup">1.8</a></small></div>
<pre class="diff"><small id="info">diff -N box.php
--- /tmp/cvsAAAp_aOMo	Tue Oct 26 22:09:09 2004
+++ /dev/null	Tue Oct 26 22:09:01 2004
@@ -1,60 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;?php
-/*
-  $Id$
-
-  osCommerce, Open Source E-Commerce Solutions
-  http://www.oscommerce.com
-
-  Copyright (c) 2004 osCommerce
-
-  Released under the GNU General Public License
-*/
-
-  class box extends tableBlock {
-    function box() {
-      $this-&gt;heading = array();
-      $this-&gt;contents = array();
-    }
-
-    function infoBox($heading, $contents, $id = '', $visible = '') {
-      $this-&gt;table_parameters = 'class="infoBoxHeading"';
-      $this-&gt;heading = $this-&gt;tableBlock($heading);
-
-      $this-&gt;table_parameters = 'class="infoBoxContent"';
-      $this-&gt;contents = $this-&gt;tableBlock($contents);
-
-      $infobox = $this-&gt;heading . $this-&gt;contents;
-
-      if (!empty($id)) {
-        $infobox = '&lt;div id="' . $id . '"' . (($visible == 'hidden') ? ' style="display: none;"' : '') . '&gt;' . $infobox . '&lt;/div&gt;';
-      }
-
-      return $infobox;
-    }
-
-    function menuBox($heading, $contents, $toggleBlock = '') {
-      global $selected_box;
-
-      $this-&gt;table_data_parameters = 'class="menuBoxHeading"';
-      if (isset($heading[0]['link'])) {
-        $heading[0]['text'] = '&amp;nbsp;&lt;a href="' . $heading[0]['link'] . '" class="menuBoxHeadingLink"&gt;' . $heading[0]['text'] . '&lt;/a&gt;&amp;nbsp;';
-      } else {
-        $heading[0]['text'] = '&amp;nbsp;' . $heading[0]['text'] . '&amp;nbsp;';
-      }
-      $this-&gt;heading = $this-&gt;tableBlock($heading);
-
-      $this-&gt;table_parameters = 'class="menuBoxContent"';
-      if (!empty($toggleBlock)) {
-        $this-&gt;table_parameters .= ' id="' . $toggleBlock . '"';
-
-        if ($toggleBlock != $selected_box) {
-          $this-&gt;table_parameters .= ' style="display: none;"';
-        }
-      }
-      $this-&gt;table_data_parameters = '';
-      $this-&gt;contents = $this-&gt;tableBlock($contents);
-
-      return $this-&gt;heading . $this-&gt;contents;
-    }
-  }
-?&gt;
<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 SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click