-
+
-
- 0) {
+
+ 0) {
if (is_array($monthfile)) $monthfile = reset($monthfile); ?>
-
+
- 0) {
+ 0) {
if (is_array($monthfile)) $monthfile = reset($monthfile); ?>
-
+
-
+
@@ -114,16 +113,16 @@ foreach ( $years as $year ) {
0) {
if (is_array($monthfile)) $monthfile = reset($monthfile); ?>
-
+
-
+
0) {
if (is_array($monthfile)) $monthfile = reset($monthfile); ?>
-
+
-
+
diff --git a/comicpress-options-config.php b/comicpress-options-config.php
index 9cfc8cb..c4a1415 100644
--- a/comicpress-options-config.php
+++ b/comicpress-options-config.php
@@ -214,11 +214,6 @@ $options = array (
"default" => "no",
"type" => "comicpress-disable_footer_text"),
- array(
- "id" => "comicpress-themepack_directory",
- "default" => "silver",
- "type" => "comicpress-themepack_directory"),
-
array(
"id" => "comicpress-avatar_directory",
"default" => "default",
diff --git a/functions.php b/functions.php
index b51c5f1..75b32e5 100644
--- a/functions.php
+++ b/functions.php
@@ -19,7 +19,7 @@ if (function_exists('id_get_comment_number')) {
remove_filter('comments_number','id_get_comment_number');
}
-$comicpress_version = '2.8.2.1';
+$comicpress_version = '2.8.2.2';
global $wpmu_version;
if (!empty($wpmu_version)) {
@@ -113,7 +113,6 @@ if (get_option('upload_path') !== false) {
}
if (empty($avatar_directory)) $avatar_directory = 'default';
-if (empty($themepack_directory)) $themepack_directory = 'silver';
if (empty($graphicnav_directory)) $graphicnav_directory = 'default';
if (empty($moods_directory)) $moods_directory = 'default';
if (empty($calendar_directory)) $calendar_directory = 'default';
diff --git a/functions/avatars.php b/functions/avatars.php
index 39f451f..08b713c 100644
--- a/functions/avatars.php
+++ b/functions/avatars.php
@@ -90,9 +90,13 @@ function comicpress_random_default_avatar($id_or_email = '') {
$current_avatar_directory = get_option('comicpress-avatar_directory');
if (empty($current_avatar_directory)) $current_avatar_directory = 'default';
-
- $count = count($results = glob(get_template_directory() . '/images/avatars/'.$current_avatar_directory.'/*'));
-
+ if (file_exists(get_stylesheet_directory() . '/images/avatars/' . $current_avatar_directory)) {
+ $count = count($results = glob(get_stylesheet_directory() . '/images/avatars/'.$current_avatar_directory.'/*'));
+ $blogurl = get_stylesheet_directory_uri();
+ } else {
+ $count = count($results = glob(get_template_directory() . '/images/avatars/'.$current_avatar_directory.'/*'));
+ $blogurl = get_template_directory_uri();
+ }
if ($count) {
$default = '';
@@ -102,7 +106,7 @@ function comicpress_random_default_avatar($id_or_email = '') {
} else {
return false;
}
- return get_bloginfo('stylesheet_directory').'/images/avatars/'.$current_avatar_directory.'/'.$default;
+ return $blogurl.'/images/avatars/'.$current_avatar_directory.'/'.$default;
}
return false;
}
diff --git a/functions/displayblogpost.php b/functions/displayblogpost.php
index f3f759a..b175af8 100644
--- a/functions/displayblogpost.php
+++ b/functions/displayblogpost.php
@@ -7,7 +7,7 @@
*/
function display_blog_post() {
- global $post, $wp_query, $authordata, $enable_related_posts, $enable_post_author_gravatar, $enable_post_calendar, $themepack_directory, $disable_categories_in_posts, $disable_tags_in_posts; ?>
+ global $post, $wp_query, $authordata, $enable_related_posts, $enable_post_author_gravatar, $enable_post_calendar, $disable_categories_in_posts, $disable_tags_in_posts; ?>
diff --git a/functions/displaycomicpost.php b/functions/displaycomicpost.php
index 604b7a1..6b2ced5 100644
--- a/functions/displaycomicpost.php
+++ b/functions/displaycomicpost.php
@@ -7,7 +7,7 @@
*/
function display_comic_post() {
- global $post, $wp_query, $authordata, $enable_related_comics, $enable_comic_post_author_gravatar, $enable_comic_post_calendar, $themepack_directory, $disable_categories_in_posts, $disable_tags_in_posts; ?>
+ global $post, $wp_query, $authordata, $enable_related_comics, $enable_comic_post_author_gravatar, $enable_comic_post_calendar, $disable_categories_in_posts, $disable_tags_in_posts; ?>
id="post-comic-">
diff --git a/images/nav/scifi/navstyle.css b/images/nav/scifi/navstyle.css
index 918d7bd..3dfac79 100644
--- a/images/nav/scifi/navstyle.css
+++ b/images/nav/scifi/navstyle.css
@@ -4,7 +4,23 @@ Style: Sci Fi
*/
#comic_navi_wrapper {
- padding: 5px 0 5px 0;
+ width: 100%;
+ text-align: center;
+}
+
+.comic_navi_left {
+ display: inline-block;
+ float: left;
+}
+
+.comic_navi_center {
+ margin: 0 auto;
+ display: inline-block;
+}
+
+.comic_navi_right {
+ display: inline-block;
+ float: right;
}
#comic_navi {
diff --git a/sidebar-left.php b/sidebar-left.php
index dc57fb3..48e104b 100644
--- a/sidebar-left.php
+++ b/sidebar-left.php
@@ -5,7 +5,7 @@