aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/plugins/settings
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-22 07:29:37 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-22 07:29:37 +0000
commit953fdd3e112f40fe74cc5ac53ad8efd6a57550d3 (patch)
tree216796db3ebc66e1a5f342d45171d79b00892f51 /views/default/forms/plugins/settings
parent9ac2ca3377d4e8271a9a7718f7715e043aeb2de1 (diff)
downloadelgg-953fdd3e112f40fe74cc5ac53ad8efd6a57550d3.tar.gz
elgg-953fdd3e112f40fe74cc5ac53ad8efd6a57550d3.tar.bz2
Deprecated (user)settings/$plugin_id/edit in favor of plugins/$plugin_id/(user)settings
git-svn-id: http://code.elgg.org/elgg/trunk@8421 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/forms/plugins/settings')
-rw-r--r--views/default/forms/plugins/settings/save.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/default/forms/plugins/settings/save.php b/views/default/forms/plugins/settings/save.php
index 5125f3142..efe6d7792 100644
--- a/views/default/forms/plugins/settings/save.php
+++ b/views/default/forms/plugins/settings/save.php
@@ -17,7 +17,12 @@ if ($type != 'user') {
$type = '';
}
-echo elgg_view("{$type}settings/$plugin_id/edit", $vars);
+if (elgg_view_exists("{$type}settings/$plugin_id/edit")) {
+ elgg_deprecated_notice("{$type}settings/$plugin_id/edit was deprecated in favor of plugins/$plugin_id/{$type}settings", 1.8);
+ echo elgg_view("{$type}settings/$plugin_id/edit", $vars);
+} else {
+ echo elgg_view("plugins/$plugin_id/{$type}settings", $vars);
+}
echo "<div>";
echo elgg_view('input/hidden', array('name' => 'plugin_id', 'value' => $plugin_id));