made Print_Heading more general

This commit is contained in:
martin
2001-11-29 03:11:16 +00:00
parent 0d1a6b9226
commit 2a46a71bf3
+2 -2
View File
@@ -56,8 +56,8 @@ function print_navigation ($navigation) {
}
}
function print_heading($heading) {
echo "<P ALIGN=CENTER><FONT SIZE=4><B>$heading</B></FONT></P>";
function print_heading($text, $align="CENTER", $size=3) {
echo "<P ALIGN=\"$align\"><FONT SIZE=\"$size\"><B>$text</B></FONT></P>";
}
function print_simple_box($message, $align="", $width="", $color="#FFFFFF", $padding=5) {