From 20b30e0bc0731b440feae8287f37365ce6050bf0 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 20 Jun 2008 17:14:46 +0000 Subject: Closes #66: Per site plugin settings configuration panel. Use the same technique as edit pages on widgets, i.e. 1) Create a new view in your plugins view/default called settings/PLUGINNAME/edit Where PLUGINNAME is the plugin directory, eg "river" or "profile". 2) Place your edit code in edit.php, fields should save to params[fieldname]. 3) The view will be passed $vars['entity'] which holds any configuration values already set in the metadata. Note. Settings are PER SITE. git-svn-id: https://code.elgg.org/elgg/trunk@1031 36083f99-b078-4883-b0ff-0f9b5a30f544 --- languages/en.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'languages/en.php') diff --git a/languages/en.php b/languages/en.php index 501eac321..7a4b72fa1 100644 --- a/languages/en.php +++ b/languages/en.php @@ -200,7 +200,12 @@ */ 'river' => "River", - 'river:relationship:friend' => 'is now friends with', + 'river:relationship:friend' => 'is now friends with', + /** + * Plugins + */ + 'plugins:settings:save:ok' => "Settings for the %s plugin were saved successfully.", + 'plugins:settings:save:fail' => "There was a problem saving settings for the %s plugin.", /** * Search -- cgit v1.2.3