diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2011-04-17 20:13:07 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2011-04-17 20:13:07 -0400 |
commit | 0077cb99704fe863cf731fc5cab792af2ede96c2 (patch) | |
tree | dd68f44971aa2aee821f588d33b250dcd2fe57e3 /themes/new/include/functions.php | |
parent | e8b28c5e910d92cbec3d4baa6e98f025e8418d28 (diff) | |
download | bayonetcms-0077cb99704fe863cf731fc5cab792af2ede96c2.tar.gz |
Backporting retarded amount of changes outside of version control
Diffstat (limited to 'themes/new/include/functions.php')
-rw-r--r-- | themes/new/include/functions.php | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/themes/new/include/functions.php b/themes/new/include/functions.php new file mode 100644 index 0000000..ec2e6e2 --- /dev/null +++ b/themes/new/include/functions.php @@ -0,0 +1,34 @@ +<?php + + /* EVERY THEME SHOULD HAVE THIS FILE WITH THE FUNCTIONS OPENCONTENT() & CLOSECONTENT() */ + + /** + * OpenContent() + * Opens a Bayonet site content block. + * @return + */ + function OpenContent() + { + echo "OPEN CONTENT<br />"; + } + + /** + * CloseContent() + * Closes a Bayonet site content block. + * @return + */ + function CloseContent() + { + echo "CLOSE CONTENT<br />"; + } + + function OpenBlock($title = 'New Block') + { + echo "<h2 class=\"widgettitle\"><span>{$title}</span></h2>"; + } + + function CloseBlock() + { + } + +?>
\ No newline at end of file |