Example #1
0
			<td><input id="bsa_pro_trans_agency_back_button" name="agency_back_button" value="<?php 
validValue('agency_back_button');
?>
" type="text" class="regular-text"></td>
		</tr>
		<tr>
			<th scope="row"><label for="bsa_pro_trans_agency_visit_site">"Visit Site"</label></th>
			<td><input id="bsa_pro_trans_agency_visit_site" name="agency_visit_site" value="<?php 
validValue('agency_visit_site');
?>
" type="text" class="regular-text"></td>
		</tr>
		<tr>
			<th class="bsaLast" scope="row"><label for="bsa_pro_trans_agency_buy_ad">"Buy Ad"</label></th>
			<td class="bsaLast"><input id="bsa_pro_trans_agency_buy_ad" name="agency_buy_ad" value="<?php 
validValue('agency_buy_ad');
?>
" type="text" class="regular-text"></td>
		</tr>
		</tbody>
		<?php 
do_action('bsa-pro-translation-view');
?>
	</table>
	<p class="submit"><input type="submit" value="Save Changes" class="button button-primary" id="submit" name="submit"></p>
</form>

<script>
	(function($){
		// - start - open page
		var bsaItemsWrap = $('.wrap');
Example #2
0
" id="publishable_key" name="publishable_key">
						<p class="description">Stripe > Your account > Account Settings > API Keys</p></td>
				</tr>
				<tr class="bsaBottomLine">
					<th scope="row"><label for="bank_transfer_content">Bank Transfer Details</label></th>
					<td>
						<textarea id="bank_transfer_content" name="trans_payment_bank_transfer_content" class="regular-text" rows="3" cols="40"><?php 
validValue('trans_payment_bank_transfer_content');
?>
</textarea>
					</td>
				</tr>
				<tr>
					<th scope="row"><label for="ordering_form_url">URL to the Order Form</label></th>
					<td><input type="url" class="regular-text code" maxlength="1000" value="<?php 
validValue('ordering_form_url');
?>
" id="ordering_form_url" name="ordering_form_url">
						<p class="description">Order Form you can display by shortcode <strong>[bsa_pro_form_and_stats]</strong></p>
						<p class="description"><strong>Example</strong> http://your_page.com/order_ads</p></td>
				</tr>
				<tr>
					<th scope="row"><label for="currency_code">PayPal Currency Code</label></th>
					<td><input type="text" class="regular-text ltr" value="<?php 
echo get_option('bsa_pro_plugin_' . 'currency_code');
?>
" id="currency_code" name="currency_code">
						<p class="description">More information about PayPal Currency Codes <a href="https://developer.paypal.com/docs/classic/api/currency_codes/">here</a>.</p></td>
				</tr>
				<tr>
					<th scope="row"><label for="stripe_code">Stripe Currency Code</label></th>