• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP espresso_check_ssl函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中espresso_check_ssl函数的典型用法代码示例。如果您正苦于以下问题:PHP espresso_check_ssl函数的具体用法?PHP espresso_check_ssl怎么用?PHP espresso_check_ssl使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了espresso_check_ssl函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: event_espresso_display_qbms_settings

function event_espresso_display_qbms_settings()
{
    $qbms_settings = get_option('event_espresso_qbms_settings');
    $default_logdir = wp_upload_dir();
    $default_logdir = $default_logdir['basedir'] . '/espresso/gateways/qbms/';
    $app_id = $qbms_settings['qbms_sandbox'] ? ESPRESSO_QBSM_DEV_APP_ID : ESPRESSO_QBMS_LIVE_APP_ID;
    $connection_ticket_url = $qbms_settings['qbms_sandbox'] ? "https://merchantaccount.ptc.quickbooks.com/j/sdkconnection?appid={$app_id}&sessionEnabled=false" : "https://merchantaccount.quickbooks.com/j/sdkconnection?appid={$app_id}&sessionEnabled=false";
    ?>
	<form method="post" action="<?php 
    echo $_SERVER['REQUEST_URI'];
    ?>
">
		<table width="99%" border="0" cellspacing="5" cellpadding="5">
			<tr>
				<td valign="top">
					<ul>
						<li>
							<label for='qbms_conn_ticket'>
								<?php 
    _e("QuickBooks Connection Ticket", 'event_espresso');
    ?>
 
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=connection_ticket"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input class="input-text" type="text" name="qbms_conn_ticket" id="qbms_conn_ticket" style="min-width:50px;" value="<?php 
    echo $qbms_settings['qbms_conn_ticket'];
    ?>
" />
							<br/>
						</li>
					</ul>
				</td>
				<td valign="top">
					<ul>
						<li>
							<label for='qbms_sandbox'><?php 
    _e("Use PTC (Development) Server", 'event_espresso');
    ?>
<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=qbms_ipc"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a></label>
							<input type='checkbox' name='qbms_sandbox' value="1" <?php 
    if ($qbms_settings['qbms_sandbox']) {
        echo 'checked';
    }
    ?>
>
						</li>
						<li>
							<label for="display_header">
								<?php 
    _e('Display a Form Header', 'event_espresso');
    ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=display_header"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="display_header" type="checkbox" value="1" <?php 
    echo $qbms_settings['display_header'] ? 'checked="checked"' : '';
    ?>
 /></li>
						<li>
							<label for="header">
								<?php 
    _e('Header Text', 'event_espresso');
    ?>
							</label>
							<input type="text" name="header" size="35" value="<?php 
    echo $qbms_settings['header'];
    ?>
">
						</li>
						<?php 
    /* ?><li>
    				<label for='qbms_log'><?php _e("Technical Log",'event_espresso')?></label>
    				<select name="qbms_log" id="qbms_log" style="min-width:100px;">
    					<option value="off" <?php if ($qbms_settings['qbms_log'] == 'off') echo 'selected="selected"'; ?>> <?php _e('Off', 'event_espresso'); ?></option>
    					<option value="e_only" <?php if ($qbms_settings['qbms_log'] == 'e_only') echo 'selected="selected"'; ?>><?php _e('Errors Only', 'event_espresso'); ?></option>
    					<option value="all" <?php if ($qbms_settings['qbms_log'] == 'all') echo 'selected="selected"'; ?>><?php _e('All', 'event_espresso'); ?></option>
    				</select>
    			</li>
    			<li>
    				<label for='qbms_logpath'><?php _e("Folder where to place log file",'event_espresso')?></label>
    				<input class="input-text wide-input" type="text" name="qbms_logpath" id="qbms_logpath" value="<?php echo $qbms_settings['qbms_logpath'] ?>" />
    			</li>
    			<?php */
    ?>
						 
					</ul>
				</td>
			</tr>
		</table>
		<?php 
    if (espresso_check_ssl() == FALSE) {
        espresso_ssl_required_gateway_message();
//.........这里部分代码省略.........
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:101,代码来源:settings.php


示例2: event_espresso_display_mwarrior_settings


//.........这里部分代码省略.........
					</ul></td>
				<td valign="top"><ul>
						<li>
							<label for="bypass_payment_page">
								<?php 
    _e('Bypass Payment Overview Page', 'event_espresso');
    ?>
 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=bypass_confirmation"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<?php 
    $values = array(array('id' => 'N', 'text' => __('No', 'event_espresso')), array('id' => 'Y', 'text' => __('Yes', 'event_espresso')));
    echo select_input('bypass_payment_page', $values, $mwarrior_settings['bypass_payment_page']);
    ?>
							</li>
						<li>
							<label for="use_sandbox">
								<?php 
    _e('Use the Test Mode for Merchant Warrior', 'event_espresso');
    ?>
 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=sandbox_info"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="use_sandbox" type="checkbox" value="1" <?php 
    echo $mwarrior_settings['use_sandbox'] ? 'checked="checked"' : '';
    ?>
 />
						</li>
						<?php 
    if (espresso_check_ssl() == TRUE || isset($mwarrior_settings['force_ssl_return']) && $mwarrior_settings['force_ssl_return'] == 1) {
        ?>
						<li>
							<label for="force_ssl_return">
								<?php 
        _e('Force HTTPS on Return URL', 'event_espresso');
        ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=force_ssl_return"><img src="<?php 
        echo EVENT_ESPRESSO_PLUGINFULLURL;
        ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="force_ssl_return" type="checkbox" value="1" <?php 
        echo $mwarrior_settings['force_ssl_return'] ? 'checked="checked"' : '';
        ?>
 /></li>
							<?php 
    }
    ?>
						<li>
							<label for="button_url">
								<?php 
    _e('Button Image URL', 'event_espresso');
    ?>
 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=button_image"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input class="upload_url_input" type="text" name="button_url" size="34" value="<?php 
    echo isset($mwarrior_settings['button_url']) ? $mwarrior_settings['button_url'] : '';
    ?>
" />
开发者ID:hhgr,项目名称:uksoccer,代码行数:67,代码来源:settings.php


示例3: event_espresso_display_eway_rapid3_settings


//.........这里部分代码省略.........
								<?php 
    _e('The currency set for your region is', 'event_espresso');
    ?>
							</label>
							<span class="display-path" style="background-color: rgb(255, 251, 204); border:#999 solid 1px; padding:2px;"><?php 
    echo $eway_rapid3_settings['currency_format'];
    ?>
</span>
							<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=currency_info"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a> </li>
						
					</ul>
				</td>
				<td valign="top">
					<ul>
						<li>
							<label for="eway_rapid3_use_sandbox">
								<?php 
    _e('Use Eway Rapid 3.0in Sandbox Mode', 'event_espresso');
    ?>
							</label>
							<input name="eway_rapid3_use_sandbox" type="checkbox" value="1" <?php 
    echo $eway_rapid3_settings['eway_rapid3_use_sandbox'] ? 'checked="checked"' : '';
    ?>
 />
							<br />
							<?php 
    _e('Note: Sandbox mode only works for AUD as currency. If you are using Sandbox mode, ensure you are using Sandbox credentials.', 'event_espresso');
    ?>
						</li>
						<?php 
    if (espresso_check_ssl() == TRUE || isset($eway_rapid3_settings['force_ssl_return']) && $eway_rapid3_settings['force_ssl_return'] == 1) {
        ?>
						<li>
							<label for="force_ssl_return">
								<?php 
        _e('Force HTTPS on Return URL', 'event_espresso');
        ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=force_ssl_return"><img src="<?php 
        echo EVENT_ESPRESSO_PLUGINFULLURL;
        ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="force_ssl_return" type="checkbox" value="1" <?php 
        echo $eway_rapid3_settings['force_ssl_return'] ? 'checked="checked"' : '';
        ?>
 />
						</li>
						<?php 
    }
    ?>
						<li>
							<label for="display_header">
								<?php 
    _e('Display a Form Header', 'event_espresso');
    ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=display_header"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="display_header" type="checkbox" value="1" <?php 
    echo $eway_rapid3_settings['display_header'] ? 'checked="checked"' : '';
    ?>
开发者ID:hhgr,项目名称:uksoccer,代码行数:67,代码来源:settings.php


示例4: event_espresso_display_beanstream_settings

function event_espresso_display_beanstream_settings()
{
    $beanstream_settings = get_option('event_espresso_beanstream_settings');
    ?>
	<form method="post" action="<?php 
    echo $_SERVER['REQUEST_URI'];
    ?>
">
		<table width="99%" border="0" cellspacing="5" cellpadding="5">
			<tr>
				<td valign="top">
					<ul>
						<li>
							<label for="merchant_id">
								<?php 
    _e('Beanstream Merchant ID', 'event_espresso');
    ?>
							</label>
							<input type="text" name="merchant_id" size="35" value="<?php 
    echo $beanstream_settings['merchant_id'];
    ?>
">
						</li>
						<li>
							<label for="beanstream_use_sandbox">
								<?php 
    _e('Use Beanstream in Sandbox Mode', 'event_espresso');
    ?>
							</label>
							<input name="beanstream_use_sandbox" type="checkbox" value="1" <?php 
    echo $beanstream_settings['beanstream_use_sandbox'] ? 'checked="checked"' : '';
    ?>
 />
							<br />
							<?php 
    _e('(Make sure you enter the sandbox credentials above.)', 'event_espresso');
    ?>
						</li>
						<?php 
    if (espresso_check_ssl() == TRUE || isset($beanstream_settings['force_ssl_return']) && $beanstream_settings['force_ssl_return'] == 1) {
        ?>
						<li>
							<label for="force_ssl_return">
								<?php 
        _e('Force HTTPS on Return URL', 'event_espresso');
        ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=force_ssl_return"><img src="<?php 
        echo EVENT_ESPRESSO_PLUGINFULLURL;
        ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="force_ssl_return" type="checkbox" value="1" <?php 
        echo $beanstream_settings['force_ssl_return'] ? 'checked="checked"' : '';
        ?>
 /></li>
							<?php 
    }
    ?>
						<li>
							<label for="display_header">
								<?php 
    _e('Display a Form Header', 'event_espresso');
    ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=display_header"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="display_header" type="checkbox" value="1" <?php 
    echo $beanstream_settings['display_header'] ? 'checked="checked"' : '';
    ?>
 />
						</li>
						<li>
							<label for="header">
								<?php 
    _e('Header Text', 'event_espresso');
    ?>
							</label>
							<input type="text" name="header" size="35" value="<?php 
    echo $beanstream_settings['header'];
    ?>
">
						</li>
					</ul>
				</td>
			</tr>
		</table>
		<?php 
    if (espresso_check_ssl() == FALSE) {
        espresso_ssl_required_gateway_message();
    }
    ?>
		<p>
			<input type="hidden" name="update_beanstream" value="update_beanstream">
			<input class="button-primary" type="submit" name="Submit" value="<?php 
    _e('Update Beanstream Settings', 'event_espresso');
    ?>
" id="save_paypal_settings" />
		</p>
//.........这里部分代码省略.........
开发者ID:hhgr,项目名称:uksoccer,代码行数:101,代码来源:settings.php


示例5: event_espresso_display_firstdata_settings

function event_espresso_display_firstdata_settings()
{
    $firstdata_settings = get_option('event_espresso_firstdata_settings');
    ?>
	<form method="post" action="<?php 
    echo $_SERVER['REQUEST_URI'];
    ?>
">
		<table width="99%" border="0" cellspacing="5" cellpadding="5">
			<tr>
				<td valign="top"><ul>
						<li>
							<label>
								<?php 
    _e('First Data Store Number', 'event_espresso');
    ?>
							</label>
							<input type="text" name="firstdata_store_id" size="35" value="<?php 
    echo $firstdata_settings['firstdata_store_id'];
    ?>
">
						</li>
						<li>
							<label>
								<?php 
    _e('Accepted Credit Cards', 'event_espresso');
    ?>
							</label>
							<?php 
    $checked = 'checked="checked"';
    $firstdata_credit_cards = explode(",", $firstdata_settings['firstdata_credit_cards']);
    ?>
							<input type="checkbox" name="firstdata_credit_cards[]" size="35" value="Visa" <?php 
    echo in_array("Visa", $firstdata_credit_cards) ? $checked : '';
    ?>
 /> Visa
							<input type="checkbox" name="firstdata_credit_cards[]" size="35" value="MasterCard" <?php 
    echo in_array("MasterCard", $firstdata_credit_cards) ? $checked : '';
    ?>
 /> Master Card
							<input type="checkbox" name="firstdata_credit_cards[]" size="35" value="Amex" <?php 
    echo in_array("Amex", $firstdata_credit_cards) ? $checked : '';
    ?>
 /> Amex
							<input type="checkbox" name="firstdata_credit_cards[]" size="35" value="Discover" <?php 
    echo in_array("Discover", $firstdata_credit_cards) ? $checked : '';
    ?>
 /> Discover
						</li>
						<li>
							<label for="use_verify_peer">
								<?php 
    _e('Use Verify Peer Option in cURL', 'event_espresso');
    ?>
 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=use_verify_peer"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="use_verify_peer" type="checkbox" value="1" <?php 
    echo $firstdata_settings['use_verify_peer'] ? 'checked="checked"' : '';
    ?>
 />
						</li>
						<li>
							<label for="use_sandbox">
								<?php 
    _e('Turn on Debugging Using the', 'event_espresso');
    ?>
 <?php 
    _e('First Data Sandbox', 'event_espresso');
    ?>
 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=sandbox_info_firstdata"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="use_sandbox" type="checkbox" value="1" <?php 
    echo $firstdata_settings['use_sandbox'] ? 'checked="checked"' : '';
    ?>
 />
						</li>
						<?php 
    if (espresso_check_ssl() == TRUE || isset($firstdata_settings['force_ssl_return']) && $firstdata_settings['force_ssl_return'] == 1) {
        ?>
						<li>
							<label for="force_ssl_return">
								<?php 
        _e('Force HTTPS on Return URL', 'event_espresso');
        ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=force_ssl_return"><img src="<?php 
        echo EVENT_ESPRESSO_PLUGINFULLURL;
        ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="force_ssl_return" type="checkbox" value="1" <?php 
        echo $firstdata_settings['force_ssl_return'] ? 'checked="checked"' : '';
        ?>
 /></li>
							<?php 
//.........这里部分代码省略.........
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:101,代码来源:settings.php


示例6: event_espresso_display_paychoice_settings

function event_espresso_display_paychoice_settings()
{
    $paychoice_settings = get_option('event_espresso_paychoice_settings');
    ?>
	<form method="post" action="<?php 
    echo $_SERVER['REQUEST_URI'];
    ?>
">
		<table width="99%" border="0" cellspacing="5" cellpadding="5">
			<tr>
				<td valign="top">
					<ul>
						<li>
							<label for="paychoice_password">
								<?php 
    _e('PayChoice Username', 'event_espresso');
    ?>
							</label>
							<input type="text" name="paychoice_username" size="35" value="<?php 
    echo $paychoice_settings['paychoice_username'];
    ?>
">
						</li>
						<li>
							<label for="paychoice_username">
								<?php 
    _e('PayChoice Password', 'event_espresso');
    ?>
							</label>
							<input type="text" name="paychoice_password" size="35" value="<?php 
    echo $paychoice_settings['paychoice_password'];
    ?>
">
						</li>
						<li>
							<label for="paychoice_currency_symbol">
								<?php 
    _e('PayChoice Currency Symbol (AUD)', 'event_espresso');
    ?>
 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=paychoice_currency_symbol"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input type="text" name="paychoice_currency_symbol" size="35" value="<?php 
    echo $paychoice_settings['paychoice_currency_symbol'];
    ?>
">
						</li>
						<li>
							<label for="use_sandbox">
								<?php 
    _e('Use the Test Mode for PayChoice', 'event_espresso');
    ?>
 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=paychoice_sandbox_info"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="use_sandbox" type="checkbox" value="1" <?php 
    echo $paychoice_settings['use_sandbox'] ? 'checked="checked"' : '';
    ?>
 />
						</li>						
					<?php 
    if (espresso_check_ssl() == TRUE || isset($paychoice_settings['force_ssl_return']) && $paychoice_settings['force_ssl_return'] == 1) {
        ?>
						<li>
							<label for="force_ssl_return">
								<?php 
        _e('Force HTTPS on Return URL', 'event_espresso');
        ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=force_ssl_return"><img src="<?php 
        echo EVENT_ESPRESSO_PLUGINFULLURL;
        ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="force_ssl_return" type="checkbox" value="1" <?php 
        echo $paychoice_settings['force_ssl_return'] ? 'checked="checked"' : '';
        ?>
 /></li>
							<?php 
    }
    ?>
							<li>
							<label for="display_header">
								<?php 
    _e('Display a Form Header', 'event_espresso');
    ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=display_header"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="display_header" type="checkbox" value="1" <?php 
    echo $paychoice_settings['display_header'] ? 'checked="checked"' : '';
    ?>
 /></li>
							<li>
							<label for="header">
//.........这里部分代码省略.........
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:101,代码来源:settings.php


示例7: event_espresso_display_nab_settings

function event_espresso_display_nab_settings()
{
    $nab_settings = get_option('event_espresso_nab_settings');
    ?>
	<form method="post" action="<?php 
    echo $_SERVER['REQUEST_URI'];
    ?>
">
		<table width="99%" border="0" cellspacing="5" cellpadding="5">
			<tr>
				<td valign="top">
					<ul>
						<li>
							<label for="nab_id">
								<?php 
    _e('NAB Merchant ID', 'event_espresso');
    ?>
							</label>
							<input type="text" name="nab_merchant_id" size="35" value="<?php 
    echo $nab_settings['nab_merchant_id'];
    ?>
" />
							<br />
						</li>
						<li>
							<label for="nab_id">
								<?php 
    _e('NAB Merchant Password', 'event_espresso');
    ?>
							</label>
							<input type="text" name="nab_merchant_password" size="35" value="<?php 
    echo $nab_settings['nab_merchant_password'];
    ?>
" />
							<br />
						</li>
					</ul>
				</td>
				<td valign="top">
					<ul>
						<li>
							<label for="nab_use_sandbox">
								<?php 
    _e('Use NAB Transact Direct Post in test mode?', 'event_espresso');
    ?>
							</label>
							<input name="nab_use_sandbox" type="checkbox" value="Test Reference" <?php 
    echo $nab_settings['nab_use_sandbox'] == "1" ? 'checked="checked"' : '';
    ?>
 />
							<br />
							<?php 
    _e('(Make sure you enter the test credentials above.)', 'event_espresso');
    ?>
						</li>
					</ul>
				</td>
			</tr>
		</table>
		<?php 
    if (espresso_check_ssl() == FALSE) {
        espresso_ssl_required_gateway_message();
    }
    ?>
		<p>
			<input type="hidden" name="update_nab" value="update_nab" />
			<input class="button-primary" type="submit" name="Submit" value="<?php 
    _e('Update NAB Settings', 'event_espresso');
    ?>
" id="save_nab_settings" />
		</p>
	</form>
	<?php 
}
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:74,代码来源:settings.php


示例8: event_espresso_display_authnet_aim_settings

function event_espresso_display_authnet_aim_settings()
{
    $authnet_aim_settings = get_option('event_espresso_authnet_aim_settings');
    ?>
	<form method="post" action="<?php 
    echo $_SERVER['REQUEST_URI'];
    ?>
">
		<table width="99%" border="0" cellspacing="5" cellpadding="5">
			<tr>
				<td valign="top"><ul>
						<li>
							<label for="authnet_aim_login_id">
								<?php 
    _e('Authorize.net AIM Login ID', 'event_espresso');
    ?>
							</label>
							<input type="text" name="authnet_aim_login_id" size="35" value="<?php 
    echo $authnet_aim_settings['authnet_aim_login_id'];
    ?>
">
						</li>
						<li>
							<label for="authnet_aim_transaction_key">
								<?php 
    _e('Authorize.net AIM Transaction Key', 'event_espresso');
    ?>
							</label>
							<input type="text" name="authnet_aim_transaction_key" size="35" value="<?php 
    echo $authnet_aim_settings['authnet_aim_transaction_key'];
    ?>
">
						</li>
					
					</ul></td>
				<td valign="top">
					<ul>
						<li>
							<label for="use_sandbox">
								<?php 
    _e('Account Uses Authorize.net development Server', 'event_espresso');
    ?>
 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=authnet_aim_sandbox"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input id="sandbox_checkbox_aim" name="use_sandbox" type="checkbox" value="1" <?php 
    echo $authnet_aim_settings['use_sandbox'] ? 'checked="checked"' : '';
    ?>
 />
							 </li>
						<li>
							<label for="test_transactions">
								<?php 
    _e('Submit a Test Transaction', 'event_espresso');
    ?>
							</label>
							<input name="test_transactions" type="checkbox" value="1" <?php 
    echo $authnet_aim_settings['test_transactions'] ? 'checked="checked"' : '';
    ?>
 />
						</li>
						
						<?php 
    if (espresso_check_ssl() == TRUE || isset($authnet_aim_settings['force_ssl_return']) && $authnet_aim_settings['force_ssl_return'] == 1) {
        ?>
							<li>
							<label for="force_ssl_return">
								<?php 
        _e('Force HTTPS on Return URL', 'event_espresso');
        ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=force_ssl_return"><img src="<?php 
        echo EVENT_ESPRESSO_PLUGINFULLURL;
        ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="force_ssl_return" type="checkbox" value="1" <?php 
        echo $authnet_aim_settings['force_ssl_return'] ? 'checked="checked"' : '';
        ?>
 /></li>
							<?php 
    }
    ?>
							<li>
							<label for="display_header">
								<?php 
    _e('Display a Form Header', 'event_espresso');
    ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=display_header"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="display_header" type="checkbox" value="1" <?php 
    echo $authnet_aim_settings['display_header'] ? 'checked="checked"' : '';
    ?>
 /></li>
							<li>
							<label for="header">
//.........这里部分代码省略.........
开发者ID:hhgr,项目名称:uksoccer,代码行数:101,代码来源:settings.php


示例9: event_espresso_display_2checkout_settings


//.........这里部分代码省略.........
    _e('Bypass Payment Overview Page', 'event_espresso');
    ?>
 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=bypass_confirmation"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<?php 
    $values = array(array('id' => 'N', 'text' => __('No', 'event_espresso')), array('id' => 'Y', 'text' => __('Yes', 'event_espresso')));
    echo select_input('bypass_payment_page', $values, $twocheckout_settings['bypass_payment_page']);
    ?>
						
						</li>
						<li>
							<label for="use_sandbox">
	<?php 
    _e('Turn on Debugging Using the', 'event_espresso');
    ?>
 <a href="https://www.2checkout.com/va/signup/create_activation" target="_blank"><?php 
    _e('2Checkout Sandbox', 'event_espresso');
    ?>
</a> <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=sandbox_info"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input id ="sandbox_checkbox_2co" name="use_sandbox" type="checkbox" value="1" <?php 
    echo $twocheckout_settings['use_sandbox'] == "1" ? 'checked="checked"' : '';
    ?>
 />
							
						</li>
						<?php 
    if (espresso_check_ssl() == TRUE || isset($twocheckout_settings['force_ssl_return']) && $twocheckout_settings['force_ssl_return'] == 1) {
        ?>
						<li>
							<label for="force_ssl_return">
	<?php 
        _e('Force HTTPS on Return URL', 'event_espresso');
        ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=force_ssl_return"><img src="<?php 
        echo EVENT_ESPRESSO_PLUGINFULLURL;
        ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="force_ssl_return" type="checkbox" value="1" <?php 
        echo $twocheckout_settings['force_ssl_return'] ? 'checked="checked"' : '';
        ?>
 /></li>
							<?php 
    }
    ?>
						<li>
							<label for="button_url">
	<?php 
    _e('Button Image URL', 'event_espresso');
    ?>
 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=button_image"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							
							<input class="upload_url_input" type="text" name="button_url" size="34" value="<?php 
    echo $twocheckout_settings['button_url'];
    ?>
开发者ID:hhgr,项目名称:uksoccer,代码行数:67,代码来源:settings.php


示例10: event_espresso_display_authnet_settings


//.........这里部分代码省略.........
							<input name="test_transactions" type="checkbox" value="1" <?php 
    echo $authnet_settings['test_transactions'] ? 'checked="checked"' : '';
    ?>
 />
						</li>
						<li>
							<label for="use_md5">
								<?php 
    _e('Use md5 check to secure payment response', 'event_espresso');
    ?>
 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=authnet_md5"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="use_md5" type="checkbox" value="1" <?php 
    echo isset($authnet_settings['use_md5']) && $authnet_settings['use_md5'] ? 'checked="checked"' : '';
    ?>
 />
						</li>
						<li>
							<label for="authnet_md5_value">
								<?php 
    _e('Authorize.net MD5 Hash value', 'event_espresso');
    ?>
							</label>
							<br />
							<input type="text" name="authnet_md5_value" size="35" value="<?php 
    echo $authnet_settings['authnet_md5_value'];
    ?>
">
						</li>
						<?php 
    if (espresso_check_ssl() == TRUE || isset($authnet_settings['force_ssl_return']) && $authnet_settings['force_ssl_return'] == 1) {
        ?>
						<li>
							<label for="force_ssl_return">
								<?php 
        _e('Force HTTPS on Return URL', 'event_espresso');
        ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=force_ssl_return"><img src="<?php 
        echo EVENT_ESPRESSO_PLUGINFULLURL;
        ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="force_ssl_return" type="checkbox" value="1" <?php 
        echo $authnet_settings['force_ssl_return'] ? 'checked="checked"' : '';
        ?>
 />
						</li>
						<?php 
    }
    ?>
						<li>
							<label for="bypass_payment_page">
								<?php 
    _e('Bypass Payment Overview Page', 'event_espresso');
    ?>
 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=bypass_confirmation"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<?php 
    $values = array(array('id' => 'Y', 'text' => __('Yes', 'event_espresso')), array('id' => 'N', 'text' => __('No', 'event_espresso')));
    echo select_input('bypass_payment_page', $values, $authnet_settings['bypass_payment_page']);
开发者ID:hhgr,项目名称:uksoccer,代码行数:67,代码来源:settings.php


示例11: event_espresso_display_paypal_pro_settings


//.........这里部分代码省略.........
							<input type="checkbox" name="paypal_api_credit_cards[]" size="35" value="Visa" <?php 
    echo in_array("Visa", $paypal_api_credit_cards) ? $checked : '';
    ?>
 /> Visa
							<input type="checkbox" name="paypal_api_credit_cards[]" size="35" value="MasterCard" <?php 
    echo in_array("MasterCard", $paypal_api_credit_cards) ? $checked : '';
    ?>
 /> Master Card
							<input type="checkbox" name="paypal_api_credit_cards[]" size="35" value="Amex" <?php 
    echo in_array("Amex", $paypal_api_credit_cards) ? $checked : '';
    ?>
 /> Amex
							<input type="checkbox" name="paypal_api_credit_cards[]" size="35" value="Discover" <?php 
    echo in_array("Discover", $paypal_api_credit_cards) ? $checked : '';
    ?>
 /> Discover
						</li>
						<li>
							<label for="paypal_pro_use_sandbox">
								<?php 
    _e('Use PayPal Payments Pro in Sandbox Mode', 'event_espresso');
    ?>
							</label>
							<input name="paypal_pro_use_sandbox" type="checkbox" value="1" <?php 
    echo $paypal_pro_settings['paypal_pro_use_sandbox'] ? 'checked="checked"' : '';
    ?>
 />
							<br />
							<?php 
    _e('(Make sure you enter the sandbox credentials above.)', 'event_espresso');
    ?>
						</li>
						<?php 
    if (espresso_check_ssl() == TRUE || isset($paypal_pro_settings['force_ssl_return']) && $paypal_pro_settings['force_ssl_return'] == 1) {
        ?>
						<li>
							<label for="force_ssl_return">
								<?php 
        _e('Force HTTPS on Return URL', 'event_espresso');
        ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=force_ssl_return"><img src="<?php 
        echo EVENT_ESPRESSO_PLUGINFULLURL;
        ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="force_ssl_return" type="checkbox" value="1" <?php 
        echo $paypal_pro_settings['force_ssl_return'] ? 'checked="checked"' : '';
        ?>
 /></li>
							<?php 
    }
    ?>
						<li>
							<label for="display_header">
								<?php 
    _e('Display a Form Header', 'event_espresso');
    ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=display_header"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="display_header" type="checkbox" value="1" <?php 
    echo $paypal_pro_settings['display_header'] ? 'checked="checked"' : '';
    ?>
 /></li>
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:67,代码来源:settings.php


示例12: event_espresso_display_paypal_settings


//.........这里部分代码省略.........
								<?php 
    _e('Shipping Address Options', 'event_espresso');
    ?>
 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=no_shipping"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<?php 
    $values = array(array('id' => '1', 'text' => __('Do not prompt for an address', 'event_espresso')), array('id' => '0', 'text' => __('Prompt for an address, but do not require one', 'event_espresso')), array('id' => '2', 'text' => __('Prompt for an address, and require one', 'event_espresso')));
    echo select_input('no_shipping', $values, $paypal_settings['no_shipping']);
    ?>
							</li>
						<li>
							<label for="use_sandbox">
								<?php 
    _e('Use the Debugging Feature and the', 'event_espresso');
    ?>
 <a href="https://developer.paypal.com/devscr?cmd=_home||https://cms.paypal.com/us/cgi-bin/?&amp;cmd=_render-content&amp;content_ID=developer/howto_testing_sandbox||https://cms.paypal.com/us/cgi-bin/?&amp;cmd=_render-content&amp;content_ID=developer/howto_testing_sandbox_get_started" title="PayPal Sandbox Login||Sandbox Tutorial||Getting Started with PayPal Sandbox" target="_blank"><?php 
    _e('PayPal Sandbox', 'event_espresso');
    ?>
</a><a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=paypal_sandbox_info"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="use_sandbox" type="checkbox" value="1" <?php 
    echo $paypal_settings['use_sandbox'] ? 'checked="checked"' : '';
    ?>
 />
							<br />
						</li>
						<?php 
    if (espresso_check_ssl() == TRUE || isset($paypal_settings['force_ssl_return']) && $paypal_settings['force_ssl_return'] == 1) {
        ?>
						<li>
							<label for="force_ssl_return">
								<?php 
        _e('Force HTTPS on Return URL', 'event_espresso');
        ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=force_ssl_return"><img src="<?php 
        echo EVENT_ESPRESSO_PLUGINFULLURL;
        ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="force_ssl_return" type="checkbox" value="1" <?php 
        echo $paypal_settings['force_ssl_return'] ? 'checked="checked"' : '';
        ?>
 /></li>
							<?php 
    }
    ?>
						
						<li>
							<label for="button_url">
								<?php 
    _e('Button Image URL', 'event_espresso');
    ?>
 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=button_image"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input type="text" name="button_url" size="34" value="<?php 
    echo $paypal_settings['button_url'];
    ?>
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:67,代码来源:settings.php


示例13: event_espresso_display_google_checkout_settings


//.........这里部分代码省略.........
    _e('Thai Baht', 'event_espresso');
    ?>
								</option>
								<option value="TRY">
									<?php 
    _e('Turkish Lira (only for Turkish users)', 'event_espresso');
    ?>
								</option>
								<option value="TWD">
									<?php 
    _e('Taiwan New Dollars', 'event_espresso');
    ?>
								</option>
							</select>
							 </li>
					</ul></td>
				<td valign="top"><ul>
						<li>
							<label for="use_sandbox">
								<?php 
    _e('Use the Debugging Feature and the', 'event_espresso');
    ?>
 <?php 
    _e('Google Wallet Sandbox', 'event_espresso');
    ?>
							</label>
							<input name="use_sandbox" type="checkbox" value="1" <?php 
    echo $google_checkout_settings['use_sandbox'] ? 'checked="checked"' : '';
    ?>
 />
							<br />
						</li>
						<?php 
    if (espresso_check_ssl() == TRUE || isset($google_checkout_settings['force_ssl_return']) && $google_checkout_settings['force_ssl_return'] == 1) {
        ?>
						<li>
							<label for="force_ssl_return">
								<?php 
        _e('Force HTTPS on Return URL', 'event_espresso');
        ?>
								<a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=force_ssl_return"><img src="<?php 
        echo EVENT_ESPRESSO_PLUGINFULLURL;
        ?>
/images/question-frame.png" width="16" height="16" /></a>
							</label>
							<input name="force_ssl_return" type="checkbox" value="1" <?php 
        echo $google_checkout_settings['force_ssl_return'] ? 'checked="checked"' : '';
        ?>
 /></li>
							<?php 
    }
    ?>
						
						<li>
							<label for="default_payment_status">
			 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP espresso_choose_layout函数代码示例发布时间:2022-05-15
下一篇:
PHP esetcookie函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap