[TEP-COMMIT] [CVS admin] remove the table block class
hpdl-OfajU3CKLf1/[email protected] 28 Oct 2004 19:14:33 -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></td><td align="right" id="removed">-3</td><td nowrap="nowrap" align="center"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php?rev=1.177&content-type=text/vnd.viewcvs-markup">1.177</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php.diff?r1=1.177&r2=1.178">-></a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php?rev=1.178&content-type=text/vnd.viewcvs-markup">1.178</a></td></tr>
<tr class="alt"><td><tt>classes/<span id="removed">table_block.php</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/classes/table_block.php?rev=1.8&content-type=text/vnd.viewcvs-markup">1.8</a> removed</td></tr>
<tr><td></td><td></td><td align="right" id="removed">-3</td><td></td></tr>
</table>
<small id="info">1 removed + 1 modified, total 2 files</small><br />
<pre class="comment">
remove the table block 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.177&content-type=text/vnd.viewcvs-markup">1.177</a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php.diff?r1=1.177&r2=1.178">-></a> <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/application_top.php?rev=1.178&content-type=text/vnd.viewcvs-markup">1.178</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.177 -r1.178
--- application_top.php 2004/10/28 19:00:17 1.177
+++ application_top.php 2004/10/28 19:14:26 1.178
@@ -119,9 +119,6 @@
</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; PENDING REMOVAL (dependencies: messageStack class)
- require('includes/classes/table_block.php');
-
</pre><pre class="diff" id="context"> // initialize the message stack for output messages
require('../includes/classes/message_stack.php');
$osC_MessageStack = new messageStack();
</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>table_block.php</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/classes/table_block.php?rev=1.8&content-type=text/vnd.viewcvs-markup">1.8</a></small></div>
<pre class="diff"><small id="info">diff -N table_block.php
--- /tmp/cvsAAAN1a4qw Thu Oct 28 21:14:29 2004
+++ /dev/null Thu Oct 28 21:14:28 2004
@@ -1,80 +0,0 @@
</small></pre><pre class="diff" id="removed">-<?php
-/*
- $Id$
-
- osCommerce, Open Source E-Commerce Solutions
- http://www.oscommerce.com
-
- Copyright (c) 2003 osCommerce
-
- Released under the GNU General Public License
-*/
-
- class tableBlock {
- var $table_border = '0';
- var $table_width = '100%';
- var $table_cellspacing = '0';
- var $table_cellpadding = '2';
- var $table_parameters = '';
- var $table_row_parameters = '';
- var $table_data_parameters = '';
-
- function tableBlock($contents) {
- $tableBox_string = '';
-
- $form_set = false;
- if (isset($contents['form'])) {
- $tableBox_string .= $contents['form'] . "\n";
- $form_set = true;
- array_shift($contents);
- }
-
- $tableBox_string .= '<table border="' . $this->table_border . '" width="' . $this->table_width . '" cellspacing="' . $this->table_cellspacing . '" cellpadding="' . $this->table_cellpadding . '"';
- if (tep_not_null($this->table_parameters)) $tableBox_string .= ' ' . $this->table_parameters;
- $tableBox_string .= '>' . "\n";
-
- for ($i=0, $n=sizeof($contents); $i<$n; $i++) {
- $tableBox_string .= ' <tr';
- if (tep_not_null($this->table_row_parameters)) $tableBox_string .= ' ' . $this->table_row_parameters;
- if (isset($contents[$i]['params']) && tep_not_null($contents[$i]['params'])) $tableBox_string .= ' ' . $contents[$i]['params'];
- $tableBox_string .= '>' . "\n";
-
- if (isset($contents[$i][0]) && is_array($contents[$i][0])) {
- for ($x=0, $y=sizeof($contents[$i]); $x<$y; $x++) {
- if (isset($contents[$i][$x]['text']) && tep_not_null(isset($contents[$i][$x]['text']))) {
- $tableBox_string .= ' <td';
- if (isset($contents[$i][$x]['align']) && tep_not_null($contents[$i][$x]['align'])) $tableBox_string .= ' align="' . $contents[$i][$x]['align'] . '"';
- if (isset($contents[$i][$x]['params']) && tep_not_null(isset($contents[$i][$x]['params']))) {
- $tableBox_string .= ' ' . $contents[$i][$x]['params'];
- } elseif (tep_not_null($this->table_data_parameters)) {
- $tableBox_string .= ' ' . $this->table_data_parameters;
- }
- $tableBox_string .= '>';
- if (isset($contents[$i][$x]['form']) && tep_not_null($contents[$i][$x]['form'])) $tableBox_string .= $contents[$i][$x]['form'];
- $tableBox_string .= $contents[$i][$x]['text'];
- if (isset($contents[$i][$x]['form']) && tep_not_null($contents[$i][$x]['form'])) $tableBox_string .= '</form>';
- $tableBox_string .= '</td>' . "\n";
- }
- }
- } else {
- $tableBox_string .= ' <td';
- if (isset($contents[$i]['align']) && tep_not_null($contents[$i]['align'])) $tableBox_string .= ' align="' . $contents[$i]['align'] . '"';
- if (isset($contents[$i]['params']) && tep_not_null($contents[$i]['params'])) {
- $tableBox_string .= ' ' . $contents[$i]['params'];
- } elseif (tep_not_null($this->table_data_parameters)) {
- $tableBox_string .= ' ' . $this->table_data_parameters;
- }
- $tableBox_string .= '>' . $contents[$i]['text'] . '</td>' . "\n";
- }
-
- $tableBox_string .= ' </tr>' . "\n";
- }
-
- $tableBox_string .= '</table>' . "\n";
-
- if ($form_set == true) $tableBox_string .= '</form>' . "\n";
-
- return $tableBox_string;
- }
- }
-?>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.9</small></center>
</body></html>
-------------------------------------------------------
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/