diff --git a/comicpress-options-config.php b/comicpress-options-config.php index e1f3eb7..71ed0e7 100644 --- a/comicpress-options-config.php +++ b/comicpress-options-config.php @@ -54,6 +54,11 @@ $options = array ( "default" => "default", "type" => "comicpress-graphicnav_directory"), + array( + "id" => "comicpress-disable_default_comic_nav", + "default" => "no", + "type" => "comicpress-disable_default_comic_nav"), + array( "id" => "comicpress-disable_lrsidebars_frontpage", "default" => "no", diff --git a/functions.php b/functions.php index 7a4f77e..4dc7855 100644 --- a/functions.php +++ b/functions.php @@ -111,7 +111,8 @@ if (get_option('upload_path') !== false) { 'disable_default_menubar' => 'disable_default_menubar', 'disable_blogheader' => 'disable_blogheader', 'disable_page_titles' => 'disable_page_titles', - 'static_blog' => 'static_blog' ) as $options => $variable_name) { + 'static_blog' => 'static_blog', + 'disable_default_comic_nav' => 'disable_default_comic_nav' ) as $options => $variable_name) { $variables_to_extract[$variable_name] = get_option("comicpress-${options}"); } @@ -859,8 +860,7 @@ function comicpress_check_child_file($filename = '') { if (empty($filename)) return false; if (get_stylesheet_directory() != get_template_directory()) { if (file_exists(get_stylesheet_directory() .'/'. $filename . '.php')) { - @include(get_stylesheet_directory() .'/'. $filename . '.php'); - return true; + return include(get_stylesheet_directory() .'/'. $filename . '.php'); } } return false; diff --git a/images/nav/default/navstyle.css b/images/nav/default/navstyle.css index a7a82a4..adc9cc9 100644 --- a/images/nav/default/navstyle.css +++ b/images/nav/default/navstyle.css @@ -21,16 +21,17 @@ Style: Default } .comic_navi { - background: #222; padding: 2px; - border: solid 1px #000; - border-top: 0; - -moz-border-radius: 0 0 8px 8px; - -khtml-border-radius: 0 0 8px 8px; - -webkit-border-radius: 0 0 8px 8px; - border-radius: 0 0 8px 8px; } + .comic_navi a { + color: #000; + } + + .comic_navi a:hover { + color: #b00; + } + .navi-comictitle { padding: 0px 6px; diff --git a/options/generaloptions.php b/options/generaloptions.php index 7d6e870..d42b267 100644 --- a/options/generaloptions.php +++ b/options/generaloptions.php @@ -73,11 +73,7 @@ - - -