diff --git a/comicpress_manager_admin.php b/comicpress_manager_admin.php index 1d1505e..78f6632 100644 --- a/comicpress_manager_admin.php +++ b/comicpress_manager_admin.php @@ -73,6 +73,17 @@ function cpm_add_pages() { $do_enqueue_prototype = true; } + if (strpos($pagenow, "post") === 0) { + add_meta_box( + 'comic-for-this-post', + __('Comic For This Post', 'comicpress-manager'), + 'cpm_show_comic_caller', + 'post', + 'normal', + 'low' + ); + } + $filename = plugin_basename(__FILE__); if (strpos($plugin_page, $filename) !== false) { diff --git a/pages/edit_post_show_comic.php b/pages/edit_post_show_comic.php index ee4bbef..7ea8a6c 100644 --- a/pages/edit_post_show_comic.php +++ b/pages/edit_post_show_comic.php @@ -94,112 +94,115 @@ function cpm_show_comic() { } }); -
-

-
- comic_files) == 0) { ?> -
- It looks like this is a new ComicPress install. You should test to make - sure uploading works correctly by visiting ComicPress -> Upload. -
- - - - -

- - -

- %s comic subdirectory.", 'comicpress-manager'), get_cat_name(get_option('comicpress-manager-manage-subcomic'))); - } - ?> + comic_files) == 0) { ?> +
+ It looks like this is a new ComicPress install. You should test to make + sure uploading works correctly by visiting ComicPress -> Upload. +
+ + + + +

+ + +

- 0) { ?> -

- $file) { ?> - - -

+ %s comic subdirectory.", 'comicpress-manager'), get_cat_name(get_option('comicpress-manager-manage-subcomic'))); + } + ?> + + 0) { ?> +

+ $file) { ?> + - +

+ + - -

ComicPress Manager Edit Post file management is enabled. Any changes to post date, or deleting this post, will affect any associated comic files.

- + +

ComicPress Manager Edit Post file management is enabled. Any changes to post date, or deleting this post, will affect any associated comic files.

+ -

NOTE: Upload errors will not be reported. If you are having trouble uploading files, use the ComicPress -> Upload screen.

+

NOTE: Upload errors will not be reported. If you are having trouble uploading files, use the ComicPress -> Upload screen.

- - - - - - - - - - - - +
- - - - - - - - (thumbnails will be generated)", 'comicpress-manager') ?>
- - - - - -
- It looks like you\'re running an older version of ComicPress. Storyline, hovertext, and transcript are fully supported in ComicPress 2.7. You can use hovertext and transcripts in earlier themes by using get_post_meta($post->ID, "hovertext", true) and get_post_meta($post->ID, "transcript", true).', 'comicpress-manager') ?> -
+ + + + + + - - + + + + + + + + + + + + + + - - - - - - - -
+ + + + + + + + (thumbnails will be generated)", 'comicpress-manager') ?>
+ + + + + +
- 1) { - _e("Storyline", 'comicpress-manager'); - } else { - _e("Category", 'comicpress-manager'); - } - ?> - - + + It looks like you\'re running an older version of ComicPress. Storyline, hovertext, and transcript are fully supported in ComicPress 2.7. You can use hovertext and transcripts in earlier themes by using get_post_meta($post->ID, "hovertext", true) and get_post_meta($post->ID, "transcript", true).', 'comicpress-manager') ?>
+ 1) { + _e("Storyline", 'comicpress-manager'); + } else { + _e("Category", 'comicpress-manager'); + } + ?> + + +
+ + +

+ What Did They Say?!?', 'comicpress-manager') ?> +

-
-
-
- + + + +