Patch by Christian Reis <kiko@async.com.br>
r= gerv@mozilla.org, jake@acutex.net
}
+# Putfooter echoes footerhtml and by default prints closing tags
+#
+# param
+# dontclose (boolean): avoid sending </body></html>
+#
+# Example:
+# Putfooter(); # normal close
+# Putfooter(1); # don't send closing tags
+
sub PutFooter {
+ my ( $dontclose ) = @_;
print PerformSubsts(Param("footerhtml"));
+ print "\n</body></html>\n" if ( ! $dontclose );
SyncAnyPendingShadowChanges();
}