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


PHP event_espresso_display_right_column函数代码示例

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


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

示例1: espresso_premium_feature

function espresso_premium_feature()
{
    ?>
<div id="poststuff" class="metabox-holder has-right-sidebar">
 <?php 
    event_espresso_display_right_column();
    ?>
  <div id="post-body">
    <div id="post-body-content">
            <?php 
    require_once EVENT_ESPRESSO_PLUGINFULLPATH . 'includes/pricing_table.php';
    ?>
    </div>
  </div>
</div>
<?php 
}
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:17,代码来源:premium_upgrade.php

示例2: foot

    /**
     * Displays the common "footer" elements of the MailChimp Integration configuration view.
     */
    function foot()
    {
        ?>
				       </div><!-- / .inside -->
    		   </div><!-- /.postbox -->
    	   </div><!-- / .metabox-holder -->
    

			
			<script type="text/javascript" charset="utf-8">
			//<![CDATA[
				jQuery(document).ready(function() {
					postboxes.add_postbox_toggles('template_conf');
      }); 
			//]]>
			</script>
			  
				 </div><!-- / .meta-box-sortables .ui-sortables -->
			<?php 
        $main_post_content = ob_get_clean();
        espresso_choose_layout($main_post_content, event_espresso_display_right_column());
        ?>
		
		 </div><!-- / #wrap -->
    <?php 
    }
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:29,代码来源:mailchimp.view.class.php

示例3: event_espresso_locale_config_mnu

function event_espresso_locale_config_mnu()
{
    global $wpdb;
    ?>
<div class="wrap">
  <div id="icon-options-event" class="icon32"> </div>
      <h2><?php 
    _e('Manage Locales/Regions', 'event_espresso');
    ?>
   <?php 
    if (isset($_REQUEST['action']) && 'edit' != $_REQUEST['action'] && 'add_new_locale' != $_REQUEST['action']) {
        echo '<a href="admin.php?page=event_locales&amp;action=add_new_locale" class="button add-new-h2" style="margin-left: 20px;">' . __('Add New Locale', 'event_espresso') . '</a>';
    }
    ?>
    </h2>

 <div id="poststuff" class="metabox-holder has-right-sidebar">
  <?php 
    event_espresso_display_right_column();
    ?>
  <div id="post-body">
<div id="post-body-content"> 
<?php 
    if (isset($_POST['delete_locale']) && $_POST['delete_locale'] || isset($_REQUEST['action']) && 'delete_locale' == $_REQUEST['action']) {
        if (isset($_POST['checkbox']) && is_array($_POST['checkbox'])) {
            while (list($key, $value) = each($_POST['checkbox'])) {
                $del_id = $key;
                //Delete locale data
                $sql = "DELETE FROM " . EVENTS_LOCALE_TABLE . " WHERE id='{$del_id}'";
                $wpdb->query($sql);
                $sql = "DELETE FROM " . EVENTS_LOCALE_REL_TABLE . " WHERE locale_id='{$del_id}'";
                $wpdb->query($sql);
            }
        }
        if ($_REQUEST['action'] == 'delete_locale') {
            //Delete discount data
            $sql = "DELETE FROM " . EVENTS_LOCALE_TABLE . " WHERE id='" . $_REQUEST['id'] . "'";
            $wpdb->query($sql);
            $sql = "DELETE FROM " . EVENTS_LOCALE_REL_TABLE . " WHERE locale_id='" . $_REQUEST['id'] . "'";
            $wpdb->query($sql);
        }
        ?>
    <div id="message" class="updated fade">
      <p><strong>
        <?php 
        _e('Locales have been successfully deleted from the event.', 'event_espresso');
        ?>
        </strong></p>
    </div>
<?php 
    }
    if (isset($_REQUEST['action']) && 'update' == $_REQUEST['action']) {
        require_once "update_locale.php";
        update_event_locale();
    }
    if (isset($_REQUEST['action']) && 'add' == $_REQUEST['action']) {
        require_once "add_locale_to_db.php";
        add_locale_to_db();
    }
    if (isset($_REQUEST['action']) && 'add_new_locale' == $_REQUEST['action']) {
        require_once "add_new_locale.php";
        add_new_event_locale();
    }
    if (isset($_REQUEST['action']) && 'edit' == $_REQUEST['action']) {
        require_once "edit_locale.php";
        edit_event_locale();
    }
    ?>
      <form id="form1" name="form1" method="post" action="<?php 
    echo $_SERVER["REQUEST_URI"];
    ?>
">
       
        <table id="table" class="widefat fixed" width="100%"> 
          <thead>
            <tr>
              <th class="manage-column column-cb check-column" id="cb" scope="col" style="width:2.5%;"><input type="checkbox"></th>
              <th class="manage-column column-comments num" id="id" style="padding-top:7px; width:2.5%;" scope="col" title="Click to Sort"><?php 
    _e('ID', 'event_espresso');
    ?>
</th>
              <th class="manage-column column-title" id="name" scope="col" title="Click to Sort" style="width:20%;"><?php 
    _e('Name', 'event_espresso');
    ?>
</th>
            </tr>
          </thead>
          <tbody>
            <?php 
    $wpdb->query("SELECT * FROM " . EVENTS_LOCALE_TABLE);
    if ($wpdb->num_rows > 0) {
        $results = $wpdb->get_results("SELECT * FROM " . EVENTS_LOCALE_TABLE . " ORDER BY name ASC");
        foreach ($results as $result) {
            $locale_id = $result->id;
            $name = stripslashes($result->name);
            #$locale_desc = stripslashes($result->locale_desc);
            ?>
            <tr>
              <td class="check-column" style="padding:7px 0 22px 5px; vertical-align:top;"><input name="checkbox[<?php 
            echo $locale_id;
//.........这里部分代码省略.........
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:101,代码来源:index.php

示例4: event_espresso_staff_config_mnu

function event_espresso_staff_config_mnu()
{
    global $wpdb, $current_user, $espresso_premium;
    $_REQUEST['action'] = isset($_REQUEST['action']) ? $_REQUEST['action'] : NULL;
    ?>
<div class="wrap">
  <div id="icon-options-event" class="icon32"> </div>
      <h2><?php 
    _e('Manage Staff Members', 'event_espresso');
    ?>
   <?php 
    if ($_REQUEST['action'] != 'edit' && $_REQUEST['action'] != 'add_new_staff') {
        echo '<a href="admin.php?page=event_staff&amp;action=add_new_staff" class="button add-new-h2" style="margin-left: 20px;">' . __('Add New Staff Member', 'event_espresso') . '</a>';
    }
    ?>
    </h2>

 <div id="poststuff" class="metabox-holder has-right-sidebar">
  <?php 
    event_espresso_display_right_column();
    ?>
  <div id="post-body">
<div id="post-body-content">   

<?php 
    if (isset($_POST['delete_staff']) || $_REQUEST['action'] == 'delete_staff') {
        if (is_array($_POST['checkbox'])) {
            while (list($key, $value) = each($_POST['checkbox'])) {
                $del_id = $key;
                //Delete staff data
                $sql = "DELETE FROM " . EVENTS_PERSONNEL_TABLE . " WHERE id='{$del_id}'";
                $wpdb->query($sql);
                $sql = "DELETE FROM " . EVENTS_PERSONNEL_REL_TABLE . " WHERE person_id='{$del_id}'";
                $wpdb->query($sql);
            }
        }
        if ($_REQUEST['action'] == 'delete_staff') {
            //Delete discount data
            $sql = "DELETE FROM " . EVENTS_PERSONNEL_TABLE . " WHERE id='" . $_REQUEST['id'] . "'";
            $wpdb->query($sql);
            $sql = "DELETE FROM " . EVENTS_PERSONNEL_REL_TABLE . " WHERE person_id='" . $_REQUEST['id'] . "'";
            $wpdb->query($sql);
        }
        ?>
    <div id="message" class="updated fade">
      <p><strong>
        <?php 
        _e('Staff member(s) have been successfully deleted from the event.', 'event_espresso');
        ?>
        </strong></p>
    </div>
<?php 
    }
    if ($_REQUEST['action'] == 'update') {
        require_once "update_staff.php";
        update_event_staff();
    }
    if ($_REQUEST['action'] == 'add') {
        require_once "add_staff_to_db.php";
        add_staff_to_db();
    }
    if ($_REQUEST['action'] == 'add_new_staff') {
        require_once "add_new_staff.php";
        add_new_event_staff();
    }
    if ($_REQUEST['action'] == 'edit') {
        require_once "edit_staff.php";
        edit_event_staff();
    }
    ?>
      <form id="form1" name="form1" method="post" action="<?php 
    echo $_SERVER["REQUEST_URI"];
    ?>
">
       
        <table id="table" class="widefat manage-discounts"> 
          <thead>
            <tr>
              <th class="manage-column column-cb check-column" id="cb" scope="col" style="width:2.5%;"><input type="checkbox"></th>
              <th class="manage-column column-comments num" id="id" style="padding-top:7px; width:2.5%;" scope="col" title="Click to Sort"><?php 
    _e('ID', 'event_espresso');
    ?>
</th>
              <th class="manage-column column-title" id="name" scope="col" title="Click to Sort" style="width:20%;"><?php 
    _e('Name', 'event_espresso');
    ?>
</th>
              <?php 
    if (function_exists('espresso_is_admin') && espresso_is_admin() == true) {
        ?>
              <th class="manage-column column-creator" id="creator" scope="col" title="Click to Sort" style="width:10%;"><?php 
        _e('Creator', 'event_espresso');
        ?>
</th>
              <?php 
    }
    ?>

              <th class="manage-column column-author" id="start" scope="col" title="Click to Sort" style="width:20%;"><?php 
    _e('Shortcode', 'event_espresso');
//.........这里部分代码省略.........
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:101,代码来源:index.php

示例5: espresso_calendar_config_mnu

function espresso_calendar_config_mnu()
{
    global $wpdb, $espresso_calendar;
    /*Calendar*/
    function espresso_calendar_updated()
    {
        return __('Calendar details saved.', 'event_espresso');
    }
    if (isset($_POST['update_calendar'])) {
        $espresso_calendar['espresso_page_post'] = $_POST['espresso_page_post'];
        $espresso_calendar['espresso_calendar_header'] = $_POST['espresso_calendar_header'];
        $espresso_calendar['espresso_calendar_buttonText'] = $_POST['espresso_calendar_buttonText'];
        $espresso_calendar['espresso_calendar_firstday'] = $_POST['espresso_calendar_firstday'];
        $espresso_calendar['espresso_calendar_weekends'] = $_POST['espresso_calendar_weekends'];
        $espresso_calendar['espresso_calendar_height'] = $_POST['espresso_calendar_height'];
        $espresso_calendar['espresso_calendar_width'] = $_POST['espresso_calendar_width'];
        $espresso_calendar['espresso_calendar_titleFormat'] = $_POST['espresso_calendar_titleFormat'];
        $espresso_calendar['espresso_calendar_columnFormat'] = $_POST['espresso_calendar_columnFormat'];
        $espresso_calendar['espresso_calendar_monthNames'] = $_POST['espresso_calendar_monthNames'];
        $espresso_calendar['espresso_calendar_monthNamesShort'] = $_POST['espresso_calendar_monthNamesShort'];
        $espresso_calendar['espresso_calendar_dayNames'] = $_POST['espresso_calendar_dayNames'];
        $espresso_calendar['espresso_calendar_dayNamesShort'] = $_POST['espresso_calendar_dayNamesShort'];
        $espresso_calendar['calendar_pages'] = $_POST['calendar_pages'] == '' ? 0 : $_POST['calendar_pages'];
        update_option('espresso_calendar_settings', $espresso_calendar);
        add_action('admin_notices', 'espresso_calendar_updated');
    }
    if ($_REQUEST['reset_calendar'] == 'true') {
        delete_option("espresso_calendar_settings");
        espresso_calendar_install();
    }
    $espresso_calendar = get_option('espresso_calendar_settings');
    ?>
    <style type="text/css">
	#configure_calendar_form ul{
		width:80% !important;
	}
	</style>
<div class="wrap">
  <div id="icon-options-event" class="icon32"> </div>
  <h2>
    <?php 
    _e('Event Espresso - Calendar Settings', 'event_espresso');
    ?>
  </h2>
  <div id="poststuff" class="metabox-holder has-right-sidebar">
  <?php 
    event_espresso_display_right_column();
    ?>
  <div id="post-body">
<div id="post-body-content">
  <form class="espresso_form" method="post" action="<?php 
    echo $_SERVER['REQUEST_URI'];
    ?>
">
      <ul id="event_espresso-sortables">
        <li>
          <div class="metabox-holder">
			<div class="postbox">
            <h3>
              <?php 
    _e('Calendar Settings', 'event_espresso');
    ?>
            </h3>
          <div class="padding">
              <ul>

              <li>
              <strong><?php 
    _e('Directions:', 'event_espresso');
    ?>
</strong><br />
             <?php 
    _e(' Add [ESPRESSO_CALENDAR] to any page or post to display a calendar of Event Espresso events. Use [ESPRESSO_CALENDAR event_category_id="your_category_identifier"] to show events of a certain category (also creates a CSS using the category_identifier as the class name.) Use [ESPRESSO_CALENDAR show_expired="true"] to show expired events, can also be used in  conjunction with the category ID.', 'event_espresso');
    ?>
</li>
              <li><strong><?php 
    _e('Examples Shortcodes:', 'event_espresso');
    ?>
</strong><br />
            	[ESPRESSO_CALENDAR]<br />
				[ESPRESSO_CALENDAR show_expired="true"]<br />
				[ESPRESSO_CALENDAR event_category_id="your_category_identifier"]<br />
                [ESPRESSO_CALENDAR event_category_id="your_category_identifier" show_expired="true"]<br />
                [ESPRESSO_CALENDAR cal_view="month"] (Available parameters: month, basicWeek, basicDay, agendaWeek, agendaDay)
              </li>
              <li><strong><?php 
    _e('Styles/Colors:', 'event_espresso');
    ?>
</strong><br />
              <?php 
    _e('To edit the calendar styles, copy the CSS file located in the plugin folder to your "wp-content/uploads/espresso/" directory. Then edit as needed. Refer to <a href="http://arshaw.com/fullcalendar/docs/event_rendering/Colors/" target="_blank">this page</a> for an example of styling the calendar and colors.', 'event_espresso');
    ?>
              </li>

              <li><strong><?php 
    _e('Category Colors:', 'event_espresso');
    ?>
</strong><br />
              <?php 
    _e('Event Categories can have their own colors on the calendar. To use this feature, simply create a class in theme CSS file with the names of your event categories. For more inforamtion <a href="http://eventespresso.com/forums/?p=650" target="_blank">please visit the tutorial</a> for this topic.', 'event_espresso');
//.........这里部分代码省略.........
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:101,代码来源:espresso-calendar.php

示例6: espresso_ticket_config_mnu


//.........这里部分代码省略.........
"><?php 
            _e('Delete', 'event_espresso');
            ?>
</a></span></div>
								</td>
								<?php 
            if (function_exists('espresso_is_admin') && espresso_is_admin() == true && $espresso_premium == true) {
                $user_company = espresso_user_meta($wp_user, 'company') != '' ? espresso_user_meta($wp_user, 'company') : '';
                $user_organization = espresso_user_meta($wp_user, 'organization') != '' ? espresso_user_meta($wp_user, 'organization') : '';
                $user_co_org = $user_company != '' ? $user_company : $user_organization;
                ?>
									<td class="date"><?php 
                echo espresso_user_meta($wp_user, 'user_firstname') != '' ? espresso_user_meta($wp_user, 'user_firstname') . ' ' . espresso_user_meta($wp_user, 'user_lastname') . ' (<a href="user-edit.php?user_id=' . $wp_user . '">' . espresso_user_meta($wp_user, 'user_nicename') . '</a>)' : espresso_user_meta($wp_user, 'display_name') . ' (<a href="user-edit.php?user_id=' . $wp_user . '">' . espresso_user_meta($wp_user, 'user_nicename') . '</a>)';
                echo $user_co_org != '' ? '<br />[' . espresso_user_meta($wp_user, 'company') . ']' : '';
                ?>
									</td>
							<?php 
            }
            ?>
								<td><a href="admin.php?page=event_tickets&action=edit_ticket&id=<?php 
            echo $ticket_id;
            ?>
">
							<?php 
            _e('Edit Ticket Template', 'event_espresso');
            ?>
									</a></td>
							</tr>
		<?php 
        }
    }
    ?>
				</tbody>
			</table>
			<p>

				<input type="checkbox" name="sAll" onclick="selectAll(this)" />
				<strong>
		<?php 
    _e('Check All', 'event_espresso');
    ?>
				</strong>
				<input name="delete_ticket" type="submit" class="button-secondary" id="delete_ticket" value="<?php 
    _e('Delete Selected', 'event_espresso');
    ?>
" style="margin-left:100px;" onclick="return confirmDelete();"> <?php 
    echo '<a href="admin.php?page=event_tickets&amp;action=add_new_ticket" style="margin-left:5px"class="button-primary">' . __('Add New', 'event_espresso') . '</a>';
    ?>
			</p>
		</form>
		<?php 
    $main_post_content = ob_get_clean();
    if (function_exists('espresso_version') && espresso_version() >= '3.2') {
        ob_start();
        do_meta_boxes('event-espresso_page_event_tickets', 'side', null);
        $sidebar_content = ob_get_clean();
        espresso_choose_layout($main_post_content, $sidebar_content);
    } else {
        espresso_choose_layout($main_post_content, event_espresso_display_right_column());
    }
    ?>
	</div>
	<?php 
    include_once 'tickets_help.php';
    ?>
	<script>
		jQuery(document).ready(function($) {

			/* show the table data */
			var mytable = $('#table').dataTable( {
				"bStateSave": true,
				"sPaginationType": "full_numbers",

				"oLanguage": {	"sSearch": "<strong><?php 
    _e('Live Search Filter', 'event_espresso');
    ?>
:</strong>",
					"sZeroRecords": "<?php 
    _e('No Records Found!', 'event_espresso');
    ?>
" },
				"aoColumns": [
					{ "bSortable": false },
					null,
					null,
	<?php 
    echo function_exists('espresso_is_admin') && espresso_is_admin() == true ? 'null,' : '';
    ?>
					null

				]

			} );

		} );
	</script>

	<?php 
    //echo event_espresso_custom_ticket_info();
}
开发者ID:sriram911,项目名称:pls,代码行数:101,代码来源:index.php

示例7: event_espresso_member_config_mnu


//.........这里部分代码省略.........
        $member_options['member_only_all'] = isset($_POST['member_only_all']) && !empty($_POST['member_only_all']) ? $_POST['member_only_all'] : '';
        $member_options['autofilled_editable'] = isset($_POST['autofilled_editable']) && !empty($_POST['autofilled_editable']) ? $_POST['autofilled_editable'] : '';
        update_option('events_member_settings', $member_options);
        echo '<div id="message" class="updated fade"><p><strong>' . __('Member settings saved.', 'event_espresso') . '</strong></p></div>';
    }
    $member_options = get_option('events_member_settings');
    $login_page = empty($member_options['login_page']) ? '' : $member_options['login_page'];
    $register_page = empty($member_options['register_page']) ? '' : $member_options['register_page'];
    $member_only_all = empty($member_options['member_only_all']) ? 'N' : $member_options['member_only_all'];
    $autofilled_editable = empty($member_options['autofilled_editable']) ? 'N' : $member_options['autofilled_editable'];
    ?>
	<div id="event_reg_theme" class="wrap">
		<div id="icon-options-event" class="icon32"></div>
		<h2><?php 
    echo _e('Manage Member Settings', 'event_espresso');
    ?>
</h2>
		<?php 
    ob_start();
    ?>
		<div class="metabox-holder">
			<div class="postbox">
				<h3><?php 
    _e('Member Settings', 'event_espresso');
    ?>
</h3>
				<div class="inside">
					<form method="post" action="<?php 
    echo $_SERVER['REQUEST_URI'];
    ?>
">
						<ul>
							<li>
								<label><?php 
    _e('Login page (if different from default Wordpress login page): ', 'event_espresso');
    ?>
</label> <input type="text" name="login_page" size="25" <?php 
    echo isset($login_page) ? 'value="' . $login_page . '"' : "";
    ?>
></li>

							<?php 
    if (!get_option('users_can_register')) {
        echo '<li class="updated" style="width:65%">' . __('New user registration is currently closed. If you would like to set a custom user regsistration page, you must enable "Anyone can register" in your Wordpress "<a href="options-general.php">General Settings</a>" page.', 'event_espresso') . '</li>';
    } else {
        ?>
			<li><label><?php 
        _e('Member registration page (if different from default Wordpress register page): ', 'event_espresso');
        ?>
</label> <input name="register_page" size="25" <?php 
        echo isset($register_page) ? 'value="' . $register_page . '"' : "";
        ?>
></li>
							<?php 
    }
    ?>
							<li>
								<label><?php 
    _e('Require login for all events? ', 'event_espresso');
    ?>
</label>
								<?php 
    $values = array(array('id' => 'N', 'text' => __('No', 'event_espresso')), array('id' => 'Y', 'text' => __('Yes', 'event_espresso')));
    echo select_input('member_only_all', $values, $member_only_all);
    ?>
							</li>
							<li>
								<label><?php 
    _e('Make autofilled fields editable? ', 'event_espresso');
    ?>
</label>
								<?php 
    $values = array(array('id' => 'N', 'text' => __('No', 'event_espresso')), array('id' => 'Y', 'text' => __('Yes', 'event_espresso')));
    echo select_input('autofilled_editable', $values, $autofilled_editable);
    ?>
							</li>
							<li>
								<input type="hidden" name="update_member_settings" value="update">
								<p>
									<input class="button-primary" type="submit" name="Submit" value="<?php 
    _e('Save Settings', 'event_espresso');
    ?>
" id="save_member_settings" />
								</p>
							</li>
						</ul>

					</form>

				</div>
			</div>
		</div>
		<?php 
    $main_post_content = ob_get_clean();
    espresso_choose_layout($main_post_content, event_espresso_display_right_column());
    ?>
	</div>
	<?php 
    //============= End Event Registration Members Subpage - Settings  =============== //
}
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:101,代码来源:user_settings_page.php

示例8: event_espresso_questions_config_mnu


//.........这里部分代码省略.........
    ?>
				</tbody>
			</table>

			<div>
				<p><input type="checkbox" name="sAll" onclick="selectAll(this)" />
					<strong>
						<?php 
    _e('Check All', 'event_espresso');
    ?>
					</strong>
					<input type="hidden" name="action" value="delete_question" />
					<input name="delete_question" type="submit" class="button-secondary" id="delete_question" value="<?php 
    _e('Delete Question', 'event_espresso');
    ?>
" style="margin-left:10px 0 0 10px;" onclick="return confirmDelete();">
					<a  style="margin-left:5px"class="button-secondary" href="admin.php?page=form_groups"><?php 
    _e('Question Groups', 'event_espresso');
    ?>
</a>
					<a style="margin-left:5px"class="button-secondary thickbox" href="#TB_inline?height=400&width=500&inlineId=question_info">Help</a>
					<a  style="margin-left:5px"class="<?php 
    echo $button_style;
    ?>
" href="admin.php?page=form_builder&amp;action=new_question"><?php 
    _e('Add New Question', 'event_espresso');
    ?>
</a>
				</p>
			</div>
		</form>
		<?php 
    $main_post_content = ob_get_clean();
    espresso_choose_layout($main_post_content, event_espresso_display_right_column());
    ?>
							

	</div>
	<div id="question_info" class="pop-help" style="display:none">
		<div class="TB-ee-frame">
			<h2><?php 
    _e('Manage Questions Overview', 'event_espresso');
    ?>
</h2>
			<p><?php 
    _e('The <code>Questions</code> page shows your list of available questions to add to your registration forms for events', 'event_espresso');
    ?>
</p>
			<p><?php 
    _e('Use the add new question button at the top of the page to create a new question to add to the list ', 'event_espresso');
    ?>
<a href="admin.php?page=form_builder&amp;action=new_question"><?php 
    _e('Add New Question', 'event_espresso');
    ?>
</a></p>
			<p><?php 
    _e('Once you have a built a list of questions you may further organize your questions into <code>Groups.</code> These', 'event_espresso');
    ?>
 <a href="admin.php?page=form_groups"><?php 
    _e('Question Groups ', 'event_espresso');
    ?>
</a><?php 
    _e('allow you to easily and conveniently add a group to a registration that will have a pre populated set of questions, this is especially handy when creating many registration forms, saving time, by being able to re-use specific groups of questions repetedly.', 'event_espresso');
    ?>
</p>
		</div>
开发者ID:antares-ff,项目名称:ANTARES-Test,代码行数:67,代码来源:index.php

示例9: event_espresso_discount_config_mnu


//.........这里部分代码省略.........
            ?>
"><?php 
            _e('Delete', 'event_espresso');
            ?>
</a></span></div></td>
								<?php 
            if (function_exists('espresso_is_admin') && espresso_is_admin() == true) {
                ?>
									<td><?php 
                echo espresso_user_meta($wp_user, 'user_firstname') != '' ? espresso_user_meta($wp_user, 'user_firstname') . ' ' . espresso_user_meta($wp_user, 'user_lastname') : espresso_user_meta($wp_user, 'display_name');
                ?>
</td>
			<?php 
            }
            ?>
								<td class="author column-author"><?php 
            echo $coupon_code_price;
            ?>
</td>
								<td class="author column-author"><?php 
            echo $use_percentage;
            ?>
</td>
							</tr>
						<?php 
        }
    }
    ?>
				</tbody>
			</table>
			<div style="clear:both">
				<p><input type="checkbox" name="sAll" onclick="selectAll(this)" />
					<strong>
	<?php 
    _e('Check All', 'event_espresso');
    ?>
					</strong>
					<input name="delete_discount" type="submit" class="button-secondary" id="delete_discount" value="<?php 
    _e('Delete Promotional Code', 'event_espresso');
    ?>
" style="margin:10 0 0 10px;" onclick="return confirmDelete();">

					<a  style="margin-left:5px"class="button-primary" href="admin.php?page=discounts&amp;action=new"><?php 
    _e('Add New Promotional Code', 'event_espresso');
    ?>
</a></p>
			</div>
		</form>
		<?php 
    $main_post_content = ob_get_clean();
    espresso_choose_layout($main_post_content, event_espresso_display_right_column());
    ?>
	</div>

	<script type="text/javascript">
		jQuery(document).ready(function($) {

			/* show the table data */
			var mytable = $('#table').dataTable( {
				"bStateSave": true,
				"sPaginationType": "full_numbers",

				"oLanguage": {	"sSearch": "<strong><?php 
    _e('Live Search Filter', 'event_espresso');
    ?>
:</strong>",
					"sZeroRecords": "<?php 
    _e('No Records Found!', 'event_espresso');
    ?>
" },
				"aoColumns": [
					{ "bSortable": false },
					null,
					null,
					null,
	<?php 
    echo function_exists('espresso_is_admin') && espresso_is_admin() == true ? 'null,' : '';
    ?>
							null

						]

					} );

				} );
				// Add new promo code form validation
				jQuery(function(){
					jQuery("#new-promo-code").validate( {
						rules: {
							coupon_code: "required"
						},
						messages: {
							coupon_code: "Please add your promotional code"
						}
					});
		
				});
	</script>
	<?php 
}
开发者ID:sriram911,项目名称:pls,代码行数:101,代码来源:index.php

示例10: event_espresso_addons_mnu

function event_espresso_addons_mnu()
{
    global $wpdb;
    ?>

<div id="event_reg_theme" class="wrap">
  <div id="icon-options-event" class="icon32"></div>
  <h2><?php 
    echo _e('Manage Addons', 'event_espresso');
    ?>
</h2>
  <div id="poststuff" class="metabox-holder has-right-sidebar">
  <?php 
    event_espresso_display_right_column();
    ?>
  <div id="post-body">
<div id="post-body-content">
  <div class="metabox-holder">
    <div class="postbox">
      <h3>
        <?php 
    _e('Recurring Events Manager', 'event_espresso');
    ?>
      </h3>
      <div class="inside">
      <ul>
      <li>The <a href="http://eventespresso.com/download/plugins-and-addons/recurring-events-manager/" target="_blank">Recurring Events Manager</a> for Event Espresso adds an even more power to this amazing event registration and management system for WordPress. It can automatically create repeating events and classes that practically manage themselves. Just install this addon in conjunction with Event Espresso and start creating classes, meetings, and conferences for months (and even years) to come.</li>
        <?php 
    if (function_exists('recurring_days')) {
        echo '<li>';
        echo '<strong style="padding:5px;" class="green_alert">' . __('Installed', 'event_espresso') . '</strong>';
        echo '</li>';
    } else {
        echo '<li><a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=ESPRESSO-REM&cl=113214&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="' . EVENT_ESPRESSO_PLUGINFULLURL . '/images/add-to-cart.gif" border="0" alt="Add to Cart"/></a> <a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=113214&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="' . EVENT_ESPRESSO_PLUGINFULLURL . '/images/checkout-button.gif" border="0" alt="View Cart"/></a></li>';
    }
    ?>
      </ul>
      </div>
    </div>
  </div>
  <div class="metabox-holder">
    <div class="postbox">
      <h3>
        <?php 
    _e('Groupon Integration Module', 'event_espresso');
    ?>
      </h3>
      <div class="inside">
      <ul>
      <li>Did your site get featured on <a href="http://www.groupon.com/" target="_blank">Groupon.com</a>? Now you can easily accept Groupon codes to your events! Once installed, just upload all of your Groupon codes to the database and your ready to go. How easy is that?</li>
        <li><strong><?php 
    _e('About Groupon', 'event_espresso');
    ?>
</strong><a href="http://www.groupon.com/" target="_blank"><img style="padding:0 10px;" align="right" src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
images/groupon_logo.png" width="149" height="70" alt="GROUPON" /></a></li>
        <li><a href="http://www.groupon.com/" target="_blank">Groupon</a> is a deal-of-the-day website that is localized to major markets in the United States. The first market for Groupon was Chicago, followed soon thereafter by Boston and New York City. As of January 2010, Groupon serves more than 40 markets. Groupon debuted in November 2008 as part of The Point, a platform for collective action.</li>
        
        <?php 
    if (function_exists('event_espresso_groupon_config_mnu')) {
        echo '<li>';
        echo '<strong style="padding:5px;" class="green_alert">' . __('Installed', 'event_espresso') . '</strong>';
        echo '</li>';
    } else {
        echo '<li><a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=ESPRESSO-GROUPON&cl=113214&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="' . EVENT_ESPRESSO_PLUGINFULLURL . '/images/add-to-cart.gif" border="0" alt="Add to Cart"/></a> <a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=113214&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="' . EVENT_ESPRESSO_PLUGINFULLURL . '/images/checkout-button.gif" border="0" alt="View Cart"/></a></li>';
    }
    ?>
      </ul>
      </div>
    </div>
  </div>
  <div class="metabox-holder">
    <div class="postbox">
    
      <h3>
        <?php 
    _e('Members Integration Module', 'event_espresso');
    ?>
      </h3><div class="inside">
      <ul>
        <?php 
    echo '<li>The "Member Integration Module" allows you to take full advantage of the WordPress user system. </li>';
    echo '<li><p><strong>Member Pricing</strong><br />Allows you to override event prices when your members are logged in. <a class="ev_reg_event_info" href="' . EVENT_ESPRESSO_PLUGINFULLURL . '/images/member-setup-screen.jpg">Sample Screen</a></p></li>';
    echo '<li><p><strong>Member Profiles</strong><br />Members can store personal information into the WordPress databse allowing your members to quickly register for events by auto-filling in the personal information on the event registration form. Your users can also view past events, pay for events, and cancel registrations to current events.  <a class="ev_reg_event_info" href="' . EVENT_ESPRESSO_PLUGINFULLURL . '/images/member-event-management-scr.jpg">My Events Screen</a> | <a class="ev_reg_event_info" href="' . EVENT_ESPRESSO_PLUGINFULLURL . '/images/events-profile-screen.jpg">Profile Screen</a></p></li>';
    echo '<li><p><strong>Roles and Capabilites</strong><br />If you are already using the "<a href="http://wordpress.org/extend/plugins/members/" target="_blank">Members</a>" plugin by <a href="Justin Tadlock" target="_blank">Justin Tadlock</a>. Your custom roles will be stored as well. With a little customization, you will be able to display events by user role, membership level, etc.</p></li>';
    if (function_exists('event_espresso_member_only_pricing')) {
        echo '<li>';
        echo '<strong style="padding:5px;" class="green_alert">' . __('Installed', 'event_espresso') . '</strong>';
        echo '</li>';
    } else {
        echo '<li><a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=ESPRESSO-MEM-ADDON&cl=113214&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="' . EVENT_ESPRESSO_PLUGINFULLURL . '/images/add-to-cart.gif" border="0" alt="Add to Cart"/></a> <a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=113214&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="' . EVENT_ESPRESSO_PLUGINFULLURL . '/images/checkout-button.gif" border="0" alt="View Cart"/></a></li>';
    }
    ?>
      </ul>
      </div>
    </div>
  </div>
  
  <div class="metabox-holder">
//.........这里部分代码省略.........
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:101,代码来源:admin_addons.php

示例11: event_espresso_venue_config_mnu


//.........这里部分代码省略.........
            ?>
								<td>[ESPRESSO_VENUE id="<?php 
            echo $venue_id;
            ?>
"]</td>
							</tr>
							<?php 
        }
    }
    ?>
						</tbody>
					</table>
					<div style="clear:both">
						<p>
							<input type="checkbox" name="sAll" onclick="selectAll(this)" />
							<strong>
							<?php 
    _e('Check All', 'event_espresso');
    ?>
							</strong>
							<input name="delete_venue" type="submit" class="button-secondary" id="delete_venue" value="<?php 
    _e('Delete Venue', 'event_espresso');
    ?>
" style="margin-left:10px 0 0 10px;" onclick="return confirmDelete();">
							<a  style="margin-left:5px"class="button-primary" href="admin.php?page=event_venues&amp;action=add_new_venue">
							<?php 
    _e('Add New Venue', 'event_espresso');
    ?>
							</a> </p>
					</div>
				</form>
            <?php 
    $main_post_content = ob_get_clean();
    espresso_choose_layout($main_post_content, event_espresso_display_right_column());
    ?>
</div>
<?php 
    #### help dialogue box ####
    ?>
<div id="venue_locale" style="display:none">
	<div class="TB-ee-frame">
		<h2>
			<?php 
    _e('Venue Locale/Region', 'event_espresso');
    ?>
		</h2>
		<p>
			<?php 
    _e('This can be used to group venues together by locales/regions.', 'event_espresso');
    ?>
		</p>
		<p>
			<?php 
    _e('Once you have created a locale in the <a href="admin.php?page=event_locales"> Manage Locales/Regions</a> page it will be available to select on the \'Add a Venue\' page', 'event_espresso');
    ?>
		</p>
	</div>
</div>
<?php 
    #### end help ####
    ?>
<script>
jQuery(document).ready(function($) {						
	
	/* show the table data */
	var mytable = $('#table').dataTable( {
开发者ID:sriram911,项目名称:pls,代码行数:67,代码来源:index.php

示例12: event_espresso_categories_config_mnu

function event_espresso_categories_config_mnu()
{
    global $wpdb, $current_user;
    ?>
    <div class="wrap">
        <div id="icon-options-event" class="icon32"> </div>
        <h2><?php 
    _e('Manage Event Categories', 'event_espresso');
    ?>
            <?php 
    if (!isset($_REQUEST['action']) || $_REQUEST['action'] != 'edit' && $_REQUEST['action'] != 'add_new_category') {
        echo '<a href="admin.php?page=event_categories&amp;action=add_new_category" class="button add-new-h2" style="margin-left: 20px;">' . __('Add New Category', 'event_espresso') . '</a>';
    }
    ?>
        </h2>

        <div id="poststuff" class="metabox-holder has-right-sidebar">
            <?php 
    event_espresso_display_right_column();
    ?>
            <div id="post-body">
                <div id="post-body-content">
                    <?php 
    if (!empty($_POST['delete_category']) || isset($_REQUEST['action']) && $_REQUEST['action'] == 'delete_category') {
        if (is_array($_POST['checkbox'])) {
            while (list($key, $value) = each($_POST['checkbox'])) {
                $del_id = $key;
                //Delete category data
                $sql = "DELETE FROM " . EVENTS_CATEGORY_TABLE . " WHERE id='{$del_id}'";
                $wpdb->query($sql);
                $sql = "DELETE FROM " . EVENTS_CATEGORY_REL_TABLE . " WHERE cat_id='{$del_id}'";
                $wpdb->query($sql);
            }
        }
        if ($_REQUEST['action'] == 'delete_category') {
            //Delete discount data
            $sql = "DELETE FROM " . EVENTS_CATEGORY_TABLE . " WHERE id='" . $_REQUEST['id'] . "'";
            $wpdb->query($sql);
            $sql = "DELETE FROM " . EVENTS_CATEGORY_REL_TABLE . " WHERE cat_id='" . $_REQUEST['id'] . "'";
            $wpdb->query($sql);
        }
        ?>
                        <div id="message" class="updated fade">
                            <p><strong>
                                    <?php 
        _e('Categories have been successfully deleted from the event.', 'event_espresso');
        ?>
                                </strong></p>
                        </div>
                        <?php 
    }
    if (isset($_REQUEST['action'])) {
        switch ($_REQUEST['action']) {
            case 'update':
                update_event_category();
                break;
            case 'add':
                add_cat_to_db();
                break;
            case 'add_new_category':
                add_new_event_category();
                break;
            case 'edit':
                edit_event_category();
                break;
        }
    }
    ?>
                    <form id="form1" name="form1" method="post" action="<?php 
    echo $_SERVER["REQUEST_URI"];
    ?>
">

                        <table id="table" class="widefat manage-categories">
                            <thead>
                                <tr>
                                    <th class="manage-column column-cb check-column" id="cb" scope="col" style="width:2.5%;"><input type="checkbox"></th>
                                    <th class="manage-column column-comments num" id="id" style="padding-top:7px; width:2.5%;" scope="col" title="Click to Sort"><?php 
    _e('ID', 'event_espresso');
    ?>
</th>
                                    <th class="manage-column column-title" id="name" scope="col" title="Click to Sort" style="width:20%;"><?php 
    _e('Name', 'event_espresso');
    ?>
</th>
                                    <?php 
    if (function_exists('espresso_is_admin') && espresso_is_admin() == true) {
        ?>
                                        <th class="manage-column column-creator" id="creator" scope="col" title="Click to Sort" style="width:10%;"><?php 
        _e('Creator', 'event_espresso');
        ?>
</th>
                                    <?php 
    }
    ?>

                                    <th class="manage-column column-author" id="start" scope="col" title="Click to Sort" style="width:20%;"><?php 
    _e('Shortcode', 'event_espresso');
    ?>
</th>
//.........这里部分代码省略.........
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:101,代码来源:index.php

示例13: event_espresso_manage_templates

function event_espresso_manage_templates()
{
    global $wpdb, $org_options;
    //print_r($org_options);
    if (isset($_POST['update_org'])) {
        $org_options['display_description_on_multi_reg_page'] = empty($_POST['display_description_on_multi_reg_page']) ? '' : $_POST['display_description_on_multi_reg_page'];
        $org_options['display_short_description_in_event_list'] = $_POST['display_short_description_in_event_list'];
        $org_options['display_address_in_event_list'] = $_POST['display_address_in_event_list'];
        $org_options['display_address_in_regform'] = $_POST['display_address_in_regform'];
        $org_options['use_custom_post_types'] = $_POST['use_custom_post_types'];
        $org_options['enable_default_style'] = $_POST['enable_default_style'];
        $org_options['selected_style'] = $_POST['selected_style'];
        $org_options['style_color'] = $_POST['style_color'];
        update_option('events_organization_settings', $org_options);
        echo '<div id="message" class="updated fade"><p><strong>' . __('Template details saved.', 'event_espresso') . '</strong></p></div>';
    }
    $org_options = get_option('events_organization_settings');
    $values = array(array('id' => 'Y', 'text' => __('Yes', 'event_espresso')), array('id' => 'N', 'text' => __('No', 'event_espresso')));
    ?>
    <div class="wrap">
        <div id="icon-options-event" class="icon32"> </div>
        <h2>
    <?php 
    _e('Event Template Settings', 'event_espresso');
    ?>
        </h2>
        <div id="poststuff" class="metabox-holder has-right-sidebar">
    <?php 
    event_espresso_display_right_column();
    ?>
            <div id="post-body">
                <div id="post-body-content">
									<form class="espresso_form" method="post" action="<?php 
    echo $_SERVER['REQUEST_URI'];
    ?>
">
										<div class="meta-box-sortables ui-sortables">
										<?php 
    #### metaboxes ####
    ?>
										
										<div class="metabox-holder">
											<div class="postbox">
											<div title="Click to toggle" class="handlediv"><br /></div>
												<h3 class="hndle">
													<?php 
    _e('Template and Style options', 'event_espresso');
    ?>
												</h3>
												<div class="inside">
													<div class="padding">
														<?php 
    if (file_exists(EVENT_ESPRESSO_PLUGINFULLPATH . 'includes/admin-files/event_template_settings.php')) {
        echo '<ul id="event-layout-settings">';
        require_once EVENT_ESPRESSO_PLUGINFULLPATH . 'includes/admin-files/event_template_settings.php';
        echo '</ul>';
    }
    ?>
	
														<p>
															<input class="button-primary" type="submit" name="Submit" value="<?php 
    _e('Save Options', 'event_espresso');
    ?>
" id="save_organization_setting_1" />
														</p>			
													</div><!-- / .padding -->
												</div><!-- / .inside -->
											</div><!-- / .postbox -->
										</div><!-- / .metabox-holder -->
										
										<div class="metabox-holder">
											<div class="postbox">
											<div title="Click to toggle" class="handlediv"><br /></div>
												<h3 class="hndle">
													<?php 
    _e('Stylesheet Options', 'event_espresso');
    ?>
												</h3>
												<div class="inside">
													<div class="padding">
														<ul id="ee-styles">
															<li>
																<label>
																	<?php 
    _e('Enable built in style sheets?', 'event_espresso');
    ?>
																</label>
																	<?php 
    echo select_input('enable_default_style', $values, isset($org_options['enable_default_style']) ? $org_options['enable_default_style'] : '');
    ?>
 
																<a class="thickbox"  href="#TB_inline?height=400&width=500&inlineId=enable_styles_info" target="_blank"><img src="<?php 
    echo EVENT_ESPRESSO_PLUGINFULLURL;
    ?>
images/question-frame.png" width="16" height="16" /></a>
															</li>
															
															<li>
																<?php 
    include EVENT_ESPRESSO_PLUGINFULLPATH . 'includes/admin-files/event_styles_settings.php';
//.........这里部分代码省略.........
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:101,代码来源:template_confg.php

示例14: event_espresso_manage_templates


//.........这里部分代码省略.........
    if ($espresso_premium == true) {
        ?>
										<tr>
											<th> <label>
													<?php 
        _e('Add a custom style sheet?', 'event_espresso');
        ?>
												</label>
											</th>
											<td><input type="file" name="css" id="css" /></td>
										</tr>
										<?php 
    }
    ?>
									</tbody>
								</table>
								<p>
									<input class="button-primary" type="submit" name="Submit" value="<?php 
    _e('Save Options', 'event_espresso');
    ?>
" id="save_organization_setting_2" />
								</p>
							</div>
							<!-- / .padding --> 
						</div>
						<!-- / .inside --> 
					</div>
					<!-- / .postbox --> 
				</div>
				<!-- / .metabox-holder -->
				
				<?php 
    echo do_action('action_hook_espresso_fem_template_settings');
    //FEM Form
    ?>
				
				<input type="hidden" name="update_org" value="update" />
		</form>
		<?php 
    if ($espresso_premium == true) {
        ?>
		<h2>
					<?php 
        _e('Developers Only', 'event_espresso');
        ?>
				</h2>
				<hr />
				<div class="metabox-holder">
					<div class="postbox">
						<div title="Click to toggle" class="handlediv"><br />
						</div>
						<h3 class="hndle">
							<?php 
        _e('Developer templates', 'event_espresso');
        ?>
						</h3>
						<div class="inside">
							<div class="padding">
								<?php 
        require_once 'template_files.php';
        ?>
							</div>
							<!-- / .padding --> 
						</div>
						<!-- / .inside --> 
					</div>
					<!-- / .postbox --> 
				</div>
				<?php 
    }
    ?>
				<!-- / .metabox-holder -->
				<?php 
    #### finish metaboxes ####
    ?>
				
				
			</div>
			<!-- / .meta-box-sortables -->

			
		<?php 
    include_once 'templates_help.php';
    $main_post_content = ob_get_clean();
    espresso_choose_layout($main_post_content, event_espresso_display_right_column());
    ?>

	</div>
	<!-- / #wrap --> 
	<script type="text/javascript" charset="utf-8">
		//<![CDATA[
		jQuery(document).ready(function() {
			postboxes.add_postbox_toggles('template_conf');
		
		}); 
		//]]>
	</script>
	<?php 
    return;
}
开发者ID:HandsomeDogStudio,项目名称:peanutbutterplan,代码行数:101,代码来源:index.php

示例15: calendar_admin


//.........这里部分代码省略.........
								<input class="button-primary" type="submit" name="Submit" value="<?php 
            _e('Save Calendar Options', 'event_espresso');
            ?>
" id="save_calendar_settings_1" />
								<?php 
            wp_nonce_field('espresso_form_check', 'update_calendar');
            ?>
							</p>
							<p>
								<?php 
            _e('Reset Calendar Settings?', 'event_espresso');
            ?>
								<input name="reset_calendar" type="checkbox" />
								<?php 
            wp_nonce_field('espresso_form_check', 'reset_calendar_nonce');
            ?>
							</p>
						</div>
						<!-- / .padding -->
					</div>
					<!-- / .inside -->
				</div>
				<!-- / .postbox -->
			</div>
			<!-- / .metabox-holder -->
<?php 
        }
        ?>
			<!--</li>
			</ul>-->
		</form>
		<?php 
        $main_post_content = ob_get_clean();
        espresso_choose_layout($main_post_content, event_espresso_display_right_column());
        include_once 'calendar_help.php';
        ?>

	</div>
	<!-- / #wrap -->
	<script type="text/javascript">
		//<![CDATA[
		jQuery(document).ready(function($){
				$("input[name='time_format']").click(function(){
						if ( "time_format_custom_radio" != $(this).attr("id") )
						$("input[name='time_format_custom']").val( $(this).val() ).siblings('.example').text( $(this).siblings('span').text() );
					});
				$("input[name='time_format_custom']").focus(function(){
						$("#time_format_custom_radio").attr("checked", "checked");
					});
<?php 
        if ($espresso_premium == true) {
            ?>
				// disable color picker & thumb sizes inputs & fade if not use controls true
				window.scp = $('select#espresso_use_pickers option:selected').val();
				window.ect = $('select#enable-calendar-thumbs option:selected').val();
				window.ectt = $('select#show_tooltips option:selected').val();


				if(window.ect == 'false'){
					$('tr#thumbnail-sizes td input').attr('disabled', true);
					$('tr#thumbnail-sizes').attr('style', "opacity: .3");
				}
				$('select#enable-calendar-thumbs').change(function(){
						window.ect = $('select#enable-calendar-thumbs option:selected').val();
						if(window.ect == 'false'){
							$('tr#thumbnail-sizes td input').attr('disabled', true);
开发者ID:hhgr,项目名称:uksoccer,代码行数:67,代码来源:calendar_admin.php


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