aboutsummaryrefslogtreecommitdiff
path: root/mod/sitepages/views/default/settings
diff options
context:
space:
mode:
Diffstat (limited to 'mod/sitepages/views/default/settings')
-rw-r--r--mod/sitepages/views/default/settings/sitepages/edit.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/mod/sitepages/views/default/settings/sitepages/edit.php b/mod/sitepages/views/default/settings/sitepages/edit.php
new file mode 100644
index 000000000..22f03abaf
--- /dev/null
+++ b/mod/sitepages/views/default/settings/sitepages/edit.php
@@ -0,0 +1,7 @@
+<p>
+ <?php echo elgg_echo('sitepages:ownfront'); ?>
+ <select name="params[ownfrontpage]">
+ <option value="yes" <?php if ($vars['entity']->ownfrontpage == 'yes') echo " selected=\"yes\" "; ?>><?php echo elgg_echo('option:yes'); ?></option>
+ <option value="no" <?php if ($vars['entity']->ownfrontpage != 'yes') echo " selected=\"yes\" "; ?>><?php echo elgg_echo('option:no'); ?></option>
+ </select>
+</p> \ No newline at end of file