aboutsummaryrefslogtreecommitdiff
path: root/views/default/usersettings/landing/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/usersettings/landing/edit.php')
-rw-r--r--views/default/usersettings/landing/edit.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/views/default/usersettings/landing/edit.php b/views/default/usersettings/landing/edit.php
deleted file mode 100644
index f302ce846..000000000
--- a/views/default/usersettings/landing/edit.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-/**
- * Page Landing User Settings
- */
-
-// Get existing usersettings
-$custom_url = get_plugin_usersetting('landing_url', 0, 'landing');
-$mode = get_plugin_usersetting('landing_mode', 0, 'landing');
-
-// Prepare dropdown options
-$mode_options = array();
-$mode_options['default'] = elgg_echo('landing:mode:opt:default');
-$mode_options['profile'] = elgg_echo('landing:mode:opt:profile');
-if (elgg_is_active_plugin('dashboard')) {
- $mode_options['dashboard'] = elgg_echo('landing:mode:opt:dashboard');
-}
-$mode_options['custom'] = elgg_echo('landing:mode:opt:custom');
-
-echo '<p>', elgg_echo('landing:settings:select_url');
-// Add the dropdown menu
-echo '<br/>', elgg_echo('landing:settings:choose_option');
-echo elgg_view('input/dropdown', array('name' => 'params[landing_mode]', 'value' => $mode, 'options_values' => $mode_options));
-echo '</p>';
-// Add a text field for custom value or to show existing value
-echo '<p><span class="tip">', elgg_echo('landing:settings:custom_url_tip'), '</span>';
-echo '<br/><strong>', chop(elgg_get_site_url(), '/'), '</strong>', elgg_view('input/text', array( 'name' => 'params[landing_url]', 'value' => $custom_url, 'class' => 'landing-page-url'));
-echo '</p>'; \ No newline at end of file