diff --git a/comicpress-options-config.php b/comicpress-options-config.php new file mode 100644 index 0000000..7ac7fd1 --- /dev/null +++ b/comicpress-options-config.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/functions/checkbrowser.php b/functions/checkbrowser.php new file mode 100644 index 0000000..7ac7fd1 --- /dev/null +++ b/functions/checkbrowser.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/functions/rawformatting.php b/functions/rawformatting.php new file mode 100644 index 0000000..7ac7fd1 --- /dev/null +++ b/functions/rawformatting.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/functions/syndication.php b/functions/syndication.php new file mode 100644 index 0000000..2e3cba3 --- /dev/null +++ b/functions/syndication.php @@ -0,0 +1,59 @@ + \ No newline at end of file diff --git a/functions/userpages.php b/functions/userpages.php new file mode 100644 index 0000000..7ac7fd1 --- /dev/null +++ b/functions/userpages.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/widgets/bookmark.php b/widgets/bookmark.php new file mode 100644 index 0000000..c266e1e --- /dev/null +++ b/widgets/bookmark.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/widgets/buythisprint.php b/widgets/buythisprint.php new file mode 100644 index 0000000..7ac7fd1 --- /dev/null +++ b/widgets/buythisprint.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/widgets/calendar.php b/widgets/calendar.php new file mode 100644 index 0000000..7ac7fd1 --- /dev/null +++ b/widgets/calendar.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/widgets/graphical-navigation-orig.php b/widgets/graphical-navigation-orig.php index 94499df..7ac7fd1 100644 --- a/widgets/graphical-navigation-orig.php +++ b/widgets/graphical-navigation-orig.php @@ -1,285 +1,3 @@ 'widget_comicpress_graphical_navigation', 'description' => __('Displays Graphical Navigation Buttons. (used in comic sidebars)','comicpress') ); - $this->WP_Widget('graphicalnavigation', __('Comic Navigation (orig)','comicpress'), $widget_ops); - } - - function widget($args, $instance) { - global $wp_query, $post; - - if (is_home() || is_single()) { - - $this_permalink = get_permalink(); - - $temp_query = $wp_query->is_single; - $wp_query->is_single = true; - $prev_comic = get_previous_comic_permalink(); - $next_comic = get_next_comic_permalink(); - $wp_query->is_single = $temp_query; - $temp_query = null; - - $first_comic = get_first_comic_permalink(); - $last_comic = get_last_comic_permalink(); - - $prev_story = get_previous_storyline_start_permalink(); - $next_story = get_next_storyline_start_permalink(); - - $latest_comic = get_permalink( get_terminal_post_in_category(get_all_comic_categories_as_cat_string(), false) ); - ?> -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - 'on', - 'last' => 'on', - 'story_prev' => 'off', - 'story_next' => 'off', - 'previous' => 'on', - 'random' => 'off', - 'archives' => 'off', - 'comments' => 'off', - 'next' => 'on', - 'archive_path' => '', - 'buyprint' => 'off', - 'first_title' => 'First', - 'last_title' => 'Latest', - 'story_prev_title' => 'Chapter', - 'story_next_title' => 'Chapter', - 'previous_title' => 'Previous', - 'random_title' => 'Random', - 'archives_title' => 'Archives', - 'comments_title' => 'Comments', - 'next_title' => 'Next', - 'buyprint_title' => 'Buy Print', - 'comictitle' => 'off', - 'lastgohome' => 'off', - ) ); - $first = $instance['first']; if (empty($first)) $first = 'on'; - $last = $instance['last']; if (empty($last)) $last = 'on'; - $story_prev = $instance['story_prev']; if (empty($story_prev)) $story_prev = 'off'; - $story_next = $instance['story_next']; if (empty($story_next)) $story_next = 'off'; - $previous = $instance['previous']; if (empty($previous)) $previous = 'on'; - $random = $instance['random']; if (empty($random)) $random = 'off'; - $archives = $instance['archives']; if (empty($archives)) $archives = 'off'; - $comments = $instance['comments']; if (empty($comments)) $comments = 'off'; - $archive_path = $instance['archive_path']; - $next = $instance['next']; if (empty($next)) $next = 'on'; - $buyprint = $instance['buyprint']; if (empty($buyprint)) $buyprint = 'off'; - $comictitle = $instance['comictitle']; if (empty($comictitle)) $comictitle = 'off'; - $lastgohome = $instance['lastgohome']; if (empty($lastgohome)) $lastgohome = 'off'; - - - $first_title = $instance['first_title']; - $last_title = $instance['last_title']; - $story_prev_title = $instance['story_prev_title']; - $story_next_title = $instance['story_next_title']; - $previous_title = $instance['previous_title']; - $random_title = $instance['random_title']; - $archives_title = $instance['archives_title']; - $comments_title = $instance['comments_title']; - $next_title = $instance['next_title']; - $buyprint_title = $instance['buyprint_title']; - - - - - ?> - -   />Off
- Title:
-
- -
-   />Off
- Title:
-
- -
-   />Off
- Title:
-
- -
-   />Off
- Title:
-
- -
-   />Off
- Title:
-
- -
-   />Off
- Title:
-
- -
-   />Off
- -
-   />Off
- Title:
-
- Archive URL:
-
- -
-   />Off
- Title:
-
- -
-   />Off
- Title:
-
- -
-   />Off
- Title:
-
-
-
- />On  />Off
- - \ No newline at end of file diff --git a/widgets/graphical-navigation.php b/widgets/graphical-navigation.php new file mode 100644 index 0000000..94499df --- /dev/null +++ b/widgets/graphical-navigation.php @@ -0,0 +1,285 @@ + 'widget_comicpress_graphical_navigation', 'description' => __('Displays Graphical Navigation Buttons. (used in comic sidebars)','comicpress') ); + $this->WP_Widget('graphicalnavigation', __('Comic Navigation (orig)','comicpress'), $widget_ops); + } + + function widget($args, $instance) { + global $wp_query, $post; + + if (is_home() || is_single()) { + + $this_permalink = get_permalink(); + + $temp_query = $wp_query->is_single; + $wp_query->is_single = true; + $prev_comic = get_previous_comic_permalink(); + $next_comic = get_next_comic_permalink(); + $wp_query->is_single = $temp_query; + $temp_query = null; + + $first_comic = get_first_comic_permalink(); + $last_comic = get_last_comic_permalink(); + + $prev_story = get_previous_storyline_start_permalink(); + $next_story = get_next_storyline_start_permalink(); + + $latest_comic = get_permalink( get_terminal_post_in_category(get_all_comic_categories_as_cat_string(), false) ); + ?> +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + 'on', + 'last' => 'on', + 'story_prev' => 'off', + 'story_next' => 'off', + 'previous' => 'on', + 'random' => 'off', + 'archives' => 'off', + 'comments' => 'off', + 'next' => 'on', + 'archive_path' => '', + 'buyprint' => 'off', + 'first_title' => 'First', + 'last_title' => 'Latest', + 'story_prev_title' => 'Chapter', + 'story_next_title' => 'Chapter', + 'previous_title' => 'Previous', + 'random_title' => 'Random', + 'archives_title' => 'Archives', + 'comments_title' => 'Comments', + 'next_title' => 'Next', + 'buyprint_title' => 'Buy Print', + 'comictitle' => 'off', + 'lastgohome' => 'off', + ) ); + $first = $instance['first']; if (empty($first)) $first = 'on'; + $last = $instance['last']; if (empty($last)) $last = 'on'; + $story_prev = $instance['story_prev']; if (empty($story_prev)) $story_prev = 'off'; + $story_next = $instance['story_next']; if (empty($story_next)) $story_next = 'off'; + $previous = $instance['previous']; if (empty($previous)) $previous = 'on'; + $random = $instance['random']; if (empty($random)) $random = 'off'; + $archives = $instance['archives']; if (empty($archives)) $archives = 'off'; + $comments = $instance['comments']; if (empty($comments)) $comments = 'off'; + $archive_path = $instance['archive_path']; + $next = $instance['next']; if (empty($next)) $next = 'on'; + $buyprint = $instance['buyprint']; if (empty($buyprint)) $buyprint = 'off'; + $comictitle = $instance['comictitle']; if (empty($comictitle)) $comictitle = 'off'; + $lastgohome = $instance['lastgohome']; if (empty($lastgohome)) $lastgohome = 'off'; + + + $first_title = $instance['first_title']; + $last_title = $instance['last_title']; + $story_prev_title = $instance['story_prev_title']; + $story_next_title = $instance['story_next_title']; + $previous_title = $instance['previous_title']; + $random_title = $instance['random_title']; + $archives_title = $instance['archives_title']; + $comments_title = $instance['comments_title']; + $next_title = $instance['next_title']; + $buyprint_title = $instance['buyprint_title']; + + + + + ?> + +   />Off
+ Title:
+
+ +
+   />Off
+ Title:
+
+ +
+   />Off
+ Title:
+
+ +
+   />Off
+ Title:
+
+ +
+   />Off
+ Title:
+
+ +
+   />Off
+ Title:
+
+ +
+   />Off
+ +
+   />Off
+ Title:
+
+ Archive URL:
+
+ +
+   />Off
+ Title:
+
+ +
+   />Off
+ Title:
+
+ +
+   />Off
+ Title:
+
+
+
+ />On  />Off
+ + \ No newline at end of file diff --git a/wpmu-functions.php b/wpmu-functions.php new file mode 100644 index 0000000..7ac7fd1 --- /dev/null +++ b/wpmu-functions.php @@ -0,0 +1,3 @@ + \ No newline at end of file