diff options
Diffstat (limited to 'app/view')
-rw-r--r-- | app/view/templates/editleftbar.php | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/app/view/templates/editleftbar.php b/app/view/templates/editleftbar.php index 7b4986d..b8f4d4d 100644 --- a/app/view/templates/editleftbar.php +++ b/app/view/templates/editleftbar.php @@ -152,7 +152,7 @@ </fieldset> </details> - <details id="advanced" <?= !empty($art->externalcss()) || !empty($art->externalscript()) ? 'open' : '' ?>> + <details id="advanced" <?= !empty($art->externalcss()) || !empty($art->customhead()) ? 'open' : '' ?>> <summary>Advanced</summary> @@ -173,18 +173,9 @@ } ?> - <label for="externalscript">External script</label> - <input type="text" name="externalscript[]" id="externalscript" placeholder="add external adress"> - <?php - foreach ($art->externalscript() as $script) { - ?> - <div class="checkexternal"> - <input type="checkbox" name="externalscript[]" id="<?= $script ?>" value="<?= $script ?>" checked> - <label for="<?= $script ?>" title="<?= $script ?>"><?= $script ?></label> - </div> - <?php - } - ?> + <label for="customhead">Custom head</label> + <textarea name="customhead" wrap="off" spellcheck="false"><?= $art->customhead() ?></textarea> + </fieldset> </details> |