diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-19 17:15:11 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-19 17:15:11 +0000 |
commit | fe25ff1e78b426914e961bf787253475e61167a6 (patch) | |
tree | 9220d03819579725d05f74fb134bea7dee6eee1f /mod/river | |
parent | ded12a563f4973dfaee3cdaf339423bdb0492b65 (diff) | |
download | elgg-fe25ff1e78b426914e961bf787253475e61167a6.tar.gz elgg-fe25ff1e78b426914e961bf787253475e61167a6.tar.bz2 |
Closes #59: Plugin manifest. See register_plugin_manifest() & register_plugin_manifest_basic(). Ref #20.
git-svn-id: https://code.elgg.org/elgg/trunk@1001 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/river')
-rw-r--r-- | mod/river/languages/en.php | 15 | ||||
-rw-r--r-- | mod/river/start.php | 4 |
2 files changed, 18 insertions, 1 deletions
diff --git a/mod/river/languages/en.php b/mod/river/languages/en.php new file mode 100644 index 000000000..13de7e8a3 --- /dev/null +++ b/mod/river/languages/en.php @@ -0,0 +1,15 @@ +<?php + + $english = array( + + /** + * Manifest + */ + + 'river:manifest:description' => "Provide a list of your or your friends recent activity!", + + ); + + add_translation("en",$english); + +?>
\ No newline at end of file diff --git a/mod/river/start.php b/mod/river/start.php index a745bc699..e592aa1f1 100644 --- a/mod/river/start.php +++ b/mod/river/start.php @@ -15,8 +15,10 @@ */ function river_init() { + register_plugin_manifest_basic("Marcus Povey", elgg_echo('river:manifest:description'), "1.0", "http://www.elgg.org", "(C) Curverider 2008"); + add_widget_type('river_widget',sprintf(elgg_echo('river:widget:title'), 'Your'), elgg_echo('river:widget:description')); - add_widget_type('river_widget_friends',sprintf(elgg_echo('river:widget:title:friends'), 'Your'), elgg_echo('river:widget:description:friends')); + add_widget_type('river_widget_friends',sprintf(elgg_echo('river:widget:title:friends'), 'Your'), elgg_echo('river:widget:description:friends')); } register_elgg_event_handler('init','system','river_init'); |