Code Duplication    Length = 6-6 lines in 9 locations

admin_pages/events/Events_Admin_Page.core.php 1 location

@@ 495-500 (lines=6) @@
492
		$this->_per_page_screen_option();
493
	}
494
495
	protected function _add_screen_options_category_list() {
496
		$page_title = $this->_admin_page_title;
497
		$this->_admin_page_title = __('Categories', 'event_espresso');
498
		$this->_per_page_screen_option();
499
		$this->_admin_page_title = $page_title;
500
	}
501
502
	protected function _add_feature_pointers() {
503
		//todo

admin_pages/messages/Messages_Admin_Page.core.php 1 location

@@ 457-462 (lines=6) @@
454
455
456
457
	protected function _add_screen_options_default() {
458
		$page_title = $this->_admin_page_title;
459
		$this->_admin_page_title = __('Global Message Templates', 'event_espresso');
460
		$this->_per_page_screen_option();
461
		$this->_admin_page_title = $page_title;
462
	}
463
464
465

admin_pages/registration_form/Registration_Form_Admin_Page.core.php 2 locations

@@ 204-209 (lines=6) @@
201
		//todo
202
	}
203
204
	protected function _add_screen_options_default() {
205
		$page_title = $this->_admin_page_title;
206
		$this->_admin_page_title = __('Questions', 'event_espresso');
207
		$this->_per_page_screen_option();
208
		$this->_admin_page_title = $page_title;
209
	}
210
211
	protected function _add_screen_options_question_groups() {
212
		$page_title = $this->_admin_page_title;
@@ 211-216 (lines=6) @@
208
		$this->_admin_page_title = $page_title;
209
	}
210
211
	protected function _add_screen_options_question_groups() {
212
		$page_title = $this->_admin_page_title;
213
		$this->_admin_page_title = __('Question Groups', 'event_espresso');
214
		$this->_per_page_screen_option();
215
		$this->_admin_page_title = $page_title;
216
	}
217
218
	//none of the below group are currently used for Event Categories
219
	protected function _add_feature_pointers() {}

admin_pages/registrations/Registrations_Admin_Page.core.php 1 location

@@ 549-554 (lines=6) @@
546
		$this->_per_page_screen_option();
547
	}
548
549
	protected function _add_screen_options_contact_list() {
550
		$page_title = $this->_admin_page_title;
551
		$this->_admin_page_title = __("Contacts", 'event_espresso');
552
		$this->_per_page_screen_option();
553
		$this->_admin_page_title = $page_title;
554
	}
555
556
557

admin_pages/venues/Venues_Admin_Page.core.php 1 location

@@ 443-448 (lines=6) @@
440
441
442
443
	protected function _add_screen_options_category_list() {
444
		$page_title = $this->_admin_page_title;
445
		$this->_admin_page_title = __('Venue Categories', 'event_espresso');
446
		$this->_per_page_screen_option();
447
		$this->_admin_page_title = $page_title;
448
	}
449
450
451

caffeinated/admin/extend/messages/Extend_Messages_Admin_Page.core.php 1 location

@@ 155-160 (lines=6) @@
152
153
154
155
	protected function _add_screen_options_custom_mtps() {
156
		$page_title = $this->_admin_page_title;
157
		$this->_admin_page_title = __('Custom Message Templates', 'event_espresso');
158
		$this->_per_page_screen_option();
159
		$this->_admin_page_title = $page_title;
160
	}
161
162
163

caffeinated/admin/new/pricing/Pricing_Admin_Page.core.php 1 location

@@ 324-329 (lines=6) @@
321
	}
322
323
324
	protected function _add_screen_options_price_types() {
325
		$page_title = $this->_admin_page_title;
326
		$this->_admin_page_title = __('Price Types', 'event_espresso');
327
		$this->_per_page_screen_option();
328
		$this->_admin_page_title = $page_title;
329
	}
330
331
332

caffeinated/admin/extend/registrations/Extend_Registrations_Admin_Page.core.php 1 location

@@ 206-211 (lines=6) @@
203
204
205
206
	protected function _add_screen_options_registration_checkins() {
207
		$page_title = $this->_admin_page_title;
208
		$this->_admin_page_title = __('Check-In Records', 'event_espresso');
209
		$this->_per_page_screen_option();
210
		$this->_admin_page_title = $page_title;
211
	}
212
213
214