aboutsummaryrefslogtreecommitdiff
path: root/mod/sitepages/views/default/admin/site/sitepages.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/sitepages/views/default/admin/site/sitepages.php')
-rw-r--r--mod/sitepages/views/default/admin/site/sitepages.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/mod/sitepages/views/default/admin/site/sitepages.php b/mod/sitepages/views/default/admin/site/sitepages.php
new file mode 100644
index 000000000..86cf6760c
--- /dev/null
+++ b/mod/sitepages/views/default/admin/site/sitepages.php
@@ -0,0 +1,17 @@
+<?php
+/**
+ * Settings Site Pages
+ *
+ * @package SitePages
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008-2010
+ * @link http://elgg.org/
+ */
+
+$page_type = 'front';
+if (isset($vars['page'][2])) {
+ $page_type = $vars['page'][2];
+}
+
+echo sitepages_get_edit_section_content($page_type, $vars['entity']);