here is an extract of my menu.tpl
Code:
<DIV style="padding-left: 5px;">
{php}
$menuborder = new PhpMyBorder();
echo $menuborder -> begin("180","ffffff","ffffff"); //(width, fillcolor, edgecolor)
{/php}
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
.........
........
</TABLE>
{php}
echo $menuborder -> end();
{/php}
</DIV>
you do a very similar thing for the dialog.tpl:
Code:
{* $Id: dialog.tpl,v 1.19 2004/06/24 09:53:29 max Exp $ *}
{if $printable ne ''}
{include file="dialog_printable.tpl"}
{else}
{php}
$pmbdialogborder = new PhpMyBorder();
echo $pmbdialogborder -> begin("590","FFFFFF","FFFFFF"); // (width, fillcolor, edgecolor)
{/php}
<TABLE border="0" cellpadding="0" cellspacing="0" {$extra}>
......
......
</TABLE>
{php}
echo $pmbdialogborder -> end();
{/php}
{/if}
remember to include the class file somewhere where it will get called - i just called it from the end of func.php.
cheers
steve