cleanup 2.8.1.21

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-10-11 04:49:45 -07:00
parent 77435e114b
commit 661cf0eda3
39 changed files with 177 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,117 @@
/* COMIC NAVIGATION
Author: Tyler Martin
Style: Default
*/
#comic_navi_wrapper {
padding: 5px 0 10px 0;
}
#comic_navi {
display: table;
border-collapse: collapse;
margin: 0 auto;
}
.navi {
width: 66px;
padding: 66px 0 0 0;
/* margin: 0 5px; */
display: block;
float: left;
overflow: hidden;
font-size: 11px;
text-align: center;
color: #555;
}
.navi:hover {
background-position: -66px 0;
}
.navi-first {
margin: 0;
background: url('first.png') no-repeat;
}
.navi-prevchap {
background: url('prevchap.png') no-repeat;
}
.navi-prev {
margin-right: 30px;
background: url('prev.png') no-repeat;
}
.navi-comments, .navi-archive, .navi-random, .navi-buyprint {
margin: 0 5px;
}
.navi-buyprint {
border: none;
cursor: pointer;
background: url('buyprint.png') no-repeat;
}
.navi-buyprint:hover {
color: #f00;
}
.navi-buyprint-form {
width: 76px;
display: block;
float: left;
margin: 0;
padding: 0;
}
.navi-archive {
background: url('archive.png') no-repeat;
}
.navi-random {
background: url('random.png') no-repeat;
}
.navi-comments {
padding: 0;
background: url('comments.png') no-repeat;
}
a.navi-comments span {
width: 66px;
height: 66px;
display: block;
font-size: 16px;
font-weight: bold;
line-height: 66px;
color: #c5c5c5;
}
a.navi-comments span:hover {
color: #860b04;
}
.navi-next {
margin-left: 30px;
background: url('next.png') no-repeat;
}
.navi-nextchap {
background: url('nextchap.png') no-repeat;
}
.navi-last {
margin: 0;
background: url('last.png') no-repeat;
}
.navi-void, .navi-void:hover {
color: #999;
background-position: -132px 0;
}
.comic-left .navi-prev, .comic-right .navi-prev, .comic-left .navi-next, .comic-right .navi-next {
/* margin: 0 5px; */
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -0,0 +1,3 @@
<?php global $post; if ($post->comment_status != 'closed') { ?>
<div class="comment-link">[ <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> ]</div>
<?php } ?>

57
widgets/non-member.php Normal file
View File

@ -0,0 +1,57 @@
<?php
/*
Widget Name: Non-Member text widget
Widget URI: http://comicpress.org/
Description: Displays whatever inside to non-members.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
*/
class widget_comicpress_non_member_text extends WP_Widget {
function widget_comicpress_non_member_text() {
$widget_ops = array('classname' => 'widget_comicpress_non_member_text', 'description' => __('Displays Whatever is in the text box to non-members only.','comicpress') );
$control_ops = array('width' => 400, 'height' => 350);
$this->WP_Widget('widget_comicpress_non_member_text', __('ComicPress Non-Member Text','comicpress'), $widget_ops, $control_ops);
}
function widget($args, $instance) {
global $post, $wp_query;
if (!comicpress_is_member()) {
extract($args, EXTR_SKIP);
echo $before_widget;
$title = empty($instance['title']) ? '': apply_filters('widget_title', $instance['title']);
echo stripslashes($instance['textinfo']);
echo $after_widget;
}
}
function update($new_instance, $old_instance) {
$instance = $old_instance;
$instance['title'] = strip_tags($new_instance['title']);
$instance['textinfo'] = addslashes($new_instance['textinfo']);
return $instance;
}
function form($instance) {
$instance = wp_parse_args( (array) $instance, array( 'title' => '' , 'textinfo' => '') );
$title = strip_tags($instance['title']);
$textinfo = stripslashes($instance['textinfo']);
?>
<p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:','comicpress'); ?><input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo attribute_escape($title); ?>" /></label></p>
<p><label><textarea style="width: 400px; height: 280px;" name="<?php echo $this->get_field_name('textinfo'); ?>" name="<?php echo $this->get_field_name('textinfo'); ?>"><?php echo $textinfo; ?></textarea></label></p>
<?php
}
}
register_widget('widget_comicpress_non_member_text');
function widget_comicpress_non_member_text_init() {
new widget_comicpress_non_member_text();
}
add_action('widgets_init', 'widget_comicpress_non_member_text_init');
?>