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.1.1 6.5.1.4 4.6.10 6.5.1.5 4.6.10.2 6.5.1.6 4.6.11 6.5.2 4.6.11.2 6.6.0 4.6.12.1 6.6.0.1 4.6.13.1 6.6.0.2 4.6.14 6.6.1 4.6.14.2 6.6.2 4.6.15.1 6.6.3 4.6.16.1 6.6.4 4.6.17.1 6.6.4.1 4.6.18.1 6.6.4.2 4.6.19.1 6.7.0 4.6.2.1 6.7.1 4.6.20 6.8.0 4.6.20.2 6.8.1 4.6.21.1 6.8.2 4.6.22 6.8.2.1 4.6.22.2 6.8.3 4.6.23.1 6.9.0 4.6.24 6.9.1 4.6.24.2 4.6.25.1 4.6.26 4.6.26.2 4.6.3.1 4.6.4.1 4.6.5.1 4.6.6.1 4.6.7.1 4.6.8.1 4.6.9.1 4.7 4.7.0.2 4.7.1.1 4.7.2.1 4.7.3.1 4.7.4.1 4.8 4.8.0.2 4.8.1.1 4.8.2.1 4.9.0.1 4.9.0.2 4.9.0.4 4.9.1 4.9.1.2 4.9.10.1 4.9.11.1 4.9.12.1 4.9.13.1 4.9.14.1 4.9.2.1 4.9.3 4.9.3.1 4.9.3.3 4.9.4.1 4.9.5.1 4.9.6.1 4.9.7.1 4.9.8.1 4.9.9.1 5.0.0 5.0.0.1 5.0.0.3 5.0.1.1 5.0.1.2 5.0.2 5.0.2.2 5.0.2.3 5.0.3 5.0.3.2 5.0.3.3 5.1.0.1 5.1.0.2
the-events-calendar / admin-views / tribe-options-display.php
the-events-calendar / admin-views Last commit date
tickets 12 years ago app-shop.php 12 years ago datepicker.php 12 years ago event-map.php 12 years ago event-sidebar-options.php 12 years ago events-audit-trail.php 12 years ago events-meta-box.php 12 years ago no-comments.php 12 years ago organizer-meta-box.php 12 years ago recurrence-dialog.php 12 years ago tribe-options-display.php 12 years ago tribe-options-general.php 12 years ago tribe-options-help.php 12 years ago tribe-options-network.php 12 years ago venue-meta-box.php 12 years ago widget-admin-list.php 12 years ago
tribe-options-display.php
134 lines
1 <?php
2
3 $template_options = array(
4 '' => __( 'Default Events Template', 'tribe-events-calendar' ),
5 'default' => __( 'Default Page Template', 'tribe-events-calendar' ),
6 );
7 $templates = get_page_templates();
8 ksort( $templates );
9 foreach ( array_keys( $templates ) as $template ) {
10 $template_options[$templates[$template]] = $template;
11 }
12
13 $views = apply_filters( 'tribe-events-bar-views', array(), FALSE );
14
15 $views_options = array();
16 foreach( $views as $view ) {
17 $views_options[$view['displaying']] = $view['anchor'];
18 }
19
20 $displayTab = array(
21 'priority' => 20,
22 'fields' => apply_filters( 'tribe_display_settings_tab_fields', array(
23 'info-start' => array(
24 'type' => 'html',
25 'html' => '<div id="modern-tribe-info">'
26 ),
27 'info-box-title' => array(
28 'type' => 'html',
29 'html' => '<h2>' . __('Display Settings', 'tribe-events-calendar') . '</h2>',
30 ),
31 'info-box-description' => array(
32 'type' => 'html',
33 'html' => sprintf(
34 __('<p>The settings below control the display of your calendar. If things don\'t look right, try switching between the three style sheet options or pick a page template from your theme.</p><p>There are going to be situations where no out-of-the-box template is 100&#37; perfect. Check out our <a href="%s">our themer\'s guide</a> for instructions on custom modifications. Want to create a new view? Grab a copy of the <a href="%s">Sample Agenda View plugin from Github</a></p>', 'tribe-events-calendar' ),
35 TribeEvents::$tribeUrl . 'support/documentation/events-calendar-themers-guide/?utm_medium=plugin-tec&utm_source=generaltab&utm_campaign=in-app',
36 'https://github.com/moderntribe/tribe-events-agenda-view'
37 ),
38 ),
39 'info-end' => array(
40 'type' => 'html',
41 'html' => '</div>',
42 ),
43 'tribe-form-content-start' => array(
44 'type' => 'html',
45 'html' => '<div class="tribe-settings-form-wrap">',
46 ),
47 'tribeEventsBasicSettingsTitle' => array(
48 'type' => 'html',
49 'html' => '<h3>' . __( 'Basic Template Settings', 'tribe-events-calendar' ) . '</h3>',
50 ),
51 'stylesheetOption' => array(
52 'type' => 'radio',
53 'label' => __( 'Default stylesheet used for events templates', 'tribe-events-calendar' ),
54 'default' => 'tribe',
55 'options' => array(
56 'skeleton' => __( 'Skeleton Styles', 'tribe-events-calendar' ) .
57 '<p class=\'description tribe-style-selection\'>' .
58 __('Only includes enough css to achieve complex layouts like calendar and week view.', 'tribe-events-calendar' ) .
59 '</p>',
60 'full' => __( 'Full Styles', 'tribe-events-calendar' ) .
61 '<p class=\'description tribe-style-selection\'>' .
62 __( 'More detailed styling, tries to grab styles from your theme.', 'tribe-events-calendar' ) .
63 '</p>',
64 'tribe' => __( 'Tribe Events Styles', 'tribe-events-calendar' ) .
65 '<p class=\'description tribe-style-selection\'>' .
66 __( 'A fully designed and styled theme for your events pages.', 'tribe-events-calendar' ) .
67 '</p>',
68 ),
69 'validation_type' => 'options',
70 ),
71 'tribeEventsTemplate' => array(
72 'type' => 'dropdown_select2',
73 'label' => __( 'Events template', 'tribe-events-calendar' ),
74 'tooltip' => __( 'Choose a page template to control the appearance of your calendar and event content.', 'tribe-events-calendar' ),
75 'validation_type' => 'options',
76 'size' => 'large',
77 'default' => 'default',
78 'options' => $template_options
79 ),
80 'tribeEnableViews' => array(
81 'type' => 'checkbox_list',
82 'label' => __( 'Enable event views', 'tribe-events-calendar' ),
83 'tooltip' => __( 'You must select at least one view.', 'tribe-events-calendar' ),
84 'default' => array_keys($views_options),
85 'options' => $views_options,
86 'validation_type' => 'options_multi'
87 ),
88 'viewOption' => array(
89 'type' => 'dropdown_select2',
90 'label' => __( 'Default view', 'tribe-events-calendar' ),
91 'validation_type' => 'options',
92 'size' => 'large',
93 'default' => 'month',
94 'options' => $views_options
95 ),
96 'tribeDisableTribeBar' => array(
97 'type' => 'checkbox_bool',
98 'label' => __( 'Disable the Event Search Bar', 'tribe-events-calendar' ),
99 'tooltip' => __( 'Check this to use the classic header.', 'tribe-events-calendar' ),
100 'default' => false,
101 'validation_type' => 'boolean',
102 ),
103 'monthEventAmount' => array(
104 'type' => 'text',
105 'label' => __( 'Month view events per day', 'tribe-events-calendar' ),
106 'tooltip' => __( 'Allow more than the default 3 events per day in month view.', 'tribe-events-calendar' ),
107 'validation_type' => 'positive_int',
108 'size' => 'small',
109 'default' => '3'
110 ),
111 'tribeEventsAdvancedSettingsTitle' => array(
112 'type' => 'html',
113 'html' => '<h3>' . __( 'Advanced Template Settings', 'tribe-events-calendar' ) . '</h3>',
114 ),
115 'tribeEventsBeforeHTML' => array(
116 'type' => 'wysiwyg',
117 'label' => __( 'Add HTML before event content', 'tribe-events-calendar' ),
118 'tooltip' => __( 'If you are familiar with HTML, you can add additional code before the event template. Some themes may require this to help with styling or layout.', 'tribe-events-calendar' ),
119 'validation_type' => 'html'
120 ),
121 'tribeEventsAfterHTML' => array(
122 'type' => 'wysiwyg',
123 'label' => __( 'Add HTML after event content', 'tribe-events-calendar' ),
124 'tooltip' => __( 'If you are familiar with HTML, you can add additional code after the event template. Some themes may require this to help with styling or layout.', 'tribe-events-calendar' ),
125 'validation_type' => 'html',
126 ),
127 'tribe-form-content-end' => array(
128 'type' => 'html',
129 'html' => '</div>',
130 ),
131 )
132 )
133 );
134