Permalink
Browse files

removal of ie6submenus.js which is no longer needed, hasnt been for a…

… long time

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
  • Loading branch information...
1 parent b5386f1 commit 7804484b6a5208a0d745d84976985b1b4cad6956 Philip M. Hofer (Frumph) committed Jan 23, 2011
Showing with 8 additions and 22 deletions.
  1. +3 −0 changelog.txt
  2. +1 −1 functions.php
  3. +1 −1 functions/displaycomic.php
  4. +2 −2 functions/displaypost.php
  5. +1 −4 header.php
  6. +0 −14 js/ie6submenus.js
View
@@ -1,6 +1,9 @@
2.9.2.29.2
Fixed the issue with the comic navigation widget text boxes not properly escaping and unescapping strings
moved the facebook like script to load in the header to avoid a script error
+fixed the reply to javascript to show apparently it doesnt like is_singular, go figure
+displaying category list properly now, instead of multiple
+removed trailingslashit from around $comic in displaycomic.php line #350, thanks @nismorack
2.9.2.29.1
$is_comic needed to be set in the archive.php before hand, was giving notice
View
@@ -158,7 +158,7 @@ function __comicpress_init() {
// initiate the scripts
if (!is_admin()) {
wp_enqueue_script('jquery');
- if ( is_singular() && comicpress_themeinfo('enable_comment_javascript') && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' );
+ if ( comicpress_themeinfo('enable_comment_javascript') ) wp_enqueue_script( 'comment-reply' );
if (!comicpress_themeinfo('disable_jquery_menu_code')) {
wp_enqueue_script('ddsmoothmenu_js', get_template_directory_uri() . '/js/ddsmoothmenu.js');
wp_enqueue_script('menubar_js', get_template_directory_uri() . '/js/menubar.js');
@@ -347,7 +347,7 @@ function get_comic_path($folder = 'comic', $override_post = null, $filter = 'def
foreach ($comicfile as $comic) {
if (!file_exists($folder_to_use . '/' . $comic) && $folder !== 'comic')
$subfolder_to_use = comicpress_themeinfo('comic_folder');
- $newresults[] = trailingslashit($subfolder_to_use) . trailingslashit($comic);
+ $newresults[] = trailingslashit($subfolder_to_use) . $comic;
}
return $newresults;
@@ -93,9 +93,9 @@ function comicpress_display_post_category($is_comic = false) {
if ($post->post_type == 'post') {
if (!comicpress_themeinfo('disable_categories_in_posts')) {
if (comicpress_themeinfo('enable-storyline-support') == 1 && $is_comic) {
- $post_category = "<ul class=\"storyline-cats\"><li class=\"storyline-root\">". get_the_category_list(' &raquo; </li><li>', 'multiple')."</li></ul>\r\n";
+ $post_category = "<ul class=\"storyline-cats\"><li class=\"storyline-root\">". get_the_category_list(' &raquo; </li><li>')."</li></ul>\r\n";
} else {
- $post_category = "<div class=\"post-cat\">". __('Posted In: ','comicpress') .get_the_category_list(', ', 'multiple')."</div>\r\n";
+ $post_category = "<div class=\"post-cat\">". __('Posted In: ','comicpress') .get_the_category_list(', ')."</div>\r\n";
}
echo apply_filters('comicpress_display_post_category', $post_category);
}
View
@@ -18,10 +18,7 @@
?></title>
<link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" />
<link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
- <meta name="ComicPress" content="<?php echo comicpress_themeinfo('version'); ?>" />
-<!--[if lt IE 7]>
- <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/ie6submenus.js"></script>
-<![endif]-->
+ <meta name="ComicPress" content="<?php echo comicpress_themeinfo('version'); ?>" />
<?php wp_head(); ?>
</head>
View
@@ -1,14 +0,0 @@
-//Suckerfish Dropdown for IE6
-
-sfHover = function() {
-var sfEls = document.getElementById("menu").getElementsByTagName("LI");
-for (var i=0; i<sfEls.length; i++) {
-sfEls[i].onmouseover=function() {
-this.className+=" sfhover";
-}
-sfEls[i].onmouseout=function() {
-this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
-}
-}
-}
-if (window.attachEvent) window.attachEvent("onload", sfHover);

0 comments on commit 7804484

Please sign in to comment.