当前位置: 首页>>代码示例>>PHP>>正文


PHP MS_Helper_Html::settings_box_header方法代码示例

本文整理汇总了PHP中MS_Helper_Html::settings_box_header方法的典型用法代码示例。如果您正苦于以下问题:PHP MS_Helper_Html::settings_box_header方法的具体用法?PHP MS_Helper_Html::settings_box_header怎么用?PHP MS_Helper_Html::settings_box_header使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在MS_Helper_Html的用法示例。


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

示例1: to_html

    public function to_html()
    {
        $fields = $this->prepare_fields();
        $gateway = $this->data['model'];
        ob_start();
        // Render tabbed interface.
        ?>
		<form class="ms-gateway-settings-form ms-form">
			<?php 
        MS_Helper_Html::settings_box_header('', '');
        foreach ($fields as $field) {
            MS_Helper_Html::html_element($field);
        }
        MS_Helper_Html::settings_box_footer();
        ?>
		</form>
		<?php 
        $html = ob_get_clean();
        return $html;
    }
开发者ID:jsandlin85,项目名称:SkylineSports,代码行数:20,代码来源:class-ms-gateway-authorize-view-settings.php

示例2: to_html

    public function to_html()
    {
        $fields = $this->prepare_fields();
        $gateway = $this->data['model'];
        ob_start();
        /** Render tabbed interface. */
        ?>
		<form class="ms-gateway-settings-form ms-form">
			<?php 
        $description = sprintf('%1$s<br />%2$s', __('Best used for recurring payments.', 'membership2'), sprintf(__('You can find your Stripe API Keys in your %sAccount Settings%s.', 'membership2'), '<a href="https://dashboard.stripe.com/account/apikeys" target="_blank">', '</a>'));
        MS_Helper_Html::settings_box_header('', $description);
        foreach ($fields as $field) {
            MS_Helper_Html::html_element($field);
        }
        MS_Helper_Html::settings_box_footer();
        ?>
		</form>
		<?php 
        $html = ob_get_clean();
        return $html;
    }
开发者ID:nayabbukhari,项目名称:circulocristiano,代码行数:21,代码来源:class-ms-gateway-stripeplan-view-settings.php

示例3: to_html

    public function to_html()
    {
        $fields = $this->prepare_fields();
        $gateway = $this->data['model'];
        $msg = __('Instruct your users how to proceed with manual payments. This might include things like your bank account number and an email address where the payment confirmation should be sent.', MS_TEXT_DOMAIN) . '<br />&nbsp;<br /><em>' . __('When using this payment method the user will see the following payment instructions. Since the payment cannot be confirmed automatically his membership will <b>not</b> be activated instantly! You have to manually check if the payment was made and set the members bill to "paid" to complete the payment.', MS_TEXT_DOMAIN) . '</em>';
        ob_start();
        // Render tabbed interface.
        ?>
		<form class="ms-gateway-settings-form ms-form">
			<?php 
        MS_Helper_Html::settings_box_header('', $msg);
        foreach ($fields as $field) {
            MS_Helper_Html::html_element($field);
        }
        MS_Helper_Html::settings_box_footer();
        ?>
		</form>
		<?php 
        $html = ob_get_clean();
        return $html;
    }
开发者ID:klgrimley,项目名称:mzf,代码行数:21,代码来源:class-ms-gateway-manual-view-settings.php

示例4: to_html

    public function to_html()
    {
        $fields = $this->prepare_fields();
        $gateway = $this->data['model'];
        ob_start();
        // Render tabbed interface.
        ?>
		<form class="ms-gateway-settings-form ms-form">
			<?php 
        $description = sprintf('%s<br />&nbsp;<br />%s<br />&nbsp;<br />%s <strong>%s</strong><br /><a href="%s" target="_blank">%s</a>', __('This advanced PayPal gateway will handle all payment types, including trial periods and recurring payments. However, it should not be used for permanent type meberships, as here it will display "pay again after 5 years" during checkout.', 'membership2'), __('In order for Membership 2 to function correctly you must setup an IPN listening URL with PayPal. Make sure to complete this step, otherwise we are not notified when a member cancels their subscription.', 'membership2'), __('Your IPN listening URL is:', 'membership2'), $this->data['model']->get_return_url(), 'https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNSetup/', __('Instructions &raquo;', 'membership2'));
        MS_Helper_Html::settings_box_header('', $description);
        foreach ($fields as $field) {
            MS_Helper_Html::html_element($field);
        }
        MS_Helper_Html::settings_box_footer();
        ?>
		</form>
		<?php 
        $html = ob_get_clean();
        return $html;
    }
开发者ID:nayabbukhari,项目名称:circulocristiano,代码行数:21,代码来源:class-ms-gateway-paypalstandard-view-settings.php

示例5: to_html

    protected function to_html()
    {
        $this->gateway = $this->data['model'];
        $fields = $this->prepare_ajax_fields();
        ob_start();
        ?>

		<form class="ms-gateway-settings-form ms-form">
			<?php 
        MS_Helper_Html::settings_box_header();
        foreach ($fields as $field) {
            MS_Helper_Html::html_element($field);
        }
        MS_Helper_Html::settings_box_footer();
        ?>
		</form>

		<?php 
        $html = ob_get_clean();
        return $html;
    }
开发者ID:wp-pay-extensions,项目名称:membership,代码行数:21,代码来源:ViewSettings.php

示例6: to_html

    public function to_html()
    {
        $fields = $this->prepare_fields();
        $gateway = $this->data['model'];
        ob_start();
        // Render tabbed interface.
        ?>
		<form class="ms-gateway-settings-form ms-form">
			<?php 
        $description = sprintf('%1$s<br />&nbsp;<br />%2$s <strong>%3$s</strong><br />%6$s <strong>%7$s</strong><br /><a href="%4$s" target="_blank">%5$s</a>', __('In order for Membership 2 to function correctly you must setup an INS (Instant Notification Service) URL with 2Checkout. Make sure you add the following URLs to your 2Checkout "Notifications" section as well as the "Approved URL" in the Site Management section. The domain must be the same as the one registered with your Live account for production sites.', 'membership2'), __('Your Global Notifications URL is:', 'membership2'), $this->data['model']->get_return_url(), 'https://www.2checkout.com/documentation/notifications/', __('Instructions &raquo;', 'membership2'), __('Your "Approved URL" is:', 'membership2'), MS_Model_Pages::get_page_url(MS_Model_Pages::MS_PAGE_REG_COMPLETE));
        MS_Helper_Html::settings_box_header('', $description);
        foreach ($fields as $field) {
            MS_Helper_Html::html_element($field);
        }
        MS_Helper_Html::settings_box_footer();
        ?>
		</form>
		<?php 
        $html = ob_get_clean();
        return $html;
    }
开发者ID:nayabbukhari,项目名称:circulocristiano,代码行数:21,代码来源:class-ms-gateway-2checkout-view-settings.php

示例7: to_html

    public function to_html()
    {
        $fields = $this->prepare_fields();
        $gateway = $this->data['model'];
        ob_start();
        /** Render tabbed interface. */
        ?>
		<form class="ms-gateway-settings-form ms-form">
			<?php 
        $description = sprintf('%s<br>%s', __('This the a basic PayPal gateway that allows your members to easily make a single payment.', MS_TEXT_DOMAIN), __('If you use this gateway for recurring payments then your members have to confirm each recuring payment individually.', MS_TEXT_DOMAIN));
        MS_Helper_Html::settings_box_header('', $description);
        foreach ($fields as $field) {
            MS_Helper_Html::html_element($field);
        }
        MS_Helper_Html::settings_box_footer();
        ?>
		</form>
		<?php 
        $html = ob_get_clean();
        return $html;
    }
开发者ID:klgrimley,项目名称:mzf,代码行数:21,代码来源:class-ms-gateway-paypalsingle-view-settings.php


注:本文中的MS_Helper_Html::settings_box_header方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。