All widgets forenamed with ComicPress now (testing viability)

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-12-20 08:22:10 -08:00
parent 600029ee13
commit a586a31df7
20 changed files with 22 additions and 19 deletions

View File

@ -14,7 +14,7 @@ class ArchiveDropdownWidget extends WP_Widget {
function ArchiveDropdownWidget() { function ArchiveDropdownWidget() {
$widget_ops = array('classname' => 'ArchiveDropdownWidget', 'description' => __('Display a dropdown list of your archives, styled.','comicpress') ); $widget_ops = array('classname' => 'ArchiveDropdownWidget', 'description' => __('Display a dropdown list of your archives, styled.','comicpress') );
$this->WP_Widget('archive_dropdown', __('ComicPress Archive Dropdown','comicpress'), $widget_ops); $this->WP_Widget('comicpress_archive_dropdown', __('ComicPress Archive Dropdown','comicpress'), $widget_ops);
$this->modes = array( $this->modes = array(
'monthly_archive' => __('Monthly archive', 'comicpress'), 'monthly_archive' => __('Monthly archive', 'comicpress'),

View File

@ -12,7 +12,7 @@ Author URI: http://frumph.net/
class BuyThisPrintWidget extends WP_Widget { class BuyThisPrintWidget extends WP_Widget {
function BuyThisPrintWidget() { function BuyThisPrintWidget() {
$widget_ops = array('classname' => 'ComicPressBuyThisPrint', 'description' => __('Adds a button that goes to the buy print template page.','comicpress') ); $widget_ops = array('classname' => 'ComicPressBuyThisPrint', 'description' => __('Adds a button that goes to the buy print template page.','comicpress') );
$this->WP_Widget('comicpress_buyprint', __('Buy This Print','comicpress'), $widget_ops); $this->WP_Widget('comicpress_buyprint', __('ComicPress BuyPrint','comicpress'), $widget_ops);
} }
function init() { function init() {

View File

@ -13,7 +13,7 @@ require_once(dirname(__FILE__) . '/../classes/ComicPressNavigation.inc');
class GraphicalNavigationWidget extends WP_Widget { class GraphicalNavigationWidget extends WP_Widget {
function GraphicalNavigationWidget() { function GraphicalNavigationWidget() {
$widget_ops = array('classname' => 'WidgetComicPressGraphicalStorylineNavigation', 'description' => __('Displays Graphical Navigation Buttons. (used in comic sidebars)','comicpress') ); $widget_ops = array('classname' => 'WidgetComicPressGraphicalStorylineNavigation', 'description' => __('Displays Graphical Navigation Buttons. (used in comic sidebars)','comicpress') );
$this->WP_Widget('graphicalstorylinenavigation', __('Comic Navigation','comicpress'), $widget_ops); $this->WP_Widget('comicpress_graphicalstorylinenavigation', __('ComicPress Comic Navigation','comicpress'), $widget_ops);
} }
/** /**

View File

@ -0,0 +1,3 @@
<?php
// depreciated
?>

View File

@ -13,7 +13,7 @@ class widget_comicpress_comic_blog_post extends WP_Widget {
function widget_comicpress_comic_blog_post() { function widget_comicpress_comic_blog_post() {
$widget_ops = array('classname' => 'widget_comicpress_comic_blog_post', 'description' => 'Displays the comic blog post, ..used to be around the comic areas.' ); $widget_ops = array('classname' => 'widget_comicpress_comic_blog_post', 'description' => 'Displays the comic blog post, ..used to be around the comic areas.' );
$this->WP_Widget('comic_blog_post', 'Comic Blog Post', $widget_ops); $this->WP_Widget('comicpress_comic_blog_post', 'ComicPress Comic Blog Post', $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -13,7 +13,7 @@ class widget_comicpress_comments extends WP_Widget {
function widget_comicpress_comments() { function widget_comicpress_comments() {
$widget_ops = array('classname' => 'widget_comicpress_comments', 'description' => __('Displays a comments link. (used in comic sidebars)','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_comments', 'description' => __('Displays a comments link. (used in comic sidebars)','comicpress') );
$this->WP_Widget('comic_comments', __('Comic Comments','comicpress'), $widget_ops); $this->WP_Widget('comicpress_comic_comments', __('ComicPress Comic Comments','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -13,7 +13,7 @@ class widget_comicpress_comic_date extends WP_Widget {
function widget_comicpress_comic_date() { function widget_comicpress_comic_date() {
$widget_ops = array('classname' => 'widget_comicpress_comic_date', 'description' => __('Displays the date of the post of the comic.','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_comic_date', 'description' => __('Displays the date of the post of the comic.','comicpress') );
$this->WP_Widget('comic_date', __('Comic Date','comicpress'), $widget_ops); $this->WP_Widget('comicpress_comic_date', __('ComicPress Comic Date','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -13,7 +13,7 @@ class widget_comicpress_comictitle extends WP_Widget {
function widget_comicpress_comictitle() { function widget_comicpress_comictitle() {
$widget_ops = array('classname' => 'widget_comicpress_comictitle', 'description' => __('Displays the title of the comic. (used in comic sidebars)','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_comictitle', 'description' => __('Displays the title of the comic. (used in comic sidebars)','comicpress') );
$this->WP_Widget('comictitle', __('Comic Title','comicpress'), $widget_ops); $this->WP_Widget('comicpress_comictitle', __('ComicPress Comic Title','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -48,7 +48,7 @@ class widget_comicpress_show_control_panel extends WP_Widget {
function widget_comicpress_show_control_panel() { function widget_comicpress_show_control_panel() {
$widget_ops = array('classname' => 'widget_comicpress_show_control_panel', 'description' => __('Login/Logoff menu with register/lost password links if not logged on. (use only if registrations are enabled.','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_show_control_panel', 'description' => __('Login/Logoff menu with register/lost password links if not logged on. (use only if registrations are enabled.','comicpress') );
$this->WP_Widget('control_panel', __('Control Panel','comicpress'), $widget_ops); $this->WP_Widget('comicpress_control_panel', __('ComicPress Control Panel','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -13,7 +13,7 @@ class widget_comicpress_graphical_navigation extends WP_Widget {
function widget_comicpress_graphical_navigation() { function widget_comicpress_graphical_navigation() {
$widget_ops = array('classname' => 'widget_comicpress_graphical_navigation', 'description' => __('Displays Graphical Navigation Buttons. (used in comic sidebars)','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_graphical_navigation', 'description' => __('Displays Graphical Navigation Buttons. (used in comic sidebars)','comicpress') );
$this->WP_Widget('graphicalnavigation', __('Comic Navigation (orig)','comicpress'), $widget_ops); $this->WP_Widget('comicpress_graphicalnavigation', __('ComicPress Navigation (orig)','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -22,7 +22,7 @@ class widget_comicpress_latest_comic_jump extends WP_Widget {
function widget_comicpress_latest_comic_jump() { function widget_comicpress_latest_comic_jump() {
$widget_ops = array('classname' => 'widget_comicpress_latest_comic_jump', 'description' => __('Displays a link to click to go to the latest comic.','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_latest_comic_jump', 'description' => __('Displays a link to click to go to the latest comic.','comicpress') );
$this->WP_Widget('latest_comic_jump', __('Latest Comic Link','comicpress'), $widget_ops); $this->WP_Widget('comicpress_latest_comic_jump', __('ComicPress Latest Comic Link','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -25,7 +25,7 @@ class widget_comicpress_latest_comics extends WP_Widget {
function widget_comicpress_latest_comics() { function widget_comicpress_latest_comics() {
$widget_ops = array('classname' => 'widget_comicpress_latest_comics', 'description' => __('Display a list of the latest comics available.','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_latest_comics', 'description' => __('Display a list of the latest comics available.','comicpress') );
$this->WP_Widget('latest_comics', __('Latest Comics','comicpress'), $widget_ops); $this->WP_Widget('comicpress_latest_comics', __('ComicPress Latest Comics','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -13,7 +13,7 @@ class widget_comicpress_latest_thumbnail extends WP_Widget {
function widget_comicpress_latest_thumbnail() { function widget_comicpress_latest_thumbnail() {
$widget_ops = array('classname' => 'widget_comicpress_latest_thumbnail', 'description' => __('Display a thumbnail of the latest comic, clickable to go to the comic post.','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_latest_thumbnail', 'description' => __('Display a thumbnail of the latest comic, clickable to go to the comic post.','comicpress') );
$this->WP_Widget('latest_thumbnail', __('Latest Comic','comicpress'), $widget_ops); $this->WP_Widget('ComicPress latest_thumbnail', __('ComicPress Latest Thumbnail','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -13,7 +13,7 @@ class widget_comicpress_permalink extends WP_Widget {
function widget_comicpress_permalink() { function widget_comicpress_permalink() {
$widget_ops = array('classname' => 'widget_comicpress_permalink', 'description' => __('Displays a permalink. (used in comic sidebars)','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_permalink', 'description' => __('Displays a permalink. (used in comic sidebars)','comicpress') );
$this->WP_Widget('permalink', __('Permalink','comicpress'), $widget_ops); $this->WP_Widget('comicpress_permalink', __('ComicPress Permalink','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -27,7 +27,7 @@ class widget_comicpress_random_comic extends WP_Widget {
function widget_comicpress_random_comic() { function widget_comicpress_random_comic() {
$widget_ops = array('classname' => 'widget_comicpress_random_comic', 'description' => __('Displays a link to click to trigger a random comic.','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_random_comic', 'description' => __('Displays a link to click to trigger a random comic.','comicpress') );
$this->WP_Widget('random_comic', __('Random Comic','comicpress'), $widget_ops); $this->WP_Widget('comicpress_random_comic', __('ComicPress Random Comic','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -26,7 +26,7 @@ class widget_comicpress_random_post extends WP_Widget {
function widget_comicpress_random_post() { function widget_comicpress_random_post() {
$widget_ops = array('classname' => 'widget_comicpress_random_post', 'description' => __('Displays a link to click to trigger a random blog post.','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_random_post', 'description' => __('Displays a link to click to trigger a random blog post.','comicpress') );
$this->WP_Widget('random_post', __('Random Post','comicpress'), $widget_ops); $this->WP_Widget('comicpress_random_post', __('ComicPress Random Post','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -13,7 +13,7 @@ class widget_comicpress_show_scheduled_posts extends WP_Widget {
function widget_comicpress_show_scheduled_posts() { function widget_comicpress_show_scheduled_posts() {
$widget_ops = array('classname' => 'widget_comicpress_show_scheduled_posts', 'description' => __('Display a list of posts that are scheduled to be published.','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_show_scheduled_posts', 'description' => __('Display a list of posts that are scheduled to be published.','comicpress') );
$this->WP_Widget('show_scheduled_posts', __('Scheduled Posts','comicpress'), $widget_ops); $this->WP_Widget('comicpress_show_scheduled_posts', __('ComicPress Scheduled Posts','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -13,7 +13,7 @@ class widget_comicpress_search_transcripts extends WP_Widget {
function widget_comicpress_search_transcripts() { function widget_comicpress_search_transcripts() {
$widget_ops = array('classname' => 'widget_comicpress_search_transcripts', 'description' => __('Displays a form input box for searching transcripts.','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_search_transcripts', 'description' => __('Displays a form input box for searching transcripts.','comicpress') );
$this->WP_Widget('comicpress_search_transcripts', __('Search Transcripts','comicpress'), $widget_ops); $this->WP_Widget('comicpress_search_transcripts', __('ComicPress Search Transcripts','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -13,7 +13,7 @@ class widget_comicpress_social extends WP_Widget {
function widget_comicpress_social() { function widget_comicpress_social() {
$widget_ops = array('classname' => 'widget_comicpress_social', 'description' => __('Display a user defined social button, with translated URL','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_social', 'description' => __('Display a user defined social button, with translated URL','comicpress') );
$this->WP_Widget('social', __('ComicPress Social','comicpress'), $widget_ops); $this->WP_Widget('comicpress_social', __('ComicPress Social','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {

View File

@ -14,7 +14,7 @@ class widget_comicpress_show_transcription extends WP_Widget {
function widget_comicpress_show_transcription() { function widget_comicpress_show_transcription() {
$widget_ops = array('classname' => 'widget_comicpress_show_transcription', 'description' => __('Display the transcription of the current post if there is one. (used in comic sidebars)','comicpress') ); $widget_ops = array('classname' => 'widget_comicpress_show_transcription', 'description' => __('Display the transcription of the current post if there is one. (used in comic sidebars)','comicpress') );
$this->WP_Widget('transcript', __('Transcript','comicpress'), $widget_ops); $this->WP_Widget('comicpress_transcript', __('ComicPress Transcript','comicpress'), $widget_ops);
} }
function widget($args, $instance) { function widget($args, $instance) {