webgui/lib/WebGUI/Template/Default.pm
2002-05-07 01:51:07 +00:00

51 lines
1.6 KiB
Perl

package WebGUI::Template::Default;
#####################################################################
#####################################################################
# NOTICE: Use of this subsystem is depricated and is not recommended.
#####################################################################
#####################################################################
our $namespace = "Default";
#-------------------------------------------------------------------
# WebGUI is Copyright 2001-2002 Plain Black Software.
#-------------------------------------------------------------------
# Please read the legal notices (docs/legal.txt) and the license
# (docs/license.txt) that came with this distribution before using
# this software.
#-------------------------------------------------------------------
# http://www.plainblack.com info@plainblack.com
#-------------------------------------------------------------------
use strict;
use WebGUI::International;
use WebGUI::Template;
#-------------------------------------------------------------------
sub generate {
my ($output, $content);
$content = $_[0];
$output = '<table cellpadding="0" cellspacing="0" border="0" width="100%">';
$output .= '<tr><td valign="top" class="content">';
$output .= ${$content}{A};
$output .= '</td></tr></table>';
return $output;
}
#-------------------------------------------------------------------
sub name {
return WebGUI::International::get(355);
}
#-------------------------------------------------------------------
sub getPositions {
return WebGUI::Template::calculatePositions('A');
}
1;