Skip to content

Commit 14289da

Browse files
committed
change the input field to be a textarea that allow to input the text. So no need to use a language string anymore
1 parent 6194958 commit 14289da

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

language/en-GB/en-GB.plg_fields_privacycheckbox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33

44
PLG_FIELDS_PRIVACYCHECKBOX="Fields - Privacy Checkbox"
55
PLG_FIELDS_PRIVACYCHECKBOX_LABEL="Privacy Checkbox (%s)"
6-
PLG_FIELDS_PRIVACYCHECKBOX_PARAMS_TEXTVALUE_LABEL="Checkbox Value"
6+
PLG_FIELDS_PRIVACYCHECKBOX_PARAMS_TEXTVALUE_LABEL="Checkbox Note"
77
PLG_FIELDS_PRIVACYCHECKBOX_XML_DESCRIPTION="This plugin lets you create new fields of type 'checkbox' in any extensions where custom fields are supported."

params/privacycheckbox.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
<fieldset name="fieldparams">
55
<field
66
name="textvalue"
7-
type="text"
7+
type="textarea"
8+
rows="7"
9+
cols="40"
10+
filter="raw"
811
label="PLG_FIELDS_PRIVACYCHECKBOX_PARAMS_TEXTVALUE_LABEL"
912
size="30"
1013
/>

privacycheckbox.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121
<fieldset name="basic">
2222
<field
2323
name="textvalue"
24-
type="text"
24+
type="textarea"
25+
rows="7"
26+
cols="40"
27+
filter="raw"
2528
label="PLG_FIELDS_PRIVACYCHECKBOX_PARAMS_TEXTVALUE_LABEL"
2629
size="30"
2730
/>

update.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" ?>
22
<updates>
33
<update>
4-
<name>PrivacyCheckbox 1.0.0</name>
4+
<name>PrivacyCheckbox 1.0.1</name>
55
<description>PrivacyCheckbox Plugin</description>
66
<element>privacycheckbox</element>
77
<type>plugin</type>

0 commit comments

Comments
 (0)