PluginProbe
Contact Forms by Cimatti / 1.9.2
Contact Forms by Cimatti v1.9.2
2.3.6 2.3.5 2.3.0 2.2.32 2.2.4 2.2.0 2.1.2 2.1.1 trunk 1.0 1.1 1.2 1.2.1 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 All 62 releases
← All changes | classes/View/SideBySide.php +2 -3 2.3.51.9.2 View file →
@@ -1,6 +1,5 @@
1 1 <?php
2 -// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped -- PFBC View class, HTML output is controlled
3 2 class AccuaForm_View_SideBySide extends AccuaForm_View_Standard {
4 3 protected $labelWidth;
5 4 protected $labelRightAlign;
6 5 protected $labelPaddingRight = 5;
@@ -5,9 +4,9 @@
5 4 protected $labelRightAlign;
6 5 protected $labelPaddingRight = 5;
7 6 protected $labelPaddingTop;
8 7
9 - public function __construct($labelWidth, ?array $properties = null) {
8 + public function __construct($labelWidth, array $properties = null) {
10 9 if(!empty($properties))
11 10 $properties["labelWidth"] = $labelWidth;
12 11 else
13 12 $properties = array("labelWidth" => $labelWidth);
@@ -72,9 +71,9 @@
72 71 echo '<div class="pfbc-label">';
73 72 if(!empty($label)) {
74 73 echo '<label for="', $id, '">', $label;
75 74 if($element->isRequired())
76 - echo ' <span class="pfbc-required" aria-label="required">*</span>';
75 + echo ' <strong>*</strong>';
77 76 echo '</label>';
78 77 }
79 78 if(!empty($description))
80 79 echo '<em>', $description, '</em>';