Code Duplication    Length = 5-5 lines in 2 locations

class/form.php 2 locations

@@ 387-391 (lines=5) @@
384
				, 'checked="checked" />'
385
				, $s_input);
386
387
		if (isset($elt['attrib']['label_align'])
388
			&& ('after' == $elt['attrib']['label_align']))
389
			$s_html = $s_input . $s_label;
390
		else
391
			$s_html = $s_label . $s_input;
392
393
		return $s_html;
394
	} // end of func GetElementCheckbox
@@ 611-615 (lines=5) @@
608
		// Plus str without label
609
		$s_input = $this->GetElementHidden($elt);
610
611
		if (isset($elt['attrib']['label_align'])
612
			&& ('after' == $elt['attrib']['label_align']))
613
			$s_html = $s_input . $s_label;
614
		else
615
			$s_html = $s_label . $s_input;
616
617
		return $s_html;
618
	} // end of func GetElementText