2.8.2.4 cleanups
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
2c223ec77a
commit
97d584b7b9
12
buystrip.php
12
buystrip.php
|
@ -46,11 +46,11 @@ Templete Author Email: philip@frumph.net
|
||||||
<input type="hidden" name="cmd" value="_cart">
|
<input type="hidden" name="cmd" value="_cart">
|
||||||
<input type="hidden" name="shipping2" value="<?php echo $buy_print_us_amount; ?>">
|
<input type="hidden" name="shipping2" value="<?php echo $buy_print_us_amount; ?>">
|
||||||
<input type="hidden" name="cn" value="<?php _e('Special Instructions (optional)','comicpress'); ?>">
|
<input type="hidden" name="cn" value="<?php _e('Special Instructions (optional)','comicpress'); ?>">
|
||||||
<input type="hidden" name="cancel_return" value="<?php echo get_bloginfo('url'); ?>">
|
<input type="hidden" name="cancel_return" value="<?php echo get_bloginfo('wpurl'); ?>">
|
||||||
<input type="hidden" name="item_name" value="<?php _e('Print','comicpress'); ?>">
|
<input type="hidden" name="item_name" value="<?php _e('Print','comicpress'); ?>">
|
||||||
<input type="hidden" name="notify_url" value="<?php echo get_bloginfo('url'); ?>">
|
<input type="hidden" name="notify_url" value="<?php echo get_bloginfo('wpurl'); ?>">
|
||||||
<input type="hidden" name="page_style" value="">
|
<input type="hidden" name="page_style" value="">
|
||||||
<input type="hidden" name="return" value="<?php echo bloginfo('url'); ?>">
|
<input type="hidden" name="return" value="<?php echo bloginfo('wpurl'); ?>">
|
||||||
<input type="hidden" name="amount" value="<?php echo $buy_print_us_amount; ?>">
|
<input type="hidden" name="amount" value="<?php echo $buy_print_us_amount; ?>">
|
||||||
<input type="hidden" name="item_number" value="<?php _e('Comic ID','comicpress'); ?> (<?php echo $comicnum; ?>) - <?php echo the_title(); ?>">
|
<input type="hidden" name="item_number" value="<?php _e('Comic ID','comicpress'); ?> (<?php echo $comicnum; ?>) - <?php echo the_title(); ?>">
|
||||||
<input type="hidden" name="business" value="<?php echo $buy_print_email; ?>">
|
<input type="hidden" name="business" value="<?php echo $buy_print_email; ?>">
|
||||||
|
@ -68,11 +68,11 @@ Templete Author Email: philip@frumph.net
|
||||||
<input type="hidden" name="cmd" value="_cart">
|
<input type="hidden" name="cmd" value="_cart">
|
||||||
<input type="hidden" name="shipping2" value="<?php echo $buy_print_int_amount; ?>">
|
<input type="hidden" name="shipping2" value="<?php echo $buy_print_int_amount; ?>">
|
||||||
<input type="hidden" name="cn" value="<?php _e('Special Instructions (optional)','comicpress'); ?>">
|
<input type="hidden" name="cn" value="<?php _e('Special Instructions (optional)','comicpress'); ?>">
|
||||||
<input type="hidden" name="cancel_return" value="<?php echo get_bloginfo('url'); ?>">
|
<input type="hidden" name="cancel_return" value="<?php echo get_bloginfo('wpurl'); ?>">
|
||||||
<input type="hidden" name="item_name" value="<?php _e('Print','comicpress'); ?>">
|
<input type="hidden" name="item_name" value="<?php _e('Print','comicpress'); ?>">
|
||||||
<input type="hidden" name="notify_url" value="<?php echo get_bloginfo('url'); ?>">
|
<input type="hidden" name="notify_url" value="<?php echo get_bloginfo('wpurl'); ?>">
|
||||||
<input type="hidden" name="page_style" value="">
|
<input type="hidden" name="page_style" value="">
|
||||||
<input type="hidden" name="return" value="<?php echo bloginfo('url'); ?>">
|
<input type="hidden" name="return" value="<?php echo bloginfo('wpurl'); ?>">
|
||||||
<input type="hidden" name="amount" value="<?php echo $buy_print_int_amount; ?>">
|
<input type="hidden" name="amount" value="<?php echo $buy_print_int_amount; ?>">
|
||||||
<input type="hidden" name="item_number" value="<?php _e('Comic ID','comicpress'); ?> (<?php echo $comicnum; ?>) - <?php echo the_title(); ?>">
|
<input type="hidden" name="item_number" value="<?php _e('Comic ID','comicpress'); ?> (<?php echo $comicnum; ?>) - <?php echo the_title(); ?>">
|
||||||
<input type="hidden" name="business" value="<?php echo $buy_print_email; ?>">
|
<input type="hidden" name="business" value="<?php echo $buy_print_email; ?>">
|
||||||
|
|
|
@ -25,7 +25,7 @@ function comicpress_admin() {
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<h2 class="alignleft"><?php _e('ComicPress Options','comicpress'); ?></h2>
|
<h2 class="alignleft"><?php _e('ComicPress Options','comicpress'); ?></h2>
|
||||||
|
|
||||||
<a class="alignright" style="margin: 20px;" href="http://comicpress.org/"><img src="<?php echo get_bloginfo('stylesheet_directory'); ?>/images/options/comicpress_logo.png" alt="ComicPress" /></a>
|
<a class="alignright" style="margin: 20px;" href="http://comicpress.org/"><img src="<?php echo get_template_directory_uri(); ?>/images/options/comicpress_logo.png" alt="ComicPress" /></a>
|
||||||
|
|
||||||
|
|
||||||
<br clear="all" />
|
<br clear="all" />
|
||||||
|
|
|
@ -41,9 +41,9 @@ function comicpress_avatar() {
|
||||||
echo str_replace("alt='", "alt='".wp_specialchars(get_comment_author(), 1)."' title='".wp_specialchars(get_comment_author(), 1), comicpress_get_avatar($id_or_email, 64));
|
echo str_replace("alt='", "alt='".wp_specialchars(get_comment_author(), 1)."' title='".wp_specialchars(get_comment_author(), 1), comicpress_get_avatar($id_or_email, 64));
|
||||||
} else {
|
} else {
|
||||||
if ($comment_type == 'pingback' || $comment_type == 'trackback') {
|
if ($comment_type == 'pingback' || $comment_type == 'trackback') {
|
||||||
echo '<img src="'.get_bloginfo('stylesheet_directory').$avatar.'" class="photo trackping" />';
|
echo '<img src="'.get_template_directory_uri().'/'.$avatar.'" class="photo trackping" />';
|
||||||
} else {
|
} else {
|
||||||
echo '<img src="'.get_bloginfo('stylesheet_directory').$avatar.'" class="avatar photo" />';
|
echo '<img src="'.get_template_directory_uri().'/'.$avatar.'" class="avatar photo" />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?php if (comicpress_check_child_file('searchform') == false) { ?>
|
<?php if (comicpress_check_child_file('searchform') == false) { ?>
|
||||||
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
|
<form method="get" id="searchform" action="<?php bloginfo('wpurl'); ?>/">
|
||||||
<div>
|
<div>
|
||||||
<input type="text" value="<?php _e('Search...','comicpress'); ?>" name="s" id="s-search" onfocus="this.value=(this.value=='<?php _e('Search...','comicpress'); ?>') ? '' : this.value;" onblur="this.value=(this.value=='') ? '<?php _e('Search...','comicpress'); ?>' : this.value;" />
|
<input type="text" value="<?php _e('Search...','comicpress'); ?>" name="s" id="s-search" onfocus="this.value=(this.value=='<?php _e('Search...','comicpress'); ?>') ? '' : this.value;" onblur="this.value=(this.value=='') ? '<?php _e('Search...','comicpress'); ?>' : this.value;" />
|
||||||
<button type="submit">»</button>
|
<button type="submit">»</button>
|
||||||
|
|
|
@ -19,12 +19,12 @@ if (is_home() || is_single()) { ?>
|
||||||
/* Bookmark Config Settings */
|
/* Bookmark Config Settings */
|
||||||
|
|
||||||
var cl = 31;
|
var cl = 31;
|
||||||
var imgTag = '<?php bloginfo('template_directory'); ?>/images/1.gif'; //add tag image.
|
var imgTag = '<?php echo get_template_directory_uri(); ?>/images/1.gif'; //add tag image.
|
||||||
var imgClearOff = '<?php bloginfo('template_directory'); ?>/images/3a.gif'; //no comic tagged, clear not possible
|
var imgClearOff = '<?php echo get_template_directory_uri(); ?>/images/3a.gif'; //no comic tagged, clear not possible
|
||||||
var imgGotoOff = '<?php bloginfo('template_directory'); ?>/images/2a.gif'; //no comic tagged, goto not possible
|
var imgGotoOff = '<?php echo get_template_directory_uri(); ?>/images/2a.gif'; //no comic tagged, goto not possible
|
||||||
var imgClearOn = '<?php bloginfo('template_directory'); ?>/images/3.gif'; //clear a tag, shows when comic previously tagged
|
var imgClearOn = '<?php echo get_template_directory_uri(); ?>/images/3.gif'; //clear a tag, shows when comic previously tagged
|
||||||
var imgGotoOn = '<?php bloginfo('template_directory'); ?>/images/2.gif'; //shows when a comic is tagged
|
var imgGotoOn = '<?php echo get_template_directory_uri(); ?>/images/2.gif'; //shows when a comic is tagged
|
||||||
var imgInfo = '<?php bloginfo('template_directory'); ?>/images/4.gif'; //img that displays the help
|
var imgInfo = '<?php echo get_template_directory_uri(); ?>/images/4.gif'; //img that displays the help
|
||||||
var comicDir = '/'; //alter this if you run multiple comics in different directories on your site.
|
var comicDir = '/'; //alter this if you run multiple comics in different directories on your site.
|
||||||
|
|
||||||
/* Now write out the applicable links */
|
/* Now write out the applicable links */
|
||||||
|
|
Loading…
Reference in New Issue