Code Duplication    Length = 25-25 lines in 3 locations

lib/templates/pobject/dialog.svn.templates.diff.php 1 location

@@ 3-27 (lines=25) @@
1
<?php
2
	$ARCurrent->nolangcheck=true;
3
	if ($this->CheckLogin("layout") && $this->CheckConfig()) {
4
		include($this->store->get_config("code")."widgets/wizard/code.php");
5
6
		$wgWizFlow = array(
7
			array(
8
				"current" => $this->getdata("wgWizCurrent","none"),
9
				"template" => "dialog.svn.templates.diff.form.php",
10
				"cancel" => "window.close.js",
11
			)
12
		);
13
14
		$wgWizButtons = array(
15
			"cancel" => array(
16
				"value" => $ARnls["ok"]
17
			),
18
		);
19
20
		$wgWizTitle=$ARnls['ariadne:svn:diff'];
21
		$wgWizHeader = $wgWizTitle;
22
		$wgWizHeaderIcon = $AR->dir->images.'icons/large/svndiff.png';
23
24
		$wgWizStyleSheets = array( $AR->dir->styles."svn.css" );
25
26
		include($this->store->get_config("code")."widgets/wizard/yui.wizard.html");
27
	}
28
?>
29

lib/templates/pobject/dialog.svn.tree.diff.php 1 location

@@ 3-27 (lines=25) @@
1
<?php
2
	$ARCurrent->nolangcheck=true;
3
	if ($this->CheckLogin("layout") && $this->CheckConfig()) {
4
		include($this->store->get_config("code")."widgets/wizard/code.php");
5
6
		$wgWizFlow = array(
7
			array(
8
				"current" => $this->getdata("wgWizCurrent","none"),
9
				"template" => "dialog.svn.tree.diff.form.php",
10
				"cancel" => "window.close.js",
11
			)
12
		);
13
14
		$wgWizButtons = array(
15
			"cancel" => array(
16
				"value" => $ARnls["ok"]
17
			)
18
		);
19
20
		$wgWizTitle=$ARnls['ariadne:svn:diff'];
21
		$wgWizHeader = $wgWizTitle;
22
		$wgWizHeaderIcon = $AR->dir->images.'icons/large/svndiff.png';
23
24
		$wgWizStyleSheets = array( $AR->dir->styles."svn.css" );
25
26
		include($this->store->get_config("code")."widgets/wizard/yui.wizard.html");
27
	}
28
?>
29

lib/templates/pobject/dialog.svn.tree.info.php 1 location

@@ 3-27 (lines=25) @@
1
<?php
2
	$ARCurrent->nolangcheck=true;
3
	if ($this->CheckLogin("layout") && $this->CheckConfig()) {
4
		include($this->store->get_config("code")."widgets/wizard/code.php");
5
6
		$wgWizFlow = array(
7
			array(
8
				"current" => $this->getdata("wgWizCurrent","none"),
9
				"template" => "dialog.svn.tree.info.form.php",
10
				"cancel" => "window.close.js",
11
			)
12
		);
13
14
		$wgWizButtons = array(
15
			"cancel" => array(
16
				"value" => $ARnls["ok"]
17
			)
18
		);
19
20
		$wgWizTitle=$ARnls['ariadne:svn:info'];
21
		$wgWizHeader = $wgWizTitle;
22
		$wgWizHeaderIcon = $AR->dir->images.'icons/large/svninfo.png';
23
24
		$wgWizStyleSheets = array( $AR->dir->styles."svn.css" );
25
26
		include($this->store->get_config("code")."widgets/wizard/yui.wizard.html");
27
	}
28
?>
29