Found that elusive extra /a that was hiding from me! woot!
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
b805536a82
commit
7b1b915cef
|
@ -15,7 +15,7 @@ function comicpress_display_comic_area() {
|
||||||
<?php }
|
<?php }
|
||||||
}
|
}
|
||||||
|
|
||||||
function comicpress_display_comic_image($searchorder = "comic",$use_post_image = false, $override_post = null, $title = null) {
|
function comicpress_display_comic_image($searchorder = "comic", $use_post_image = false, $override_post = null, $title = null) {
|
||||||
global $post;
|
global $post;
|
||||||
$post_to_use = !is_null($override_post) ? $override_post : $post;
|
$post_to_use = !is_null($override_post) ? $override_post : $post;
|
||||||
$title_to_use = !is_null($title) ? $title : the_hovertext($post_to_use);
|
$title_to_use = !is_null($title) ? $title : the_hovertext($post_to_use);
|
||||||
|
@ -67,8 +67,8 @@ function comicpress_display_comic() {
|
||||||
case 'png':
|
case 'png':
|
||||||
case 'gif':
|
case 'gif':
|
||||||
case 'jpg':
|
case 'jpg':
|
||||||
$output = comicpress_display_comic_image('comic', false, $post, the_hovertext());
|
|
||||||
default:
|
default:
|
||||||
|
$output = comicpress_display_comic_image('comic', false, $post, the_hovertext());
|
||||||
}
|
}
|
||||||
echo apply_filters('comicpress_display_comic', $output);
|
echo apply_filters('comicpress_display_comic', $output);
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,7 @@ function comicpress_rascal_says($output) {
|
||||||
$output = preg_replace('#title="([^*]*)"#', '', $output);
|
$output = preg_replace('#title="([^*]*)"#', '', $output);
|
||||||
$href_to_use = "#";
|
$href_to_use = "#";
|
||||||
|
|
||||||
$output = "<span class=\"tooltip\"><span class=\"top\"> </span><span class=\"middle\">{$hovertext}</span><span class=\"bottom\"> </span></span>{$output}</a>\r\n";
|
$output = "<span class=\"tooltip\"><span class=\"top\"> </span><span class=\"middle\">{$hovertext}</span><span class=\"bottom\"> </span></span>{$output}\r\n";
|
||||||
}
|
}
|
||||||
if ($comicpress_options['comic_clicks_next']) {
|
if ($comicpress_options['comic_clicks_next']) {
|
||||||
$href_to_use = get_next_comic_permalink();
|
$href_to_use = get_next_comic_permalink();
|
||||||
|
|
Loading…
Reference in New Issue