I have finally got the chance to have a play about with SME V6.0b2. First
impressions are I like it. I found however that several web panels that I
had written that utilise tables no longer worked correctly. After a couple
of hours investigation I found that the cgi.pm had differences between <
V6.0 and V6.0, particularly in the areas of tables and
esmith::cgi::genSmallCell.
For those of you that have developed web panels that use tables the fix is
minor.

Replace

print $q->table ({border => 1, cellspacing => 1, cellpadding => 4});

with

print $q->start_table ({-CLASS => "sme-border"});

esmith::cgi::genSmallCell has also changed for the better. You now have the
ability to grey fill the header and span a header across as many columns as
you like.

The old format was

genSmallCell($q, $text)

the new format is

genSmallCell($q, $text, $type, $colspan)

where $type can be
"normal" which creates a normal cell
"header" which creates a grey filled cell

$colspan is the number of columns a cell is to span.


Jon Blakely
Computer Troubleshooters -Howick
New Zealand
+64 21 232 6419
[EMAIL PROTECTED]

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.500 / Virus Database: 298 - Release Date: 7/10/2003


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to