diff --git a/comicpress-options.php b/comicpress-options.php index 96a0528..f37727f 100644 --- a/comicpress-options.php +++ b/comicpress-options.php @@ -7,8 +7,14 @@ function comicpress_options() { add_action('admin_head-'.$pagehook, 'comicpress_admin_page_head'); } -function comicpress_admin_page_head() { ?> +function comicpress_admin_page_head() { +global $is_IE; +if ($is_IE) { +?> + + + - + 1 || intval($pagenavi_options['always_show']) == 1) { $pages_text = str_replace("%CURRENT_PAGE%", number_format_i18n($paged), $pagenavi_options['pages_text']); $pages_text = str_replace("%TOTAL_PAGES%", number_format_i18n($max_page), $pages_text); - echo $before.'
'."\n"; + echo $before.'
'."\n"; switch(intval($pagenavi_options['style'])) { case 1: if(!empty($pages_text)) { - echo ' '.$pages_text.' '; + echo '
  • '.$pages_text.'
  • '; } if ($start_page >= 2 && $pages_to_show < $max_page) { $first_page_text = str_replace("%TOTAL_PAGES%", number_format_i18n($max_page), $pagenavi_options['first_text']); - echo ' '.$first_page_text.' '; + echo '
  • '.$first_page_text.'
  • '; if(!empty($pagenavi_options['dotleft_text'])) { - echo ' '.$pagenavi_options['dotleft_text'].' '; + echo '
  • '.$pagenavi_options['dotleft_text'].'
  • '; } } + echo "
  • "; previous_posts_link($pagenavi_options['prev_text']); + echo "
  • "; for($i = $start_page; $i <= $end_page; $i++) { if($i == $paged) { $current_page_text = str_replace("%PAGE_NUMBER%", number_format_i18n($i), $pagenavi_options['current_text']); - echo ' '.$current_page_text.' '; + echo '
  • '.$current_page_text.'
  • '; } else { $page_text = str_replace("%PAGE_NUMBER%", number_format_i18n($i), $pagenavi_options['page_text']); - echo ' '.$page_text.' '; + echo '
  • '.$page_text.'
  • '; } } - next_posts_link($pagenavi_options['next_text'], $max_page); + echo "
  • "; + next_posts_link('
  • '.$pagenavi_options['next_text'].'
  • ', $max_page); + echo ""; if ($end_page < $max_page) { if(!empty($pagenavi_options['dotright_text'])) { - echo ' '.$pagenavi_options['dotright_text'].' '; + echo '
  • '.$pagenavi_options['dotright_text'].'
  • '; } $last_page_text = str_replace("%TOTAL_PAGES%", number_format_i18n($max_page), $pagenavi_options['last_text']); - echo ' '.$last_page_text.' '; + echo '
  • '.$last_page_text.'
  • '; } break; case 2; diff --git a/index.php b/index.php index 1ce1408..70c7da9 100644 --- a/index.php +++ b/index.php @@ -89,11 +89,12 @@ if ($disable_blog_frontpage == 'no') { -
    +
    +
    -