@@ 70-93 (lines=24) @@ | ||
67 | } |
|
68 | ||
69 | ||
70 | protected function _define_page_props() |
|
71 | { |
|
72 | $this->_admin_page_title = $this->page_label; |
|
73 | $this->_labels = array( |
|
74 | 'buttons' => array( |
|
75 | 'add' => __('Add New Venue', 'event_espresso'), |
|
76 | 'edit' => __('Edit Venue', 'event_espresso'), |
|
77 | 'delete' => __('Delete Venue', 'event_espresso'), |
|
78 | 'add_category' => __('Add New Category', 'event_espresso'), |
|
79 | 'edit_category' => __('Edit Category', 'event_espresso'), |
|
80 | 'delete_category' => __('Delete Category', 'event_espresso'), |
|
81 | ), |
|
82 | 'editor_title' => array( |
|
83 | 'espresso_venues' => __('Enter Venue name here', 'event_espresso'), |
|
84 | ), |
|
85 | 'publishbox' => array( |
|
86 | 'create_new' => __('Save New Venue', 'event_espresso'), |
|
87 | 'edit' => __('Update Venue', 'event_espresso'), |
|
88 | 'add_category' => __('Save New Category', 'event_espresso'), |
|
89 | 'edit_category' => __('Update Category', 'event_espresso'), |
|
90 | 'google_map_settings' => __('Update Settings', 'event_espresso'), |
|
91 | ), |
|
92 | ); |
|
93 | } |
|
94 | ||
95 | ||
96 | protected function _set_page_routes() |
@@ 88-111 (lines=24) @@ | ||
85 | /** |
|
86 | * Sets the page properties for this admin page group. |
|
87 | */ |
|
88 | protected function _define_page_props() |
|
89 | { |
|
90 | $this->_admin_page_title = EVENTS_LABEL; |
|
91 | $this->_labels = array( |
|
92 | 'buttons' => array( |
|
93 | 'add' => esc_html__('Add New Event', 'event_espresso'), |
|
94 | 'edit' => esc_html__('Edit Event', 'event_espresso'), |
|
95 | 'delete' => esc_html__('Delete Event', 'event_espresso'), |
|
96 | 'add_category' => esc_html__('Add New Category', 'event_espresso'), |
|
97 | 'edit_category' => esc_html__('Edit Category', 'event_espresso'), |
|
98 | 'delete_category' => esc_html__('Delete Category', 'event_espresso'), |
|
99 | ), |
|
100 | 'editor_title' => array( |
|
101 | 'espresso_events' => esc_html__('Enter event title here', 'event_espresso'), |
|
102 | ), |
|
103 | 'publishbox' => array( |
|
104 | 'create_new' => esc_html__('Save New Event', 'event_espresso'), |
|
105 | 'edit' => esc_html__('Update Event', 'event_espresso'), |
|
106 | 'add_category' => esc_html__('Save New Category', 'event_espresso'), |
|
107 | 'edit_category' => esc_html__('Update Category', 'event_espresso'), |
|
108 | 'template_settings' => esc_html__('Update Settings', 'event_espresso'), |
|
109 | ), |
|
110 | ); |
|
111 | } |
|
112 | ||
113 | ||
114 | /** |