Code Duplication    Length = 11-11 lines in 2 locations

lib/templates/pphotobook/dialog.edit.flow.php 1 location

@@ 4-14 (lines=11) @@
1
<?php
2
$ARCurrent->nolangcheck=true;
3
4
if (($this->CheckLogin("edit") || $this->CheckLogin("add", ARANYTYPE)) && $this->CheckConfig()) {
5
6
	$wgWizFlow[] = array(
7
		"title" => $ARnls["thumbnail"],
8
		"image" => $AR->dir->images."wizard/data.png",
9
		"template" => "dialog.edit.thumb.php",
10
		"nolang"=> true,
11
	);
12
13
	$arResult = $wgWizFlow;
14
}
15
16
?>
17

lib/templates/pscenario/dialog.edit.flow.php 1 location

@@ 4-14 (lines=11) @@
1
<?php
2
3
$ARCurrent->nolangcheck=true;
4
if (($this->CheckLogin("edit") || $this->CheckLogin("add", ARANYTYPE)) && $this->CheckConfig()) {
5
6
	$wgWizFlow[] = array(
7
		"title" => $ARnls["display"],
8
		"image" => $AR->dir->images."wizard/data.png",
9
		"template" => "dialog.edit.displays.php",
10
		"nolang" => true,
11
	);
12
13
	$arResult = $wgWizFlow;
14
}
15
16
?>
17