From 683f50786a7aec4a936b7b5d59a8e6338b1c7071 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 12 Jun 2008 17:57:25 +0000 Subject: Widgets, including a test widget plugin git-svn-id: https://code.elgg.org/elgg/trunk@900 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/widgets/save.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'actions/widgets/save.php') diff --git a/actions/widgets/save.php b/actions/widgets/save.php index b50010e6f..deb4bb911 100644 --- a/actions/widgets/save.php +++ b/actions/widgets/save.php @@ -11,8 +11,9 @@ * @link http://elgg.org/ */ + $guid = get_input('guid'); - $params = get_input('params'); + $params = $_REQUEST['params']; $pageurl = get_input('pageurl'); $result = false; @@ -24,9 +25,9 @@ } if ($result) { - system_message('widgets:save:success'); + system_message(elgg_echo('widgets:save:success')); } else { - system_message('widgets:save:failure'); + system_message(elgg_echo('widgets:save:failure')); } forward($_SERVER['HTTP_REFERER']); -- cgit v1.2.3