aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/editleftbar.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-02-10 19:19:45 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-02-10 19:19:45 +0100
commit8c03f6859c452738aafd554f8dc42cc636a4a1e9 (patch)
tree4ef49330b8de60ab80a380a28d459cc441da643a /app/view/templates/editleftbar.php
parent4f9a0544218341204bee98d41bcc097dc61f1799 (diff)
downloadwcms-8c03f6859c452738aafd554f8dc42cc636a4a1e9.tar.gz
wcms-8c03f6859c452738aafd554f8dc42cc636a4a1e9.zip
new feature : page redirection, close #44
Diffstat (limited to 'app/view/templates/editleftbar.php')
-rw-r--r--app/view/templates/editleftbar.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/view/templates/editleftbar.php b/app/view/templates/editleftbar.php
index 3004351..812c30d 100644
--- a/app/view/templates/editleftbar.php
+++ b/app/view/templates/editleftbar.php
@@ -159,7 +159,7 @@
- <details id="advanced" <?= !empty($page->externalcss()) || !empty($page->customhead()) || !empty($page->sleep()) ? 'open' : '' ?>>
+ <details id="advanced" <?= !empty($page->externalcss()) || !empty($page->customhead()) || !empty($page->sleep()) || !empty($page->redirection()) ? 'open' : '' ?>>
<summary>Advanced</summary>
@@ -186,6 +186,12 @@
<label for="sleep">Sleep time (seconds)</label>
<input type="number" name="sleep" id="sleep" value="<?= $page->sleep() ?>" min="0" max="180">
+ <label for="redirection" title="page_id or URL like https://domain.org">Redirection</label>
+ <input type="text" name="redirection" id="redirection" value="<?= $page->redirection() ?>" list="searchdatalist">
+
+ <label for="refresh" title="Time before redirection (in seconds)">Refresh time</label>
+ <input type="number" name="refresh" value="<?= $page->refresh() ?>" id="refresh" min="0" max="180">
+
</fieldset>
</details>