aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/homeopt.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/templates/homeopt.php')
-rw-r--r--app/view/templates/homeopt.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/view/templates/homeopt.php b/app/view/templates/homeopt.php
index 05f8d27..d1f70da 100644
--- a/app/view/templates/homeopt.php
+++ b/app/view/templates/homeopt.php
@@ -117,7 +117,31 @@
</fieldset>
<fieldset>
+ <legend>Link to</legend>
+
+ <label for="linkto" title="filter pages that have links pointing to the following selected page">Link pointing to</label>
+ </br>
+ <select name="linkto" id="linkto">
+ <option value="" selected>-- not set --</option>
+ <?php
+ foreach ($opt->pageidlist() as $id) {
+ if ($id === $opt->linkto()) {
+ $selected = ' selected';
+ } else {
+ $selected = '';
+ }
+ echo '<option value="' . $id . '"' . $selected . '>' . $id . '</option>';
+ }
+ ?>
+ </select>
+ </fieldset>
+
+
+
+
+ <fieldset>
<legend>Other</legend>
+
<?php