From 953fdd3e112f40fe74cc5ac53ad8efd6a57550d3 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 22 Feb 2011 07:29:37 +0000 Subject: 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 --- views/default/forms/plugins/settings/save.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'views/default/forms/plugins/settings/save.php') 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 "
"; echo elgg_view('input/hidden', array('name' => 'plugin_id', 'value' => $plugin_id)); -- cgit v1.2.3