132 lines
5.8 KiB
PHP
132 lines
5.8 KiB
PHP
<div id="comicpress-addons">
|
|
|
|
<form method="post" id="myForm-addons" enctype="multipart/form-data" action="">
|
|
<?php wp_nonce_field('update-options') ?>
|
|
|
|
<div class="comicpress-options">
|
|
|
|
<table class="widefat">
|
|
<thead>
|
|
<tr>
|
|
<th colspan="3"><?php _e('Custom Header','comicpress'); ?></th>
|
|
</tr>
|
|
</thead>
|
|
<tr class="alternate">
|
|
<th scope="row"><label for="enable_custom_image_header"><?php _e('Use Custom Header','comicpress'); ?></label></th>
|
|
<td>
|
|
<input id="enable_custom_image_header" name="enable_custom_image_header" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_custom_image_header']); ?> />
|
|
</td>
|
|
<td>
|
|
<?php _e('Adds Custom Header option under Dashboard -> Appearance. Allows you to add your own header image and customize or hide the default text.','comicpress'); ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row"><label for="custom_image_header_width"><?php _e('Width','comicpress'); ?></label></th>
|
|
<td>
|
|
<input type="text" size="5" name="custom_image_header_width" id="custom_image_header_width" value="<?php echo $comicpress_options['custom_image_header_width']; ?>" /><br />
|
|
</td>
|
|
<td>
|
|
<?php _e('Sets the width of the image you want to use for Custom Header. Defaults widths are 780px or 980px depending on the layout. Refer to the width of the layout you chose and any custom changes you have made to site width in the CSS.','comicpress'); ?>
|
|
</td>
|
|
</tr>
|
|
<tr class="alternate">
|
|
<th scope="row"><label for="custom_image_header_height"><?php _e('Height','comicpress'); ?></label></th>
|
|
<td>
|
|
<input type="text" size="5" name="custom_image_header_height" id="custom_image_header_height" value="<?php echo $comicpress_options['custom_image_header_height']; ?>" />
|
|
</td>
|
|
<td>
|
|
<?php _e('Sets the height of the image you want to use for Custom Header. Recommended maximum height is 120px, but if your logo/image demands it you can set it higher.','comicpress'); ?>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="widefat">
|
|
<thead>
|
|
<tr>
|
|
<th colspan="3"><?php _e('Buy Print','comicpress'); ?></th>
|
|
</tr>
|
|
</thead>
|
|
<tr>
|
|
<th scope="row" colspan="2">
|
|
<label for="buy_print_email"><?php _e('Paypal email address','comicpress'); ?></label>
|
|
<input type="text" size="25" name="buy_print_email" id="buy_print_email" value="<?php echo $comicpress_options['buy_print_email']; ?>" />
|
|
</th>
|
|
<td>
|
|
<span style="color: #d54e21;"><?php _e('* This must be correct, you do not want other people getting your money.','comicpress'); ?></span><br />
|
|
<?php _e('The Email address you registered with Paypal and that your store is associated with.','comicpress'); ?>
|
|
</td>
|
|
</tr>
|
|
<tr class="alternate">
|
|
<th scope="row"colspan="2">
|
|
<label for="buy_print_url"><?php _e('URL of the template page','comicpress'); ?></label>
|
|
<input type="text" size="25" name="buy_print_url" id="buy_print_url" value="<?php echo $comicpress_options['buy_print_url']; ?>" />
|
|
</th>
|
|
<td>
|
|
<span style="color: #d54e21;"><?php _e('* This must be correct, the form needs some place to go.','comicpress'); ?></span><br />
|
|
<?php _e('The URL address to which you associated the buy print template.','comicpress'); ?><br />
|
|
<em>
|
|
<?php _e('Examples:','comicpress'); ?>
|
|
"http://yourdomain.com/?p=233",
|
|
"http://yourdomain.com/shop/",
|
|
"/?p=233",
|
|
"/shop/".
|
|
</em>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row"><label for="buy_print_add_shipping"><?php _e('Add shipping to each item','comicpress'); ?></label></th>
|
|
<td>
|
|
<input id="buy_print_add_shipping" name="buy_print_add_shipping" type="checkbox" value="1" <?php checked(true, $comicpress_options['buy_print_add_shipping']); ?> />
|
|
</td>
|
|
<td>
|
|
<?php _e('Enabling this option will make it so that shipping costs will be added to each item purchased.','comicpress'); ?>
|
|
</td>
|
|
</tr>
|
|
<tr class="alternate">
|
|
<th scope="row"><label for="buy_print_us_amount"><?php _e('Print Cost (US/Canada)','comicpress'); ?></label></th>
|
|
<td>
|
|
<input type="text" size="7" name="buy_print_us_amount" id="buy_print_us_amount" value="<?php echo $comicpress_options['buy_print_us_amount']; ?>" />
|
|
</td>
|
|
<td>
|
|
<?php _e('How much does a print cost for people in the United States and Canada?','comicpress'); ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row"><label for="buy_print_us_ship"><?php _e('Shipping Cost (US/Canada)','comicpress'); ?></label></th>
|
|
<td colspan="2">
|
|
<input type="text" size="7" name="buy_print_us_ship" id="buy_print_us_ship" value="<?php echo $comicpress_options['buy_print_us_ship']; ?>" />
|
|
</td>
|
|
</tr>
|
|
<tr class="alternate">
|
|
<th scope="row"><label for="buy_print_int_amount"><?php _e('Print Cost (International)','comicpress'); ?></label></th>
|
|
<td>
|
|
<input type="text" size="7" name="buy_print_int_amount" id="buy_print_int_amount" value="<?php echo $comicpress_options['buy_print_int_amount']; ?>" />
|
|
</td>
|
|
<td>
|
|
<?php _e('How much does a print cost for people *NOT* in the United States and Canada (International)','comicpress'); ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row"><label for="buy_print_int_ship"><?php _e('Shipping Cost (International)','comicpress'); ?></label></th>
|
|
<td colspan="2">
|
|
<input type="text" size="7" name="buy_print_int_ship" id="buy_print_int_ship" value="<?php echo $comicpress_options['buy_print_int_ship']; ?>" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="comicpress-options-save">
|
|
<div class="comicpress-major-publishing-actions">
|
|
<div class="comicpress-publishing-action">
|
|
<input name="comicpress_save_customheader" type="submit" class="button-primary" value="Save Settings" />
|
|
<input type="hidden" name="action" value="comicpress_save_addons" />
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|