diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-08-14 10:23:53 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-08-14 10:23:53 +0200 |
commit | 566b995bab45355d814ac5a8bfbf18e3a59c14ba (patch) | |
tree | 304810ec1c8d6c31fe29763472db67e6ec000261 /app/view/templates/editleftbar.php | |
parent | c097ae87df8476b573cf559c9facd2b8e6e2e865 (diff) | |
download | wcms-566b995bab45355d814ac5a8bfbf18e3a59c14ba.tar.gz wcms-566b995bab45355d814ac5a8bfbf18e3a59c14ba.zip |
Change : externaljs become customhead
Diffstat (limited to 'app/view/templates/editleftbar.php')
-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> |