Code Duplication    Length = 9-9 lines in 2 locations

admin/code/LeftAndMain.php 2 locations

@@ 1716-1724 (lines=9) @@
1713
	 *
1714
	 * @return String HTML
1715
	 */
1716
	public function Tools() {
1717
		$templates = $this->getTemplatesWithSuffix('_Tools');
1718
		if($templates) {
1719
			$viewer = new SSViewer($templates);
1720
			return $viewer->process($this);
1721
		} else {
1722
			return false;
1723
		}
1724
	}
1725
1726
	/**
1727
	 * Renders a panel containing tools which apply to the currently displayed edit form.
@@ 1737-1745 (lines=9) @@
1734
	 *
1735
	 * @return String HTML
1736
	 */
1737
	public function EditFormTools() {
1738
		$templates = $this->getTemplatesWithSuffix('_EditFormTools');
1739
		if($templates) {
1740
			$viewer = new SSViewer($templates);
1741
			return $viewer->process($this);
1742
		} else {
1743
			return false;
1744
		}
1745
	}
1746
1747
	/**
1748
	 * Batch Actions Handler