diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-26 18:25:08 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-26 18:25:08 +0000 |
commit | b027f962af16d074398d1351a90d863aaf5469f3 (patch) | |
tree | cb547da86008491ce9a25cafae56800fd4944229 /mod/sitepages/views/default/settings | |
parent | fd878435ffeb7478aa745f76dfcea608301a04ba (diff) | |
download | elgg-b027f962af16d074398d1351a90d863aaf5469f3.tar.gz elgg-b027f962af16d074398d1351a90d863aaf5469f3.tar.bz2 |
Updating Sitepages plugin settings for new administration layout.
git-svn-id: http://code.elgg.org/elgg/trunk@6242 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/sitepages/views/default/settings')
-rw-r--r-- | mod/sitepages/views/default/settings/sitepages/edit.php | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/mod/sitepages/views/default/settings/sitepages/edit.php b/mod/sitepages/views/default/settings/sitepages/edit.php index 8a8a2d271..86cf6760c 100644 --- a/mod/sitepages/views/default/settings/sitepages/edit.php +++ b/mod/sitepages/views/default/settings/sitepages/edit.php @@ -8,12 +8,10 @@ * @copyright Curverider Ltd 2008-2010 * @link http://elgg.org/ */ -?> -<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 +$page_type = 'front'; +if (isset($vars['page'][2])) { + $page_type = $vars['page'][2]; +} + +echo sitepages_get_edit_section_content($page_type, $vars['entity']); |