diff options
| author | winter | 2025-05-03 16:34:03 +0100 |
|---|---|---|
| committer | winter | 2025-05-03 16:34:03 +0100 |
| commit | 2f3377290a9478aff1c43558167fe8566787bc3a (patch) | |
| tree | 2d61d2d97fea8352d1aadbd8d97ff1f7186ccde6 /templates/settings_field.php | |
| parent | 0310ab4e341365071d62e5449b31614022034b60 (diff) | |
add customisation setting for instance-wide css
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"> |
