Code Duplication    Length = 6-6 lines in 6 locations

lib/templates/pobject/dialog.svn.templates.checkout.save.php 1 location

@@ 8-13 (lines=6) @@
5
		error($ARnls['ariadne:err:invalidsession']);
6
		exit;
7
	}
8
	if ($this->CheckLogin("layout") && $this->CheckConfig()) {
9
		echo "<pre class='svnresult'>\n";
10
		$this->call("system.svn.checkout.php", $arCallArgs);
11
		echo "</pre>\n";
12
		$this->call("window.opener.objectadded.js");
13
	}
14
?>
15

lib/templates/pobject/dialog.svn.templates.import.save.php 1 location

@@ 8-13 (lines=6) @@
5
		error($ARnls['ariadne:err:invalidsession']);
6
		exit;
7
	}
8
	if ($this->CheckLogin("layout") && $this->CheckConfig()) {
9
		echo "<pre class='svnresult'>\n";
10
		$this->call("system.svn.import.php", $arCallArgs);
11
		echo "</pre>\n";
12
		$this->call("window.opener.objectadded.js");
13
	}
14
?>
15

lib/templates/pobject/dialog.svn.templates.update.save.php 1 location

@@ 8-13 (lines=6) @@
5
		error($ARnls['ariadne:err:invalidsession']);
6
		exit;
7
	}
8
	if ($this->CheckLogin("layout") && $this->CheckConfig()) {
9
		echo "<pre class='svnresult'>\n";
10
		$this->call("system.svn.update.php", $arCallArgs);
11
		echo "</pre>\n";
12
		$this->call("window.opener.objectadded.js");
13
	}
14
?>
15

lib/templates/pobject/dialog.svn.tree.checkout.save.php 1 location

@@ 8-13 (lines=6) @@
5
		error($ARnls['ariadne:err:invalidsession']);
6
		exit;
7
	}
8
	if ($this->CheckLogin("layout") && $this->CheckConfig()) {
9
		echo "<pre class='svnresult'>\n";
10
		$this->call("system.svn.checkout.recursive.php", $arCallArgs);
11
		echo "</pre>\n";
12
		$this->call("window.opener.objectadded.js");
13
	}
14
?>
15

lib/templates/pobject/dialog.svn.tree.import.save.php 1 location

@@ 8-13 (lines=6) @@
5
	}
6
	ldDisablePostProcessing();
7
	$ARCurrent->nolangcheck=true;
8
	if ($this->CheckLogin("layout") && $this->CheckConfig()) {
9
		echo "<pre class='svnresult'>\n";
10
		$this->call("system.svn.import.recursive.php", $arCallArgs);
11
		echo "</pre>\n";
12
		$this->call("window.opener.objectadded.js");
13
	}
14
?>
15

lib/templates/pobject/dialog.svn.tree.update.save.php 1 location

@@ 8-13 (lines=6) @@
5
		error($ARnls['ariadne:err:invalidsession']);
6
		exit;
7
	}
8
	if ($this->CheckLogin("layout") && $this->CheckConfig()) {
9
		echo "<pre class='svnresult'>\n";
10
		$this->call("system.svn.update.recursive.php", $arCallArgs);
11
		echo "</pre>\n";
12
		$this->call("window.opener.objectadded.js");
13
	}
14
?>
15