From 0077cb99704fe863cf731fc5cab792af2ede96c2 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 17 Apr 2011 20:13:07 -0400 Subject: Backporting retarded amount of changes outside of version control --- themes/throwback/include/functions.php | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 themes/throwback/include/functions.php (limited to 'themes/throwback/include/functions.php') diff --git a/themes/throwback/include/functions.php b/themes/throwback/include/functions.php new file mode 100644 index 0000000..afcd130 --- /dev/null +++ b/themes/throwback/include/functions.php @@ -0,0 +1,38 @@ +"; + } + + /** + * CloseContent() + * Closes a Bayonet site content block. + * @return + */ + function CloseContent() + { + echo ""; + } + + function OpenBlock($title = 'New Block') + { + OpenContent(); + echo "
{$title}
"; + echo "
"; + } + + function CloseBlock() + { + echo "
"; + CloseContent(); + } + +?> \ No newline at end of file -- cgit