From 640de41bb93f0c3e51ff1f02222acf291766d140 Mon Sep 17 00:00:00 2001 From: Alexander Walther Date: Mon, 6 Jan 2025 00:31:56 +0100 Subject: [PATCH] new field: showvalue_extended --- lib/yform/value/showvalue_extended.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lib/yform/value/showvalue_extended.php diff --git a/lib/yform/value/showvalue_extended.php b/lib/yform/value/showvalue_extended.php new file mode 100644 index 0000000..43ba4e7 --- /dev/null +++ b/lib/yform/value/showvalue_extended.php @@ -0,0 +1,26 @@ + 'value', + 'name' => 'showvalue_extended', + 'values' => [ + 'name' => ['type' => 'name', 'label' => rex_i18n::msg('yform_values_defaults_name')], + 'label' => ['type' => 'text', 'label' => rex_i18n::msg('yform_values_defaults_label')], + 'default' => ['type' => 'text', 'label' => rex_i18n::msg('yform_values_text_default')], + 'notice' => ['type' => 'text', 'label' => rex_i18n::msg('yform_values_defaults_notice')], + ], + 'description' => rex_i18n::msg('yform_values_showvalue_extended_description'), + 'db_type' => ['text', 'varchar(191)', 'mediumtext', 'longtext'], + ]; + } + +}