From 81eedbf353ef528f299dc05795836e044447b5d0 Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Thu, 27 Aug 2009 17:43:16 -0700 Subject: [PATCH] changed underlying code to say Rascal Says instead of Anomaly *Cry* Signed-off-by: Philip M. Hofer (Frumph) --- comicpress-options-config.php | 4 ++-- comicpress-options.php | 4 ++-- functions.php | 2 +- functions/displaycomic.php | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/comicpress-options-config.php b/comicpress-options-config.php index a4aa041..44dd344 100644 --- a/comicpress-options-config.php +++ b/comicpress-options-config.php @@ -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", diff --git a/comicpress-options.php b/comicpress-options.php index 247f56d..249fe6b 100644 --- a/comicpress-options.php +++ b/comicpress-options.php @@ -259,9 +259,9 @@ function comicpress_admin() { + case "comicpress-rascal_says": ?> - Enable comic hovertext hover commenting?

Enabling this option will make a comic bubble appear over the comic and write out what you put in the hovertext.
+ Enable Rascal the ComicPress Mascot?

Enabling this option will make a comic bubble appear over the comic and write out what you put in the hovertext.
   diff --git a/functions.php b/functions.php index 1b2efc7..5cf3e14 100644 --- a/functions.php +++ b/functions.php @@ -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', diff --git a/functions/displaycomic.php b/functions/displaycomic.php index b8b12a5..773382c 100644 --- a/functions/displaycomic.php +++ b/functions/displaycomic.php @@ -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() { + if ($rascal_says == 'yes' && !empty($hovertext)) { ?> <?php the_title() ?> <?php the_title() ?> + if ($rascal_says == 'yes' && !empty($hovertext)) { ?> <?php the_title() ?> <?php the_title() ?>