From 8d57acb09d4370be2951189c358eaf94738eb039 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 18 Nov 2009 19:20:55 -0500 Subject: [PATCH] uploader docs and storyline info functions --- classes/ComicPressAdmin.inc | 6 +++ docs/en_US/media-uploader.html | 59 +++++++++++++++++++++- docs/images/comic-image-types.png | Bin 0 -> 54014 bytes docs/images/comicpress-media-uploader.png | Bin 0 -> 118419 bytes functions.inc | 6 +++ test/FunctionsTest.php | 12 +++++ 6 files changed, 81 insertions(+), 2 deletions(-) create mode 100644 docs/images/comic-image-types.png create mode 100644 docs/images/comicpress-media-uploader.png diff --git a/classes/ComicPressAdmin.inc b/classes/ComicPressAdmin.inc index 3e37e9e..136adb7 100644 --- a/classes/ComicPressAdmin.inc +++ b/classes/ComicPressAdmin.inc @@ -17,6 +17,8 @@ class ComicPressAdmin { add_filter('comicpress_display_attached_images', array(&$this, 'comicpress_display_attached_images'), 10, 2); } + add_filter('comicpress_core_version', array(&$this, 'comicpress_core_version')); + $this->comic_image_types = array( 'none' => __('Not a comic', 'comicpress'), 'comic' => __('Comic', 'comicpress'), @@ -31,6 +33,8 @@ class ComicPressAdmin { } } + function comicpress_core_version($version = '') { return '1.0'; } + function comicpress_attached_image($content, $attachment_id, $index) { $content .= '