Code Duplication    Length = 9-9 lines in 2 locations

admin/code/LeftAndMain.php 2 locations

@@ 1502-1510 (lines=9) @@
1499
	 *
1500
	 * @return String HTML
1501
	 */
1502
	public function Tools() {
1503
		$templates = $this->getTemplatesWithSuffix('_Tools');
1504
		if($templates) {
1505
			$viewer = new SSViewer($templates);
1506
			return $viewer->process($this);
1507
		} else {
1508
			return false;
1509
		}
1510
	}
1511
1512
	/**
1513
	 * Renders a panel containing tools which apply to the currently displayed edit form.
@@ 1523-1531 (lines=9) @@
1520
	 *
1521
	 * @return String HTML
1522
	 */
1523
	public function EditFormTools() {
1524
		$templates = $this->getTemplatesWithSuffix('_EditFormTools');
1525
		if($templates) {
1526
			$viewer = new SSViewer($templates);
1527
			return $viewer->process($this);
1528
		} else {
1529
			return false;
1530
		}
1531
	}
1532
1533
	/**
1534
	 * Batch Actions Handler