term_id; $booked_none_assigned = false; endif; else: $booked_none_assigned = false; endif; endif; if (!current_user_can('manage_booked_options') && $booked_none_assigned): echo '
'; echo '

'.esc_html__('There are no calendars assigned to you.','booked').'

'; echo '

'.esc_html__('Get in touch with the Administration of this site to get a calendar assigned to you.','booked').'

'; echo '
'; else: ?>
  
'admin', 'slug' => 'general', 'content' => '  '.esc_html__('General','booked')), array( 'access' => 'agent', 'slug' => 'defaults', 'content' => '  '.esc_html__('Time Slots','booked').'   '), array( 'access' => 'agent', 'slug' => 'custom-timeslots', 'content' => '  '.esc_html__('Custom Time Slots','booked').'   '), array( 'access' => 'agent', 'slug' => 'custom-fields', 'content' => '  '.esc_html__('Custom Fields','booked')), array( 'access' => 'admin', 'slug' => 'email-settings', 'content' => '  '.esc_html__('Emails','booked')), array( 'access' => 'admin', 'slug' => 'export-appointments', 'content' => '  '.esc_html__('Export','booked')), array( 'access' => 'admin', 'slug' => 'shortcodes', 'content' => '  '.esc_html__('Shortcodes','booked')), )); $tab_counter = 1; $new_items_in_tabs = array(); foreach($booked_settings_tabs as $tab_data): if ($tab_data['access'] == 'admin' && current_user_can('manage_booked_options') || $tab_data['access'] == 'agent'): if ($tab_counter == 1): ?>

type="radio">

type="radio">

type="checkbox">

type="radio">

type="radio">

'.esc_html__('Important:','booked').'',''.esc_html__('create a page','booked').'','[booked-profile]'); ?>

type="radio">

'page', 'orderby' => 'name', 'order' => 'asc', 'posts_per_page' => -1 )); $selected_value = get_option($option_name); ?>

'page', 'orderby' => 'name', 'order' => 'asc', 'posts_per_page' => -1 )); $selected_value = get_option($option_name); ?>

$option_name,'media_buttons' => false,'editor_height' => 250,'teeny' => true) ); ?>

esc_html__('Every 2 hours','booked'), '60' => esc_html__('Every 1 hour','booked'), '30' => esc_html__('Every 30 minutes','booked'), '15' => esc_html__('Every 15 minutes','booked'), '10' => esc_html__('Every 10 minutes','booked'), '5' => esc_html__('Every 5 minutes','booked'), ) ); ?>

esc_html__('No buffer','booked'), '1' => esc_html__('1 hour','booked'), '2' => esc_html__('2 hours','booked'), '3' => esc_html__('3 hours','booked'), '4' => esc_html__('4 hours','booked'), '5' => esc_html__('5 hours','booked'), '6' => esc_html__('6 hours','booked'), '12' => esc_html__('12 hours','booked'), '24' => esc_html__('24 hours','booked'), '48' => esc_html__('2 days','booked'), '72' => esc_html__('3 days','booked'), '96' => esc_html__('5 days','booked'), '144' => esc_html__('6 days','booked'), '168' => esc_html__('1 week','booked'), '336' => esc_html__('2 weeks','booked'), '504' => esc_html__('3 weeks','booked'), '672' => esc_html__('4 weeks','booked'), '840' => esc_html__('5 weeks','booked'), '1008' => esc_html__('6 weeks','booked'), '1176' => esc_html__('7 weeks','booked'), '1344' => esc_html__('8 weeks','booked'), ); ?>

..." class="booked_prevent_appointments_before" name="" value="">

..." class="booked_prevent_appointments_after" name="" value="">

esc_html__('No buffer','booked'), '0.25' => esc_html__('15 minutes','booked'), '0.50' => esc_html__('30 minutes','booked'), '0.75' => esc_html__('45 minutes','booked'), '1' => esc_html__('1 hour','booked'), '2' => esc_html__('2 hours','booked'), '3' => esc_html__('3 hours','booked'), '4' => esc_html__('4 hours','booked'), '5' => esc_html__('5 hours','booked'), '6' => esc_html__('6 hours','booked'), '12' => esc_html__('12 hours','booked'), '24' => esc_html__('24 hours','booked'), '48' => esc_html__('2 days','booked'), '72' => esc_html__('3 days','booked'), '96' => esc_html__('5 days','booked'), '144' => esc_html__('6 days','booked'), '168' => esc_html__('1 week','booked'), '336' => esc_html__('2 weeks','booked'), '504' => esc_html__('3 weeks','booked'), '672' => esc_html__('4 weeks','booked'), '840' => esc_html__('5 weeks','booked'), '1008' => esc_html__('6 weeks','booked'), '1176' => esc_html__('7 weeks','booked'), '1344' => esc_html__('8 weeks','booked'), ); ?>

esc_html__('No limit','booked'), '1' => esc_html__('1 appointment','booked'), '2' => esc_html__('2 appointments','booked'), '3' => esc_html__('3 appointments','booked'), '4' => esc_html__('4 appointments','booked'), '5' => esc_html__('5 appointments','booked'), '6' => esc_html__('6 appointments','booked'), '7' => esc_html__('7 appointments','booked'), '8' => esc_html__('8 appointments','booked'), '9' => esc_html__('9 appointments','booked'), '10' => esc_html__('10 appointments','booked'), '15' => esc_html__('15 appointments','booked'), '20' => esc_html__('20 appointments','booked'), '25' => esc_html__('25 appointments','booked'), '50' => esc_html__('50 appointments','booked'), ); ?>

esc_html__('Set as Pending','booked'), 'publish' => esc_html__('Approve Immediately','booked') ); ?>


type="checkbox">

type="checkbox">

type="checkbox">

type="checkbox">

type="checkbox">

type="checkbox">

type="checkbox">

type="checkbox">


type="checkbox">

type="checkbox">

type="checkbox">

'booked_light_color', 'title' => 'Light Color', 'val' => get_option('booked_light_color','#0073AA'), 'default' => '#0073AA' ), array( 'name' => 'booked_dark_color', 'title' => 'Dark Color', 'val' => get_option('booked_dark_color','#015e8c'), 'default' => '#015e8c' ), array( 'name' => 'booked_button_color', 'title' => 'Primary Button Color', 'val' => get_option('booked_button_color','#56C477'), 'default' => '#56C477' ), ); foreach($color_options as $color_option): echo ''; echo ''; endforeach; ?>

esc_html__('Customer Emails','booked'), 'admin-emails' => esc_html__('Admin/Agent Emails','booked'), 'email-settings' => esc_html__('Settings','booked') )); $tab_counter = 0; ?>
    $tab_text ): $tab_counter++; ?> class="active">

class="button" name="booked_email_logo_button_remove" type="button" value="" /> id="booked_email_logo-img">

General > E-mail Address" setting. Also, each custom calendar can have their own user notification setting, this is just the default.','booked'); ?>

ID); if ( in_array( 'administrator', $wp_user->roles ) || in_array( 'booked_booking_agent', $wp_user->roles ) ): array_push($allowed_users, $user); endif; endforeach; $selected_value = get_option($option_name); ?>

WP Mail SMTP', 'Easy WP SMTP' ); ?>

type="checkbox">

>

type="checkbox">

esc_html__('At appointment time','booked'), '5' => esc_html__('5 minutes before','booked'), '10' => esc_html__('10 minutes before','booked'), '15' => esc_html__('15 minutes before','booked'), '30' => esc_html__('30 minutes before','booked'), '45' => esc_html__('45 minutes before','booked'), '60' => esc_html__('1 hour before','booked'), '120' => esc_html__('2 hours before','booked'), '180' => esc_html__('3 hours before','booked'), '240' => esc_html__('4 hours before','booked'), '300' => esc_html__('5 hours before','booked'), '360' => esc_html__('6 hours before','booked'), '720' => esc_html__('12 hours before','booked'), '1440' => esc_html__('24 hours before','booked'), '2880' => esc_html__('2 days before','booked'), '4320' => esc_html__('3 days before','booked'), '5760' => esc_html__('4 days before','booked'), '7200' => esc_html__('5 days before','booked'), '8640' => esc_html__('6 days before','booked'), '10080' => esc_html__('1 week before','booked'), '20160' => esc_html__('2 weeks before','booked'), '30240' => esc_html__('3 weeks before','booked'), '40320' => esc_html__('4 weeks before','booked'), '60480' => esc_html__('6 weeks before','booked'), '80640' => esc_html__('2 months before','booked'), '120960' => esc_html__('3 months before','booked'), ); ?>

*/5 * * * * wget -q -O - /wp-cron.php?doing_wp_cron

Calendar: %calendar% Date: %date% Time: %time% Sincerely, Your friends at '.get_bloginfo('name'); $email_content_admin_reminder = get_option($option_name,$default_content); $section_title = esc_html__('Customer Appointment Reminder Content', 'booked'); ?>

    $desc ): echo '
  • %' . $token . '% — ' . $desc . '
  • '; endforeach; ?>

$option_name,'media_buttons' => false,'editor_height' => 250,'teeny' => true) ); ?>

  • %name%
  • %email%
  • %password%

$option_name,'media_buttons' => false,'editor_height' => 350,'teeny' => true) ); ?>

    $desc ): echo '
  • %' . $token . '% — ' . $desc . '
  • '; endforeach; ?>

$option_name,'media_buttons' => false,'editor_height' => 350,'teeny' => true) ); ?>

    $desc ): echo '
  • %' . $token . '% — ' . $desc . '
  • '; endforeach; ?>

$option_name,'media_buttons' => false,'editor_height' => 350,'teeny' => true) ); ?>

    $desc ): echo '
  • %' . $token . '% — ' . $desc . '
  • '; endforeach; ?>

$option_name,'media_buttons' => false,'editor_height' => 350,'teeny' => true) ); ?>

esc_html__('At appointment time','booked'), '5' => esc_html__('5 minutes before','booked'), '10' => esc_html__('10 minutes before','booked'), '15' => esc_html__('15 minutes before','booked'), '30' => esc_html__('30 minutes before','booked'), '45' => esc_html__('45 minutes before','booked'), '60' => esc_html__('1 hour before','booked'), '120' => esc_html__('2 hours before','booked'), '180' => esc_html__('3 hours before','booked'), '240' => esc_html__('4 hours before','booked'), '300' => esc_html__('5 hours before','booked'), '360' => esc_html__('6 hours before','booked'), '720' => esc_html__('12 hours before','booked'), '1440' => esc_html__('24 hours before','booked'), '2880' => esc_html__('2 days before','booked'), '4320' => esc_html__('3 days before','booked'), '5760' => esc_html__('4 days before','booked'), '7200' => esc_html__('5 days before','booked'), '8640' => esc_html__('6 days before','booked'), '10080' => esc_html__('1 week before','booked'), '20160' => esc_html__('2 weeks before','booked'), '30240' => esc_html__('3 weeks before','booked'), '40320' => esc_html__('4 weeks before','booked'), '60480' => esc_html__('6 weeks before','booked'), '80640' => esc_html__('2 months before','booked'), '120960' => esc_html__('3 months before','booked'), ); ?>

*/5 * * * * wget -q -O - /wp-cron.php?doing_wp_cron

Customer: %name% Date: %date% Time: %time% (Sent via the '.get_bloginfo('name').' website)'; $email_content_admin_reminder = get_option($option_name,$default_content); $section_title = esc_html__('Admin/Agent Appointment Reminder Content', 'booked'); ?>

    $desc ): echo '
  • %' . $token . '% — ' . $desc . '
  • '; endforeach; ?>

$option_name,'media_buttons' => false,'editor_height' => 250,'teeny' => true) ); ?>

    $desc ): echo '
  • %' . $token . '% — ' . $desc . '
  • '; endforeach; ?>

$option_name,'media_buttons' => false,'editor_height' => 350,'teeny' => true) ); ?>

    $desc ): echo '
  • %' . $token . '% — ' . $desc . '
  • '; endforeach; ?>

$option_name,'media_buttons' => false,'editor_height' => 250,'teeny' => true) ); ?>
= 1): ?>

'; if (current_user_can('manage_booked_options')): echo ''; endif; foreach($calendars as $calendar): ?>'; ?>
term_id); endif; ?>
term_id; endforeach; if (!empty($booked_custom_timeslots_decoded)): $custom_timeslots_array = booked_custom_timeslots_reconfigured($booked_custom_timeslots_decoded); foreach($custom_timeslots_array as $key => $timeslot): $date_string = date_i18n('Ymd',strtotime($timeslot['booked_custom_start_date'])); $new_custom_timeslots_array[$date_string.$key] = $timeslot; endforeach; $custom_timeslots_array = $new_custom_timeslots_array; ksort($custom_timeslots_array); $current_timeslot_month_year = false; foreach($custom_timeslots_array as $this_timeslot): $this_timeslot['booked_custom_calendar_id'] = isset($this_timeslot['booked_custom_calendar_id']) ? $this_timeslot['booked_custom_calendar_id'] : false; $this_timeslot_month_year = ( $this_timeslot['booked_custom_start_date'] ? date_i18n('F, Y',strtotime($this_timeslot['booked_custom_start_date'])) : ''.esc_html__('No "Start date" has been set for these:').'' ); if (!$current_timeslot_month_year || $current_timeslot_month_year != $this_timeslot_month_year): $current_timeslot_month_year = $this_timeslot_month_year; echo '

'.$current_timeslot_month_year.'

'; endif; ?>'; ?>
  ...
'; if (current_user_can('manage_booked_options')): echo ''; endif; foreach($calendars as $calendar): ?>'; else: ?> ..." class="booked_custom_start_date" name="booked_custom_start_date" value=""> ..." class="booked_custom_end_date" name="booked_custom_end_date" value="">
'; echo '

        •   ...

           

          name; ?>

          General page.","booked"); ?>