comicpress-2.8/options/buyprintoptions.php

101 lines
4.2 KiB
PHP

<div id="buyprintoptions" class="<?php if ($tab == 'buyprint') { ?>show<?php } else { ?>hide<?php } ?>">
<form method="post" id="myForm" name="template" enctype="multipart/form-data">
<?php wp_nonce_field('update-options') ?>
<div id="comicpress-options">
<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>
<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>
<td>
</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>
<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>
<td/>
</td>
</tr>
</table>
</div>
<div id="comicpress-options-save">
<div id="major-publishing-actions">
<div id="publishing-action">
<input name="comicpress_save_buyprint" type="submit" class="button-primary" value="Save Settings" />
<input type="hidden" name="action" value="comicpress_save_buyprint" />
</div>
<div class="clear"></div>
</div>
</div>
</form>
</div>