@@ 92-114 (lines=23) @@ | ||
89 | ||
90 | ||
91 | ||
92 | protected function _define_page_props() { |
|
93 | $this->_admin_page_title = $this->page_label; |
|
94 | $this->_labels = array( |
|
95 | 'buttons' => array( |
|
96 | 'add' => __('Add New Venue', 'event_espresso'), |
|
97 | 'edit' => __('Edit Venue', 'event_espresso'), |
|
98 | 'delete' => __('Delete Venue', 'event_espresso'), |
|
99 | 'add_category' => __('Add New Category', 'event_espresso'), |
|
100 | 'edit_category' => __('Edit Category', 'event_espresso'), |
|
101 | 'delete_category' => __('Delete Category', 'event_espresso') |
|
102 | ), |
|
103 | 'editor_title' => array( |
|
104 | 'espresso_venues' => __('Enter Venue name here') |
|
105 | ), |
|
106 | 'publishbox' => array( |
|
107 | 'create_new' => __('Save New Venue', 'event_espresso'), |
|
108 | 'edit' => __('Update Venue', 'event_espresso'), |
|
109 | 'add_category' => __('Save New Category', 'event_espresso'), |
|
110 | 'edit_category' => __('Update Category', 'event_espresso'), |
|
111 | 'google_map_settings' => __( 'Update Settings', 'event_espresso' ) |
|
112 | ) |
|
113 | ); |
|
114 | } |
|
115 | ||
116 | ||
117 |
@@ 76-98 (lines=23) @@ | ||
73 | //todo: all hooks for events ajax goes in here. |
|
74 | } |
|
75 | ||
76 | protected function _define_page_props() { |
|
77 | $this->_admin_page_title = EVENTS_LABEL; |
|
78 | $this->_labels = array( |
|
79 | 'buttons' => array( |
|
80 | 'add' => __('Add New Event', 'event_espresso'), |
|
81 | 'edit' => __('Edit Event', 'event_espresso'), |
|
82 | 'delete' => __('Delete Event', 'event_espresso'), |
|
83 | 'add_category' => __('Add New Category', 'event_espresso'), |
|
84 | 'edit_category' => __('Edit Category', 'event_espresso'), |
|
85 | 'delete_category' => __('Delete Category', 'event_espresso') |
|
86 | ), |
|
87 | 'editor_title' => array( |
|
88 | 'espresso_events' => __('Enter event title here', 'event_espresso') |
|
89 | ), |
|
90 | 'publishbox' => array( |
|
91 | 'create_new' => __('Save New Event', 'event_espresso'), |
|
92 | 'edit' => __('Update Event', 'event_espresso'), |
|
93 | 'add_category' => __('Save New Category', 'event_espresso'), |
|
94 | 'edit_category' => __('Update Category', 'event_espresso'), |
|
95 | 'template_settings' => __( 'Update Settings', 'event_espresso' ) |
|
96 | ) |
|
97 | ); |
|
98 | } |
|
99 | ||
100 | protected function _set_page_routes() { |
|
101 | //load formatter helper |