Code Duplication    Length = 9-10 lines in 2 locations

lib/modules/mod_yui.php 2 locations

@@ 469-478 (lines=10) @@
466
			echo $result."\n";
467
		}
468
469
		private function getPagingPrev($current_page) {
470
			global $AR;
471
			return array(
472
				"class" => "prev",
473
				"image" => $AR->dir->www . "images/icons/small/prev.png",
474
				"label" => $ARnls['ariadne:prev'],
475
				"onclick" => "muze.ariadne.explore.viewpane.view(muze.ariadne.explore.viewpane.path, " . ($current_page - 1) .  "); return false; "
476
			);
477
478
		}
479
480
		private function getPagingNext($current_page) {
481
			global $AR;
@@ 480-488 (lines=9) @@
477
478
		}
479
480
		private function getPagingNext($current_page) {
481
			global $AR;
482
			return array(
483
				"class" => "next",
484
				"image" => $AR->dir->www . "images/icons/small/next.png",
485
				"label" => $ARnls['ariadne:next'],
486
				"onclick" => "muze.ariadne.explore.viewpane.view(muze.ariadne.explore.viewpane.path, " . ($current_page + 1) .  "); return false;"
487
			);
488
		}
489
490
		private static function getPagingEntry($number, $current_page, $class = false) {
491
			$entry = array(