Sort out quotes round true ahd false in template

This commit is contained in:
Brian Read 2024-11-05 20:01:05 +00:00
parent 8f7f24dbec
commit 96a8ae336d
2 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@
%=l('${prefix}_${Label}') %=l('${prefix}_${Label}')
</span><span class=data> </span><span class=data>
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
%= text_area '${Name}', cols=>${cols | 40}, rows=>${rows | 10}, Readonly=>${Readonly | false} %= text_area '${Name}', cols=>${cols | 40}, rows=>${rows | 10}, Readonly=>'${Readonly | false}'
</span><br> </span><br>
]]></Textarea> ]]></Textarea>

View File

@ -7,7 +7,7 @@
'MenuHeading': 'Network', 'MenuHeading': 'Network',
'MenuDescription': 'Letsencrypt certificate', 'MenuDescription': 'Letsencrypt certificate',
'MenuNavigation': '6000 6600', 'MenuNavigation': '6000 6600',
'firstPanel': 'PARAMS', 'firstPanel': 'CHECKALLDOMAINS',
'signalEvent': 'smeserver-letsencrypt-update', 'signalEvent': 'smeserver-letsencrypt-update',
'html': [ 'html': [
{ {
@ -248,7 +248,7 @@
'Name': 'AllDomainsCheck', 'Name': 'AllDomainsCheck',
'Label': 'All domains check result', 'Label': 'All domains check result',
'Rows':20, 'Rows':20,
'Readonly':true 'Readonly':'true'
}, },
'Input2': { 'Input2': {
'Type': 'Submit', 'Type': 'Submit',
@ -264,7 +264,7 @@
'Name': 'EnabledDomainsCheck', 'Name': 'EnabledDomainsCheck',
'Label': 'Enabled domains check result', 'Label': 'Enabled domains check result',
'Rows':20, 'Rows':20,
'Readonly':true 'Readonly':'true'
}, },
'Input2': { 'Input2': {
'Type': 'Submit', 'Type': 'Submit',