From 279e74d06be7e2fc98c3df3cd867d1ecfd3e6de4 Mon Sep 17 00:00:00 2001
From: Silvio Rhatto
Date: Sat, 15 Mar 2014 14:49:36 -0300
Subject: Squashed 'mod/landing/' content from commit d1ea0d2
git-subtree-dir: mod/landing
git-subtree-split: d1ea0d2593cbf55a3804224fd587dbde00672a8c
---
views/default/usersettings/landing/edit.php | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 views/default/usersettings/landing/edit.php
(limited to 'views/default/usersettings')
diff --git a/views/default/usersettings/landing/edit.php b/views/default/usersettings/landing/edit.php
new file mode 100644
index 000000000..f302ce846
--- /dev/null
+++ b/views/default/usersettings/landing/edit.php
@@ -0,0 +1,27 @@
+', elgg_echo('landing:settings:select_url');
+// Add the dropdown menu
+echo '
', elgg_echo('landing:settings:choose_option');
+echo elgg_view('input/dropdown', array('name' => 'params[landing_mode]', 'value' => $mode, 'options_values' => $mode_options));
+echo '
';
+// Add a text field for custom value or to show existing value
+echo '', elgg_echo('landing:settings:custom_url_tip'), '';
+echo '
', chop(elgg_get_site_url(), '/'), '', elgg_view('input/text', array( 'name' => 'params[landing_url]', 'value' => $custom_url, 'class' => 'landing-page-url'));
+echo '
';
\ No newline at end of file
--
cgit v1.2.3