aboutsummaryrefslogtreecommitdiff
path: root/themes/default/include
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2011-04-17 20:13:07 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2011-04-17 20:13:07 -0400
commit0077cb99704fe863cf731fc5cab792af2ede96c2 (patch)
treedd68f44971aa2aee821f588d33b250dcd2fe57e3 /themes/default/include
parente8b28c5e910d92cbec3d4baa6e98f025e8418d28 (diff)
downloadbayonetcms-0077cb99704fe863cf731fc5cab792af2ede96c2.tar.gz
Backporting retarded amount of changes outside of version control
Diffstat (limited to 'themes/default/include')
-rw-r--r--themes/default/include/functions.php40
-rw-r--r--themes/default/include/style_bbcode.css142
2 files changed, 111 insertions, 71 deletions
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 @@
+<?php
+
+ /* EVERY THEME SHOULD HAVE THIS FILE WITH THE FUNCTIONS OPENCONTENT() & CLOSECONTENT() */
+
+ /**
+ * OpenContent()
+ * Opens a Bayonet site content block.
+ * @return
+ */
+ function OpenContent()
+ {
+ echo "<div class=\"contentBorder1\">";
+ echo "<div class=\"contentBorder2\">";
+ }
+
+ /**
+ * CloseContent()
+ * Closes a Bayonet site content block.
+ * @return
+ */
+ function CloseContent()
+ {
+ echo "</div>";
+ echo "</div>";
+ }
+
+ function OpenBlock($title = 'New Block')
+ {
+ OpenContent();
+ echo "<div class=\"contentHeading\">{$title}</div>";
+ echo "<div class=\"content\">";
+ }
+
+ function CloseBlock()
+ {
+ echo "</div>";
+ CloseContent();
+ }
+
+?> \ No newline at end of file
diff --git a/themes/default/include/style_bbcode.css b/themes/default/include/style_bbcode.css
index 7299c06..05333f9 100644
--- a/themes/default/include/style_bbcode.css
+++ b/themes/default/include/style_bbcode.css
@@ -1,71 +1,71 @@
-.bold {
- font-weight: bold;
-}
-
-.italics {
- font-style: italic;
-}
-
-.underline {
- text-decoration: underline;
-}
-
-.strikethrough {
- text-decoration: line-through;
-}
-
-.overline {
- text-decoration: overline;
-}
-
-.quotecodeheader {
- font-family: Verdana, arial, helvetica, sans-serif;
- font-size: 12px;
- font-weight: bold;
-}
-
-.codebody {
- background-color: #FFFFFF;
- font-family: Courier new, courier, mono;
- font-size: 12px;
- color: #006600;
- border: 1px solid #BFBFBF;
-}
-
-.quotebody {
- background-color: #FFFFFF;
- font-family: Courier new, courier, mono;
- font-size: 12px;
- color: #660002;
- border: 1px solid #BFBFBF;
-}
-
-.listbullet {
- list-style-type: disc;
- list-style-position: inside;
-}
-
-.listdecimal {
- list-style-type: decimal;
- list-style-position: inside;
-}
-
-.listlowerroman {
- list-style-type: lower-roman;
- list-style-position: inside;
-}
-
-.listupperroman {
- list-style-type: upper-roman;
- list-style-position: inside;
-}
-
-.listloweralpha {
- list-style-type: lower-alpha;
- list-style-position: inside;
-}
-
-.listupperalpha {
- list-style-type: upper-alpha;
- list-style-position: inside;
-}
+.bold {
+ font-weight: bold;
+}
+
+.italics {
+ font-style: italic;
+}
+
+.underline {
+ text-decoration: underline;
+}
+
+.strikethrough {
+ text-decoration: line-through;
+}
+
+.overline {
+ text-decoration: overline;
+}
+
+.quotecodeheader {
+ font-family: Verdana, arial, helvetica, sans-serif;
+ font-size: 12px;
+ font-weight: bold;
+}
+
+.codebody {
+ background-color: #FFFFFF;
+ font-family: Courier new, courier, mono;
+ font-size: 12px;
+ color: #006600;
+ border: 1px solid #BFBFBF;
+}
+
+.quotebody {
+ background-color: #FFFFFF;
+ font-family: Courier new, courier, mono;
+ font-size: 12px;
+ color: #660002;
+ border: 1px solid #BFBFBF;
+}
+
+.listbullet {
+ list-style-type: disc;
+ list-style-position: inside;
+}
+
+.listdecimal {
+ list-style-type: decimal;
+ list-style-position: inside;
+}
+
+.listlowerroman {
+ list-style-type: lower-roman;
+ list-style-position: inside;
+}
+
+.listupperroman {
+ list-style-type: upper-roman;
+ list-style-position: inside;
+}
+
+.listloweralpha {
+ list-style-type: lower-alpha;
+ list-style-position: inside;
+}
+
+.listupperalpha {
+ list-style-type: upper-alpha;
+ list-style-position: inside;
+}