Code Duplication    Length = 10-10 lines in 3 locations

classes/models/FrmPointers.php 3 locations

@@ 255-264 (lines=10) @@
252
	 *
253
	 * @return array
254
	 */
255
	private function entries_pointer() {
256
		return array(
257
			'content'   => '<h3>' . __( 'Entries', 'formidable' ) . '</h3>'
258
			               . '<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>',
259
			'prev_page' => '',
260
			'next_page' => 'styles',
261
			'selector'  => '.wp-list-table',
262
			'position'  => array( 'edge' => 'bottom', 'align' => 'center' ),
263
		);
264
	}
265
266
	/**
267
	 * Returns the content of the Styles page pointer
@@ 271-280 (lines=10) @@
268
	 *
269
	 * @return array
270
	 */
271
	private function styles_pointer() {
272
		return array(
273
			'content'   => '<h3>' . __( 'Styles', 'formidable' ) . '</h3>'
274
			               . '<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>',
275
			'prev_page' => 'entries',
276
			'next_page' => 'import',
277
			'selector'  => '.general-style',
278
			'position'  => array( 'edge' => 'left', 'align' => 'right' ),
279
		);
280
	}
281
282
	/**
283
	 * Returns the content of the Import/Export page pointer
@@ 287-296 (lines=10) @@
284
	 *
285
	 * @return array
286
	 */
287
	private function import_pointer() {
288
		return array(
289
			'content'   => '<h3>' . __( 'Import/Export', 'formidable' ) . '</h3>'
290
			               . '<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>',
291
			'prev_page' => 'styles',
292
			'next_page' => 'settings',
293
			'selector'  => '.inside.with_frm_style',
294
			'position'  => array( 'edge' => 'bottom', 'align' => 'top' ),
295
		);
296
	}
297
298
	/**
299
	 * Returns the content of the advanced page pointer