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 .= '
  • '; 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 .= '>
    '; } 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 .= '