diff options
author | 3rd Infantry Division <thirdid@3rd-infantry-division.org> | 2011-04-18 16:29:05 -0400 |
---|---|---|
committer | 3rd Infantry Division <thirdid@3rd-infantry-division.org> | 2011-04-18 16:29:05 -0400 |
commit | ea0080efe5a38a470d4f745ca589e923efc35e5c (patch) | |
tree | c6604647d51c0e81168e7dbaba9f73385edc02ee /themes/new/include/functions.php | |
parent | fa1cde8684c1a481dd251398d1c2faa27d147a43 (diff) | |
parent | 0077cb99704fe863cf731fc5cab792af2ede96c2 (diff) | |
download | bayonetcms-ea0080efe5a38a470d4f745ca589e923efc35e5c.tar.gz |
Merge branch 'master' of ssh://3rd-infantry-division.org/~/git/bayonet
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 |