From b352efe93c3eeb41d1c31460e23d6765ce278bb3 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Tue, 27 Oct 2009 06:54:21 -0400 Subject: [PATCH] fix FS#118 and add additional WDTS? message --- comicpress_manager_admin.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/comicpress_manager_admin.php b/comicpress_manager_admin.php index 183be7e..ddb595d 100644 --- a/comicpress_manager_admin.php +++ b/comicpress_manager_admin.php @@ -660,6 +660,10 @@ function cpm_post_editor($width = 435, $is_import = false) { __(" (the transcript to use for all posts)", 'comicpress-manager') ); + if (!is_plugin_active('what-did-they-say/what-did-they-say.php')) { + $form_titles_and_fields[] = '' . __('Want even better control over your transcripts? Try What Did They Say?!?', 'comicpress-manager') . ''; + } + $form_titles_and_fields[] = array( __("Upload Date Format:", 'comicpress-manager'), '' . @@ -1048,8 +1052,8 @@ function write_comicpress_config_functions_php($filepath, $just_show_config = fa * @return string The view & edit post links for the post. */ function generate_view_edit_post_links($post_info) { - $view_post_link = sprintf("%s", __("View post", 'comicpress-manager')); - $edit_post_link = sprintf("%s", __("Edit post", 'comicpress-manager')); + $view_post_link = sprintf('%s', $post_info['guid'], __("View post", 'comicpress-manager')); + $edit_post_link = sprintf('%s', $post_info['ID'], __("Edit post", 'comicpress-manager')); return $view_post_link . ' | ' . $edit_post_link; }