mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
rename 'txtlarge' field type to 'txta'
... (think "textarea") to keep the field type name short. This is a follow-up up https://github.com/postfixadmin/postfixadmin/pull/631#issuecomment-1188336564
This commit is contained in:
parent
6b83c2bb0f
commit
4b8027e8e3
@ -20,11 +20,11 @@ class DkimHandler extends PFAHandler
|
||||
# field name allow display in... type $PALANG label $PALANG description default / options / ...
|
||||
# editing? form list
|
||||
'id' => pacol(0, 0, 1, 'num' , 'pFetchmail_field_id' , '' , '', array(), array('dont_write_to_db' => 1) ),
|
||||
'description' => pacol(1, 1, 1, 'text' , 'description' , '' ),
|
||||
'selector' => pacol(1, 1, 1, 'text' , 'pDkim_field_selector', 'pDkim_field_selector_desc'),
|
||||
'domain_name' => pacol(1, 1, 1, 'enum' , 'domain' , 'pDkim_field_domain_desc' , '', $this->allowed_domains),
|
||||
'private_key' => pacol(1, 1, 0, 'txtlarge', 'pDkim_field_pkey' , 'pDkim_field_pkey_desc' ),
|
||||
'public_key' => pacol(1, 1, 0, 'txtlarge', 'pDkim_field_pub' , 'pDkim_field_pub_desc' ),
|
||||
'description' => pacol(1, 1, 1, 'text', 'description' , '' ),
|
||||
'selector' => pacol(1, 1, 1, 'text', 'pDkim_field_selector', 'pDkim_field_selector_desc'),
|
||||
'domain_name' => pacol(1, 1, 1, 'enum', 'domain' , 'pDkim_field_domain_desc' , '', $this->allowed_domains),
|
||||
'private_key' => pacol(1, 1, 0, 'txta', 'pDkim_field_pkey' , 'pDkim_field_pkey_desc' ),
|
||||
'public_key' => pacol(1, 1, 0, 'txta', 'pDkim_field_pub' , 'pDkim_field_pub_desc' ),
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -286,7 +286,7 @@ abstract class PFAHandler
|
||||
* pass password (will be encrypted with pacrypt())
|
||||
* b64p password (will be stored with base64_encode() - but will NOT be decoded automatically)
|
||||
* num number
|
||||
* txtlarge Large text input field
|
||||
* txta Large text input field (textarea)
|
||||
* txtl text "list" - array of one line texts
|
||||
* *vnum "virtual" number, coming from JOINs etc.
|
||||
* bool boolean (converted to 0/1, additional column _$field with yes/no)
|
||||
|
@ -62,7 +62,7 @@
|
||||
<input class="form-control" type="password" name="value[{$key}]" {if $key == 'password' || $key == 'password2'}autocomplete="new-password"{/if}/>
|
||||
{elseif $field.type == 'txtl'}
|
||||
<textarea class="form-control" rows="10" cols="35" name="value[{$key}]">{foreach key=key2 item=field2 from=$value_{$key}}{$field2} {/foreach}</textarea>
|
||||
{elseif $field.type == 'txtlarge'}
|
||||
{elseif $field.type == 'txta'}
|
||||
<textarea class="form-control" rows="10" cols="35" name="value[{$key}]">{$value_{$key}}</textarea>
|
||||
{else}
|
||||
<input class="form-control" type="text" name="value[{$key}]"
|
||||
|
Loading…
Reference in New Issue
Block a user