Code Duplication    Length = 7-7 lines in 2 locations

admin_pages/about/About_Admin_Page.core.php 1 location

@@ 199-205 (lines=7) @@
196
	}
197
198
	
199
	protected function _decafvpro() {
200
		$this->_template_args['admin_page_title'] = sprintf( __('Welcome to Event Espresso %s', 'event_espresso'), EVENT_ESPRESSO_VERSION );
201
		$this->_template_args['admin_page_subtitle'] = sprintf(__('Event Espresso lets you focus on doing %swhat you love%s — %sorganizing your events%s', 'event_espresso'), '<em>', '</em>', '<strong>', '</strong>');
202
		$template = EE_ABOUT_TEMPLATE_PATH . 'decafvpro.template.php';
203
		$this->_template_args['about_admin_page_content'] = EEH_Template::display_template( $template, $this->_template_args, TRUE );
204
		$this->display_about_admin_page();
205
	}
206
207
	protected function _reviews() {
208
		$this->_template_args['admin_page_title'] = __('Rave Reviews About Event Espresso 4', 'event_espresso');

caffeinated/admin/extend/about/Extend_About_Admin_Page.core.php 1 location

@@ 140-146 (lines=7) @@
137
		$this->display_about_admin_page();
138
	}
139
140
	protected function _decafvpro() {
141
		$this->_template_args['admin_page_title'] = sprintf( __('Welcome to Event Espresso %s', 'event_espresso'), EVENT_ESPRESSO_VERSION );
142
		$this->_template_args['admin_page_subtitle'] = sprintf(__('Event Espresso lets you focus on doing %swhat you love%s — %sorganizing your events%s', 'event_espresso'), '<em>', '</em>', '<strong>', '</strong>');
143
		$template = EE_ABOUT_TEMPLATE_PATH . 'decafvpro.template.php';
144
		$this->_template_args['about_admin_page_content'] = EEH_Template::display_template( $template, $this->_template_args, TRUE );
145
		$this->display_about_admin_page();
146
	}
147
148
	protected function _reviews() {
149
		$this->_template_args['admin_page_title'] = __('Rave Reviews About Event Espresso 4', 'event_espresso');