diff --git a/src/Properties/Options/Items/BoolPropertyItem.php b/src/Properties/Options/Items/BoolPropertyItem.php
index ec4ba2efdf..f78f8c37ad 100644
--- a/src/Properties/Options/Items/BoolPropertyItem.php
+++ b/src/Properties/Options/Items/BoolPropertyItem.php
@@ -18,10 +18,9 @@ class BoolPropertyItem extends OptionsPropertyOneItem
{
$ret = '
';
$ret .= '';
- $ret .= 'getName() . '"'
+ . ' value="y" id="checkbox_' . $pluginName . '_' . $this->getName() . '"'
. ' '
. Plugins::checkboxCheck(
$pluginType,
@@ -39,8 +38,7 @@ class BoolPropertyItem extends OptionsPropertyOneItem
}
$ret .= '>';
- $ret .= '
';
$ret .= Plugins::getDocumentationLinkHtml($this);
diff --git a/src/Properties/Options/Items/HiddenPropertyItem.php b/src/Properties/Options/Items/HiddenPropertyItem.php
index 60d62a2744..2e3ff779b7 100644
--- a/src/Properties/Options/Items/HiddenPropertyItem.php
+++ b/src/Properties/Options/Items/HiddenPropertyItem.php
@@ -18,8 +18,7 @@ class HiddenPropertyItem extends OptionsPropertyOneItem
{
public function getHtml(Plugin $plugin, PluginType $pluginType, string $pluginName): string
{
- return '';
- $ret .= ''
+ $ret .= ''
. $plugin->getTranslatedText($this->getText() ?? '') . '';
- $ret .= 'getName() . '"'
. ' value="'
. htmlspecialchars($plugin->getTranslatedText(Plugins::getDefault(
$pluginType,
$pluginName . '_' . $this->getName(),
))) . '"'
- . ' id="number_' . $pluginName . '_'
- . $this->getName() . '"'
+ . ' id="number_' . $pluginName . '_' . $this->getName() . '"'
. ' min="0"'
. '>';
diff --git a/src/Properties/Options/Items/RadioPropertyItem.php b/src/Properties/Options/Items/RadioPropertyItem.php
index 1b79f50a8a..09c9b4d6d2 100644
--- a/src/Properties/Options/Items/RadioPropertyItem.php
+++ b/src/Properties/Options/Items/RadioPropertyItem.php
@@ -26,16 +26,15 @@ class RadioPropertyItem extends OptionsPropertyOneItem
$ret = '';
foreach ($this->getValues() as $key => $val) {
- $ret .= 'getName()
+ . '" class="form-check-input" value="' . $key
+ . '" id="radio_' . $pluginName . '_' . $this->getName() . '_' . $key . '"';
if ($key == $default) {
$ret .= ' checked';
}
- $ret .= '>'
+ $ret .= '>'
. $plugin->getTranslatedText($val) . '
';
}
diff --git a/src/Properties/Options/Items/SelectPropertyItem.php b/src/Properties/Options/Items/SelectPropertyItem.php
index cb9d5a2e4c..ba5e68017d 100644
--- a/src/Properties/Options/Items/SelectPropertyItem.php
+++ b/src/Properties/Options/Items/SelectPropertyItem.php
@@ -19,13 +19,10 @@ class SelectPropertyItem extends OptionsPropertyOneItem
public function getHtml(Plugin $plugin, PluginType $pluginType, string $pluginName): string
{
$ret = '';
- $ret .= ''
+ $ret .= ''
. $plugin->getTranslatedText($this->getText() ?? '') . '';
- $ret .= '