Code Duplication    Length = 9-9 lines in 2 locations

admin/code/LeftAndMain.php 2 locations

@@ 1667-1675 (lines=9) @@
1664
	 *
1665
	 * @return String HTML
1666
	 */
1667
	public function Tools() {
1668
		$templates = $this->getTemplatesWithSuffix('_Tools');
1669
		if($templates) {
1670
			$viewer = new SSViewer($templates);
1671
			return $viewer->process($this);
1672
		} else {
1673
			return false;
1674
		}
1675
	}
1676
1677
	/**
1678
	 * Renders a panel containing tools which apply to the currently displayed edit form.
@@ 1688-1696 (lines=9) @@
1685
	 *
1686
	 * @return String HTML
1687
	 */
1688
	public function EditFormTools() {
1689
		$templates = $this->getTemplatesWithSuffix('_EditFormTools');
1690
		if($templates) {
1691
			$viewer = new SSViewer($templates);
1692
			return $viewer->process($this);
1693
		} else {
1694
			return false;
1695
		}
1696
	}
1697
1698
	/**
1699
	 * Batch Actions Handler