changed underlying code to say Rascal Says instead of Anomaly *Cry*

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-08-27 17:43:16 -07:00
parent 9037e5c7ed
commit 81eedbf353
4 changed files with 8 additions and 8 deletions

View File

@ -125,9 +125,9 @@ $options = array (
"type" => "comicpress-comic_clicks_next"),
array(
"id" => "comicpress-anomaly_says",
"id" => "comicpress-rascal_says",
"default" => "no",
"type" => "comicpress-anomaly_says"),
"type" => "comicpress-rascal_says"),
array(
"id" => "comicpress-disable_css_style_editor",

View File

@ -259,9 +259,9 @@ function comicpress_admin() {
</tr>
<?php break;
case "comicpress-anomaly_says": ?>
case "comicpress-rascal_says": ?>
<tr>
<th scope="row"><strong>Enable comic hovertext hover commenting?</strong><br /><br />Enabling this option will make a comic bubble appear over the comic and write out what you put in the hovertext.<br /></th>
<th scope="row"><strong>Enable Rascal the ComicPress Mascot?</strong><br /><br />Enabling this option will make a comic bubble appear over the comic and write out what you put in the hovertext.<br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> />Yes</label>
&nbsp;&nbsp;

View File

@ -62,7 +62,7 @@ if (get_option('upload_path') !== false) {
'enable_related_comics' => 'enable_related_comics',
'enable_related_posts' => 'enable_related_posts',
'comic_clicks_next' => 'comic_clicks_next',
'anomaly_says' => 'anomaly_says',
'rascal_says' => 'rascal_says',
'disable_css_style_editor' => 'disable_css_style_editor',
'enable_post_calendar' => 'enable_post_calendar',
'enable_post_author_gravatar' => 'enable_post_author_gravatar',

View File

@ -7,7 +7,7 @@
*/
function display_comic() {
global $post, $wp_query, $anomaly_says, $comic_clicks_next;
global $post, $wp_query, $rascal_says, $comic_clicks_next;
$next_comic = get_next_comic_permalink();
$comic = explode(".", the_comic_filename());
@ -28,14 +28,14 @@ function display_comic() {
<?php } else {
if ($comic_clicks_next == 'yes') {
$hovertext = get_post_meta( get_the_ID(), "hovertext", true );
if ($anomaly_says == 'yes' && !empty($hovertext)) { ?>
if ($rascal_says == 'yes' && !empty($hovertext)) { ?>
<a href="<?php echo $next_comic; ?>" class="tt"><span class="tooltip"><span class="top"></span><span class="middle"><?php the_hovertext() ?></span><span class="bottom"></span></span><img src="<?php the_comic() ?>" alt="<?php the_title() ?>" title="<?php the_title(); ?>" /></a>
<?php } else { ?>
<a href="<?php echo $next_comic; ?>"><img src="<?php the_comic() ?>" alt="<?php the_title() ?>" title="<?php the_hovertext() ?>" /></a>
<?php } ?>
<?php } else {
$hovertext = get_post_meta( get_the_ID(), "hovertext", true );
if ($anomaly_says == 'yes' && !empty($hovertext)) { ?>
if ($rascal_says == 'yes' && !empty($hovertext)) { ?>
<a href="#" class="tt"><span class="tooltip"><span class="top"></span><span class="middle"><?php the_hovertext() ?></span><span class="bottom"></span></span><img src="<?php the_comic() ?>" alt="<?php the_title() ?>" title="<?php the_title(); ?>" /></a>
<?php } else { ?>
<img src="<?php the_comic() ?>" alt="<?php the_title() ?>" title="<?php the_hovertext() ?>" />