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


PHP EEH_Template::get_help_tab_link方法代码示例

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


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

示例1: __construct

 /**
  *
  * @param array $options_array {
  *	@type string $extra_meta_inputs should be EE_Form_Section_Validatable[] which
  *		will be _subsections and will be saved as extra meta on the payment method object;
  *	@type EE_PMT_Base $payment_method_type the payment method type this form is for
  *	@see EE_Model_Form_Section::__construct() for more
  * }
  */
 public function __construct($options_array = array())
 {
     $this->_model = EEM_Payment_Method::instance();
     $this->_options_array = $options_array;
     if (isset($options_array['payment_method_type'])) {
         $this->_payment_method_type = $options_array['payment_method_type'];
     }
     $options_array = $this->_options_array;
     if (isset($options_array['extra_meta_inputs'])) {
         $this->_extra_meta_inputs = array_merge($this->_extra_meta_inputs, $options_array['extra_meta_inputs']);
     }
     if ($this->_extra_meta_inputs) {
         $this->_subsections = array_merge($this->_subsections, $this->_extra_meta_inputs);
     }
     $this->_subsections['PMD_button_url'] = new EE_Admin_File_Uploader_Input(array('html_label_text' => __('Button URL', 'event_espresso')));
     $this->_subsections['PMD_scope'] = new EE_Checkbox_Multi_Input(EEM_Payment_Method::instance()->scopes(), array('html_label_text' => $this->_model->field_settings_for('PMD_scope')->get_nicename() . EEH_Template::get_help_tab_link('payment_methods_overview')));
     //setup the currency options
     $this->_subsections['Currency'] = new EE_Select_Multi_Model_Input(EEM_Currency::instance()->get_all_currencies_usable_by($this->_payment_method_type), array('html_label_text' => __('Currencies Supported', 'event_espresso'), 'required' => TRUE));
     $this->_subsections['PMD_order'] = new EE_Text_Input(array('html_help_text' => __('Lowest numbers will be shown first', 'event_espresso'), 'normalization_strategy' => new EE_Int_Normalization(), 'validation_strategies' => array(new EE_Int_Validation_Strategy()), 'default' => 0));
     $this->_layout_strategy = new EE_Admin_Two_Column_Layout();
     parent::__construct($options_array);
 }
开发者ID:DavidSteinbauer,项目名称:event-espresso-core,代码行数:31,代码来源:EE_Payment_Method_Form.form.php

示例2: _recaptcha_settings_form

 /**
  * _recaptcha_main_settings
  *
  * @access protected
  * @return EE_Form_Section_Proper
  */
 protected static function _recaptcha_settings_form()
 {
     return new EE_Form_Section_Proper(array('name' => 'recaptcha_settings_form', 'html_id' => 'recaptcha_settings_form', 'layout_strategy' => new EE_Div_Per_Section_Layout(), 'subsections' => apply_filters('FHEE__EED_Recaptcha___recaptcha_settings_form__form_subsections', array('main_settings_hdr' => new EE_Form_Section_HTML(EEH_HTML::h2(__('reCAPTCHA Anti-spam Settings', 'event_espresso') . EEH_Template::get_help_tab_link('recaptcha_info'))), 'main_settings' => EED_Recaptcha::_recaptcha_main_settings(), 'appearance_settings_hdr' => new EE_Form_Section_HTML(EEH_HTML::h2(__('reCAPTCHA Appearance', 'event_espresso'))), 'appearance_settings' => EED_Recaptcha::_recaptcha_appearance_settings(), 'required_fields_note' => new EE_Form_Section_HTML(EEH_HTML::p(__('All fields marked with a * are required fields', 'event_espresso'), '', 'grey-text'))))));
 }
开发者ID:aaronfrey,项目名称:PepperLillie-GSP,代码行数:10,代码来源:EED_Recaptcha.module.php

示例3: _get_help_tab_link

 /**
  * This returns a generated link that will load the related help tab.
  *
  *
  * @param  string $help_tab_id the id for the connected help tab
  * @param  string $icon_style (optional) include css class for the style you want to use for the help icon.
  * @param  string $help_text (optional) send help text you want to use for the link if default not to be used
  * @uses EEH_Template::get_help_tab_link()
  * @return string              generated link
  */
 protected function _get_help_tab_link($help_tab_id, $icon_style = FALSE, $help_text = FALSE)
 {
     return EEH_Template::get_help_tab_link($help_tab_id, $this->page_slug, $this->_req_action, $icon_style, $help_text);
 }
开发者ID:robert-osborne,项目名称:event-espresso-core-1,代码行数:14,代码来源:EE_Admin_Page.core.php

示例4: _e

?>
					</p>
					<br/><br/>
				</td>
			</tr>
			
			<tr>
				<th>
					<label for="event_list_id">
						<strong>
							<?php 
_e('Event List', 'event_espresso');
?>
						</strong>
						<?php 
echo EEH_Template::get_help_tab_link('event_list_cpt_info');
?>
						<br />
						<a href='<?php 
echo get_post_type_archive_link('espresso_events');
?>
'><?php 
_e("View", "event_espresso");
?>
</a>
					</label>
				</th>
				<td>
					<p class="description">
						<?php 
echo __("Events are custom post types and use WordPress' normal archive pages for displaying events.", "event_espresso");
开发者ID:robert-osborne,项目名称:event-espresso-core-1,代码行数:31,代码来源:espresso_page_settings.template.php

示例5: espresso_data_collection_optin_text

 /**
  * The purpose of this function is to display information about Event Espresso data collection and a optin selection for extra data collecting by users.
  * @return string html.
  */
 public static function espresso_data_collection_optin_text($extra = TRUE)
 {
     if (!$extra) {
         echo '<h2 class="ee-admin-settings-hdr" ' . (!$extra ? 'id="UXIP_settings"' : '') . '>' . __('User eXperience Improvement Program (UXIP)', 'event_espresso') . EEH_Template::get_help_tab_link('organization_logo_info') . '</h2>';
         echo sprintf(__('%sPlease help us make Event Espresso better and vote for your favorite features.%s The %sUser eXperience Improvement Program (UXIP)%s, has been created so when you use Event Espresso you are voting for the features and settings that are important to you. The UXIP helps us understand how you use our products and services, track problems and in what context. If you opt-out of the UXIP you essentially elect for us to disregard how you use Event Espresso as we build new features and make changes. Participation in the program is completely voluntary but it is enabled by default. The end results of the UXIP are software improvements to better meet your needs. The data we collect will never be sold, traded, or misused in any way. %sPlease see our %sPrivacy Policy%s for more information.', 'event_espresso'), '<p><em>', '</em></p>', '<a href="http://eventespresso.com/about/user-experience-improvement-program-uxip/" target="_blank">', '</a>', '<br><br>', '<a href="http://eventespresso.com/about/privacy-policy/" target="_blank">', '</a>');
     } else {
         $settings_url = EE_Admin_Page::add_query_args_and_nonce(array('action' => 'default'), admin_url('admin.php?page=espresso_general_settings'));
         $settings_url .= '#UXIP_settings';
         echo sprintf(__('The Event Espresso UXIP feature is active on your site. For %smore info%s and to opt-out %sclick here%s.', 'event_espresso'), '<a href="http://eventespresso.com/about/user-experience-improvement-program-uxip/" traget="_blank">', '</a>', '<a href="' . $settings_url . '" target="_blank">', '</a>');
     }
 }
开发者ID:kaffiemetsuker,项目名称:event-espresso-core,代码行数:15,代码来源:EE_PUE.core.php

示例6: get_help_tab_link

 /**
  * @return string html for the link to a help tab
  */
 public function get_help_tab_link()
 {
     EE_Registry::instance()->load_helper('Template');
     return EEH_Template::get_help_tab_link($this->get_help_tab_name());
 }
开发者ID:adrianjonmiller,项目名称:hearts-being-healed,代码行数:8,代码来源:EE_PMT_Base.lib.php

示例7: _e

_e('Country Details', 'event_espresso');
?>
 <?php 
echo EEH_Template::get_help_tab_link('country_details_info');
?>
</h2>
		<div id="country-details-dv"><?php 
echo $country_details_settings;
?>
</div>
	</div>
	
	<div id="country-states-settings-dv">
		<h2 class="ee-admin-settings-hdr"><?php 
_e('States/Provinces', 'event_espresso');
?>
 <?php 
echo EEH_Template::get_help_tab_link('country_states_info');
?>
</h2>
		<div id="country-states-dv"><?php 
echo $country_states_settings;
?>
</div>
	</div>
	
	<div class="clear"></div>
	
</div>

开发者ID:DavidSteinbauer,项目名称:event-espresso-core,代码行数:29,代码来源:countries_settings.template.php

示例8: _e

						<?php 
}
?>
				</td>
			</tr>

		</tbody>
	</table>
	<br/><br/>

	<h4 class="ee-admin-settings-hdr">
		<?php 
_e('Social Links', 'event_espresso');
?>
 <?php 
echo EEH_Template::get_help_tab_link('social_links_info');
?>
	</h4>
	<p class="description"><?php 
_e('Enter any links to social accounts for your organization here', 'event_espresso');
?>
</p>

	<table class="form-table">
		<tbody>
			<tr>
				<th>
					<label for="organization_facebook">
						<?php 
_e('Facebook', 'event_espresso');
?>
开发者ID:antares-ff,项目名称:ANTARES-Test,代码行数:31,代码来源:your_organization_settings.template.php

示例9: generate_new_settings_form

 /**
  * Gets the form for all the settings related to this payment method type
  * @return EE_Payment_Method_Form
  */
 public function generate_new_settings_form()
 {
     EE_Registry::instance()->load_helper('Template');
     $form = new EE_Payment_Method_Form(array('extra_meta_inputs' => array('login_id' => new EE_Text_Input(array('html_label_text' => sprintf(__("Login ID %s", "event_espresso"), EEH_Template::get_help_tab_link(self::help_tab_link)))))));
     return $form;
 }
开发者ID:DavidSteinbauer,项目名称:event-espresso-core,代码行数:10,代码来源:EE_PMT_Mock_Onsite.pm.php

示例10: _e

					<?php 
echo EEH_Form_Fields::select_input('use_google_maps', $values, $map_settings->use_google_maps, 'id="ee-display-map-no-shortcodes"');
?>
				</td>
			</tr>

		</tbody>
	</table>


	<h4 class="ee-admin-settings-hdr">
		<?php 
_e('Reg Page Map Settings', 'event_espresso');
?>
		<?php 
echo EEH_Template::get_help_tab_link('gmaps_info');
?>
	</h4>

	<table class="form-table">
		<tbody>

			<tr>
				<th>
					<label for="event_details_map_width">
						<?php 
_e('Set Map Width', 'event_espresso');
?>
					</label>
				</th>
				<td>
开发者ID:robert-osborne,项目名称:event-espresso-core-1,代码行数:31,代码来源:google_map.template.php

示例11: get_help_tab_link

 /**
  * @return string html for the link to a help tab
  */
 public function get_help_tab_link()
 {
     return EEH_Template::get_help_tab_link($this->get_help_tab_name());
 }
开发者ID:aaronfrey,项目名称:PepperLillie-GSP,代码行数:7,代码来源:EE_PMT_Base.lib.php

示例12: _e

    ?>
					</span></p>
					<?php 
}
?>

				</td>
			</tr>

			<tr>
				<th>
					<label for="QST_required_text"><?php 
_e('Required Text', 'event_espresso');
?>
</label> <?php 
echo EEH_Template::get_help_tab_link('required_text_info');
?>
				</th>
				<td>
					<input type="text" class="regular-text" id="QST_required_text" name="QST_required_text" value="<?php 
$question->f('QST_required_text');
?>
"/>

				</td>
			</tr>

		</tbody>
	</table>

	<div class="clear"></div>
开发者ID:DavidSteinbauer,项目名称:event-espresso-core,代码行数:31,代码来源:questions_main_meta_box.template.php

示例13: _e

						<p class="description"><?php 
_e('Show Group Name on Registration Page?', 'event_espresso');
?>
</p>
					</label>
				</td>
			</tr>

			<tr>
				<th>
					<label>
						<?php 
_e(' Show Description', 'event_espresso');
?>
 <?php 
echo EEH_Template::get_help_tab_link('show_group_description_info');
?>
					</label>
				</th>
				<td>
                    <label for="QSG_show_group_order">
                        <?php 
echo EEH_Form_Fields::select_input('QSG_show_group_desc', $values, $question_group->show_group_desc());
?>
                        <p class="description"><?php 
_e(' Show Group Description on Registration Page?', 'event_espresso');
?>
</p>
					</label>
                    <input type="hidden" name="QSG_system" value="<?php 
echo $question_group->system_group();
开发者ID:kaffiemetsuker,项目名称:event-espresso-core,代码行数:31,代码来源:question_groups_main_meta_box.template.php

示例14: _e

<div class="padding">
	<table class="form-table">
		<tbody>

			<tr>
				<th>
					<label for="default_reg_status">
						<?php 
_e('Default Registration Status', 'event_espresso');
?>
						<?php 
echo EEH_Template::get_help_tab_link('default_settings_status_help_tab');
?>
					
					</label>
				</th>
				<td>
					<p><?php 
echo EEH_Form_Fields::select_input('default_reg_status', $reg_status_array, $default_reg_status);
?>
</p>
					<p class="description">
						<?php 
_e('This setting allows you to preselect what the default registration status setting is when creating an event.  Note that changing this setting does NOT retroactively apply it to existing events.', 'event_espresso');
?>
					</p>
				</td>
			</tr>

		<?php 
do_action('AHEE__event_settings__template', $template_args);
开发者ID:DavidSteinbauer,项目名称:event-espresso-core,代码行数:31,代码来源:event_settings.template.php

示例15: _e

						</p>
					</td>
				</tr>

			</tbody>
		</table>
	<?php 
}
?>

	<h2 class="ee-admin-settings-hdr">
		<?php 
_e('Help Tour Global Activation', 'event_espresso');
?>
 <span id="help_tour_activation"><?php 
echo EEH_Template::get_help_tab_link('help_tour_activation_info');
?>
</span>
	</h2>

	<table class="form-table">
		<tbody>

			<tr>
				<th>
					<label>
						<?php 
_e('This toggles whether the Event Espresso help tours are active globally or not', 'event_espresso');
?>
					</label>
				</th>
开发者ID:DavidSteinbauer,项目名称:event-espresso-core,代码行数:31,代码来源:admin_option_settings.template.php


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