Code Duplication    Length = 10-10 lines in 3 locations

classes/models/FrmPointers.php 3 locations

@@ 265-274 (lines=10) @@
262
	 *
263
	 * @return array
264
	 */
265
	private function entries_pointer() {
266
		return array(
267
			'content'   => '<h3>' . __( 'Entries', 'formidable' ) . '</h3>'
268
			               . '<p>' . __( 'Each time one of your forms is submitted, an entry is created. You will find every form submission listed here so you will always have a backup if an email fails.', 'formidable' ) . '</p>',
269
			'prev_page' => '',
270
			'next_page' => 'styles',
271
			'selector'  => '.wp-list-table',
272
			'position'  => array( 'edge' => 'bottom', 'align' => 'center' ),
273
		);
274
	}
275
276
	/**
277
	 * Returns the content of the Styles page pointer
@@ 281-290 (lines=10) @@
278
	 *
279
	 * @return array
280
	 */
281
	private function styles_pointer() {
282
		return array(
283
			'content'   => '<h3>' . __( 'Styles', 'formidable' ) . '</h3>'
284
			               . '<p>' . __( 'Want to make changes to the way your forms look? Make all the changes you would like right here, and watch the sample form change before your eyes.', 'formidable' ) . '</p>',
285
			'prev_page' => 'entries',
286
			'next_page' => 'import',
287
			'selector'  => '.general-style',
288
			'position'  => array( 'edge' => 'left', 'align' => 'right' ),
289
		);
290
	}
291
292
	/**
293
	 * Returns the content of the Import/Export page pointer
@@ 297-306 (lines=10) @@
294
	 *
295
	 * @return array
296
	 */
297
	private function import_pointer() {
298
		return array(
299
			'content'   => '<h3>' . __( 'Import/Export', 'formidable' ) . '</h3>'
300
			               . '<p>' . __( 'Import and export forms and styles when copying from one site to another or sharing with someone else. Your entries can be exported to a CSV as well. The Premium version also includes the option to import entries to your site from a CSV.', 'formidable' ) . '</p>',
301
			'prev_page' => 'styles',
302
			'next_page' => 'settings',
303
			'selector'  => '.inside.with_frm_style',
304
			'position'  => array( 'edge' => 'bottom', 'align' => 'top' ),
305
		);
306
	}
307
308
	/**
309
	 * Returns the content of the advanced page pointer