Code Duplication    Length = 3-3 lines in 5 locations

lib/templates/pobject/dialog.copy.save.php 1 location

@@ 83-85 (lines=3) @@
80
				}
81
82
				$current_object_path = $this->path;
83
				if (strlen($current_object_path) > 25) {
84
					$current_object_path = substr($this->path, 0, 12) . "..." . substr($this->path, strlen($this->path) - 12, strlen($this->path));
85
				}
86
		?>
87
		<div id="copy"><?php echo $ARnls["copying"] . " " . $current_object_path; ?></div>
88
		<div id="progressbar">

lib/templates/pobject/dialog.delete.save.php 1 location

@@ 65-67 (lines=3) @@
62
63
		$current_object_path = "/" . $current_object_path;
64
65
		if (strlen($current_object_path) > 25) {
66
			$current_object_path = substr($this->path, 0, 7) . "..." . substr($this->path, strlen($this->path) - 17, strlen($this->path));
67
		}
68
?>
69
<div id="deleting"><?php echo $ARnls["deleting"] . " " . $current_object_path; ?></div>
70
<div id="progressbar">

lib/templates/pobject/dialog.owner.save.php 1 location

@@ 50-52 (lines=3) @@
47
			}
48
49
			$current_object_path = $this->path;
50
			if (strlen($current_object_path) > 25) {
51
				$current_object_path = substr($this->path, 0, 12) . "..." . substr($this->path, strlen($this->path) - 12, strlen($this->path));
52
			}
53
	?>
54
	<div id="set_owner"><?php echo $ARnls["change_owner"] . " " . $current_object_path; ?></div>
55
	<div id="progressbar">

lib/templates/pobject/dialog.rewrite.save.php 1 location

@@ 50-52 (lines=3) @@
47
			}
48
49
			$current_object_path = $this->path;
50
			if (strlen($current_object_path) > 25) {
51
				$current_object_path = substr($this->path, 0, 12) . "..." . substr($this->path, strlen($this->path) - 12, strlen($this->path));
52
			}
53
			?>
54
			<div id="rewrite"><?php echo $ARnls["ariadne:rewriting"] . " " . $current_object_path; ?></div>
55
			<div id="progressbar">

lib/templates/psearch/dialog.delete.save.php 1 location

@@ 35-37 (lines=3) @@
32
		}
33
34
		$current_object_path = $this->path;
35
		if (strlen($current_object_path) > 25) {
36
			$current_object_path = substr($this->path, 0, 12) . "..." . substr($this->path, strlen($this->path) - 12, strlen($this->path));
37
		}
38
?>
39
<div id="deleting"><?php echo $ARnls["deleting"] . " " . $current_object_path; ?></div>
40
<div id="progressbar">