Initial commit to master branch 2.4
authorkjodle <kenneth.odle@gmail.com>
Sun, 9 Jul 2017 17:45:39 +0000 (13:45 -0400)
committerkjodle <kenneth.odle@gmail.com>
Sun, 9 Jul 2017 17:45:39 +0000 (13:45 -0400)
83 files changed:
css/bs-mw-thick-thick.css [new file with mode: 0644]
css/bs-mw-thick-thin.css [new file with mode: 0644]
css/bs-mw-thin-thick.css [new file with mode: 0644]
css/bs-mw-thin-thin.css [new file with mode: 0644]
css/bs-round-double.css [new file with mode: 0644]
css/bs-round-single-thick.css [new file with mode: 0644]
css/bs-round-single-thin.css [new file with mode: 0644]
css/bs-square-double.css [new file with mode: 0644]
css/bs-square-single-thick.css [new file with mode: 0644]
css/bs-square-single-thin.css [new file with mode: 0644]
css/cs-aqua.css [new file with mode: 0644]
css/cs-bark.css [new file with mode: 0644]
css/cs-beach.css [new file with mode: 0644]
css/cs-business.css [new file with mode: 0644]
css/cs-bw.css [new file with mode: 0644]
css/cs-default.css [new file with mode: 0644]
css/cs-forest.css [new file with mode: 0644]
css/cs-leaves.css [new file with mode: 0644]
css/cs-magique.css [new file with mode: 0644]
css/cs-sol.css [new file with mode: 0644]
css/cs-solstice.css [new file with mode: 0644]
css/cs-winter.css [new file with mode: 0644]
css/d12mb-admin.css [new file with mode: 0755]
css/d12mb-mobile.css [new file with mode: 0755]
css/style.css [new file with mode: 0644]
d12-message-blocks.php [new file with mode: 0644]
d12mb-tinymce-plugin-langs.php [new file with mode: 0644]
examples/example01.png [new file with mode: 0644]
examples/example02.png [new file with mode: 0644]
examples/example03.png [new file with mode: 0644]
examples/example04.png [new file with mode: 0644]
examples/example05.png [new file with mode: 0644]
examples/example06.png [new file with mode: 0644]
examples/example07.png [new file with mode: 0644]
examples/example08.png [new file with mode: 0644]
examples/example09.png [new file with mode: 0644]
examples/example10.png [new file with mode: 0644]
icons/acorn.png [new file with mode: 0644]
icons/archive.png [new file with mode: 0644]
icons/attach.png [new file with mode: 0644]
icons/caution.png [new file with mode: 0644]
icons/cog.png [new file with mode: 0644]
icons/contact.png [new file with mode: 0644]
icons/cross.png [new file with mode: 0644]
icons/delete.png [new file with mode: 0644]
icons/error.png [new file with mode: 0644]
icons/film.png [new file with mode: 0644]
icons/global.png [new file with mode: 0644]
icons/green.png [new file with mode: 0644]
icons/important.png [new file with mode: 0644]
icons/mentions.png [new file with mode: 0644]
icons/notice.png [new file with mode: 0644]
icons/okay.png [new file with mode: 0644]
icons/statistics.png [new file with mode: 0644]
icons/support.png [new file with mode: 0644]
icons/update.png [new file with mode: 0644]
icons/warning.png [new file with mode: 0644]
images/acorn.png [new file with mode: 0644]
images/archive.png [new file with mode: 0644]
images/attach.png [new file with mode: 0644]
images/caution.png [new file with mode: 0644]
images/cog.png [new file with mode: 0644]
images/contact.png [new file with mode: 0644]
images/cross.png [new file with mode: 0644]
images/delete.png [new file with mode: 0644]
images/error.png [new file with mode: 0644]
images/film.png [new file with mode: 0644]
images/global.png [new file with mode: 0644]
images/green.png [new file with mode: 0644]
images/important.png [new file with mode: 0644]
images/mentions.png [new file with mode: 0644]
images/notice.png [new file with mode: 0644]
images/okay.png [new file with mode: 0644]
images/statistics.png [new file with mode: 0644]
images/support.png [new file with mode: 0644]
images/update.png [new file with mode: 0644]
images/warning.png [new file with mode: 0644]
js/d12-mb-mce-button-2.png [new file with mode: 0644]
js/d12-mb-mce-button.png [new file with mode: 0644]
js/d12mb - Copy.js [new file with mode: 0644]
js/d12mb.js [new file with mode: 0644]
plugin-options.php [new file with mode: 0644]
readme.txt [new file with mode: 0644]

diff --git a/css/bs-mw-thick-thick.css b/css/bs-mw-thick-thick.css
new file mode 100644 (file)
index 0000000..165b70e
--- /dev/null
@@ -0,0 +1,18 @@
+.d12-block {\r
+       margin: 10px auto;\r
+       width: 85%;\r
+       border: solid 2px #000;\r
+       border-radius: 0px;\r
+       border-left-width: 8px;\r
+       padding: 10px 10px 10px 54px;\r
+       }\r
+.d12-block p:first-child {\r
+       margin-top: 0px;\r
+       border-bottom: solid 1px #000;\r
+       padding-bottom: 5px;\r
+       margin-bottom: 5px;\r
+       font-size: 1.2em;\r
+       }\r
+.d12-block ul {\r
+       margin-left: 14px !important;\r
+       }\r
diff --git a/css/bs-mw-thick-thin.css b/css/bs-mw-thick-thin.css
new file mode 100644 (file)
index 0000000..047b44e
--- /dev/null
@@ -0,0 +1,18 @@
+.d12-block {\r
+       margin: 10px auto;\r
+       width: 85%;\r
+       border: solid 1px #000;\r
+       border-radius: 0px;\r
+       border-left-width: 8px;\r
+       padding: 10px 10px 10px 54px;\r
+       }\r
+.d12-block p:first-child {\r
+       margin-top: 0px;\r
+       border-bottom: solid 1px #000;\r
+       padding-bottom: 5px;\r
+       margin-bottom: 5px;\r
+       font-size: 1.2em;\r
+       }\r
+.d12-block ul {\r
+       margin-left: 14px !important;\r
+       }\r
diff --git a/css/bs-mw-thin-thick.css b/css/bs-mw-thin-thick.css
new file mode 100644 (file)
index 0000000..05653a1
--- /dev/null
@@ -0,0 +1,18 @@
+.d12-block {\r
+       margin: 10px auto;\r
+       width: 85%;\r
+       border: solid 2px #000;\r
+       border-radius: 0px;\r
+       border-left-width: 4px;\r
+       padding: 10px 10px 10px 54px;\r
+       }\r
+.d12-block p:first-child {\r
+       margin-top: 0px;\r
+       border-bottom: solid 1px #000;\r
+       padding-bottom: 5px;\r
+       margin-bottom: 5px;\r
+       font-size: 1.2em;\r
+       }\r
+.d12-block ul {\r
+       margin-left: 14px !important;\r
+       }\r
diff --git a/css/bs-mw-thin-thin.css b/css/bs-mw-thin-thin.css
new file mode 100644 (file)
index 0000000..e40c575
--- /dev/null
@@ -0,0 +1,18 @@
+.d12-block {\r
+       margin: 10px auto;\r
+       width: 85%;\r
+       border: solid 1px #000;\r
+       border-radius: 0px;\r
+       border-left-width: 4px;\r
+       padding: 10px 10px 10px 54px;\r
+       }\r
+.d12-block p:first-child {\r
+       margin-top: 0px;\r
+       border-bottom: solid 1px #000;\r
+       padding-bottom: 5px;\r
+       margin-bottom: 5px;\r
+       font-size: 1.2em;\r
+       }\r
+.d12-block ul {\r
+       margin-left: 14px !important;\r
+       }\r
diff --git a/css/bs-round-double.css b/css/bs-round-double.css
new file mode 100644 (file)
index 0000000..99cd0ce
--- /dev/null
@@ -0,0 +1,17 @@
+.d12-block {\r
+       margin: 10px auto;\r
+       width: 85%;\r
+       border: double 3px #000;\r
+       border-radius: 4px;\r
+       padding: 10px 10px 10px 54px;\r
+       }\r
+.d12-block p:first-child {\r
+       margin-top: 0px;\r
+       border-bottom: solid 1px #000;\r
+       padding-bottom: 5px;\r
+       margin-bottom: 5px;\r
+       font-size: 1.2em;\r
+       }\r
+.d12-block ul {\r
+       margin-left: 14px !important;\r
+       }\r
diff --git a/css/bs-round-single-thick.css b/css/bs-round-single-thick.css
new file mode 100644 (file)
index 0000000..c982100
--- /dev/null
@@ -0,0 +1,17 @@
+.d12-block {\r
+       margin: 10px auto;\r
+       width: 85%;\r
+       border: solid 2px #000;\r
+       border-radius: 4px;\r
+       padding: 10px 10px 10px 54px;\r
+       }\r
+.d12-block p:first-child {\r
+       margin-top: 0px;\r
+       border-bottom: solid 1px #000;\r
+       padding-bottom: 5px;\r
+       margin-bottom: 5px;\r
+       font-size: 1.2em;\r
+       }\r
+.d12-block ul {\r
+       margin-left: 14px !important;\r
+       }\r
diff --git a/css/bs-round-single-thin.css b/css/bs-round-single-thin.css
new file mode 100644 (file)
index 0000000..c7f3f65
--- /dev/null
@@ -0,0 +1,17 @@
+.d12-block {\r
+       margin: 10px auto;\r
+       width: 85%;\r
+       border: solid 1px #000;\r
+       border-radius: 4px;\r
+       padding: 10px 10px 10px 54px;\r
+       }\r
+.d12-block p:first-child {\r
+       margin-top: 0px;\r
+       border-bottom: solid 1px #000;\r
+       padding-bottom: 5px;\r
+       margin-bottom: 5px;\r
+       font-size: 1.2em;\r
+       }\r
+.d12-block ul {\r
+       margin-left: 14px !important;\r
+       }\r
diff --git a/css/bs-square-double.css b/css/bs-square-double.css
new file mode 100644 (file)
index 0000000..95a5505
--- /dev/null
@@ -0,0 +1,17 @@
+.d12-block {\r
+       margin: 10px auto;\r
+       width: 85%;\r
+       border: double 3px #000;\r
+       border-radius: 0px;\r
+       padding: 10px 10px 10px 54px;\r
+       }\r
+.d12-block p:first-child {\r
+       margin-top: 0px;\r
+       border-bottom: solid 1px #000;\r
+       padding-bottom: 5px;\r
+       margin-bottom: 5px;\r
+       font-size: 1.2em;\r
+       }\r
+.d12-block ul {\r
+       margin-left: 14px !important;\r
+       }\r
diff --git a/css/bs-square-single-thick.css b/css/bs-square-single-thick.css
new file mode 100644 (file)
index 0000000..72dff67
--- /dev/null
@@ -0,0 +1,17 @@
+.d12-block {\r
+       margin: 10px auto;\r
+       width: 85%;\r
+       border: solid 2px #000;\r
+       border-radius: 0px;\r
+       padding: 10px 10px 10px 54px;\r
+       }\r
+.d12-block p:first-child {\r
+       margin-top: 0px;\r
+       border-bottom: solid 1px #000;\r
+       padding-bottom: 5px;\r
+       margin-bottom: 5px;\r
+       font-size: 1.2em;\r
+       }\r
+.d12-block ul {\r
+       margin-left: 14px !important;\r
+       }\r
diff --git a/css/bs-square-single-thin.css b/css/bs-square-single-thin.css
new file mode 100644 (file)
index 0000000..1f351b6
--- /dev/null
@@ -0,0 +1,17 @@
+.d12-block {\r
+       margin: 10px auto;\r
+       width: 85%;\r
+       border: solid 1px #000;\r
+       border-radius: 0px;\r
+       padding: 10px 10px 10px 54px;\r
+       }\r
+.d12-block p:first-child {\r
+       margin-top: 0px;\r
+       border-bottom: solid 1px #000;\r
+       padding-bottom: 5px;\r
+       margin-bottom: 5px;\r
+       font-size: 1.2em;\r
+       }\r
+.d12-block ul {\r
+       margin-left: 14px !important;\r
+       }\r
diff --git a/css/cs-aqua.css b/css/cs-aqua.css
new file mode 100644 (file)
index 0000000..26c5a36
--- /dev/null
@@ -0,0 +1,187 @@
+/*\r
+       Don't need this class right now, but let's save it.\r
+       We can use it in future updates. \r
+       Plugin adopters can also style this text using a child theme.\r
+*/\r
+.d12-sc-text {\r
+       }\r
+\r
+/* Nutshell */\r
+.d12-nutshell {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/acorn.png) no-repeat 10px 10px;\r
+       }\r
+.d12-nutshell p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Updates */\r
+.d12-update {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/update.png) no-repeat 10px 10px;\r
+       }\r
+.d12-update p:first-child {\r
+       color: #3399FF;\r
+       border-color: #F3F9FF;\r
+       }\r
+\r
+/* Attachments */\r
+.d12-attach {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/attach.png) no-repeat 10px 10px;\r
+       }\r
+.d12-attach p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Deletion */\r
+.d12-delete {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/delete.png) no-repeat 10px 10px;\r
+       }\r
+.d12-delete p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Part of a Series */\r
+.d12-part {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/cog.png) no-repeat 10px 10px;\r
+       }\r
+.d12-part p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Mentions */\r
+.d12-mention {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/mentions.png) no-repeat 10px 10px;\r
+       }\r
+.d12-mention p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Warning */\r
+.d12-warning {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/warning.png) no-repeat 10px 10px;\r
+       }\r
+.d12-warning p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Important */\r
+.d12-important {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/important.png) no-repeat 10px 10px;\r
+       }\r
+.d12-important p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Notice */\r
+.d12-notice {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/notice.png) no-repeat 10px 10px;\r
+       }\r
+.d12-notice p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Error */\r
+.d12-error {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/error.png) no-repeat 10px 10px;\r
+       }\r
+.d12-error p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Caution */\r
+.d12-caution {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/caution.png) no-repeat 10px 10px;\r
+       }\r
+.d12-caution p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Archive */\r
+.d12-archive {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/archive.png) no-repeat 10px 10px;\r
+       }\r
+.d12-archive p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Support */\r
+.d12-support {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/support.png) no-repeat 10px 10px;\r
+       }\r
+.d12-support p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Contact */\r
+.d12-contact {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/contact.png) no-repeat 10px 10px;\r
+       }\r
+.d12-contact p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Global */\r
+.d12-global {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/global.png) no-repeat 10px 10px;\r
+       }\r
+.d12-global p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Green */\r
+.d12-green {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/green.png) no-repeat 10px 10px;\r
+       }\r
+.d12-green p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Accept */\r
+.d12-accept {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/okay.png) no-repeat 10px 10px;\r
+       }\r
+.d12-accept p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
+\r
+/* Stats */\r
+.d12-stats {\r
+       border-color: #3399FF;\r
+       background: #F3F9FF url(../images/statistics.png) no-repeat 10px 10px;\r
+       }\r
+.d12-stats p:first-child {\r
+       color: #3399FF;\r
+       border-color: #3399FF;\r
+       }\r
diff --git a/css/cs-bark.css b/css/cs-bark.css
new file mode 100644 (file)
index 0000000..c16d10c
--- /dev/null
@@ -0,0 +1,188 @@
+/*\r
+       Don't need this class right now, but let's save it.\r
+       We can use it in future updates. \r
+       Plugin adopters can also style this text using a child theme.\r
+*/\r
+.d12-sc-text {\r
+       color: #fff;\r
+       }\r
+\r
+/* Nutshell */\r
+.d12-nutshell {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/acorn.png) no-repeat 10px 10px;\r
+       }\r
+.d12-nutshell p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Updates */\r
+.d12-update {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/update.png) no-repeat 10px 10px;\r
+       }\r
+.d12-update p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #704214;\r
+       }\r
+\r
+/* Attachments */\r
+.d12-attach {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/attach.png) no-repeat 10px 10px;\r
+       }\r
+.d12-attach p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Deletion */\r
+.d12-delete {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/delete.png) no-repeat 10px 10px;\r
+       }\r
+.d12-delete p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Part of a Series */\r
+.d12-part {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/cog.png) no-repeat 10px 10px;\r
+       }\r
+.d12-part p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Mentions */\r
+.d12-mention {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/mentions.png) no-repeat 10px 10px;\r
+       }\r
+.d12-mention p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Warning */\r
+.d12-warning {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/warning.png) no-repeat 10px 10px;\r
+       }\r
+.d12-warning p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Important */\r
+.d12-important {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/important.png) no-repeat 10px 10px;\r
+       }\r
+.d12-important p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Notice */\r
+.d12-notice {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/notice.png) no-repeat 10px 10px;\r
+       }\r
+.d12-notice p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Error */\r
+.d12-error {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/error.png) no-repeat 10px 10px;\r
+       }\r
+.d12-error p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Caution */\r
+.d12-caution {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/caution.png) no-repeat 10px 10px;\r
+       }\r
+.d12-caution p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Archive */\r
+.d12-archive {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/archive.png) no-repeat 10px 10px;\r
+       }\r
+.d12-archive p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Support */\r
+.d12-support {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/support.png) no-repeat 10px 10px;\r
+       }\r
+.d12-support p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Contact */\r
+.d12-contact {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/contact.png) no-repeat 10px 10px;\r
+       }\r
+.d12-contact p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Global */\r
+.d12-global {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/global.png) no-repeat 10px 10px;\r
+       }\r
+.d12-global p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Green */\r
+.d12-green {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/green.png) no-repeat 10px 10px;\r
+       }\r
+.d12-green p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Accept */\r
+.d12-accept {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/okay.png) no-repeat 10px 10px;\r
+       }\r
+.d12-accept p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
+\r
+/* Stats */\r
+.d12-stats {\r
+       border-color: #E5DDD4;\r
+       background: #704214 url(../images/statistics.png) no-repeat 10px 10px;\r
+       }\r
+.d12-stats p:first-child {\r
+       color: #E5DDD4;\r
+       border-color: #E5DDD4;\r
+       }\r
diff --git a/css/cs-beach.css b/css/cs-beach.css
new file mode 100644 (file)
index 0000000..e33f1d4
--- /dev/null
@@ -0,0 +1,187 @@
+/*\r
+       Don't need this class right now, but let's save it.\r
+       We can use it in future updates. \r
+       Plugin adopters can also style this text using a child theme.\r
+*/\r
+.d12-sc-text {\r
+       }\r
+\r
+/* Nutshell */\r
+.d12-nutshell {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/acorn.png) no-repeat 10px 10px;\r
+       }\r
+.d12-nutshell p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Updates */\r
+.d12-update {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/update.png) no-repeat 10px 10px;\r
+       }\r
+.d12-update p:first-child {\r
+       color: #8A643F;\r
+       border-color: #FBF5DD;\r
+       }\r
+\r
+/* Attachments */\r
+.d12-attach {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/attach.png) no-repeat 10px 10px;\r
+       }\r
+.d12-attach p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Deletion */\r
+.d12-delete {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/delete.png) no-repeat 10px 10px;\r
+       }\r
+.d12-delete p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Part of a Series */\r
+.d12-part {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/cog.png) no-repeat 10px 10px;\r
+       }\r
+.d12-part p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Mentions */\r
+.d12-mention {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/mentions.png) no-repeat 10px 10px;\r
+       }\r
+.d12-mention p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Warning */\r
+.d12-warning {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/warning.png) no-repeat 10px 10px;\r
+       }\r
+.d12-warning p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Important */\r
+.d12-important {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/important.png) no-repeat 10px 10px;\r
+       }\r
+.d12-important p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Notice */\r
+.d12-notice {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/notice.png) no-repeat 10px 10px;\r
+       }\r
+.d12-notice p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Error */\r
+.d12-error {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/error.png) no-repeat 10px 10px;\r
+       }\r
+.d12-error p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Caution */\r
+.d12-caution {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/caution.png) no-repeat 10px 10px;\r
+       }\r
+.d12-caution p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Archive */\r
+.d12-archive {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/archive.png) no-repeat 10px 10px;\r
+       }\r
+.d12-archive p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Support */\r
+.d12-support {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/support.png) no-repeat 10px 10px;\r
+       }\r
+.d12-support p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Contact */\r
+.d12-contact {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/contact.png) no-repeat 10px 10px;\r
+       }\r
+.d12-contact p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Global */\r
+.d12-global {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/global.png) no-repeat 10px 10px;\r
+       }\r
+.d12-global p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Green */\r
+.d12-green {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/green.png) no-repeat 10px 10px;\r
+       }\r
+.d12-green p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Accept */\r
+.d12-accept {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/okay.png) no-repeat 10px 10px;\r
+       }\r
+.d12-accept p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
+\r
+/* Stats */\r
+.d12-stats {\r
+       border-color: #8A643F;\r
+       background: #FBF5DD url(../images/statistics.png) no-repeat 10px 10px;\r
+       }\r
+.d12-stats p:first-child {\r
+       color: #8A643F;\r
+       border-color: #8A643F;\r
+       }\r
diff --git a/css/cs-business.css b/css/cs-business.css
new file mode 100644 (file)
index 0000000..b638c28
--- /dev/null
@@ -0,0 +1,187 @@
+/*\r
+       Don't need this class right now, but let's save it.\r
+       We can use it in future updates. \r
+       Plugin adopters can also style this text using a child theme.\r
+*/\r
+.d12-sc-text {\r
+       }\r
+\r
+/* Nutshell */\r
+.d12-nutshell {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/acorn.png) no-repeat 10px 10px;\r
+       }\r
+.d12-nutshell p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Updates */\r
+.d12-update {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/update.png) no-repeat 10px 10px;\r
+       }\r
+.d12-update p:first-child {\r
+       color: #404777;\r
+       border-color: #F6F7F8;\r
+       }\r
+\r
+/* Attachments */\r
+.d12-attach {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/attach.png) no-repeat 10px 10px;\r
+       }\r
+.d12-attach p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Deletion */\r
+.d12-delete {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/delete.png) no-repeat 10px 10px;\r
+       }\r
+.d12-delete p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Part of a Series */\r
+.d12-part {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/cog.png) no-repeat 10px 10px;\r
+       }\r
+.d12-part p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Mentions */\r
+.d12-mention {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/mentions.png) no-repeat 10px 10px;\r
+       }\r
+.d12-mention p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Warning */\r
+.d12-warning {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/warning.png) no-repeat 10px 10px;\r
+       }\r
+.d12-warning p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Important */\r
+.d12-important {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/important.png) no-repeat 10px 10px;\r
+       }\r
+.d12-important p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Notice */\r
+.d12-notice {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/notice.png) no-repeat 10px 10px;\r
+       }\r
+.d12-notice p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Error */\r
+.d12-error {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/error.png) no-repeat 10px 10px;\r
+       }\r
+.d12-error p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Caution */\r
+.d12-caution {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/caution.png) no-repeat 10px 10px;\r
+       }\r
+.d12-caution p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Archive */\r
+.d12-archive {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/archive.png) no-repeat 10px 10px;\r
+       }\r
+.d12-archive p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Support */\r
+.d12-support {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/support.png) no-repeat 10px 10px;\r
+       }\r
+.d12-support p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Contact */\r
+.d12-contact {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/contact.png) no-repeat 10px 10px;\r
+       }\r
+.d12-contact p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Global */\r
+.d12-global {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/global.png) no-repeat 10px 10px;\r
+       }\r
+.d12-global p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Green */\r
+.d12-green {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/green.png) no-repeat 10px 10px;\r
+       }\r
+.d12-green p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Accept */\r
+.d12-accept {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/okay.png) no-repeat 10px 10px;\r
+       }\r
+.d12-accept p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Stats */\r
+.d12-stats {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/statistics.png) no-repeat 10px 10px;\r
+       }\r
+.d12-stats p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
diff --git a/css/cs-bw.css b/css/cs-bw.css
new file mode 100644 (file)
index 0000000..3334485
--- /dev/null
@@ -0,0 +1,187 @@
+/*\r
+       Don't need this class right now, but let's save it.\r
+       We can use it in future updates. \r
+       Plugin adopters can also style this text using a child theme.\r
+*/\r
+.d12-sc-text {\r
+       }\r
+\r
+/* Nutshell */\r
+.d12-nutshell {\r
+       border-color: #444;\r
+       background: #fff url(../images/acorn.png) no-repeat 10px 10px;\r
+       }\r
+.d12-nutshell p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Updates */\r
+.d12-update {\r
+       border-color: #444;\r
+       background: #fff url(../images/update.png) no-repeat 10px 10px;\r
+       }\r
+.d12-update p:first-child {\r
+       color: #444;\r
+       border-color: #fff;\r
+       }\r
+\r
+/* Attachments */\r
+.d12-attach {\r
+       border-color: #444;\r
+       background: #fff url(../images/attach.png) no-repeat 10px 10px;\r
+       }\r
+.d12-attach p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Deletion */\r
+.d12-delete {\r
+       border-color: #444;\r
+       background: #fff url(../images/delete.png) no-repeat 10px 10px;\r
+       }\r
+.d12-delete p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Part of a Series */\r
+.d12-part {\r
+       border-color: #444;\r
+       background: #fff url(../images/cog.png) no-repeat 10px 10px;\r
+       }\r
+.d12-part p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Mentions */\r
+.d12-mention {\r
+       border-color: #444;\r
+       background: #fff url(../images/mentions.png) no-repeat 10px 10px;\r
+       }\r
+.d12-mention p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Warning */\r
+.d12-warning {\r
+       border-color: #444;\r
+       background: #fff url(../images/warning.png) no-repeat 10px 10px;\r
+       }\r
+.d12-warning p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Important */\r
+.d12-important {\r
+       border-color: #444;\r
+       background: #fff url(../images/important.png) no-repeat 10px 10px;\r
+       }\r
+.d12-important p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Notice */\r
+.d12-notice {\r
+       border-color: #444;\r
+       background: #fff url(../images/notice.png) no-repeat 10px 10px;\r
+       }\r
+.d12-notice p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Error */\r
+.d12-error {\r
+       border-color: #444;\r
+       background: #fff url(../images/error.png) no-repeat 10px 10px;\r
+       }\r
+.d12-error p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Caution */\r
+.d12-caution {\r
+       border-color: #444;\r
+       background: #fff url(../images/caution.png) no-repeat 10px 10px;\r
+       }\r
+.d12-caution p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Archive */\r
+.d12-archive {\r
+       border-color: #444;\r
+       background: #fff url(../images/archive.png) no-repeat 10px 10px;\r
+       }\r
+.d12-archive p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Support */\r
+.d12-support {\r
+       border-color: #444;\r
+       background: #fff url(../images/support.png) no-repeat 10px 10px;\r
+       }\r
+.d12-support p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Contact */\r
+.d12-contact {\r
+       border-color: #444;\r
+       background: #fff url(../images/contact.png) no-repeat 10px 10px;\r
+       }\r
+.d12-contact p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Global */\r
+.d12-global {\r
+       border-color: #444;\r
+       background: #fff url(../images/global.png) no-repeat 10px 10px;\r
+       }\r
+.d12-global p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Green */\r
+.d12-green {\r
+       border-color: #444;\r
+       background: #fff url(../images/green.png) no-repeat 10px 10px;\r
+       }\r
+.d12-green p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Accept */\r
+.d12-accept {\r
+       border-color: #444;\r
+       background: #fff url(../images/okay.png) no-repeat 10px 10px;\r
+       }\r
+.d12-accept p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
+\r
+/* Stats */\r
+.d12-stats {\r
+       border-color: #444;\r
+       background: #fff url(../images/statistics.png) no-repeat 10px 10px;\r
+       }\r
+.d12-stats p:first-child {\r
+       color: #444;\r
+       border-color: #444;\r
+       }\r
diff --git a/css/cs-default.css b/css/cs-default.css
new file mode 100644 (file)
index 0000000..e59d528
--- /dev/null
@@ -0,0 +1,187 @@
+/*\r
+       Don't need this class right now, but let's save it.\r
+       We can use it in future updates. \r
+       Plugin adopters can also style this text using a child theme.\r
+*/\r
+.d12-sc-text {\r
+       }\r
+\r
+/* Nutshell */\r
+.d12-nutshell {\r
+       border-color: #8C4815;\r
+       background: #FFEFCF url(../images/acorn.png) no-repeat 10px 10px;\r
+       }\r
+.d12-nutshell p:first-child {\r
+       color: #8c4815;\r
+       border-color: #8C4815;\r
+       }\r
+\r
+/* Updates */\r
+.d12-update {\r
+       border-color: #4282B6;\r
+       background: #EFF6FA url(../images/update.png) no-repeat 10px 10px;\r
+       }\r
+.d12-update p:first-child {\r
+       color: #4282B6;\r
+       border-color: #4282B6;\r
+       }\r
+\r
+/* Attachments */\r
+.d12-attach {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/attach.png) no-repeat 10px 10px;\r
+       }\r
+.d12-attach p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Deletion */\r
+.d12-delete {\r
+       border-color: #A60B05;\r
+       background: #FCEDEB url(../images/delete.png) no-repeat 10px 10px;\r
+       }\r
+.d12-delete p:first-child {\r
+       color: #A60B05;\r
+       border-color: #A60B05;\r
+       }\r
+\r
+/* Part of a Series */\r
+.d12-part {\r
+       border-color: #333;\r
+       background: #eee url(../images/cog.png) no-repeat 10px 10px;\r
+       }\r
+.d12-part p:first-child {\r
+       color: #333;\r
+       border-color: #333;\r
+       }\r
+\r
+/* Mentions */\r
+.d12-mention {\r
+       border-color: #0B5DA1;\r
+       background: #FFF5DB url(../images/mentions.png) no-repeat 10px 10px;\r
+       }\r
+.d12-mention p:first-child {\r
+       color: #0B5DA1;\r
+       border-color: #0B5DA1;\r
+       }\r
+\r
+/* Warning */\r
+.d12-warning {\r
+       border-color: #D56D01;\r
+       background: #fafafa url(../images/warning.png) no-repeat 10px 10px;\r
+       }\r
+.d12-warning p:first-child {\r
+       color: #D56D01;\r
+       border-color: #D56D01;\r
+       }\r
+\r
+/* Important */\r
+.d12-important {\r
+       border-color: #BF3829;\r
+       background: #FFF7F7 url(../images/important.png) no-repeat 10px 10px;\r
+       }\r
+.d12-important p:first-child {\r
+       color: #BF3829;\r
+       border-color: #BF3829;\r
+       }\r
+\r
+/* Notice */\r
+.d12-notice {\r
+       border-color: #D56D01;\r
+       background: #fafafa url(../images/notice.png) no-repeat 10px 10px;\r
+       }\r
+.d12-notice p:first-child {\r
+       color: #D56D01;\r
+       border-color: #D56D01;\r
+       }\r
+\r
+/* Error */\r
+.d12-error {\r
+       border-color: #C13A29;\r
+       background: #FFF5F5 url(../images/error.png) no-repeat 10px 10px;\r
+       }\r
+.d12-error p:first-child {\r
+       color: #C13A29;\r
+       border-color: #C13A29;\r
+       }\r
+\r
+/* Caution */\r
+.d12-caution {\r
+       border-color: #D56D01;\r
+       background: #fafafa url(../images/caution.png) no-repeat 10px 10px;\r
+       }\r
+.d12-caution p:first-child {\r
+       color: #D56D01;\r
+       border-color: #D56D01;\r
+       }\r
+\r
+/* Archive */\r
+.d12-archive {\r
+       border-color: #0B5DA1;\r
+       background: #eee url(../images/archive.png) no-repeat 10px 10px;\r
+       }\r
+.d12-archive p:first-child {\r
+       color: #0B5DA1;\r
+       border-color: #0B5DA1;\r
+       }\r
+\r
+/* Support */\r
+.d12-support {\r
+       border-color: #CD0000;\r
+       background: #fff url(../images/support.png) no-repeat 10px 10px;\r
+       }\r
+.d12-support p:first-child {\r
+       color: #CD0000;\r
+       border-color: #CD0000;\r
+       }\r
+\r
+/* Contact */\r
+.d12-contact {\r
+       border-color: #630;\r
+       background: #fff url(../images/contact.png) no-repeat 10px 10px;\r
+       }\r
+.d12-contact p:first-child {\r
+       color: #630;\r
+       border-color: #630;\r
+       }\r
+\r
+/* Global */\r
+.d12-global {\r
+       border-color: #074;\r
+       background: #fff url(../images/global.png) no-repeat 10px 10px;\r
+       }\r
+.d12-global p:first-child {\r
+       color: #074;\r
+       border-color: #074;\r
+       }\r
+\r
+/* Green */\r
+.d12-green {\r
+       border-color: #427D00;\r
+       background: #fff url(../images/green.png) no-repeat 10px 10px;\r
+       }\r
+.d12-green p:first-child {\r
+       color: #427D00;\r
+       border-color: #427D00;\r
+       }\r
+\r
+/* Accept */\r
+.d12-accept {\r
+       border-color: #99C700;\r
+       background: #fff url(../images/okay.png) no-repeat 10px 10px;\r
+       }\r
+.d12-accept p:first-child {\r
+       color: #427D00;\r
+       border-color: #99C700;\r
+       }\r
+\r
+/* Stats */\r
+.d12-stats {\r
+       border-color: #376EA3;\r
+       background: #fff url(../images/statistics.png) no-repeat 10px 10px;\r
+       }\r
+.d12-stats p:first-child {\r
+       color: #376EA3;\r
+       border-color: #376EA3;\r
+       }\r
diff --git a/css/cs-forest.css b/css/cs-forest.css
new file mode 100644 (file)
index 0000000..59dff1f
--- /dev/null
@@ -0,0 +1,187 @@
+/*\r
+       Don't need this class right now, but let's save it.\r
+       We can use it in future updates. \r
+       Plugin adopters can also style this text using a child theme.\r
+*/\r
+.d12-sc-text {\r
+       }\r
+\r
+/* Nutshell */\r
+.d12-nutshell {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/acorn.png) no-repeat 10px 10px;\r
+       }\r
+.d12-nutshell p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Updates */\r
+.d12-update {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/update.png) no-repeat 10px 10px;\r
+       }\r
+.d12-update p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Attachments */\r
+.d12-attach {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/attach.png) no-repeat 10px 10px;\r
+       }\r
+.d12-attach p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Deletion */\r
+.d12-delete {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/delete.png) no-repeat 10px 10px;\r
+       }\r
+.d12-delete p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Part of a Series */\r
+.d12-part {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/cog.png) no-repeat 10px 10px;\r
+       }\r
+.d12-part p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Mentions */\r
+.d12-mention {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/mentions.png) no-repeat 10px 10px;\r
+       }\r
+.d12-mention p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Warning */\r
+.d12-warning {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/warning.png) no-repeat 10px 10px;\r
+       }\r
+.d12-warning p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Important */\r
+.d12-important {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/important.png) no-repeat 10px 10px;\r
+       }\r
+.d12-important p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Notice */\r
+.d12-notice {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/notice.png) no-repeat 10px 10px;\r
+       }\r
+.d12-notice p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Error */\r
+.d12-error {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/error.png) no-repeat 10px 10px;\r
+       }\r
+.d12-error p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Caution */\r
+.d12-caution {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/caution.png) no-repeat 10px 10px;\r
+       }\r
+.d12-caution p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Archive */\r
+.d12-archive {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/archive.png) no-repeat 10px 10px;\r
+       }\r
+.d12-archive p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Support */\r
+.d12-support {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/support.png) no-repeat 10px 10px;\r
+       }\r
+.d12-support p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Contact */\r
+.d12-contact {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/contact.png) no-repeat 10px 10px;\r
+       }\r
+.d12-contact p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Global */\r
+.d12-global {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/global.png) no-repeat 10px 10px;\r
+       }\r
+.d12-global p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Green */\r
+.d12-green {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/green.png) no-repeat 10px 10px;\r
+       }\r
+.d12-green p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Accept */\r
+.d12-accept {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/okay.png) no-repeat 10px 10px;\r
+       }\r
+.d12-accept p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
+\r
+/* Stats */\r
+.d12-stats {\r
+       border-color: #5D3800;\r
+       background: #EEF2EA url(../images/statistics.png) no-repeat 10px 10px;\r
+       }\r
+.d12-stats p:first-child {\r
+       color: #336600;\r
+       border-color: #336600;\r
+       }\r
diff --git a/css/cs-leaves.css b/css/cs-leaves.css
new file mode 100644 (file)
index 0000000..b878751
--- /dev/null
@@ -0,0 +1,188 @@
+/*\r
+       Don't need this class right now, but let's save it.\r
+       We can use it in future updates. \r
+       Plugin adopters can also style this text using a child theme.\r
+*/\r
+.d12-sc-text {\r
+       color: #fff;\r
+       }\r
+\r
+/* Nutshell */\r
+.d12-nutshell {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/acorn.png) no-repeat 10px 10px;\r
+       }\r
+.d12-nutshell p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Updates */\r
+.d12-update {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/update.png) no-repeat 10px 10px;\r
+       }\r
+.d12-update p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #006600;\r
+       }\r
+\r
+/* Attachments */\r
+.d12-attach {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/attach.png) no-repeat 10px 10px;\r
+       }\r
+.d12-attach p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Deletion */\r
+.d12-delete {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/delete.png) no-repeat 10px 10px;\r
+       }\r
+.d12-delete p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Part of a Series */\r
+.d12-part {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/cog.png) no-repeat 10px 10px;\r
+       }\r
+.d12-part p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Mentions */\r
+.d12-mention {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/mentions.png) no-repeat 10px 10px;\r
+       }\r
+.d12-mention p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Warning */\r
+.d12-warning {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/warning.png) no-repeat 10px 10px;\r
+       }\r
+.d12-warning p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Important */\r
+.d12-important {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/important.png) no-repeat 10px 10px;\r
+       }\r
+.d12-important p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Notice */\r
+.d12-notice {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/notice.png) no-repeat 10px 10px;\r
+       }\r
+.d12-notice p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Error */\r
+.d12-error {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/error.png) no-repeat 10px 10px;\r
+       }\r
+.d12-error p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Caution */\r
+.d12-caution {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/caution.png) no-repeat 10px 10px;\r
+       }\r
+.d12-caution p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Archive */\r
+.d12-archive {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/archive.png) no-repeat 10px 10px;\r
+       }\r
+.d12-archive p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Support */\r
+.d12-support {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/support.png) no-repeat 10px 10px;\r
+       }\r
+.d12-support p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Contact */\r
+.d12-contact {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/contact.png) no-repeat 10px 10px;\r
+       }\r
+.d12-contact p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Global */\r
+.d12-global {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/global.png) no-repeat 10px 10px;\r
+       }\r
+.d12-global p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Green */\r
+.d12-green {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/green.png) no-repeat 10px 10px;\r
+       }\r
+.d12-green p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Accept */\r
+.d12-accept {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/okay.png) no-repeat 10px 10px;\r
+       }\r
+.d12-accept p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
+\r
+/* Stats */\r
+.d12-stats {\r
+       border-color: #D1E3D1;\r
+       background: #006600 url(../images/statistics.png) no-repeat 10px 10px;\r
+       }\r
+.d12-stats p:first-child {\r
+       color: #D1E3D1;\r
+       border-color: #D1E3D1;\r
+       }\r
diff --git a/css/cs-magique.css b/css/cs-magique.css
new file mode 100644 (file)
index 0000000..3e6feb1
--- /dev/null
@@ -0,0 +1,188 @@
+/*\r
+       Don't need this class right now, but let's save it.\r
+       We can use it in future updates. \r
+       Plugin adopters can also style this text using a child theme.\r
+*/\r
+.d12-sc-text {\r
+       color: #fff;\r
+       }\r
+\r
+/* Nutshell */\r
+.d12-nutshell {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/acorn.png) no-repeat 10px 10px;\r
+       }\r
+.d12-nutshell p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Updates */\r
+.d12-update {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/update.png) no-repeat 10px 10px;\r
+       }\r
+.d12-update p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #5100A2;\r
+       }\r
+\r
+/* Attachments */\r
+.d12-attach {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/attach.png) no-repeat 10px 10px;\r
+       }\r
+.d12-attach p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Deletion */\r
+.d12-delete {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/delete.png) no-repeat 10px 10px;\r
+       }\r
+.d12-delete p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Part of a Series */\r
+.d12-part {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/cog.png) no-repeat 10px 10px;\r
+       }\r
+.d12-part p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Mentions */\r
+.d12-mention {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/mentions.png) no-repeat 10px 10px;\r
+       }\r
+.d12-mention p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Warning */\r
+.d12-warning {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/warning.png) no-repeat 10px 10px;\r
+       }\r
+.d12-warning p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Important */\r
+.d12-important {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/important.png) no-repeat 10px 10px;\r
+       }\r
+.d12-important p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Notice */\r
+.d12-notice {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/notice.png) no-repeat 10px 10px;\r
+       }\r
+.d12-notice p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Error */\r
+.d12-error {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/error.png) no-repeat 10px 10px;\r
+       }\r
+.d12-error p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Caution */\r
+.d12-caution {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/caution.png) no-repeat 10px 10px;\r
+       }\r
+.d12-caution p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Archive */\r
+.d12-archive {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/archive.png) no-repeat 10px 10px;\r
+       }\r
+.d12-archive p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Support */\r
+.d12-support {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/support.png) no-repeat 10px 10px;\r
+       }\r
+.d12-support p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Contact */\r
+.d12-contact {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/contact.png) no-repeat 10px 10px;\r
+       }\r
+.d12-contact p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Global */\r
+.d12-global {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/global.png) no-repeat 10px 10px;\r
+       }\r
+.d12-global p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Green */\r
+.d12-green {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/green.png) no-repeat 10px 10px;\r
+       }\r
+.d12-green p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Accept */\r
+.d12-accept {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/okay.png) no-repeat 10px 10px;\r
+       }\r
+.d12-accept p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
+\r
+/* Stats */\r
+.d12-stats {\r
+       border-color: #DCB9FF;\r
+       background: #5100A2 url(../images/statistics.png) no-repeat 10px 10px;\r
+       }\r
+.d12-stats p:first-child {\r
+       color: #DCB9FF;\r
+       border-color: #DCB9FF;\r
+       }\r
diff --git a/css/cs-sol.css b/css/cs-sol.css
new file mode 100644 (file)
index 0000000..77ea8e3
--- /dev/null
@@ -0,0 +1,187 @@
+/*\r
+       Don't need this class right now, but let's save it.\r
+       We can use it in future updates. \r
+       Plugin adopters can also style this text using a child theme.\r
+*/\r
+.d12-sc-text {\r
+       }\r
+\r
+/* Nutshell */\r
+.d12-nutshell {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/acorn.png) no-repeat 10px 10px;\r
+       }\r
+.d12-nutshell p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Updates */\r
+.d12-update {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/update.png) no-repeat 10px 10px;\r
+       }\r
+.d12-update p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFFFEE;\r
+       }\r
+\r
+/* Attachments */\r
+.d12-attach {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/attach.png) no-repeat 10px 10px;\r
+       }\r
+.d12-attach p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Deletion */\r
+.d12-delete {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/delete.png) no-repeat 10px 10px;\r
+       }\r
+.d12-delete p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Part of a Series */\r
+.d12-part {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/cog.png) no-repeat 10px 10px;\r
+       }\r
+.d12-part p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Mentions */\r
+.d12-mention {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/mentions.png) no-repeat 10px 10px;\r
+       }\r
+.d12-mention p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Warning */\r
+.d12-warning {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/warning.png) no-repeat 10px 10px;\r
+       }\r
+.d12-warning p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Important */\r
+.d12-important {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/important.png) no-repeat 10px 10px;\r
+       }\r
+.d12-important p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Notice */\r
+.d12-notice {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/notice.png) no-repeat 10px 10px;\r
+       }\r
+.d12-notice p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Error */\r
+.d12-error {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/error.png) no-repeat 10px 10px;\r
+       }\r
+.d12-error p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Caution */\r
+.d12-caution {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/caution.png) no-repeat 10px 10px;\r
+       }\r
+.d12-caution p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Archive */\r
+.d12-archive {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/archive.png) no-repeat 10px 10px;\r
+       }\r
+.d12-archive p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Support */\r
+.d12-support {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/support.png) no-repeat 10px 10px;\r
+       }\r
+.d12-support p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Contact */\r
+.d12-contact {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/contact.png) no-repeat 10px 10px;\r
+       }\r
+.d12-contact p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Global */\r
+.d12-global {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/global.png) no-repeat 10px 10px;\r
+       }\r
+.d12-global p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Green */\r
+.d12-green {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/green.png) no-repeat 10px 10px;\r
+       }\r
+.d12-green p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Accept */\r
+.d12-accept {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/okay.png) no-repeat 10px 10px;\r
+       }\r
+.d12-accept p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
+\r
+/* Stats */\r
+.d12-stats {\r
+       border-color: #FFCC00;\r
+       background: #FFFFEE url(../images/statistics.png) no-repeat 10px 10px;\r
+       }\r
+.d12-stats p:first-child {\r
+       color: #FFCC00;\r
+       border-color: #FFCC00;\r
+       }\r
diff --git a/css/cs-solstice.css b/css/cs-solstice.css
new file mode 100644 (file)
index 0000000..bcac14f
--- /dev/null
@@ -0,0 +1,188 @@
+/*\r
+       Don't need this class right now, but let's save it.\r
+       We can use it in future updates. \r
+       Plugin adopters can also style this text using a child theme.\r
+*/\r
+.d12-sc-text {\r
+       color: #fff;\r
+       }\r
+\r
+/* Nutshell */\r
+.d12-nutshell {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/acorn.png) no-repeat 10px 10px;\r
+       }\r
+.d12-nutshell p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Updates */\r
+.d12-update {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/update.png) no-repeat 10px 10px;\r
+       }\r
+.d12-update p:first-child {\r
+       color: #EEE;\r
+       border-color: #000;\r
+       }\r
+\r
+/* Attachments */\r
+.d12-attach {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/attach.png) no-repeat 10px 10px;\r
+       }\r
+.d12-attach p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Deletion */\r
+.d12-delete {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/delete.png) no-repeat 10px 10px;\r
+       }\r
+.d12-delete p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Part of a Series */\r
+.d12-part {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/cog.png) no-repeat 10px 10px;\r
+       }\r
+.d12-part p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Mentions */\r
+.d12-mention {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/mentions.png) no-repeat 10px 10px;\r
+       }\r
+.d12-mention p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Warning */\r
+.d12-warning {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/warning.png) no-repeat 10px 10px;\r
+       }\r
+.d12-warning p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Important */\r
+.d12-important {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/important.png) no-repeat 10px 10px;\r
+       }\r
+.d12-important p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Notice */\r
+.d12-notice {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/notice.png) no-repeat 10px 10px;\r
+       }\r
+.d12-notice p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Error */\r
+.d12-error {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/error.png) no-repeat 10px 10px;\r
+       }\r
+.d12-error p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Caution */\r
+.d12-caution {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/caution.png) no-repeat 10px 10px;\r
+       }\r
+.d12-caution p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Archive */\r
+.d12-archive {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/archive.png) no-repeat 10px 10px;\r
+       }\r
+.d12-archive p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Support */\r
+.d12-support {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/support.png) no-repeat 10px 10px;\r
+       }\r
+.d12-support p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Contact */\r
+.d12-contact {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/contact.png) no-repeat 10px 10px;\r
+       }\r
+.d12-contact p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Global */\r
+.d12-global {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/global.png) no-repeat 10px 10px;\r
+       }\r
+.d12-global p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Green */\r
+.d12-green {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/green.png) no-repeat 10px 10px;\r
+       }\r
+.d12-green p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Accept */\r
+.d12-accept {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/okay.png) no-repeat 10px 10px;\r
+       }\r
+.d12-accept p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
+\r
+/* Stats */\r
+.d12-stats {\r
+       border-color: #EEE;\r
+       background: #000 url(../images/statistics.png) no-repeat 10px 10px;\r
+       }\r
+.d12-stats p:first-child {\r
+       color: #EEE;\r
+       border-color: #EEE;\r
+       }\r
diff --git a/css/cs-winter.css b/css/cs-winter.css
new file mode 100644 (file)
index 0000000..86f6b0b
--- /dev/null
@@ -0,0 +1,187 @@
+/*\r
+       Don't need this class right now, but let's save it.\r
+       We can use it in future updates. \r
+       Plugin adopters can also style this text using a child theme.\r
+*/\r
+.d12-sc-text {\r
+       }\r
+\r
+/* Nutshell */\r
+.d12-nutshell {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/acorn.png) no-repeat 10px 10px;\r
+       }\r
+.d12-nutshell p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Updates */\r
+.d12-update {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/update.png) no-repeat 10px 10px;\r
+       }\r
+.d12-update p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Attachments */\r
+.d12-attach {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/attach.png) no-repeat 10px 10px;\r
+       }\r
+.d12-attach p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Deletion */\r
+.d12-delete {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/delete.png) no-repeat 10px 10px;\r
+       }\r
+.d12-delete p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Part of a Series */\r
+.d12-part {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/cog.png) no-repeat 10px 10px;\r
+       }\r
+.d12-part p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Mentions */\r
+.d12-mention {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/mentions.png) no-repeat 10px 10px;\r
+       }\r
+.d12-mention p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Warning */\r
+.d12-warning {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/warning.png) no-repeat 10px 10px;\r
+       }\r
+.d12-warning p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Important */\r
+.d12-important {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/important.png) no-repeat 10px 10px;\r
+       }\r
+.d12-important p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Notice */\r
+.d12-notice {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/notice.png) no-repeat 10px 10px;\r
+       }\r
+.d12-notice p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Error */\r
+.d12-error {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/error.png) no-repeat 10px 10px;\r
+       }\r
+.d12-error p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Caution */\r
+.d12-caution {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/caution.png) no-repeat 10px 10px;\r
+       }\r
+.d12-caution p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Archive */\r
+.d12-archive {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/archive.png) no-repeat 10px 10px;\r
+       }\r
+.d12-archive p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Support */\r
+.d12-support {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/support.png) no-repeat 10px 10px;\r
+       }\r
+.d12-support p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Contact */\r
+.d12-contact {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/contact.png) no-repeat 10px 10px;\r
+       }\r
+.d12-contact p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Global */\r
+.d12-global {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/global.png) no-repeat 10px 10px;\r
+       }\r
+.d12-global p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Green */\r
+.d12-green {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/green.png) no-repeat 10px 10px;\r
+       }\r
+.d12-green p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Accept */\r
+.d12-accept {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/okay.png) no-repeat 10px 10px;\r
+       }\r
+.d12-accept p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
+\r
+/* Stats */\r
+.d12-stats {\r
+       border-color: #B9B9D5;\r
+       background: #F2F2F7 url(../images/statistics.png) no-repeat 10px 10px;\r
+       }\r
+.d12-stats p:first-child {\r
+       color: #5D5D9E;\r
+       border-color: #5D5D9E;\r
+       }\r
diff --git a/css/d12mb-admin.css b/css/d12mb-admin.css
new file mode 100755 (executable)
index 0000000..e35b8ab
--- /dev/null
@@ -0,0 +1,72 @@
+i.d12mb-nutshell {\r
+       background-image: url(../icons/acorn.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-update {\r
+       background-image: url(../icons/update.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-attach {\r
+       background-image: url(../icons/attach.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-delete {\r
+       background-image: url(../icons/delete.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-part {\r
+       background-image: url(../icons/cog.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-mentions {\r
+       background-image: url(../icons/mentions.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-warning {\r
+       background-image: url(../icons/warning.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-important {\r
+       background-image: url(../icons/important.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-notice {\r
+       background-image: url(../icons/notice.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-error {\r
+       background-image: url(../icons/error.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-caution {\r
+       background-image: url(../icons/caution.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-archive {\r
+       background-image: url(../icons/archive.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-support {\r
+       background-image: url(../icons/support.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-contact {\r
+       background-image: url(../icons/contact.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-global {\r
+       background-image: url(../icons/global.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-green {\r
+       background-image: url(../icons/green.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-accept {\r
+       background-image: url(../icons/okay.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
+i.d12mb-stats {\r
+       background-image: url(../icons/statistics.png);\r
+       margin: 2px 6px 0 0;\r
+}\r
diff --git a/css/d12mb-mobile.css b/css/d12mb-mobile.css
new file mode 100755 (executable)
index 0000000..0f248c0
--- /dev/null
@@ -0,0 +1,4 @@
+.d12-block {\r
+       margin: 0.5rem 0;\r
+       width: 100%;\r
+}\r
diff --git a/css/style.css b/css/style.css
new file mode 100644 (file)
index 0000000..a20fc7b
--- /dev/null
@@ -0,0 +1,205 @@
+.d12-block {\r
+       margin: 10px auto;\r
+       width: 85%;\r
+       border: solid 2px #000;\r
+       border-radius: 4px;\r
+       padding: 10px 10px 10px 54px;\r
+       }\r
+.d12-block p:first-child {\r
+       margin-top: 0px;\r
+       border-bottom: solid 1px #000;\r
+       padding-bottom: 5px;\r
+       margin-bottom: 5px;\r
+       font-size: 1.2em;\r
+       }\r
+.d12-block ul {\r
+       margin-left: 14px !important;\r
+       }\r
+\r
+/*\r
+       Don't need this class right now, but let's save it.\r
+       We can use it in future updates. \r
+       Plugin adopters can also style this text using a child theme.\r
+*/\r
+.d12-sc-text {\r
+       }\r
+\r
+/* Nutshell */\r
+.d12-nutshell {\r
+       border-color: #8C4815;\r
+       background: #FFEFCF url(../images/acorn.png) no-repeat 10px 10px;\r
+       }\r
+.d12-nutshell p:first-child {\r
+       color: #8c4815;\r
+       border-color: #8C4815;\r
+       }\r
+\r
+/* Updates */\r
+.d12-update {\r
+       border-color: #4282B6;\r
+       background: #EFF6FA url(../images/update.png) no-repeat 10px 10px;\r
+       }\r
+.d12-update p:first-child {\r
+       color: #4282B6;\r
+       border-color: #4282B6;\r
+       }\r
+\r
+/* Attachments */\r
+.d12-attach {\r
+       border-color: #404777;\r
+       background: #F6F7F8 url(../images/attach.png) no-repeat 10px 10px;\r
+       }\r
+.d12-attach p:first-child {\r
+       color: #404777;\r
+       border-color: #404777;\r
+       }\r
+\r
+/* Deletion */\r
+.d12-delete {\r
+       border-color: #A60B05;\r
+       background: #FCEDEB url(../images/delete.png) no-repeat 10px 10px;\r
+       }\r
+.d12-delete p:first-child {\r
+       color: #A60B05;\r
+       border-color: #A60B05;\r
+       }\r
+\r
+/* Part of a Series */\r
+.d12-part {\r
+       border-color: #333;\r
+       background: #eee url(../images/cog.png) no-repeat 10px 10px;\r
+       }\r
+.d12-part p:first-child {\r
+       color: #333;\r
+       border-color: #333;\r
+       }\r
+\r
+/* Mentions */\r
+.d12-mention {\r
+       border-color: #0B5DA1;\r
+       background: #FFF5DB url(../images/mentions.png) no-repeat 10px 10px;\r
+       }\r
+.d12-mention p:first-child {\r
+       color: #0B5DA1;\r
+       border-color: #0B5DA1;\r
+       }\r
+\r
+/* Warning */\r
+.d12-warning {\r
+       border-color: #D56D01;\r
+       background: #fafafa url(../images/warning.png) no-repeat 10px 10px;\r
+       }\r
+.d12-warning p:first-child {\r
+       color: #D56D01;\r
+       border-color: #D56D01;\r
+       }\r
+\r
+/* Important */\r
+.d12-important {\r
+       border-color: #BF3829;\r
+       background: #FFF7F7 url(../images/important.png) no-repeat 10px 10px;\r
+       }\r
+.d12-important p:first-child {\r
+       color: #BF3829;\r
+       border-color: #BF3829;\r
+       }\r
+\r
+/* Notice */\r
+.d12-notice {\r
+       border-color: #D56D01;\r
+       background: #fafafa url(../images/notice.png) no-repeat 10px 10px;\r
+       }\r
+.d12-notice p:first-child {\r
+       color: #D56D01;\r
+       border-color: #D56D01;\r
+       }\r
+\r
+/* Error */\r
+.d12-error {\r
+       border-color: #C13A29;\r
+       background: #FFF5F5 url(../images/error.png) no-repeat 10px 10px;\r
+       }\r
+.d12-error p:first-child {\r
+       color: #C13A29;\r
+       border-color: #C13A29;\r
+       }\r
+\r
+/* Caution */\r
+.d12-caution {\r
+       border-color: #D56D01;\r
+       background: #fafafa url(../images/caution.png) no-repeat 10px 10px;\r
+       }\r
+.d12-caution p:first-child {\r
+       color: #D56D01;\r
+       border-color: #D56D01;\r
+       }\r
+\r
+/* Archive */\r
+.d12-archive {\r
+       border-color: #0B5DA1;\r
+       background: #eee url(../images/archive.png) no-repeat 10px 10px;\r
+       }\r
+.d12-archive p:first-child {\r
+       color: #0B5DA1;\r
+       border-color: #0B5DA1;\r
+       }\r
+\r
+/* Support */\r
+.d12-support {\r
+       border-color: #CD0000;\r
+       background: #fff url(../images/support.png) no-repeat 10px 10px;\r
+       }\r
+.d12-support p:first-child {\r
+       color: #CD0000;\r
+       border-color: #CD0000;\r
+       }\r
+\r
+/* Contact */\r
+.d12-contact {\r
+       border-color: #630;\r
+       background: #fff url(../images/contact.png) no-repeat 10px 10px;\r
+       }\r
+.d12-contact p:first-child {\r
+       color: #630;\r
+       border-color: #630;\r
+       }\r
+\r
+/* Global */\r
+.d12-global {\r
+       border-color: #074;\r
+       background: #fff url(../images/global.png) no-repeat 10px 10px;\r
+       }\r
+.d12-global p:first-child {\r
+       color: #074;\r
+       border-color: #074;\r
+       }\r
+\r
+/* Green */\r
+.d12-green {\r
+       border-color: #427D00;\r
+       background: #fff url(../images/green.png) no-repeat 10px 10px;\r
+       }\r
+.d12-green p:first-child {\r
+       color: #427D00;\r
+       border-color: #427D00;\r
+       }\r
+\r
+/* Accept */\r
+.d12-accept {\r
+       border-color: #99C700;\r
+       background: #fff url(../images/okay.png) no-repeat 10px 10px;\r
+       }\r
+.d12-accept p:first-child {\r
+       color: #427D00;\r
+       border-color: #99C700;\r
+       }\r
+\r
+/* Stats */\r
+.d12-stats {\r
+       border-color: #376EA3;\r
+       background: #fff url(../images/statistics.png) no-repeat 10px 10px;\r
+       }\r
+.d12-stats p:first-child {\r
+       color: #376EA3;\r
+       border-color: #376EA3;\r
+       }\r
diff --git a/d12-message-blocks.php b/d12-message-blocks.php
new file mode 100644 (file)
index 0000000..715bc43
--- /dev/null
@@ -0,0 +1,368 @@
+<?php\r
+/*\r
+ * Plugin Name: d12 Message Blocks\r
+ * Plugin URI: http://kjodle.net/wordpress/d12-message-blocks/\r
+ * Description: Adds shortcodes for message blocks.\r
+ * Version: 2.4\r
+ * Author: Kenneth John Odle\r
+ * Author URI: http://kjodle.net/\r
+ * Text Domain: d12-message-blocks\r
+ * Domain Path: /lang\r
+ * License: GPL3\r
+*/\r
+\r
+/*\r
+Icons courtesy of Fat Cow\r
+http://www.fatcow.com/free-icons\r
+*/\r
+\r
+defined( 'ABSPATH' ) or die( 'No script kiddies please!' );\r
+\r
+// Load our translations\r
+load_plugin_textdomain( 'lang');\r
+function d12mb_tinymce_plugin_add_locale($locales) {\r
+       $locales ['My-Custom-Tinymce-Plugin'] = plugin_dir_path ( __FILE__ ) . 'd12mb-tinymce-plugin-langs.php';\r
+       return $locales;\r
+}\r
+add_filter('mce_external_languages', 'd12mb_tinymce_plugin_add_locale');\r
+\r
+\r
+// Initialize our array if it's not set\r
+\r
+\r
+// Retrieve Message Block options from database, register appropriate stylesheet, and enqueue\r
+function d12bs_retrieve() {\r
+       $mbbsoptions = get_option('d12mb_options');\r
+       switch($mbbsoptions['bs']) {\r
+               case "1" :\r
+                       wp_enqueue_style( 'd12mb', plugins_url('css/bs-round-single-thin.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "2" :\r
+                       wp_enqueue_style( 'd12mb', plugins_url('css/bs-round-single-thick.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "3" :\r
+                       wp_enqueue_style( 'd12mb', plugins_url('css/bs-round-double.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "4" :\r
+                       wp_enqueue_style( 'd12mb', plugins_url('css/bs-square-single-thin.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "5" :\r
+                       wp_enqueue_style( 'd12mb', plugins_url('css/bs-square-single-thick.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "6" :\r
+                       wp_enqueue_style( 'd12mb', plugins_url('css/bs-square-double.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "7" :\r
+                       wp_enqueue_style( 'd12mb', plugins_url('css/bs-mw-thick-thin.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "8" :\r
+                       wp_enqueue_style( 'd12mb', plugins_url('css/bs-mw-thick-thick.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "9" :\r
+                       wp_enqueue_style( 'd12mb', plugins_url('css/bs-mw-thin-thick.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "10" :\r
+                       wp_enqueue_style( 'd12mb', plugins_url('css/bs-mw-thin-thin.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               default:\r
+                       wp_enqueue_style( 'd12mb', plugins_url('css/bs-round-single-thick.css', __FILE__), false, '2.3' );\r
+                       return;\r
+       }\r
+}\r
+add_action( 'wp_enqueue_scripts', 'd12bs_retrieve' );\r
+\r
+\r
+// Retrieve Message Block options from database, register appropriate stylesheet, and enqueue\r
+function d12cs_retrieve() {\r
+       $mbcsoptions = get_option('d12mb_options');\r
+       switch($mbcsoptions['cs']) {\r
+               case "1" :\r
+                       wp_enqueue_style( 'd12cs', plugins_url('css/cs-default.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "2" :\r
+                       wp_enqueue_style( 'd12cs', plugins_url('css/cs-business.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "3" :\r
+                       wp_enqueue_style( 'd12cs', plugins_url('css/cs-beach.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "4" :\r
+                       wp_enqueue_style( 'd12cs', plugins_url('css/cs-sol.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "5" :\r
+                       wp_enqueue_style( 'd12cs', plugins_url('css/cs-aqua.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "6" :\r
+                       wp_enqueue_style( 'd12cs', plugins_url('css/cs-forest.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "7" :\r
+                       wp_enqueue_style( 'd12cs', plugins_url('css/cs-winter.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "8" :\r
+                       wp_enqueue_style( 'd12cs', plugins_url('css/cs-magique.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "9" :\r
+                       wp_enqueue_style( 'd12cs', plugins_url('css/cs-solstice.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "10" :\r
+                       wp_enqueue_style( 'd12cs', plugins_url('css/cs-bark.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "11" :\r
+                       wp_enqueue_style( 'd12cs', plugins_url('css/cs-leaves.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               case "12" :\r
+                       wp_enqueue_style( 'd12cs', plugins_url('css/cs-bw.css', __FILE__), false, '2.3' );\r
+                       break;\r
+               default:\r
+                       wp_enqueue_style( 'd12cs', plugins_url('css/cs-default.css', __FILE__), false, '2.3' );\r
+                       return;\r
+       }\r
+}\r
+add_action( 'wp_enqueue_scripts', 'd12cs_retrieve' );\r
+\r
+\r
+/* Enqueue a mobile style sheet if necessary */\r
+function d12_shortcodes_mobile_style() {\r
+       wp_enqueue_style( 'd12mb-mobilestyle', plugins_url( '/css/d12mb-mobile.css', __FILE__), array(), '2.3', 'screen and (max-width: 640px)' );\r
+}\r
+add_action( 'wp_enqueue_scripts', 'd12_shortcodes_mobile_style' );\r
+\r
+\r
+/* Enqueue our back end style sheet */\r
+function d12_shortcodes_admin_styles() {\r
+       wp_enqueue_style( 'd12mb-screenstyle', plugins_url( '/css/d12mb-admin.css', __FILE__) , array(), '2.3', 'screen' );\r
+}\r
+add_action( 'admin_enqueue_scripts', 'd12_shortcodes_admin_styles' );\r
+\r
+\r
+/*\r
+* Functions for our shortcodes *\r
+*/\r
+\r
+/* Nutshell */\r
+function d12_nutshell( $atts, $content= NULL) {\r
+       $filestring = '<div class="d12-block d12-nutshell"><div class="d12-sc-text"><p><strong>' .\r
+       __( 'This article in a nutshell:', 'd12-message-blocks' )\r
+       . '</strong></p>' . $content . '</div></div>';\r
+       return $filestring;\r
+}\r
+add_shortcode( 'd12-nutshell' , 'd12_nutshell' );\r
+\r
+/* Update */\r
+function d12_update( $atts, $content= NULL) {\r
+       $filestring = '<div class="d12-block d12-update"><div class="d12-sc-text"><p><strong>' .\r
+       __( 'Update Information:', 'd12-message-blocks' )\r
+       . '</strong></p>' . $content . '</div></div>';\r
+       return $filestring;\r
+}\r
+add_shortcode( 'd12-update' , 'd12_update' );\r
+\r
+/* Attach */\r
+function d12_attach( $atts, $content= NULL) {\r
+       $filestring = '<div class="d12-block d12-attach"><div class="d12-sc-text"><p><strong>' .\r
+       __( 'Downloads:', 'd12-message-blocks' )\r
+       . '</strong></p>' . $content . '</div></div>';\r
+       return $filestring;\r
+}\r
+add_shortcode( 'd12-attach' , 'd12_attach' );\r
+\r
+/* Delete */\r
+function d12_delete( $atts, $content= NULL) {\r
+       $filestring = '<div class="d12-block d12-delete"><div class="d12-sc-text"><p><strong>' .\r
+       __( 'This page has been marked for deletion.', 'd12-message-blocks' )\r
+       . '</strong></p>' . $content . '</div></div>';\r
+       return $filestring;\r
+}\r
+add_shortcode( 'd12-delete' , 'd12_delete' );\r
+\r
+/* Part of a Series */\r
+function d12_part( $atts, $content= NULL) {\r
+       extract( shortcode_atts(\r
+               array(\r
+                       'series' => '',\r
+               ), $atts )\r
+       );\r
+       echo '<div class="d12-block d12-part"><div class="d12-sc-text"><p><strong>';\r
+       printf(__( 'This page is part of a series on %s', 'd12-message-blocks' ), $series );\r
+       echo '.</strong></p>' . $content . '</div></div>        ';\r
+}\r
+add_shortcode( 'd12-part' , 'd12_part' );\r
+\r
+/* Mentions */\r
+function d12_mentions( $atts, $content= NULL) {\r
+       $filestring = '<div class="d12-block d12-mention"><div class="d12-sc-text"><p><strong>' .\r
+       __( 'This page has been mentioned here:', 'd12-message-blocks' )\r
+       . '</strong></p>' . $content . '</div></div>';\r
+       return $filestring;\r
+}\r
+add_shortcode( 'd12-mentions' , 'd12_mentions' );\r
+\r
+/* Warning */\r
+function d12_warning( $atts, $content= NULL) {\r
+       $filestring = '<div class="d12-block d12-warning"><div class="d12-sc-text"><p><strong>' .\r
+       __ ( 'Warning!', 'd12-message-blocks' )\r
+       . '</strong></p>' . $content . '</div></div>';\r
+       return $filestring;\r
+}\r
+add_shortcode( 'd12-warning' , 'd12_warning' );\r
+\r
+/* Important */\r
+function d12_important( $atts, $content= NULL) {\r
+       $filestring = '<div class="d12-block d12-important"><div class="d12-sc-text"><p><strong>' .\r
+       __ ( 'Important!', 'd12-message-blocks' )\r
+       . '</strong></p>' . $content . '</div></div>';\r
+       return $filestring;\r
+}\r
+add_shortcode( 'd12-important' , 'd12_important' );\r
+\r
+/* Notice */\r
+function d12_notice( $atts, $content= NULL) {\r
+       $filestring = '<div class="d12-block d12-notice"><div class="d12-sc-text"><p><strong>' .\r
+       __( 'Notice!', 'd12-message-blocks' )\r
+       . '</strong></p>' . $content . '</div></div>';\r
+       return $filestring;\r
+}\r
+add_shortcode( 'd12-notice' , 'd12_notice' );\r
+\r
+/* Error */\r
+function d12_error( $atts, $content= NULL) {\r
+       $filestring = '<div class="d12-block d12-error"><div class="d12-sc-text"><p><strong>' .\r
+       __( 'Error!', 'd12-message-blocks' )\r
+       . '</strong></p>' . $content . '</div></div>';\r
+       return $filestring;\r
+}\r
+add_shortcode( 'd12-error' , 'd12_error' );\r
+\r
+/* Caution */\r
+function d12_caution( $atts, $content= NULL) {\r
+       $filestring = '<div class="d12-block d12-caution"><div class="d12-sc-text"><p><strong>' .\r
+       __( 'Caution!', 'd12-message-blocks' )\r
+       . '</strong></p>' . $content . '</div></div>';\r
+       return $filestring;\r
+}\r
+add_shortcode( 'd12-caution' , 'd12_caution' );\r
+\r
+/* Archive */\r
+function d12_archive( $atts, $content= NULL) {\r
+       $filestring = '<div class="d12-block d12-archive"><div class="d12-sc-text"><p><strong>' .\r
+       __( 'This page has been archived.', 'd12-message-blocks' )\r
+       . '</strong></p>' . $content . '</div></div>';\r
+       return $filestring;\r
+}\r
+add_shortcode( 'd12-archive' , 'd12_archive' );\r
+\r
+/* Support */\r
+function d12_support( $atts, $content= NULL) {\r
+       extract( shortcode_atts(\r
+               array(\r
+                       'title' => '',\r
+               ), $atts )\r
+       );\r
+       return '<div class="d12-block d12-support">\r
+                               <div class="d12-sc-text"><p><strong>' . $title . '</strong></p>' . $content . '</div>\r
+                       </div>\r
+                       ';\r
+}\r
+add_shortcode( 'd12-support' , 'd12_support' );\r
+\r
+/* Contact */\r
+function d12_contact( $atts, $content= NULL) {\r
+       extract( shortcode_atts(\r
+               array(\r
+                       'title' => '',\r
+               ), $atts )\r
+       );\r
+       return '<div class="d12-block d12-contact">\r
+                               <div class="d12-sc-text"><p><strong>' . $title . '</strong></p>' . $content . '</div>\r
+                       </div>\r
+                       ';\r
+}\r
+add_shortcode( 'd12-contact' , 'd12_contact' );\r
+\r
+/* Global */\r
+function d12_global( $atts, $content= NULL) {\r
+       extract( shortcode_atts(\r
+               array(\r
+                       'title' => '',\r
+               ), $atts )\r
+       );\r
+       return '<div class="d12-block d12-global">\r
+                               <div class="d12-sc-text"><p><strong>' . $title . '</strong></p>' . $content . '</div>\r
+                       </div>\r
+                       ';\r
+}\r
+add_shortcode( 'd12-global' , 'd12_global' );\r
+\r
+/* Green */\r
+function d12_green( $atts, $content= NULL) {\r
+       extract( shortcode_atts(\r
+               array(\r
+                       'title' => '',\r
+               ), $atts )\r
+       );\r
+       return '<div class="d12-block d12-green">\r
+                               <div class="d12-sc-text"><p><strong>' . $title . '</strong></p>' . $content . '</div>\r
+                       </div>\r
+                       ';\r
+}\r
+add_shortcode( 'd12-green' , 'd12_green' );\r
+\r
+/* Accept */\r
+function d12_accept( $atts, $content= NULL) {\r
+       extract( shortcode_atts(\r
+               array(\r
+                       'title' => '',\r
+               ), $atts )\r
+       );\r
+       return '<div class="d12-block d12-accept">\r
+                               <div class="d12-sc-text"><p><strong>' . $title . '</strong></p>' . $content . '</div>\r
+                       </div>\r
+                       ';\r
+}\r
+add_shortcode( 'd12-accept' , 'd12_accept' );\r
+\r
+/* Stats */\r
+function d12_stats( $atts, $content= NULL) {\r
+       extract( shortcode_atts(\r
+               array(\r
+                       'title' => '',\r
+               ), $atts )\r
+       );\r
+       return '<div class="d12-block d12-stats">\r
+                               <div class="d12-sc-text"><p><strong>' . $title . '</strong></p>' . $content . '</div>\r
+                       </div>\r
+                       ';\r
+}\r
+add_shortcode( 'd12-stats' , 'd12_stats' );\r
+\r
+\r
+/*\r
+* Register a function with TinyMCE\r
+*/\r
+add_action( 'init', 'd12mb_buttons' );\r
+function d12mb_buttons() {\r
+       if ( current_user_can('edit_posts') &&  current_user_can('edit_pages') )\r
+       {\r
+               add_filter( "mce_external_plugins", "d12mb_add_buttons" );\r
+               add_filter( 'mce_buttons_2', 'd12mb_register_buttons' );\r
+       }\r
+}\r
+function d12mb_add_buttons( $plugin_array ) {\r
+       $plugin_array['d12mb'] = plugins_url( 'js/d12mb.js', __FILE__ );\r
+       return $plugin_array;\r
+}\r
+function d12mb_register_buttons( $buttons ) {\r
+       array_push( $buttons, 'd12-mb-button', 'd12-mb-button-2' );\r
+       return $buttons;\r
+}\r
+\r
+// Experiment to add shortcode to excerpts\r
+// wordpress.org/support/topic/how-to-enable-shortcodes-in-excerpts?replies=8#post-1843419\r
+\r
+\r
+\r
+/**\r
+ * Add an options page\r
+ *\r
+ * @since d12 Message Blocks 1.1\r
+ */\r
+require plugin_basename( 'plugin-options.php' );\r
diff --git a/d12mb-tinymce-plugin-langs.php b/d12mb-tinymce-plugin-langs.php
new file mode 100644 (file)
index 0000000..8bed835
--- /dev/null
@@ -0,0 +1,21 @@
+<?php\r
+\r
+// This file is based on wp-includes/js/tinymce/langs/wp-langs.php\r
+\r
+if ( ! defined( 'ABSPATH' ) )\r
+       exit;\r
+\r
+if ( ! class_exists( '_WP_Editors' ) )\r
+       require( ABSPATH . WPINC . '/class-wp-editor.php' );\r
+\r
+function d12mb_tinymce_plugin_translation() {\r
+       $strings = array(\r
+               'nutshell' => __('This page in a nutshell', 'd12-message-blocks'),\r
+       );\r
+       $locale = _WP_Editors::$mce_locale;\r
+       $translated = 'tinyMCE.addI18n("' . $locale . '.d12-message-blocks", ' . json_encode( $strings ) . ");\n";\r
+\r
+       return $translated;\r
+}\r
+\r
+$strings = d12mb_tinymce_plugin_translation();
\ No newline at end of file
diff --git a/examples/example01.png b/examples/example01.png
new file mode 100644 (file)
index 0000000..7ae2222
Binary files /dev/null and b/examples/example01.png differ
diff --git a/examples/example02.png b/examples/example02.png
new file mode 100644 (file)
index 0000000..a8330e5
Binary files /dev/null and b/examples/example02.png differ
diff --git a/examples/example03.png b/examples/example03.png
new file mode 100644 (file)
index 0000000..1e28c0f
Binary files /dev/null and b/examples/example03.png differ
diff --git a/examples/example04.png b/examples/example04.png
new file mode 100644 (file)
index 0000000..22c3f1c
Binary files /dev/null and b/examples/example04.png differ
diff --git a/examples/example05.png b/examples/example05.png
new file mode 100644 (file)
index 0000000..7b04fc7
Binary files /dev/null and b/examples/example05.png differ
diff --git a/examples/example06.png b/examples/example06.png
new file mode 100644 (file)
index 0000000..9559f5d
Binary files /dev/null and b/examples/example06.png differ
diff --git a/examples/example07.png b/examples/example07.png
new file mode 100644 (file)
index 0000000..c0eb8b3
Binary files /dev/null and b/examples/example07.png differ
diff --git a/examples/example08.png b/examples/example08.png
new file mode 100644 (file)
index 0000000..37c4a8a
Binary files /dev/null and b/examples/example08.png differ
diff --git a/examples/example09.png b/examples/example09.png
new file mode 100644 (file)
index 0000000..e664c25
Binary files /dev/null and b/examples/example09.png differ
diff --git a/examples/example10.png b/examples/example10.png
new file mode 100644 (file)
index 0000000..d8be0fc
Binary files /dev/null and b/examples/example10.png differ
diff --git a/icons/acorn.png b/icons/acorn.png
new file mode 100644 (file)
index 0000000..85d1777
Binary files /dev/null and b/icons/acorn.png differ
diff --git a/icons/archive.png b/icons/archive.png
new file mode 100644 (file)
index 0000000..ce24062
Binary files /dev/null and b/icons/archive.png differ
diff --git a/icons/attach.png b/icons/attach.png
new file mode 100644 (file)
index 0000000..169a845
Binary files /dev/null and b/icons/attach.png differ
diff --git a/icons/caution.png b/icons/caution.png
new file mode 100644 (file)
index 0000000..dbfda22
Binary files /dev/null and b/icons/caution.png differ
diff --git a/icons/cog.png b/icons/cog.png
new file mode 100644 (file)
index 0000000..8f4eeb7
Binary files /dev/null and b/icons/cog.png differ
diff --git a/icons/contact.png b/icons/contact.png
new file mode 100644 (file)
index 0000000..91650cf
Binary files /dev/null and b/icons/contact.png differ
diff --git a/icons/cross.png b/icons/cross.png
new file mode 100644 (file)
index 0000000..33a3837
Binary files /dev/null and b/icons/cross.png differ
diff --git a/icons/delete.png b/icons/delete.png
new file mode 100644 (file)
index 0000000..ace289e
Binary files /dev/null and b/icons/delete.png differ
diff --git a/icons/error.png b/icons/error.png
new file mode 100644 (file)
index 0000000..33c876b
Binary files /dev/null and b/icons/error.png differ
diff --git a/icons/film.png b/icons/film.png
new file mode 100644 (file)
index 0000000..d612c8b
Binary files /dev/null and b/icons/film.png differ
diff --git a/icons/global.png b/icons/global.png
new file mode 100644 (file)
index 0000000..b83e746
Binary files /dev/null and b/icons/global.png differ
diff --git a/icons/green.png b/icons/green.png
new file mode 100644 (file)
index 0000000..4c97a3e
Binary files /dev/null and b/icons/green.png differ
diff --git a/icons/important.png b/icons/important.png
new file mode 100644 (file)
index 0000000..d49653a
Binary files /dev/null and b/icons/important.png differ
diff --git a/icons/mentions.png b/icons/mentions.png
new file mode 100644 (file)
index 0000000..9058397
Binary files /dev/null and b/icons/mentions.png differ
diff --git a/icons/notice.png b/icons/notice.png
new file mode 100644 (file)
index 0000000..86fde52
Binary files /dev/null and b/icons/notice.png differ
diff --git a/icons/okay.png b/icons/okay.png
new file mode 100644 (file)
index 0000000..719e391
Binary files /dev/null and b/icons/okay.png differ
diff --git a/icons/statistics.png b/icons/statistics.png
new file mode 100644 (file)
index 0000000..ae39b56
Binary files /dev/null and b/icons/statistics.png differ
diff --git a/icons/support.png b/icons/support.png
new file mode 100644 (file)
index 0000000..1ae1c84
Binary files /dev/null and b/icons/support.png differ
diff --git a/icons/update.png b/icons/update.png
new file mode 100644 (file)
index 0000000..b7639f1
Binary files /dev/null and b/icons/update.png differ
diff --git a/icons/warning.png b/icons/warning.png
new file mode 100644 (file)
index 0000000..3ead1a7
Binary files /dev/null and b/icons/warning.png differ
diff --git a/images/acorn.png b/images/acorn.png
new file mode 100644 (file)
index 0000000..4e2ee9b
Binary files /dev/null and b/images/acorn.png differ
diff --git a/images/archive.png b/images/archive.png
new file mode 100644 (file)
index 0000000..35e7df5
Binary files /dev/null and b/images/archive.png differ
diff --git a/images/attach.png b/images/attach.png
new file mode 100644 (file)
index 0000000..398fabe
Binary files /dev/null and b/images/attach.png differ
diff --git a/images/caution.png b/images/caution.png
new file mode 100644 (file)
index 0000000..6277a69
Binary files /dev/null and b/images/caution.png differ
diff --git a/images/cog.png b/images/cog.png
new file mode 100644 (file)
index 0000000..bbe200e
Binary files /dev/null and b/images/cog.png differ
diff --git a/images/contact.png b/images/contact.png
new file mode 100644 (file)
index 0000000..609572f
Binary files /dev/null and b/images/contact.png differ
diff --git a/images/cross.png b/images/cross.png
new file mode 100644 (file)
index 0000000..4ee1253
Binary files /dev/null and b/images/cross.png differ
diff --git a/images/delete.png b/images/delete.png
new file mode 100644 (file)
index 0000000..30a45b8
Binary files /dev/null and b/images/delete.png differ
diff --git a/images/error.png b/images/error.png
new file mode 100644 (file)
index 0000000..1b20ae0
Binary files /dev/null and b/images/error.png differ
diff --git a/images/film.png b/images/film.png
new file mode 100644 (file)
index 0000000..70e5a68
Binary files /dev/null and b/images/film.png differ
diff --git a/images/global.png b/images/global.png
new file mode 100644 (file)
index 0000000..4c8403e
Binary files /dev/null and b/images/global.png differ
diff --git a/images/green.png b/images/green.png
new file mode 100644 (file)
index 0000000..f5f8789
Binary files /dev/null and b/images/green.png differ
diff --git a/images/important.png b/images/important.png
new file mode 100644 (file)
index 0000000..8270104
Binary files /dev/null and b/images/important.png differ
diff --git a/images/mentions.png b/images/mentions.png
new file mode 100644 (file)
index 0000000..6540ce0
Binary files /dev/null and b/images/mentions.png differ
diff --git a/images/notice.png b/images/notice.png
new file mode 100644 (file)
index 0000000..12baca5
Binary files /dev/null and b/images/notice.png differ
diff --git a/images/okay.png b/images/okay.png
new file mode 100644 (file)
index 0000000..7786ac7
Binary files /dev/null and b/images/okay.png differ
diff --git a/images/statistics.png b/images/statistics.png
new file mode 100644 (file)
index 0000000..3a840e6
Binary files /dev/null and b/images/statistics.png differ
diff --git a/images/support.png b/images/support.png
new file mode 100644 (file)
index 0000000..c003c0d
Binary files /dev/null and b/images/support.png differ
diff --git a/images/update.png b/images/update.png
new file mode 100644 (file)
index 0000000..c1ab75d
Binary files /dev/null and b/images/update.png differ
diff --git a/images/warning.png b/images/warning.png
new file mode 100644 (file)
index 0000000..2693b85
Binary files /dev/null and b/images/warning.png differ
diff --git a/js/d12-mb-mce-button-2.png b/js/d12-mb-mce-button-2.png
new file mode 100644 (file)
index 0000000..9935952
Binary files /dev/null and b/js/d12-mb-mce-button-2.png differ
diff --git a/js/d12-mb-mce-button.png b/js/d12-mb-mce-button.png
new file mode 100644 (file)
index 0000000..5be9636
Binary files /dev/null and b/js/d12-mb-mce-button.png differ
diff --git a/js/d12mb - Copy.js b/js/d12mb - Copy.js
new file mode 100644 (file)
index 0000000..803d62a
--- /dev/null
@@ -0,0 +1,95 @@
+// Set up TinyMCE Plugin\r
+(function() {\r
+       tinymce.create('tinymce.plugins.d12mb', {\r
+               init : function (ed, url) {\r
+                       ed.addButton('nutshell', {\r
+                               title:'This page in a nutshell',\r
+                               image:url + '/icons/acorn.png',\r
+                               onclick : function() {\r
+                                       ed.selection.setContent('[nutshell]' + ed.selection.getContent() + '[/nutshell]');\r
+                               }\r
+                       });\r
+                       ed.addButton('attach', {\r
+                               title:'Highlight attachments',\r
+                               image:url + '/icons/attach.png',\r
+                               onclick : function() {\r
+                                       ed.selection.setContent('[attach]' + ed.selection.getContent() + '[/attach]');\r
+                               }\r
+                       });\r
+                       ed.addButton('delete', {\r
+                               title:'Mark page for deletion',\r
+                               image:url + '/icons/delete.png',\r
+                               onclick : function() {\r
+                                       ed.selection.setContent('[delete]' + ed.selection.getContent() + '[/delete]');\r
+                               }\r
+                       });\r
+                       ed.addButton('part', {\r
+                               title:'Part of a series',\r
+                               image:url + '/icons/cog.png',\r
+                               onclick : function() {\r
+                                       ed.selection.setContent('[part]' + ed.selection.getContent() + '[/part]');\r
+                               }\r
+                       });\r
+                       ed.addButton('mentions', {\r
+                               title:'Page mentions',\r
+                               image:url + '/icons/mentions.png',\r
+                               onclick : function() {\r
+                                       ed.selection.setContent('[mentions]' + ed.selection.getContent() + '[/mentions]');\r
+                               }\r
+                       });\r
+                       ed.addButton('warning', {\r
+                               title:'Warning',\r
+                               image:url + '/icons/warning.png',\r
+                               onclick : function() {\r
+                                       ed.selection.setContent('[warning]' + ed.selection.getContent() + '[/warning]');\r
+                               }\r
+                       });\r
+                       ed.addButton('important', {\r
+                               title:'Important',\r
+                               image:url + '/icons/important.png',\r
+                               onclick : function() {\r
+                                       ed.selection.setContent('[important]' + ed.selection.getContent() + '[/important]');\r
+                               }\r
+                       });\r
+                       ed.addButton('notice', {\r
+                               title:'Notice',\r
+                               image:url + '/icons/notice.png',\r
+                               onclick : function() {\r
+                                       ed.selection.setContent('[notice]' + ed.selection.getContent() + '[/notice]');\r
+                               }\r
+                       });\r
+                       ed.addButton('error', {\r
+                               title:'Error',\r
+                               image:url + '/icons/error.png',\r
+                               onclick : function() {\r
+                                       ed.selection.setContent('[error]' + ed.selection.getContent() + '[/error]');\r
+                               }\r
+                       });\r
+                       ed.addButton('caution', {\r
+                               title:'Caution',\r
+                               image:url + '/icons/caution.png',\r
+                               onclick : function() {\r
+                                       ed.selection.setContent('[caution]' + ed.selection.getContent() + '[/caution]');\r
+                               }\r
+                       });\r
+                       ed.addButton('archive', {\r
+                               title:'Archive',\r
+                               image:url + '/icons/archive.png',\r
+                               onclick : function() {\r
+                                       ed.selection.setContent('[archive]' + ed.selection.getContent() + '[/archive]');\r
+                               }\r
+                       });\r
+                       ed.addButton('support', {\r
+                               title:'Add "Help" message',\r
+                               image:url + '/icons/support.png',\r
+                               onclick : function() {\r
+                                       ed.selection.setContent('[support message=""]' + ed.selection.getContent() + '[/support]');\r
+                               }\r
+                       });\r
+               },\r
+               createControl : function(n, cm) {  \r
+                       return null;\r
+               },\r
+       });\r
+       tinymce.PluginManager.add( 'd12mb', tinymce.plugins.d12mb );\r
+})();\r
diff --git a/js/d12mb.js b/js/d12mb.js
new file mode 100644 (file)
index 0000000..ba4cbf4
--- /dev/null
@@ -0,0 +1,455 @@
+(function() {\r
+       tinymce.create('tinymce.plugins.d12mb', {\r
+               init : function (ed, url) {\r
+                       ed.addButton('d12-mb-button', {\r
+                               title:'Add a message block',\r
+                               type:'menubutton',\r
+                               image: url + '/d12-mb-mce-button.png',\r
+                               menu: [\r
+                                       {\r
+                                               text: 'This article in a nutshell',\r
+                                               value: 'Nutshell',\r
+                                               icon: 'icon d12mb-nutshell',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter the contents for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 150,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'contents',\r
+                                                                       label: 'Contents:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( enutshell ) {\r
+                                                                       ed.selection.setContent('[d12-nutshell]' + enutshell.data.contents + '[/d12-nutshell]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       },\r
+                                       {\r
+                                               text: 'Highlight updates',\r
+                                               value: 'Update',\r
+                                               icon: 'icon d12mb-update',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter the contents for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 150,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'contents',\r
+                                                                       label: 'Contents:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( eupdate ) {\r
+                                                                       ed.selection.setContent('[d12-update]' + eupdate.data.contents + '[/d12-update]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       },\r
+                                       {\r
+                                               text: 'Highlight attachments',\r
+                                               value: 'Attach',\r
+                                               icon: 'icon d12mb-attach',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter the contents for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 150,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'contents',\r
+                                                                       label: 'Contents:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( eattach ) {\r
+                                                                       ed.selection.setContent('[d12-attach]' + eattach.data.contents + '[/d12-attach]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       },\r
+                                       {\r
+                                               text: 'Mark page for deletion',\r
+                                               value: 'Delete',\r
+                                               icon: 'icon d12mb-delete',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter the contents for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 150,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'contents',\r
+                                                                       label: 'Contents:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( edelete ) {\r
+                                                                       ed.selection.setContent('[d12-delete]' + edelete.data.contents + '[/d12-delete]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       },\r
+                                       {\r
+                                               text: 'Highlight mentions',\r
+                                               value: 'Mentions',\r
+                                               icon: 'icon d12mb-mentions',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter the contents for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 150,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'contents',\r
+                                                                       label: 'Contents:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( ementions ) {\r
+                                                                       ed.selection.setContent('[d12-mentions]' + ementions.data.contents + '[/d12-mentions]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       },\r
+                                       {\r
+                                               text: 'Warning',\r
+                                               value: 'Warning',\r
+                                               icon: 'icon d12mb-warning',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter the contents for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 150,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'contents',\r
+                                                                       label: 'Contents:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( ewarning ) {\r
+                                                                       ed.selection.setContent('[d12-warning]' + ewarning.data.contents + '[/d12-warning]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       },\r
+                                       {\r
+                                               text: 'Important',\r
+                                               value: 'Iportant',\r
+                                               icon: 'icon d12mb-important',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter the contents for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 150,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'contents',\r
+                                                                       label: 'Contents:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( eimportant ) {\r
+                                                                       ed.selection.setContent('[d12-important]' + eimportant.data.contents + '[/d12-important]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       },\r
+                                       {\r
+                                               text: 'Notice',\r
+                                               value: 'Notice',\r
+                                               icon: 'icon d12mb-notice',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter the contents for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 150,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'contents',\r
+                                                                       label: 'Contents:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( enotice ) {\r
+                                                                       ed.selection.setContent('[d12-notice]' + enotice.data.contents + '[/d12-notice]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       },\r
+                                       {\r
+                                               text: 'Error',\r
+                                               value: 'Error',\r
+                                               icon: 'icon d12mb-error',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter the contents for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 150,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'contents',\r
+                                                                       label: 'Contents:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( eerror ) {\r
+                                                                       ed.selection.setContent('[d12-error]' + eerror.data.contents + '[/d12-error]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       },\r
+                                       {\r
+                                               text: 'Caution',\r
+                                               value: 'Caution',\r
+                                               icon: 'icon d12mb-caution',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter the contents for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 150,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'contents',\r
+                                                                       label: 'Contents:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( ecaution ) {\r
+                                                                       ed.selection.setContent('[d12-caution]' + ecaution.data.contents + '[/d12-caution]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       },\r
+                                       {\r
+                                               text: 'Archive',\r
+                                               value: 'Archive',\r
+                                               icon: 'icon d12mb-archive',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter the contents for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 150,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'contents',\r
+                                                                       label: 'Contents:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( earchive ) {\r
+                                                                       ed.selection.setContent('[d12-archive]' + earchive.data.contents + '[/d12-archive]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       }\r
+                               ] // end of menu\r
+                       }); // end of ed.addButton\r
+                       ed.addButton('d12-mb-button-2', {\r
+                               title:'Add a message block with a custom title',\r
+                               type:'menubutton',\r
+                               image: url + '/d12-mb-mce-button-2.png',\r
+                               menu: [\r
+                                               {\r
+                                               text: 'Part of a series',\r
+                                               value: 'Part',\r
+                                               icon: 'icon d12mb-part',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter the data for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       name: 'title',\r
+                                                                       label: 'This series of articles is about:'\r
+                                                               },\r
+                                                               {\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 200,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'description',\r
+                                                                       label: 'Description of this series:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( epart ) {\r
+                                                                       ed.selection.setContent('[d12-part series="' + epart.data.title + '"]' + epart.data.description + '[/d12-part]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       }, // End of "Part" \r
+                                       {\r
+                                               text: 'Add a support message',\r
+                                               value: 'Support',\r
+                                               icon: 'icon d12mb-support',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter the support information',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       name: 'title',\r
+                                                                       label: 'Support title:'\r
+                                                               },\r
+                                                               {\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 200,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'description',\r
+                                                                       label: 'Support message:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( esupport ) {\r
+                                                                       ed.selection.setContent('[d12-support title="' + esupport.data.title + '"]' + esupport.data.description + '[/d12-support]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       }, // End of "Support"\r
+                                       {\r
+                                               text: 'Add contact information',\r
+                                               value: 'Contact',\r
+                                               icon: 'icon d12mb-contact',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter the contact information',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       name: 'title',\r
+                                                                       label: 'Contact box title:'\r
+                                                               },\r
+                                                               {\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 200,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'description',\r
+                                                                       label: 'Contact information:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( econtact ) {\r
+                                                                       ed.selection.setContent('[d12-contact title="' + econtact.data.title + '"]' + econtact.data.description + '[/d12-contact]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       }, // End of "Contact"\r
+                                       {\r
+                                               text: 'Add a global message',\r
+                                               value: 'Global',\r
+                                               icon: 'icon d12mb-global',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter a title for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       name: 'title',\r
+                                                                       label: 'Global title:'\r
+                                                               },\r
+                                                               {\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 200,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'description',\r
+                                                                       label: 'Global message:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( eglobal ) {\r
+                                                                       ed.selection.setContent('[d12-global title="' + eglobal.data.title + '"]' + eglobal.data.description + '[/d12-global]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       }, // End of "Global"\r
+                                       {\r
+                                               text: 'Add a green message',\r
+                                               value: 'Green',\r
+                                               icon: 'icon d12mb-green',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter a title for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       name: 'title',\r
+                                                                       label: 'Green title:'\r
+                                                               },\r
+                                                               {\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 200,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'description',\r
+                                                                       label: 'Green message:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( egreen ) {\r
+                                                                       ed.selection.setContent('[d12-green title="' + egreen.data.title + '"]' + egreen.data.description + '[/d12-green]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       }, // End of "Green"\r
+                                       {\r
+                                               text: 'Add an accept message',\r
+                                               value: 'Accept',\r
+                                               icon: 'icon d12mb-accept',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter a title for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       name: 'title',\r
+                                                                       label: 'Accept title:'\r
+                                                               },\r
+                                                               {\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 200,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'description',\r
+                                                                       label: 'Accept message:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( eaccept ) {\r
+                                                                       ed.selection.setContent('[d12-accept title="' + eaccept.data.title + '"]' + eaccept.data.description + '[/d12-accept]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       }, // End of "Green"\r
+                                       {\r
+                                               text: 'Add a stats message',\r
+                                               value: 'Statistics',\r
+                                               icon: 'icon d12mb-stats',\r
+                                               onclick: function() {\r
+                                                       ed.windowManager.open( {\r
+                                                               title: 'Please enter a title for this message box',\r
+                                                               body: [{\r
+                                                                       type: 'textbox',\r
+                                                                       name: 'title',\r
+                                                                       label: 'Statistics title:'\r
+                                                               },\r
+                                                               {\r
+                                                                       type: 'textbox',\r
+                                                                       minHeight: 200,\r
+                                                                       minWidth: 400,\r
+                                                                       multiline: 'true',\r
+                                                                       name: 'description',\r
+                                                                       label: 'Statistics message:'\r
+                                                               }\r
+                                                               ],\r
+                                                               onsubmit: function( estats ) {\r
+                                                                       ed.selection.setContent('[d12-stats title="' + estats.data.title + '"]' + estats.data.description + '[/d12-stats]');\r
+                                                               }\r
+                                                       });\r
+                                               }\r
+                                       } // End of "Statistics"\r
+                               ] // end of menu\r
+                       }); // end of ed.addButton\r
+               },\r
+               createControl : function(n, cm) {\r
+                       return null;\r
+               },\r
+       }); // end of tinymce.create()\r
+       tinymce.PluginManager.add( 'd12mb', tinymce.plugins.d12mb );\r
+})(); // closes the first line\r
diff --git a/plugin-options.php b/plugin-options.php
new file mode 100644 (file)
index 0000000..e4e1318
--- /dev/null
@@ -0,0 +1,190 @@
+<?php\r
+\r
+// Create a new admin panel\r
+function d12mb_admin_panel_setup(){\r
+       add_submenu_page(\r
+       'options-general.php',\r
+       'd12 Message Blocks Options',\r
+       'd12 Message Blocks',\r
+       'manage_options',\r
+       'd12-menu-blocks-options',\r
+       'd12mb_options_callback'\r
+       );\r
+}\r
+add_action('admin_menu', 'd12mb_admin_panel_setup');\r
+\r
+\r
+// Callback to create the setting page\r
+function d12mb_options_callback(){\r
+?>\r
+\r
+       <div class="wrap">\r
+       <h2>d12 Message Blocks Options</h2>\r
+       <p><strong>New!</strong> In version 1.1, you can select from 10 different border styles and 11 color schemes. Seven of the color schemes are suitable for light backgrounds, and the other four are suitable for dark backgrounds. (Screenshots display the "Business" color scheme.)</p>\r
+\r
+\r
+       <form method="post" action="options.php"> \r
+       <?php\r
+               settings_fields( 'd12mb_options_group' );\r
+               do_settings_sections( 'd12mb_border' );\r
+               do_settings_sections( 'd12mb_color' );\r
+\r
+       ?>\r
+       <input name="Submit" type="submit" class="button-primary" value="<?php esc_attr_e(__('Save Options','d12-message-blocks')); ?>" />\r
+       </form>\r
+       </div>\r
+<?php\r
+};\r
+\r
+\r
+// Add the admin settings\r
+add_action( 'admin_init', 'd12mb_admin_init');\r
+function d12mb_admin_init() {\r
+       register_setting(\r
+               'd12mb_options_group',\r
+               'd12mb_options',\r
+               ''\r
+       );\r
+       add_settings_section(\r
+               'd12mb_border_settings',\r
+               'Border Style Options',\r
+               'bs_settings_section',\r
+               'd12mb_border'\r
+       );\r
+       add_settings_field(\r
+               'd12mb_bs',\r
+               'Message Block Border Style',\r
+               'bs_settings_field',\r
+               'd12mb_border',\r
+               'd12mb_border_settings'\r
+       );\r
+       add_settings_section(\r
+               'd12mb_color_settings',\r
+               'Color Scheme Options',\r
+               'cs_settings_section',\r
+               'd12mb_color'\r
+       );\r
+       add_settings_field(\r
+               'd12mb_cs',\r
+               'Message Blocks Color Scheme',\r
+               'cs_settings_field',\r
+               'd12mb_color',\r
+               'd12mb_color_settings'\r
+       );\r
+};\r
+\r
+\r
+// Callback for border style setting_section\r
+function bs_settings_section() {\r
+       echo '<p>Select from one of 10 different border styles.</p>';\r
+};\r
+\r
+\r
+\r
+// Callback for color scheme setting_section\r
+function cs_settings_section() {\r
+       echo '<p>Select from one of 11 different color schemes.</p>';\r
+};\r
+\r
+\r
+\r
+// Callback for settings_field for Border Style\r
+function bs_settings_field(){\r
+       $options = get_option( 'd12mb_options' );\r
+\r
+       $html = '<p><b>Rounded Corner Options</b></p>';\r
+\r
+       $html .= '<input type="radio" id="bs_one" name="d12mb_options[bs]" value="1"' . checked( 1, $options['bs'], false ) . '/>';\r
+       $html .= '<label for="bs_one">' . __( 'Rounded Corners Thin Border', 'd12-message-blocks' ) . '<br />';\r
+       $html .= '<img src="' .plugins_url( 'examples/example01.png', __FILE__ ) . '" /></label><br /> ';\r
+\r
+       $html .= '<input type="radio" id="bs_two" name="d12mb_options[bs]" value="2"' . checked( 2, $options['bs'], false ) . '/>';\r
+       $html .= '<label for="bs_two">' . __( 'Rounded Corners Thick Border', 'd12-message-blocks' ) . '<br />';\r
+       $html .= '<img src="' .plugins_url( 'examples/example02.png', __FILE__ ) . '" /></label><br /> ';\r
+\r
+       $html .= '<input type="radio" id="bs_three" name="d12mb_options[bs]" value="3"' . checked( 3, $options['bs'], false ) . '/>';\r
+       $html .= '<label for="bs_three">' . __( 'Rounded Corners Double Border', 'd12-message-blocks' ) . '<br />';\r
+       $html .= '<img src="' .plugins_url( 'examples/example03.png', __FILE__ ) . '" /></label><br /> ';\r
+\r
+       $html .= '<p><b>Square Corner Options</b></p>';\r
+\r
+       $html .= '<input type="radio" id="bs_four" name="d12mb_options[bs]" value="4"' . checked( 4, $options['bs'], false ) . '/>';\r
+       $html .= '<label for="bs_four">' . __( 'Square Corners Thin Border', 'd12-message-blocks' ) . '<br />';\r
+       $html .= '<img src="' .plugins_url( 'examples/example04.png', __FILE__ ) . '" /></label><br />';\r
+\r
+       $html .= '<input type="radio" id="bs_five" name="d12mb_options[bs]" value="5"' . checked( 5, $options['bs'], false ) . '/>';\r
+       $html .= '<label for="bs_five">' . __( 'Square Corners Thick Border', 'd12-message-blocks' ) . '<br />';\r
+       $html .= '<img src="' .plugins_url( 'examples/example05.png', __FILE__ ) . '" /></label><br />';\r
+\r
+       $html .= '<input type="radio" id="bs_six" name="d12mb_options[bs]" value="6"' . checked( 6, $options['bs'], false ) . '/>';\r
+       $html .= '<label for="bs_six">' . __( 'Square Corners Double Border', 'd12-message-blocks' ) . '<br />';\r
+       $html .= '<img src="' .plugins_url( 'examples/example06.png', __FILE__ ) . '" /></label><br />';\r
+\r
+       $html .= '<p><b>MediaWiki Style Borders</b> have a bar on the left side</p>';\r
+\r
+       $html .= '<input type="radio" id="bs_seven" name="d12mb_options[bs]" value="7"' . checked( 7, $options['bs'], false ) . '/>';\r
+       $html .= '<label for="bs_seven">' . __( 'Thick Bar Thin Border', 'd12-message-blocks' ) . '<br />';\r
+       $html .= '<img src="' .plugins_url( 'examples/example07.png', __FILE__ ) . '" /></label><br />';\r
+\r
+       $html .= '<input type="radio" id="bs_eight" name="d12mb_options[bs]" value="8"' . checked( 8, $options['bs'], false ) . '/>';\r
+       $html .= '<label for="bs_eight">' . __( 'Thick Bar Thick Border', 'd12-message-blocks' ) . '<br />';\r
+       $html .= '<img src="' .plugins_url( 'examples/example08.png', __FILE__ ) . '" /></label><br />';\r
+\r
+       $html .= '<input type="radio" id="bs_nine" name="d12mb_options[bs]" value="9"' . checked( 9, $options['bs'], false ) . '/>';\r
+       $html .= '<label for="bs_nine">' . __( 'Thin Bar Thick Border', 'd12-message-blocks' ) . '<br />';\r
+       $html .= '<img src="' .plugins_url( 'examples/example09.png', __FILE__ ) . '" /></label><br />';\r
+\r
+       $html .= '<input type="radio" id="bs_ten" name="d12mb_options[bs]" value="10"' . checked( 10, $options['bs'], false ) . '/>';\r
+       $html .= '<label for="bs_ten">' . __( 'Thin Bar Thin Border', 'd12-message-blocks' ) . '<br />';\r
+       $html .= '<img src="' .plugins_url( 'examples/example10.png', __FILE__ ) . '" /></label><br />';\r
+\r
+echo $html;\r
+}\r
+\r
+// Callback for settings_field for Color Scheme\r
+function cs_settings_field(){\r
+       $options = get_option( 'd12mb_options' );\r
+\r
+       $html = '<p><b>Light Themes</b> &mdash; suitable for light backgrounds</p>';\r
+\r
+       $html .= '<input type="radio" id="cs_one" name="d12mb_options[cs]" value="1"' . checked( 1, $options['cs'], false ) . '/>';\r
+       $html .= '<label for="cs_one">'. __( 'Colorful (Default)', 'd12-message-blocks' ) . '</label><br /> ';\r
+\r
+       $html .= '<input type="radio" id="cs_two" name="d12mb_options[cs]" value="2"' . checked( 2, $options['cs'], false ) . '/>';\r
+       $html .= '<label for="cs_two">' . __( 'Business', 'd12-message-blocks' ) . '</label><br /> ';\r
+\r
+       $html .= '<input type="radio" id="cs_three" name="d12mb_options[cs]" value="3"' . checked( 3, $options['cs'], false ) . '/>';\r
+       $html .= '<label for="cs_three">' . __( 'Beach', 'd12-message-blocks' ) . '</label><br /> ';\r
+\r
+       $html .= '<input type="radio" id="cs_four" name="d12mb_options[cs]" value="4"' . checked( 4, $options['cs'], false ) . '/>';\r
+       $html .= '<label for="cs_four">' . __( 'Sol', 'd12-message-blocks' ) . '</label><br /> ';\r
+\r
+       $html .= '<input type="radio" id="cs_five" name="d12mb_options[cs]" value="5"' . checked( 5, $options['cs'], false ) . '/>';\r
+       $html .= '<label for="cs_five">' . __( 'Aqua', 'd12-message-blocks' ) . '</label><br /> ';\r
+\r
+       $html .= '<input type="radio" id="cs_six" name="d12mb_options[cs]" value="6"' . checked( 6, $options['cs'], false ) . '/>';\r
+       $html .= '<label for="cs_six">' . __( 'Forest', 'd12-message-blocks' ) . '</label><br /> ';\r
+\r
+       $html .= '<input type="radio" id="cs_seven" name="d12mb_options[cs]" value="7"' . checked( 7, $options['cs'], false ) . '/>';\r
+       $html .= '<label for="cs_seven">' . __( 'Winter', 'd12-message-blocks' ) . '</label><br /> ';\r
+\r
+       $html .= '<input type="radio" id="cs_twelve" name="d12mb_options[cs]" value="12"' . checked( 12, $options['cs'], false ) . '/>';\r
+       $html .= '<label for="cs_twelve">' . __( 'Black and White', 'd12-message-blocks' ) . '</label><br /> ';\r
+\r
+       $html .= '<p><b>Dark Themes</b> &mdash; suitable for dark backgrounds</p>';\r
+\r
+       $html .= '<input type="radio" id="cs_eight" name="d12mb_options[cs]" value="8"' . checked( 8, $options['cs'], false ) . '/>';\r
+       $html .= '<label for="cs_eight">' . __( 'Magique', 'd12-message-blocks' ) . '</label><br /> ';\r
+\r
+       $html .= '<input type="radio" id="cs_nine" name="d12mb_options[cs]" value="9"' . checked( 9, $options['cs'], false ) . '/>';\r
+       $html .= '<label for="cs_nine">' . __( 'Solstice', 'd12-message-blocks' ) . '</label><br /> ';\r
+\r
+       $html .= '<input type="radio" id="cs_ten" name="d12mb_options[cs]" value="10"' . checked( 10, $options['cs'], false ) . '/>';\r
+       $html .= '<label for="cs_ten">' . __( 'Bark', 'd12-message-blocks' ) . '</label><br /> ';\r
+\r
+       $html .= '<input type="radio" id="cs_eleven" name="d12mb_options[cs]" value="11"' . checked(11, $options['cs'], false ) . '/>';\r
+       $html .= '<label for="cs_eleven">' . __( 'Leaves', 'd12-message-blocks' ) . '</label><br /> ';\r
+\r
+       echo $html;\r
+};\r
+\r
diff --git a/readme.txt b/readme.txt
new file mode 100644 (file)
index 0000000..14d6759
--- /dev/null
@@ -0,0 +1,112 @@
+=== d12 Message Blocks ===\r
+Contributors: kjodle\r
+Tags: shortcodes, message blocks, posts, pages\r
+Donate link: http://kjodle.info/support\r
+Requires at least: 2.5\r
+Tested up to: 4.8\r
+Stable tag: 2.5\r
+License: GPLv2 or later\r
+License URI: http://www.gnu.org/licenses/gpl.html\r
+\r
+Highlight important information by adding message blocks to your posts and pages\r
+\r
+\r
+== Description ==\r
+d12 Message Blocks makes it easy for you to highlight important information on your posts and pages by adding easy-to-notice message blocks. The plugin's functions are easily accessible from a drop-down menu in the TinyMCE editor toolbar.\r
+\r
+There are two types of message blocks. The first type provides a title and prompts you for the message block's content. The second type prompts you for both a title and the content.\r
+\r
+Want to see it in action? Check out [my demo page](http://demo.kjodle.net/wordpress/plugins/d12-message-blocks/).\r
+\r
+Questions? Suggestions? Issues? Reach out to me on Twitter at [@kjodle](http://twitter.com/#!/kjodle) or [@iswpw](http://twitter.com/#!/iswpw), or in the plugin's [support forum](https://wordpress.org/support/plugin/d12-message-blocks).\r
+\r
+Bleeding edge versions are on [my git repo here](http://git.kjodle.net/public/?p=d12-message-blocks.git;a=summary). Development is intermittent, but you can see what I'm toying around with there. (Beta testers are welcome! Feel free to download the latest snapshot and let me know what you think.)\r
+\r
+Although this plugin is fairly self-explanatory, the most up to date documentation is available [on my wiki](http://wiki.kjodle.net/D12_Message_Blocks_Documentation). \r
+\r
+\r
+== Installation ==\r
+\r
+**From your WordPress dashboard**\r
+\r
+1. Visit 'Plugins > Add New'\r
+1. Search for 'd12 Message Blocks'\r
+1. Activate d12 Message Blocksfrom your Plugins page.\r
+\r
+**From WordPress.org**\r
+\r
+1. Download d12 Message Blocks.\r
+1. Upload the 'd12-message-blocks' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...)\r
+1. Activate d12 Message Blocks from your Plugins page.\r
+\r
+\r
+== Frequently Asked Questions ==\r
+\r
+= Will this plugin work with all themes? =\r
+\r
+It should. I haven't tested it with all themes, but I've written it in such a way that it should. If you encounter issues, please post a link to your site in the [support forum](http://wordpress.org/support/plugin/d12-message-blocks) along with a description of your issue.\r
+\r
+= Is this plugin responsive? =\r
+\r
+Yes. It should look good on all mobile devices, although on extremely narrow screens, the icon will shift to the top.\r
+\r
+= Can I change the border or background colors? =\r
+\r
+<strong>New in 2.0</strong> You can now select from 10 different border styles and 11 different color schemes from the plugin's options page.\r
+\r
+= I can't see the toolbar buttons. =\r
+\r
+Click on the ["Toggle Toolbar"](https://make.wordpress.org/support/user-manual/content/editors/visual-editor/#row-2) button at the end of the first row.\r
+\r
+= Can I add links or lists? =\r
+\r
+You can add any html you like in the popup window, and it will be passed to the visual editor. If you are not comfortable editing html, it is easier to add links or lists after you have clicked "OK" and been returned to the visual editor.\r
+\r
+\r
+== Screenshots ==\r
+\r
+1. The plugin adds these two buttons to the end of the second toolbar.\r
+2. The first button lets you add these message blocks. They will automatically add the title shown in the menu.\r
+3. A popup box from the first button.\r
+4. The second button lets you add these message blocks. You will be prompted both for a title and content.\r
+5. A popup box from the second button.\r
+6. The "Part of a series" button is a little different, as you only need a single word or phrase for the title. \r
+7. The output from the "Part of a series" button.\r
+8. <strong>New in 2.0!</strong> Choose from among 10 different border styles.\r
+9. <strong>New in 2.0!</strong> Choose from 7 new light color schemes (in addition to the default color scheme).\r
+10. <strong>New in 2.0!</strong> Choose from 4 new dark color schemes.\r
+\r
+\r
+== Changelog ==\r
+= 2.4 =\r
+* Made blocks full-width in mobile views\r
+\r
+= 2.3 =\r
+* Fixed a bug with stylesheets not loading\r
+\r
+= 2.2 =\r
+* Fixed a bug with the "Part of a Series" message block\r
+* Changed demo location to new plugin demo site\r
+\r
+= 2.1 = \r
+* Fixed an issue with some shortcodes appearing at the beginning of the post instead of where they were inserted in post.\r
+\r
+= 2.0 =\r
+* Added an option page allowing users to select from 10 different border styles and 11 different color schemes.\r
+\r
+= 1.1 =\r
+* Plugin is now translatable\r
+\r
+= 1.0 =\r
+* Initial release\r
+\r
+== Upgrade Notice ==\r
+\r
+= 2.4 =\r
+Message blocks are now full-width on mobile devices.\r
+\r
+= 2.3 =\r
+This upgrade fixes a bug with stylesheets not loading, which caused the message blocks to not appear properly.\r
+\r
+= 2.0 =\r
+You can now change color schemes or border styles from the plugin's options page.\r