當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。