Navigation! Packs, more cleanups.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-08-25 17:57:26 -07:00
parent 3fe8cd2c1e
commit 5852073c02
26 changed files with 348 additions and 151 deletions

View File

@ -27,6 +27,9 @@
<link rel="pingback" href="<?php bloginfo('pingback_url') ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/scroll.js"></script> <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/scroll.js"></script>
<meta name="ComicPress" content="<?php echo comicpress_current_theme_version(); ?>" /> <meta name="ComicPress" content="<?php echo comicpress_current_theme_version(); ?>" />
<!--[if lte IE 7]>
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/ie6submenus.js"></script>
<![endif]-->
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); global $disable_page_restraints; ?> <?php wp_head(); global $disable_page_restraints; ?>
</head> </head>

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: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

BIN
images/nav/default/last.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@ -0,0 +1,111 @@
/* 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-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;
}

BIN
images/nav/default/next.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
images/nav/default/prev.png Normal file

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: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

BIN
images/nav/scifi/first.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
images/nav/scifi/last.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -4,106 +4,108 @@ Style: Sci Fi
*/ */
#comic_navi_wrapper { #comic_navi_wrapper {
width: 540px; padding: 5px 0 5px 0;
}
#comic_navi {
display: table;
border-collapse: collapse;
margin: 0 auto; margin: 0 auto;
} }
.comic_navi_comments_count { .navi {
top: 5px; width: 60px;
left: 15px; padding: 56px 0 0 0;
font-size: 18px; display: block;
position: relative;
}
.comic_navi_first, .comic_navi_story_previous, .comic_navi_previous,
.comic_navi_random, .comic_navi_archives, .comic_navi_comments,
.comic_navi_next, .comic_navi_story_next, .comic_navi_latest {
padding: 0;
margin: 0 auto;
float: left; float: left;
overflow: hidden;
font-size: 11px;
text-align: center;
color: #555;
} }
.navi:hover {
background-position: -60px 0;
}
a.rollnext, .rollnext { .navi-first {
display: inline-block; margin: 0;
height: 50px; background: url('first.png') no-repeat;
width: 60px;
text-decoration: none;
background: url('nextroll.png') no-repeat;
} }
.navi-prevchap {
a.rolllast, .rolllast { background: url('prevchap.png') no-repeat;
display: inline-block;
height: 50px;
width: 60px;
text-decoration: none;
background: url('lastroll.png') no-repeat;
} }
.navi-prev {
a.rollprev, .rollprev { margin-right: 10px;
display: inline-block; background: url('prev.png') no-repeat;
height: 50px;
width: 60px;
text-decoration: none;
background: url('prevroll.png') no-repeat;
} }
.navi-buyprint {
a.rollfirst, .rollfirst { border: none;
display: inline-block; cursor: pointer;
height: 50px; background: url('buyprint.png') no-repeat;
width: 60px;
text-decoration: none;
background: url('firstroll.png') no-repeat;
} }
a.rollstoryprev, .rollstoryprev { .navi-buyprint:hover {
display: inline-block; color: #f00;
height: 50px; }
width: 60px;
text-decoration: none; .navi-buyprint-form {
background: url('prevstoryroll.png') no-repeat; width: 60px;
display: block;
float: left;
margin: 0;
padding: 0;
}
.navi-archive {
background: url('archive.png') no-repeat;
} }
a.rollstorynext, .rollstorynext { .navi-random {
display: inline-block; background: url('random.png') no-repeat;
height: 50px;
width: 60px;
text-decoration: none;
background: url('nextstoryroll.png') no-repeat;
} }
a.rollrandom, .rollrandom { .navi-comments {
display: inline-block; padding: 0;
height: 50px; background: url('comments.png') no-repeat;
width: 60px;
text-decoration: none;
background: url('randomroll.png') no-repeat;
} }
a.rollarchives, .rollarchives { a.navi-comments span {
display: inline-block; width: 60px;
height: 50px; height: 56px;
width: 60px; position: relative;
text-decoration: none; display: block;
background: url('archiveroll.png') no-repeat; font-size: 22px;
font-weight: bold;
line-height: 50px;
color: #FFF;
}
a.navi-comments span:hover {
color: #860b04;
}
.navi-next {
margin-left: 10px;
background: url('next.png') no-repeat;
} }
a.rollcomments, .rollcomments { .navi-nextchap {
display: inline-block; background: url('nextchap.png') no-repeat;
height: 50px;
width: 60px;
text-decoration: none;
background: url('commentsroll.png') no-repeat;
} }
a.rollfirst:hover, a.rollprev:hover, a.rollnext:hover, a.rolllast:hover, a.rollrandom:hover, a.rollarchives:hover, a.rollcomments:hover, a.rollstoryprev:hover, a.rollstorynext:hover { .navi-last {
background-position: -60px 0; margin: 0;
background: url('last.png') no-repeat;
} }
.navi-void, .navi-void:hover {
.rollagain { color: #999;
background-position: -120px 0; background-position: -120px 0;
} }
.comic-left .navi-prev, .comic-right .navi-prev, .comic-left .navi-next, .comic-right .navi-next {
}

BIN
images/nav/scifi/next.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
images/nav/scifi/prev.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
images/nav/scifi/random.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -442,7 +442,7 @@ h3, h3 a {
.narrowcolumn { .narrowcolumn {
width: 540px; width: 560px;
margin: 0 auto; margin: 0 auto;
float: left; float: left;
} }
@ -764,14 +764,14 @@ ul.children {
/* Left Sidebar Themes */ /* Left Sidebar Themes */
#sidebar-left { #sidebar-left {
float: left; float: left;
width: 220px; width: 210px;
} }
/* Right Sidebar Themes */ /* Right Sidebar Themes */
#sidebar-right { #sidebar-right {
float: right; float: right;
width: 220px; width: 210px;
} }
@ -792,9 +792,9 @@ ul.children {
.sidebar { .sidebar {
font-size: 11px; font-size: 11px;
margin: 0 10px 0 10px; margin: 0 5px 0 5px;
overflow: hidden; overflow: hidden;
padding: 0 0 10px 0; padding: 0 0 5px 0;
} }

View File

@ -34,128 +34,209 @@ class widget_comicpress_graphical_navigation extends WP_Widget {
$prev_story = ''; $prev_story = '';
$next_story = ''; $next_story = '';
?> ?>
<div id="comic_navi_wrapper">
<?php if ($instance['firstlast'] != 'off') { ?> <div id="comic_navi_wrapper">
<div class="comic_navi_first"> <table id="comic_navi"><tr><td>
<?php if (!empty($first_comic) && ($first_comic != $this_permalink)) { ?> <?php if ($instance['first'] != 'off') {
<a href="<?php echo $first_comic; ?>" class="rollfirst" title="First">&nbsp;</a> if (!empty($first_comic) && ($first_comic != $this_permalink)) { ?>
<a href="<?php echo $first_comic; ?>" class="navi navi-first" title="<?php echo $instance['first_title']; ?>"><?php echo $instance['first_title']; ?></a>
<?php } else { ?> <?php } else { ?>
<div class="rollfirst rollagain"></div> <div class="navi navi-first navi-void"><?php echo $instance['first_title']; ?></div>
<?php } ?> <?php }
</div> }
<?php } if ($instance['story_prev'] != 'off') {
if ($instance['storynav'] != 'off') { ?> if (!empty($prev_story)) { ?>
<div class="comic_navi_story_previous"> <a href="<?php echo $prev_story; ?>" class="navi navi-prevchap" title="<?php echo $instance['story_prev_title']; ?>"><?php echo $instance['story_prev_title']; ?></a>
<?php if (!empty($prev_story)) { ?>
<a href="<?php echo $prev_story; ?>" class="rollstoryprev" title="Previous Story Start">&nbsp;</a>
<?php } else { ?> <?php } else { ?>
<div class="rollstoryprev rollagain"></div> <div class="navi navi-prevchap navi-void"><?php echo $instance['story_prev_title']; ?></div>
<?php } ?> <?php }
</div> }
<?php } if ($instance['previous'] != 'off') {
if ($instance['previous'] != 'off') { ?> if (!empty($prev_comic)) { ?>
<div class="comic_navi_previous"> <a href="<?php echo $prev_comic; ?>" class="navi navi-prev" title="<?php echo $instance['previous_title']; ?>"><?php echo $instance['previous_title']; ?></a>
<?php if (!empty($prev_comic)) { ?>
<a href="<?php echo $prev_comic; ?>" class="rollprev" title="Previous">&nbsp;</a>
<?php } else { ?> <?php } else { ?>
<div class="rollprev rollagain"></div> <div class="navi navi-prev navi-void"><?php echo $instance['previous_title']; ?></div>
<?php } ?> <?php }
</div> }
<?php }
if ($instance['archives'] != 'off' && !empty($instance['archive_path'])) { ?> if ($instance['archives'] != 'off' && !empty($instance['archive_path'])) { ?>
<div class="comic_navi_archives"> <a href="<?php echo $instance['archive_path']; ?>" class="navi navi-archive" title="<?php echo $instance['archives_title']; ?>"><?php echo $instance['archives_title']; ?></a>
<a href="<?php echo $instance['archive_path']; ?>" class="rollarchives" title="Archives">&nbsp;</a>
</div>
<?php } <?php }
if ($instance['random'] != 'off') { ?> if ($instance['random'] != 'off') { ?>
<div class="comic_navi_random"> <a href="<?php echo bloginfo('url'); ?>/?randomcomic" class="navi navi-random" title="<?php echo $instance['random_title']; ?>"><?php echo $instance['random_title']; ?></a>
<a href="<?php echo bloginfo('url'); ?>/?randomcomic" class="rollrandom" title="Random Comic">&nbsp;</a>
</div>
<?php } <?php }
if ($instance['comments'] != 'off') { ?> if ($instance['comments'] != 'off') { ?>
<div class="comic_navi_comments"> <a href="<?php the_permalink(); ?>#comments" class="navi navi-comments" title="<?php echo $instance['comments_title']; ?>"><span class="navi-comments-count"><?php comments_number('0', '1', '%'); ?></span><?php echo $instance['comments_title']; ?></a>
<a href="<?php the_permalink(); ?>#respond" class="rollcomments" title="Comments"><span class="comic_navi_comments_count"><?php comments_number('0', '1', '%'); ?></span></a>
</div>
<?php }
if ($instance['next'] != 'off') { ?>
<div class="comic_navi_next">
<?php if (!empty($next_comic)) { ?>
<a href="<?php echo $next_comic; ?>" class="rollnext" title="Next">&nbsp;</a>
<?php } else { ?>
<div class="rollnext rollagain"></div>
<?php } ?>
</div>
<?php }
if ($instance['storynav'] != 'off') { ?>
<div class="comic_navi_story_next">
<?php if (!empty($next_story)) { ?>
<a href="<?php echo $next_story; ?>" class="rollstorynext" title="Next Story Start">&nbsp;</a>
<?php } else { ?>
<div class="rollstorynext rollagain"></div>
<?php } ?>
</div>
<?php } <?php }
if ($instance['firstlast'] != 'off') { ?> if ($instance['buyprint'] != 'off') { ?>
<div class="comic_navi_latest"> <form method="post" title="<?php echo $instance['buyprint_title']; ?>" action="<?php global $buy_print_url; echo $buy_print_url; ?>" class="navi-buyprint-form">
<?php if (!empty($last_comic) && ($last_comic != $this_permalink)) { ?> <input type="hidden" name="comic" value="<?php echo get_the_ID(); ?>" />
<a href="<?php echo $first_comic; ?>" class="rolllast" title="Latest">&nbsp;</a> <button class="navi navi-buyprint" type="submit" value="submit"><?php echo $instance['buyprint_title']; ?></button>
</form>
<?php }
if ($instance['next'] != 'off') {
if (!empty($next_comic)) { ?>
<a href="<?php echo $next_comic; ?>" class="navi navi-next" title="<?php echo $instance['next_title']; ?>"><?php echo $instance['next_title']; ?></a>
<?php } else { ?> <?php } else { ?>
<div class="rolllast rollagain"></div> <div class="navi navi-next navi-void"><?php echo $instance['next_title']; ?></div>
<?php } ?> <?php }
</div> }
<?php } ?> if ($instance['story_next'] != 'off') {
<div class="clear"></div> if (!empty($next_story)) { ?>
</div> <a href="<?php echo $next_story; ?>" class="navi navi-nextchap" title="<?php echo $instance['story_next_title']; ?>"><?php echo $instance['story_next_title']; ?></a>
<?php } else { ?>
<div class="navi navi-nextchap navi-void"><?php echo $instance['story_next_title']; ?></div>
<?php }
}
if ($instance['last'] != 'off') {
if (!empty($last_comic) && ($last_comic != $this_permalink)) { ?>
<a href="<?php echo $last_comic; ?>" class="navi navi-last" title="<?php echo $instance['last_title']; ?>"><?php echo $instance['last_title']; ?></a>
<?php } else { ?>
<div class="navi navi-last navi-void"><?php echo $instance['last_title']; ?></div>
<?php }
} ?>
</td></tr></table>
</div>
<?php } <?php }
function update($new_instance, $old_instance) { function update($new_instance, $old_instance) {
$instance = $old_instance; $instance = $old_instance;
$instance['firstlast'] = $new_instance['firstlast']; $instance['first'] = $new_instance['first'];
$instance['storynav'] = $new_instance['storynav']; $instance['last'] = $new_instance['last'];
$instance['story_prev'] = $new_instance['story_prev'];
$instance['story_next'] = $new_instance['story_next'];
$instance['previous'] = $new_instance['previous']; $instance['previous'] = $new_instance['previous'];
$instance['random'] = $new_instance['random']; $instance['random'] = $new_instance['random'];
$instance['archives'] = $new_instance['archives']; $instance['archives'] = $new_instance['archives'];
$instance['comments'] = $new_instance['comments']; $instance['comments'] = $new_instance['comments'];
$instance['next'] = $new_instance['next']; $instance['next'] = $new_instance['next'];
$instance['archive_path'] = strip_tags($new_instance['archive_path']); $instance['archive_path'] = strip_tags($new_instance['archive_path']);
$instance['buyprint'] = $new_instance['buyprint'];
$instance['first_title'] = strip_tags($new_instance['first_title']);
$instance['last_title'] = strip_tags($new_instance['last_title']);
$instance['story_prev_title'] = strip_tags($new_instance['story_prev_title']);
$instance['story_next_title'] = strip_tags($new_instance['story_next_title']);
$instance['previous_title'] = strip_tags($new_instance['previous_title']);
$instance['random_title'] = strip_tags($new_instance['random_title']);
$instance['archives_title'] = strip_tags($new_instance['archives_title']);
$instance['comments_title'] = strip_tags($new_instance['comments_title']);
$instance['next_title'] = strip_tags($new_instance['next_title']);
$instance['buyprint_title'] = strip_tags($new_instance['buyprint_title']);
return $instance; return $instance;
} }
function form($instance) { function form($instance) {
$instance = wp_parse_args( (array) $instance, array( 'firstlast' => 'on', 'storynav' => 'off', 'previous' => 'on', 'random' => 'off', 'archives' => 'off', 'comments' => 'off', 'next' => 'on', 'archive_path' => '' ) ); $instance = wp_parse_args( (array) $instance, array(
$firstlast = $instance['firstlast']; if (empty($firstlast)) $firstlast = 'on'; 'first' => 'on',
$storynav = $instance['storynav']; if (empty($storynav)) $storynav = 'off'; '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'
) );
$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'; $previous = $instance['previous']; if (empty($previous)) $previous = 'on';
$random = $instance['random']; if (empty($random)) $random = 'off'; $random = $instance['random']; if (empty($random)) $random = 'off';
$archives = $instance['archives']; if (empty($archives)) $archives = 'off'; $archives = $instance['archives']; if (empty($archives)) $archives = 'off';
$comments = $instance['comments']; if (empty($comments)) $comments = 'off'; $comments = $instance['comments']; if (empty($comments)) $comments = 'off';
$archive_path = $instance['archive_path']; $archive_path = $instance['archive_path'];
$next = $instance['next']; if (empty($next)) $next = 'on'; $next = $instance['next']; if (empty($next)) $next = 'on';
$buyprint = $instance['buyprint']; if (empty($buyprint)) $buyprint = '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'];
?> ?>
<label for="<?php echo $this->get_field_id('firstlast'); ?>"><strong>First &amp; Last</strong><br /> <label for="<?php echo $this->get_field_id('first'); ?>"><strong>First</strong><br />
<input id="<?php echo $this->get_field_id('firstlast'); ?>" name="<?php echo $this->get_field_name('firstlast'); ?>" type="radio" value="on"<?php if ( $firstlast == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('firstlast'); ?>" name="<?php echo $this->get_field_name('firstlast'); ?>" type="radio" value="off"<?php if ( $firstlast == "off") { echo " checked"; } ?> />Off</label><br /> <input id="<?php echo $this->get_field_id('first'); ?>" name="<?php echo $this->get_field_name('first'); ?>" type="radio" value="on"<?php if ( $first == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('first'); ?>" name="<?php echo $this->get_field_name('first'); ?>" type="radio" value="off"<?php if ( $first == "off") { echo " checked"; } ?> />Off</label><br />
Title:<br />
<input class="widefat" id="<?php echo $this->get_field_id('first_title'); ?>" name="<?php echo $this->get_field_name('first_title'); ?>" type="text" value="<?php echo attribute_escape($first_title); ?>" /></label><br />
<br /> <br />
<label for="<?php echo $this->get_field_id('storynav'); ?>"><strong>Storyline Prev &amp; Next</strong><br /> <label for="<?php echo $this->get_field_id('last'); ?>"><strong>Last</strong><br />
<input id="<?php echo $this->get_field_id('storynav'); ?>" name="<?php echo $this->get_field_name('storynav'); ?>" type="radio" value="on"<?php if ( $storynav == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('storynav'); ?>" name="<?php echo $this->get_field_name('storynav'); ?>" type="radio" value="off"<?php if ( $storynav == "off") { echo " checked"; } ?> />Off</label><br /> <input id="<?php echo $this->get_field_id('last'); ?>" name="<?php echo $this->get_field_name('last'); ?>" type="radio" value="on"<?php if ( $last == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('last'); ?>" name="<?php echo $this->get_field_name('last'); ?>" type="radio" value="off"<?php if ( $last == "off") { echo " checked"; } ?> />Off</label><br />
Title:<br />
<input class="widefat" id="<?php echo $this->get_field_id('last_title'); ?>" name="<?php echo $this->get_field_name('last_title'); ?>" type="text" value="<?php echo attribute_escape($last_title); ?>" /></label><br />
<br /> <br />
<label for="<?php echo $this->get_field_id('previous'); ?>"><strong>Previous</strong><br /> <label for="<?php echo $this->get_field_id('previous'); ?>"><strong>Previous</strong><br />
<input id="<?php echo $this->get_field_id('previous'); ?>" name="<?php echo $this->get_field_name('previous'); ?>" type="radio" value="on"<?php if ( $previous == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('previous'); ?>" name="<?php echo $this->get_field_name('previous'); ?>" type="radio" value="off"<?php if ( $previous == "off") { echo " checked"; } ?> />Off</label><br /> <input id="<?php echo $this->get_field_id('previous'); ?>" name="<?php echo $this->get_field_name('previous'); ?>" type="radio" value="on"<?php if ( $previous == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('previous'); ?>" name="<?php echo $this->get_field_name('previous'); ?>" type="radio" value="off"<?php if ( $previous == "off") { echo " checked"; } ?> />Off</label><br />
Title:<br />
<input class="widefat" id="<?php echo $this->get_field_id('previous_title'); ?>" name="<?php echo $this->get_field_name('previous_title'); ?>" type="text" value="<?php echo attribute_escape($previous_title); ?>" /></label><br />
<br /> <br />
<label for="<?php echo $this->get_field_id('next'); ?>"><strong>Next</strong><br /> <label for="<?php echo $this->get_field_id('next'); ?>"><strong>Next</strong><br />
<input id="<?php echo $this->get_field_id('next'); ?>" name="<?php echo $this->get_field_name('next'); ?>" type="radio" value="on"<?php if ( $next == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('next'); ?>" name="<?php echo $this->get_field_name('next'); ?>" type="radio" value="off"<?php if ( $next == "off") { echo " checked"; } ?> />Off</label><br /> <input id="<?php echo $this->get_field_id('next'); ?>" name="<?php echo $this->get_field_name('next'); ?>" type="radio" value="on"<?php if ( $next == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('next'); ?>" name="<?php echo $this->get_field_name('next'); ?>" type="radio" value="off"<?php if ( $next == "off") { echo " checked"; } ?> />Off</label><br />
Title:<br />
<input class="widefat" id="<?php echo $this->get_field_id('next_title'); ?>" name="<?php echo $this->get_field_name('next_title'); ?>" type="text" value="<?php echo attribute_escape($next_title); ?>" /></label><br />
<br />
<label for="<?php echo $this->get_field_id('story_prev'); ?>"><strong>Previous Chapter</strong><br />
<input id="<?php echo $this->get_field_id('story_prev'); ?>" name="<?php echo $this->get_field_name('story_prev'); ?>" type="radio" value="on"<?php if ( $story_prev == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('story_prev'); ?>" name="<?php echo $this->get_field_name('story_prev'); ?>" type="radio" value="off"<?php if ( $story_prev == "off") { echo " checked"; } ?> />Off</label><br />
Title:<br />
<input class="widefat" id="<?php echo $this->get_field_id('story_prev_title'); ?>" name="<?php echo $this->get_field_name('story_prev_title'); ?>" type="text" value="<?php echo attribute_escape($story_prev_title); ?>" /></label><br />
<br />
<label for="<?php echo $this->get_field_id('story_next'); ?>"><strong>Next Chapter</strong><br />
<input id="<?php echo $this->get_field_id('story_next'); ?>" name="<?php echo $this->get_field_name('story_next'); ?>" type="radio" value="on"<?php if ( $story_next == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('story_next'); ?>" name="<?php echo $this->get_field_name('story_next'); ?>" type="radio" value="off"<?php if ( $story_next == "off") { echo " checked"; } ?> />Off</label><br />
Title:<br />
<input class="widefat" id="<?php echo $this->get_field_id('story_next_title'); ?>" name="<?php echo $this->get_field_name('story_next_title'); ?>" type="text" value="<?php echo attribute_escape($story_next_title); ?>" /></label><br />
<br /> <br />
<label for="<?php echo $this->get_field_id('archives'); ?>"><strong>Archives</strong><br /> <label for="<?php echo $this->get_field_id('archives'); ?>"><strong>Archives</strong><br />
<input id="<?php echo $this->get_field_id('archives'); ?>" name="<?php echo $this->get_field_name('archives'); ?>" type="radio" value="on"<?php if ( $archives == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('archives'); ?>" name="<?php echo $this->get_field_name('archives'); ?>" type="radio" value="off"<?php if ( $archives == "off") { echo " checked"; } ?> />Off<br /> <input id="<?php echo $this->get_field_id('archives'); ?>" name="<?php echo $this->get_field_name('archives'); ?>" type="radio" value="on"<?php if ( $archives == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('archives'); ?>" name="<?php echo $this->get_field_name('archives'); ?>" type="radio" value="off"<?php if ( $archives == "off") { echo " checked"; } ?> />Off<br />
Title:<br />
<input class="widefat" id="<?php echo $this->get_field_id('archives_title'); ?>" name="<?php echo $this->get_field_name('archives_title'); ?>" type="text" value="<?php echo attribute_escape($archives_title); ?>" /></label><br />
Archive URL:<br /> Archive URL:<br />
<input class="widefat" id="<?php echo $this->get_field_id('archive_path'); ?>" name="<?php echo $this->get_field_name('archive_path'); ?>" type="text" value="<?php echo attribute_escape($archive_path); ?>" /></label><br /> <input class="widefat" id="<?php echo $this->get_field_id('archive_path'); ?>" name="<?php echo $this->get_field_name('archive_path'); ?>" type="text" value="<?php echo attribute_escape($archive_path); ?>" /></label><br />
<br /> <br />
<label for="<?php echo $this->get_field_id('comments'); ?>"><strong>Comments</strong><br /> <label for="<?php echo $this->get_field_id('comments'); ?>"><strong>Comments</strong><br />
<input id="<?php echo $this->get_field_id('comments'); ?>" name="<?php echo $this->get_field_name('comments'); ?>" type="radio" value="on"<?php if ( $comments == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('comments'); ?>" name="<?php echo $this->get_field_name('comments'); ?>" type="radio" value="off"<?php if ( $comments == "off") { echo " checked"; } ?> />Off</label><br /> <input id="<?php echo $this->get_field_id('comments'); ?>" name="<?php echo $this->get_field_name('comments'); ?>" type="radio" value="on"<?php if ( $comments == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('comments'); ?>" name="<?php echo $this->get_field_name('comments'); ?>" type="radio" value="off"<?php if ( $comments == "off") { echo " checked"; } ?> />Off</label><br />
Title:<br />
<input class="widefat" id="<?php echo $this->get_field_id('comments_title'); ?>" name="<?php echo $this->get_field_name('comments_title'); ?>" type="text" value="<?php echo attribute_escape($comments_title); ?>" /></label><br />
<br /> <br />
<label for="<?php echo $this->get_field_id('random'); ?>"><strong>Random</strong><br /> <label for="<?php echo $this->get_field_id('random'); ?>"><strong>Random</strong><br />
<input id="<?php echo $this->get_field_id('random'); ?>" name="<?php echo $this->get_field_name('random'); ?>" type="radio" value="on"<?php if ( $random == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('random'); ?>" name="<?php echo $this->get_field_name('random'); ?>" type="radio" value="off"<?php if ( $random == "off") { echo " checked"; } ?> />Off</label><br /> <input id="<?php echo $this->get_field_id('random'); ?>" name="<?php echo $this->get_field_name('random'); ?>" type="radio" value="on"<?php if ( $random == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('random'); ?>" name="<?php echo $this->get_field_name('random'); ?>" type="radio" value="off"<?php if ( $random == "off") { echo " checked"; } ?> />Off</label><br />
Title:<br />
<input class="widefat" id="<?php echo $this->get_field_id('random_title'); ?>" name="<?php echo $this->get_field_name('random_title'); ?>" type="text" value="<?php echo attribute_escape($random_title); ?>" /></label><br />
<br />
<label for="<?php echo $this->get_field_id('buyprint'); ?>"><strong>Buy Print</strong><br />
<input id="<?php echo $this->get_field_id('buyprint'); ?>" name="<?php echo $this->get_field_name('buyprint'); ?>" type="radio" value="on"<?php if ( $buyprint == "on") { echo " checked"; } ?> />On</label>&nbsp;<input id="<?php echo $this->get_field_id('buyprint'); ?>" name="<?php echo $this->get_field_name('buyprint'); ?>" type="radio" value="off"<?php if ( $buyprint == "off") { echo " checked"; } ?> />Off</label><br />
Title:<br />
<input class="widefat" id="<?php echo $this->get_field_id('buyprint_title'); ?>" name="<?php echo $this->get_field_name('buyprint_title'); ?>" type="text" value="<?php echo attribute_escape($buyprint_title); ?>" /></label><br />
<?php <?php
} }