[TEP-COMMIT] [CVS catalog] temporary method to display messageStack messages in a plain manner
anonymous-OfajU3CKLf1/[email protected] 13 Apr 2004 07:56:44 -0000
| Newsgroups | gmane.comp.web.oscommerce.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit in catalog/catalog/includes/classes on MAIN
message_stack.php +13 1.5 -> 1.6
temporary method to display messageStack messages in a plain manner
----------
catalog /catalog /includes /classes
message_stack.php 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- message_stack.php 2004/02/16 07:08:16 1.5
+++ message_stack.php 2004/04/13 07:56:42 1.6
@@ -69,6 +69,19 @@
return '<div class="messageStack">' . $messages . '</div>';
}
+ function outputPlain($class) {
+ $message = false;
+
+ for ($i=0, $n=sizeof($this->messages); $i<$n; $i++) {
+ if ($this->messages[$i]['class'] == $class) {
+ $message = tep_output_string($this->messages[$i]['message']);
+ break;
+ }
+ }
+
+ return $message;
+ }
+
function size($class) {
$class_size = 0;
CVSspam 0.2.8
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click