Added new template mechanism.

This commit is contained in:
JT Smith 2002-05-27 04:05:49 +00:00
parent a9b0821d99
commit 14c7e01759
8 changed files with 2 additions and 2 deletions

View file

@ -103,13 +103,13 @@ sub selectTemplate {
$templates{$key} =~ s/\n//g;
$templates{$key} =~ s/\r//g;
$templates{$key} =~ s/\'/\\\'/g;
$templates{$key} =~ s/\<table.*?\>/\<table\ border\=1>/ig;
$templates{$key} =~ s/\<table.*?\>/\<table cellspacing=0 cellpadding=3 width=60 height=80 border=1\>/ig;
$templates{$key} =~ s/\^(\d+)\;/$1/g;
$output .= " var b".$key." = '".$templates{$key}."';\n";
}
$output .= '</script>';
$output .= $f->printRowsOnly;
$output .= '<div id="templatePreview"></div>';
$output .= '<div id="templatePreview" style="padding: 5px;"></div>';
return $output;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB