From 248a04de787c4465f275cd2749762648ebdd5dbf Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Mon, 31 Aug 2009 14:28:46 -0700 Subject: [PATCH] calendar directory fix and style fix Signed-off-by: Philip M. Hofer (Frumph) --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index e73584e..b970448 100644 --- a/functions.php +++ b/functions.php @@ -81,7 +81,7 @@ if (get_option('upload_path') !== false) { 'enable_rss_in_menubar' => 'enable_rss_in_menubar', 'enable_navigation_in_menubar' => 'enable_navigation_in_menubar', 'disable_lrsidebars_frontpage' => 'disable_lrsidebars_frontpage', - 'comicpress-calendar_directory' => 'comicpress-calendar_directory', + 'calendar_directory' => 'calendar_directory', 'contact_in_menubar' => 'contact_in_menubar' ) as $options => $variable_name) { $variables_to_extract[$variable_name] = get_option("comicpress-${options}"); } @@ -95,7 +95,7 @@ if (empty($calendar_directory)) $calendar_directory = 'default'; function is_cp_theme_style($choices) { global $cp_theme_style; - + if (empty($cp_theme_style)) $cp_theme_style='standard'; $choices = explode(",", $choices); foreach ($choices as $choice) {