25 lines
1.7 KiB
PHP
25 lines
1.7 KiB
PHP
<?php if(!class_exists('ShareYourCartBase',false)) die('Access Denied'); ?>
|
|
<div class="wrap">
|
|
|
|
<p><?php echo SyC::t('sdk','Here you can enter the details that will be used by {brand}', array('{brand}' => '<a href="http://www.shareyourcart.com" target="_blank" title="Shareyourcart™">ShareYourCart™</a>')); ?></p>
|
|
|
|
<br />
|
|
|
|
<table>
|
|
<tr>
|
|
<th valign="top" scope="row" style="padding-top:6px;"><label for="syc_price"><?php echo SyC::t('sdk','Product Price:'); ?></label></th>
|
|
<td><input type="text" name="syc_price" id="syc_price" class="regular-text" style="width:450px;" value="<?php echo $price; ?>"/><br />
|
|
<p class="howto"><?php echo SyC::t('sdk','Include the currency sign as well. I.e: $10'); ?></p></td>
|
|
</tr>
|
|
<tr>
|
|
<th valign="top" scope="row"><label for="syc_description"><?php SyC::t('sdk','Description:'); ?></label></th>
|
|
<td><textarea name="syc_description" id="syc_description" class="regular-text" style="width:450px; height:200px;"><?php echo $description; ?></textarea>
|
|
<p class="howto"><?php echo SyC::t('sdk','Leave blank to use the main description'); ?></p></td>
|
|
</tr>
|
|
<tr>
|
|
<th valign="middle" scope="row"><?php echo SyC::t('sdk','Product Image:'); ?></th>
|
|
<td valign="middle"><p class="howto"><?php echo SyC::t('sdk',"Use wordpress' featured image functionality. You can find it on the right side."); ?></p></td>
|
|
</tr>
|
|
</table>
|
|
<input type="hidden" name="syc_nonce" id="syc_nonce" value="<?php echo wp_create_nonce( $this->_PLUGIN_PATH ); ?>" />
|
|
</div>
|