Code Duplication    Length = 9-20 lines in 3 locations

includes/admin/class-sensei-learner-management.php 1 location

@@ 192-201 (lines=10) @@
189
     * @param array $args
190
	 * @return void
191
	 */
192
	public function learners_headers( $args = array( 'nav' => 'default' ) ) {
193
194
		$function = 'learners_' . $args['nav'] . '_nav';
195
		$this->$function();
196
		?>
197
			<p class="powered-by-woo"><?php _e( 'Powered by', 'woothemes-sensei' ); ?><a href="http://www.woothemes.com/" title="WooThemes"><img src="<?php echo Sensei()->plugin_url; ?>assets/images/woothemes.png" alt="WooThemes" /></a></p>
198
		<?php
199
		do_action( 'sensei_learners_after_headers' );
200
201
	} // End learners_headers()
202
203
	/**
204
	 * wrapper_container wrapper for Learners area

includes/class-sensei-analysis.php 1 location

@@ 361-380 (lines=20) @@
358
	 * @since  1.2.0
359
	 * @return void
360
	 */
361
	public function analysis_headers( $args = array( 'nav' => 'default' ) ) {
362
363
		$function = 'analysis_' . $args['nav'] . '_nav';
364
		$this->$function();
365
		?>
366
			<p class="powered-by-woo">
367
368
                <?php _e( 'Powered by', 'woothemes-sensei' ); ?>
369
370
                <a href="http://www.woothemes.com/" title="WooThemes">
371
372
                    <img src="<?php echo Sensei()->plugin_url; ?>assets/images/woothemes.png" alt="WooThemes" />
373
374
                </a>
375
376
            </p>
377
378
		<?php
379
		do_action( 'sensei_analysis_after_headers' );
380
	} // End analysis_headers()
381
382
	/**
383
	 * wrapper_container wrapper for analysis area

includes/class-sensei-grading.php 1 location

@@ 236-244 (lines=9) @@
233
     * @param array $args
234
	 * @return void
235
	 */
236
	public function grading_headers( $args = array( 'nav' => 'default' ) ) {
237
238
		$function = 'grading_' . $args['nav'] . '_nav';
239
		$this->$function();
240
		?>
241
			<p class="powered-by-woo"><?php _e( 'Powered by', 'woothemes-sensei' ); ?><a href="http://www.woothemes.com/" title="WooThemes"><img src="<?php echo Sensei()->plugin_url; ?>assets/images/woothemes.png" alt="WooThemes" /></a></p>
242
		<?php
243
		do_action( 'sensei_grading_after_headers' );
244
	} // End grading_headers()
245
246
	/**
247
	 * wrapper_container wrapper for Grading area