diff options
Diffstat (limited to 'templates/settings_field.php')
| -rw-r--r-- | templates/settings_field.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/settings_field.php b/templates/settings_field.php index f9de886..b58892d 100644 --- a/templates/settings_field.php +++ b/templates/settings_field.php @@ -34,6 +34,10 @@ $fieldName ??= str_replace('.', '<DOT>', $key); <textarea id="<?= $id ?>" name="<?= $fieldName ?>" autocomplete="off"><?= $value ?></textarea> + <?php elseif ($inputType == 'code'): ?> + + <textarea id="<?= $id ?>" name="<?= $fieldName ?>" autocomplete="off" class="codeEdit"><?= $value ?></textarea> + <?php else: ?> <input id="<?= $id ?>" name="<?= $fieldName ?>" value="<?= $value ?>" type="<?= $inputType ?>" autocomplete="off"> |
