aboutsummaryrefslogtreecommitdiff
path: root/themes/new/include/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'themes/new/include/functions.php')
-rw-r--r--themes/new/include/functions.php34
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