Code Duplication    Length = 9-9 lines in 2 locations

admin/code/LeftAndMain.php 2 locations

@@ 1377-1385 (lines=9) @@
1374
	 *
1375
	 * @return String HTML
1376
	 */
1377
	public function Tools() {
1378
		$templates = $this->getTemplatesWithSuffix('_Tools');
1379
		if($templates) {
1380
			$viewer = new SSViewer($templates);
1381
			return $viewer->process($this);
1382
		} else {
1383
			return false;
1384
		}
1385
	}
1386
1387
	/**
1388
	 * Renders a panel containing tools which apply to the currently displayed edit form.
@@ 1398-1406 (lines=9) @@
1395
	 *
1396
	 * @return String HTML
1397
	 */
1398
	public function EditFormTools() {
1399
		$templates = $this->getTemplatesWithSuffix('_EditFormTools');
1400
		if($templates) {
1401
			$viewer = new SSViewer($templates);
1402
			return $viewer->process($this);
1403
		} else {
1404
			return false;
1405
		}
1406
	}
1407
1408
	/**
1409
	 * Batch Actions Handler