Code Duplication    Length = 10-10 lines in 4 locations

Ajax/semantic/widgets/business/user/FormLogin.php 2 locations

@@ 30-39 (lines=10) @@
27
				[0,2,4,5,6]);
28
	}
29
30
	public static function smallInline($identifier,$modelInstance=null){
31
		$result=new FormLogin($identifier,$modelInstance,
32
				["login","password","submit"],
33
				["input0"=>[["rules"=>"empty"]],"input1"=>[["inputType"=>"password","rules"=>"empty"]],"submit"=>["green basic"]],
34
				["login","password","submit"],
35
				["","","Connection"],
36
				[2]);
37
			$result->addDividerBefore(0, "Connection");
38
		return $result;
39
	}
40
41
	public static function small($identifier,$modelInstance=null){
42
		$result=new FormLogin($identifier,$modelInstance,
@@ 41-50 (lines=10) @@
38
		return $result;
39
	}
40
41
	public static function small($identifier,$modelInstance=null){
42
		$result=new FormLogin($identifier,$modelInstance,
43
				["login","password","submit"],
44
				["input0"=>[["rules"=>"empty"]],"input1"=>[["inputType"=>"password","rules"=>"empty"]],"submit"=>["green basic"]],
45
				["login","password","submit"],
46
				["Login","Password","Connection"],
47
				[1,2]);
48
		$result->addDividerBefore(0, "Connection");
49
		return $result;
50
	}
51
52
	public static function attachedSegment($identifier,$modelInstance=null){
53
		$result=self::regular($identifier,$modelInstance);

Ajax/semantic/widgets/business/user/FormAccount.php 2 locations

@@ 36-45 (lines=10) @@
33
				[0,1,3,4,5,6]);
34
	}
35
36
	public static function smallInline($identifier,$modelInstance=null){
37
		$result=new FormAccount($identifier,$modelInstance,
38
				["login","password","submit"],
39
				["input0"=>[["rules"=>"empty"]],"input1"=>[["inputType"=>"password","rules"=>"empty"]],"submit"=>["green basic"]],
40
				["login","password","submit"],
41
				["","","Connection"],
42
				[2]);
43
			$result->addDividerBefore(0, "Connection");
44
		return $result;
45
	}
46
47
	public static function small($identifier,$modelInstance=null){
48
		$result=new FormAccount($identifier,$modelInstance,
@@ 47-56 (lines=10) @@
44
		return $result;
45
	}
46
47
	public static function small($identifier,$modelInstance=null){
48
		$result=new FormAccount($identifier,$modelInstance,
49
				["login","password","submit"],
50
				["input0"=>[["rules"=>"empty"]],"input1"=>[["inputType"=>"password","rules"=>"empty"]],"submit"=>["green basic"]],
51
				["login","password","submit"],
52
				["Login","Password","Connection"],
53
				[1,2]);
54
		$result->addDividerBefore(0, "Connection");
55
		return $result;
56
	}
57
58
	public static function attachedSegment($identifier,$modelInstance=null){
59
		$result=self::regular($identifier,$modelInstance);