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/default/include/functions.php | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 themes/default/include/functions.php (limited to 'themes/default/include/functions.php') diff --git a/themes/default/include/functions.php b/themes/default/include/functions.php new file mode 100644 index 0000000..4a401fd --- /dev/null +++ b/themes/default/include/functions.php @@ -0,0 +1,40 @@ +"; + echo "
"; + } + + /** + * CloseContent() + * Closes a Bayonet site content block. + * @return + */ + function CloseContent() + { + echo "
"; + echo ""; + } + + function OpenBlock($title = 'New Block') + { + OpenContent(); + echo "
{$title}
"; + echo "
"; + } + + function CloseBlock() + { + echo "
"; + CloseContent(); + } + +?> \ No newline at end of file -- cgit