Permalink
Browse files

kept it simple, copied antioch's lib

  • Loading branch information...
1 parent 9c49169 commit 2da81ace774ad60a913babe640fae5813b7ea4c2 Justin Louie committed Dec 14, 2012
Showing with 16,415 additions and 5 deletions.
  1. +5 −5 themes/scacseattle.org/functions.php
  2. +367 −0 themes/scacseattle.org/lib/admin/css/admin.css
  3. +3 −0 themes/scacseattle.org/lib/admin/css/index.php
  4. +28 −0 themes/scacseattle.org/lib/admin/custom-background.php
  5. +148 −0 themes/scacseattle.org/lib/admin/dashboard.php
  6. +3 −0 themes/scacseattle.org/lib/admin/images/index.php
  7. BIN themes/scacseattle.org/lib/admin/images/menu_icon-location-16.png
  8. BIN themes/scacseattle.org/lib/admin/images/menu_icon-location-32.png
  9. BIN themes/scacseattle.org/lib/admin/images/menu_icon-person-16.png
  10. BIN themes/scacseattle.org/lib/admin/images/menu_icon-person-32.png
  11. BIN themes/scacseattle.org/lib/admin/images/menu_icon-sermon-16.png
  12. BIN themes/scacseattle.org/lib/admin/images/menu_icon-sermon-32.png
  13. BIN themes/scacseattle.org/lib/admin/images/menu_icon-slide-16.png
  14. BIN themes/scacseattle.org/lib/admin/images/menu_icon-slide-32.png
  15. +3 −0 themes/scacseattle.org/lib/admin/index.php
  16. +443 −0 themes/scacseattle.org/lib/admin/location-settings.php
  17. +2,134 −0 themes/scacseattle.org/lib/admin/metabox.php
  18. +62 −0 themes/scacseattle.org/lib/admin/page-options.php
  19. +435 −0 themes/scacseattle.org/lib/admin/person-settings.php
  20. +324 −0 themes/scacseattle.org/lib/admin/podcast-settings.php
  21. +427 −0 themes/scacseattle.org/lib/admin/post-settings.php
  22. BIN themes/scacseattle.org/lib/admin/reorder/indent.gif
  23. +561 −0 themes/scacseattle.org/lib/admin/reorder/inestedsortable.js
  24. +12 −0 themes/scacseattle.org/lib/admin/reorder/interface-1.2.js
  25. +615 −0 themes/scacseattle.org/lib/admin/reorder/interface/idrag-modified.js
  26. +323 −0 themes/scacseattle.org/lib/admin/reorder/interface/idrop.js
  27. +392 −0 themes/scacseattle.org/lib/admin/reorder/interface/isortables.js
  28. +245 −0 themes/scacseattle.org/lib/admin/reorder/interface/iutil.js
  29. +26 −0 themes/scacseattle.org/lib/admin/reorder/licence.txt
  30. BIN themes/scacseattle.org/lib/admin/reorder/loading.gif
  31. +61 −0 themes/scacseattle.org/lib/admin/reorder/process-sortable.php
  32. +36 −0 themes/scacseattle.org/lib/admin/reorder/readme.txt
  33. +134 −0 themes/scacseattle.org/lib/admin/reorder/reorder.css
  34. +32 −0 themes/scacseattle.org/lib/admin/reorder/reorder.js
  35. +196 −0 themes/scacseattle.org/lib/admin/reorder/reorder.php
  36. +61 −0 themes/scacseattle.org/lib/admin/scripts/editor_plugin.js
  37. +3 −0 themes/scacseattle.org/lib/admin/scripts/index.php
  38. +6 −0 themes/scacseattle.org/lib/admin/scripts/sidebar.js
  39. BIN themes/scacseattle.org/lib/admin/scripts/vimeo.png
  40. BIN themes/scacseattle.org/lib/admin/scripts/youtube.png
  41. +500 −0 themes/scacseattle.org/lib/admin/sermon-settings.php
  42. +193 −0 themes/scacseattle.org/lib/admin/sidebars.php
  43. +354 −0 themes/scacseattle.org/lib/admin/slide-settings.php
  44. +185 −0 themes/scacseattle.org/lib/admin/social-footer.php
  45. +393 −0 themes/scacseattle.org/lib/admin/theme-options.php
  46. +97 −0 themes/scacseattle.org/lib/admin/update.php
  47. +158 −0 themes/scacseattle.org/lib/functions/entry-views.php
  48. +1,075 −0 themes/scacseattle.org/lib/functions/functions.php
  49. +3 −0 themes/scacseattle.org/lib/functions/index.php
  50. +2,273 −0 themes/scacseattle.org/lib/functions/post-types.php
  51. +25 −0 themes/scacseattle.org/lib/functions/prefix-post-types.php
  52. +56 −0 themes/scacseattle.org/lib/functions/presstrends.php
  53. +292 −0 themes/scacseattle.org/lib/functions/search-excerpt.php
  54. +27 −0 themes/scacseattle.org/lib/functions/shortcode-people-noimage.php
  55. +33 −0 themes/scacseattle.org/lib/functions/shortcode-people.php
  56. +23 −0 themes/scacseattle.org/lib/functions/shortcode-posts-noimage.php
  57. +29 −0 themes/scacseattle.org/lib/functions/shortcode-posts.php
  58. +26 −0 themes/scacseattle.org/lib/functions/shortcode-sermons-noimage.php
  59. +32 −0 themes/scacseattle.org/lib/functions/shortcode-sermons.php
  60. +1,863 −0 themes/scacseattle.org/lib/functions/widgets.php
  61. +3 −0 themes/scacseattle.org/lib/index.php
  62. +68 −0 themes/scacseattle.org/lib/scripts/download.php
  63. +3 −0 themes/scacseattle.org/lib/scripts/index.php
  64. +6 −0 themes/scacseattle.org/lib/scripts/jquery.flexslider.min.js
  65. +7 −0 themes/scacseattle.org/lib/scripts/jquery.placeholder.min.js
  66. +21 −0 themes/scacseattle.org/lib/scripts/jquery.selectbox.min.js
  67. +107 −0 themes/scacseattle.org/lib/scripts/main.js
  68. +1 −0 themes/scacseattle.org/lib/scripts/main.min.js
  69. +75 −0 themes/scacseattle.org/lib/scripts/podcast-feed.php
  70. +116 −0 themes/scacseattle.org/lib/scripts/scheme.php
  71. +3 −0 themes/scacseattle.org/lib/scripts/timthumb-config.php
  72. +1,244 −0 themes/scacseattle.org/lib/scripts/timthumb.php
  73. +38 −0 themes/scacseattle.org/lib/scripts/twitter.js
  74. +1 −0 themes/scacseattle.org/lib/scripts/twitter.min.js
@@ -30,17 +30,17 @@
// Define theme location for bundled plugins
if(!defined('WP_THEME_URL')) {
- define( 'WP_THEME_URL', get_template_directory_uri());
+ define( 'WP_THEME_URL', get_stylesheet_directory_uri());
}
if(!defined('WP_THEME_DIR')) {
- define( 'WP_THEME_DIR', get_template_directory_uri());
+ define( 'WP_THEME_DIR', get_stylesheet_directory());
}
-require_once ( TEMPLATEPATH . '/config.php' );
+require_once ( WP_THEME_DIR . '/config.php' );
// Set path to function libraries
-$admin_path = TEMPLATEPATH . '/lib/admin/';
-$functions_path = TEMPLATEPATH . '/lib/functions/';
+$admin_path = WP_THEME_DIR . '/lib/admin/';
+$functions_path = WP_THEME_DIR . '/lib/functions/';
// Load each admin function
require_once ($admin_path . 'theme-options.php'); // Custom theme options
@@ -0,0 +1,367 @@
+/* Widget Admin */
+
+input.error {
+ background-color:#fff5f3 !important;
+ border:1px solid #ffd9d5 !important;
+}
+p.checkbox_stack {
+ margin-bottom:5px !important;
+}
+
+
+/* Custom Admin CSS */
+
+h2.meta_section {
+ clear:left !important;
+ margin:0 0 0 15px !important;
+ padding-top:20px !important;
+}
+.meta_item {
+ clear:both;
+ padding-top:20px;
+}
+.first {
+ padding-top:0;
+}
+.meta_item label {
+ float:left;
+ padding:8px 2px 0;
+ text-align:right;
+ width:125px;
+}
+.meta_item input {
+ float:left;
+ margin-left:10px;
+ padding:5px;
+}
+.meta_item input.ct_meta_checkbox {
+ margin-top:8px;
+}
+.meta_item a.button {
+ clear:left;
+ float:left;
+ margin:10px 0 0 140px;
+}
+.verse_start {
+ float:left;
+ margin-bottom:20px;
+}
+.verse_start input {
+ float:none !important;
+ margin:0 10px !important;
+}
+.verse_end {
+ clear:none;
+ float:left;
+ margin-bottom:20px;
+}
+.verse_end input {
+ float:none !important;
+ margin:0 10px !important;
+}
+.phone_label {
+ float:left;
+ margin-bottom:20px;
+}
+.phone_label input {
+ float:none !important;
+ margin:0 10px !important;
+}
+.phone_number {
+ clear:none;
+ float:left;
+}
+.phone_number input {
+ float:none !important;
+ margin:0 10px !important;
+}
+.meta_item textarea {
+ float:left;
+ margin-left:10px;
+ padding:5px;
+}
+.meta_item select {
+ margin-left:10px;
+ width:175px;
+}
+.meta_item p {
+ float:left;
+ padding:0 0 0 18px;
+}
+p.meta_info {
+ float:left;
+ line-height:18px;
+ padding:0 25px 0 135px;
+}
+.meta_item span {
+ clear:left;
+ color:#999;
+ float:left;
+ font-size:10px;
+ font-style:italic;
+ line-height:16px;
+ padding:10px 25px 0 140px;
+}
+.meta_item span.label_note {
+ clear:none;
+ color:#999;
+ float:none;
+ font-size:10px;
+ padding:0;
+}
+.meta_clear {
+ clear:both;
+ height:30px;
+}
+hr.meta_divider {
+ border:none;
+ border-top:1px solid #eee;
+ clear:both;
+ float:left;
+ margin:40px 0 30px 20px;
+ width:95%;
+}
+.placeholder {
+ color:#bbb !important;
+}
+
+
+/* Custom Dashboard Widgets */
+
+#churchthemes_top_sermons th {
+ padding-bottom:2px;
+}
+#churchthemes_top_sermons td, .top_sermons th {
+ border-bottom:1px solid #ececec;
+ font-size:12px;
+ line-height:22px;
+ padding:4px;
+}
+#churchthemes_top_sermons tr.alt {
+ background:#fcfcfc;
+}
+#churchthemes_top_sermons tr:hover {
+ background:#f0f0f0;
+}
+#churchthemes_top_sermons thead tr:hover {
+ background:none;
+}
+#churchthemes_top_sermons td span.count {
+ float:left;
+ padding-right:5px;
+ text-align:right;
+ width:20px;
+}
+#churchthemes_top_sermons td span.title {
+ clear:none;
+ float:left;
+ width:80%;
+}
+#churchthemes_top_sermons th.title {
+ padding-left:28px;
+}
+#churchthemes_top_sermons .center {
+ text-align:center;
+}
+.ct_divider {
+ border-bottom:1px solid #dfdfdf;
+ height:20px;
+ margin-bottom:8px;
+ width:100%;
+}
+
+
+/* Theme Options Panel */
+
+.icon32-posts-ct_slide {
+ background:url(../images/menu_icon-slide-32.png) no-repeat !important;
+}
+.icon32-posts-ct_sermon {
+ background:url(../images/menu_icon-sermon-32.png) no-repeat !important;
+}
+.icon32-posts-ct_location {
+ background:url(../images/menu_icon-location-32.png) no-repeat !important;
+}
+.icon32-posts-ct_person {
+ background:url(../images/menu_icon-person-32.png) no-repeat !important;
+}
+.icon32-posts-ct_testimony {
+ background:url(../images/menu_icon-testimony-32.png) no-repeat !important;
+}
+
+.form-table.churchthemes th,
+.form-table.churchthemes td {
+ border-bottom:1px solid #eee;
+ padding:15px 0;
+ text-align:left;
+ vertical-align:middle !important;
+}
+
+.form-table.churchthemes tr.top th,
+.form-table.churchthemes tr.top td {
+ vertical-align:top !important;
+}
+
+.form-table.churchthemes tr.top td.info p:nth-child(1) {
+ margin-top: 3px;
+}
+
+.form-table.churchthemes td.option {
+ width:30em;
+}
+
+.form-table td p {
+ margin-top: 1em;
+}
+
+.form-table.churchthemes .button {
+ margin-top:10px;
+}
+
+.form-table.churchthemes .preview {
+ background:#fff;
+ border:1px solid #eee;
+ clear:both;
+ float:left;
+ margin-top:10px;
+ padding:5px;
+}
+
+
+/* Sidebars */
+
+br.clear {
+ clear: both;
+ display: block;
+ height: 1px;
+ margin: -1px 0 0 0;
+}
+#slider_form {
+ margin-bottom: 40px;
+}
+#sliders-wrap .postbox {
+ position: relative;
+ margin: 0;
+}
+#sliders-wrap .inside {
+ overflow: hidden;
+}
+#sliders-wrap .handlediv {
+ cursor: pointer;
+}
+#sliders-wrap .postbox input.slide_title,
+#sliders-wrap .postbox input.slide_bgsrc,
+#sliders-wrap .postbox input.slide_src,
+#sliders-wrap .postbox input.slide_link {
+ width: 60%;
+}
+#sliders-wrap .postbox input {
+ height: 23px;
+}
+#sliders-wrap .postbox textarea {
+ width: 60%;
+ height: 140px;
+ float: left;
+}
+#sliders-wrap .postbox .nivo_caption textarea {
+ height: 65px;
+}
+#sliders-wrap .postbox h3 input {
+ margin: 0;
+ padding: 0;
+ width: auto;
+ height: 14px;
+ color: #464646;
+ font-size: 12px;
+ font-weight: bold;
+ text-shadow: 1px 1px 1px #fff;
+ border: none;
+ background: none;
+}
+#sliders-wrap .postbox h3 input:focus {
+ padding: 3px;
+ height: 20px;
+ font-size: 12px;
+ font-weight: normal;
+ text-shadow: none;
+ border: 1px solid #bbb;
+ background: #fff;
+}
+#sliders-wrap .slide {
+ overflow: hidden;
+ margin-bottom: 20px;
+ padding-bottom: 1px;
+ cursor: move;
+}
+#sliders-wrap .slide-highlight {
+ display: block;
+ margin-bottom: 20px;
+ height: 265px;
+ border: 1px dashed #bbb;
+ background: #f5f5f5;
+ border-radius: 5px;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+}
+#sliders-wrap .slider-settings-column {
+ width: 48%;
+}
+#sliders-wrap .slider-settings-column p {
+ font-style: normal;
+ position: relative;
+}
+#sliders-wrap .postbox p.slide_desc_p {
+ height: 142px;
+ overflow: hidden;
+}
+#sliders-wrap .postbox p.nivo_caption {
+ height: 67px;
+ overflow: hidden;
+}
+#sliders-wrap .postbox p.slide_desc_p span {
+ margin: 5px 0 0 5px;
+ float: left;
+}
+#sliders-wrap .delete-slide-wrap {
+ position: absolute;
+ top: 2px;
+ right: 20px;
+ margin-top: 4px;
+ padding-top: 2px;
+ width: 110px;
+ height: 20px;
+}
+#sliders-wrap .delete-slide {
+ padding: 3px 3px 2px 3px;
+ color: red;
+ font-size: 11px;
+ border-bottom: 1px solid red;
+}
+#sliders-wrap .delete-slide:hover {
+ color: #fff !important;
+ background: red !important;
+ cursor: pointer;
+}
+
+#manager-sidebars #sidebar-list tbody tr strong{
+ font-size: 12px;
+}
+#sliders-wrap .slider-settings-column p a.help-anchor {
+ width: 14px;
+ height: 14px;
+ text-decoration: none;
+}
+.help-tip {
+ display: none;
+ position: absolute;
+ top: 13px;
+ right: 7px;
+ width: 250px;
+ padding: 7px;
+ background: #f5f5f5;
+ border: 1px solid #bbb;
+ z-index: 1;
+ border-radius: 3px;
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+}
@@ -0,0 +1,3 @@
+<?php
+// Silence is golden.
+?>
Oops, something went wrong.

0 comments on commit 2da81ac

Please sign in to comment.