diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-20 13:41:00 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-20 13:41:00 +0000 |
commit | 2ef198989e91cffb4b338f9f1f975154623ec1fc (patch) | |
tree | 4f898e02d13a0190b3236864288d582f5f3daf43 /mod | |
parent | 33ba81a9717d2320212fc7de074b671fdf5d427a (diff) | |
download | elgg-2ef198989e91cffb4b338f9f1f975154623ec1fc.tar.gz elgg-2ef198989e91cffb4b338f9f1f975154623ec1fc.tar.bz2 |
Using new manifest code (via manifest.xml)
git-svn-id: https://code.elgg.org/elgg/trunk@1023 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r-- | mod/river/languages/en.php | 1 | ||||
-rw-r--r-- | mod/river/manifest.xml | 8 | ||||
-rw-r--r-- | mod/river/start.php | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/mod/river/languages/en.php b/mod/river/languages/en.php index f6355837c..55bd07746 100644 --- a/mod/river/languages/en.php +++ b/mod/river/languages/en.php @@ -6,7 +6,6 @@ * Manifest */ - 'river:manifest:description' => "Provide a list of your or your friends recent activity!", 'river:widget:noactivity' => 'We could not find any activity.', 'river:widget:title' => "Activity", diff --git a/mod/river/manifest.xml b/mod/river/manifest.xml new file mode 100644 index 000000000..6fa9090f4 --- /dev/null +++ b/mod/river/manifest.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<plugin_manifest> + <field key="author" value="Marcus Povey" /> + <field key="version" value="1.0" /> + <field key="description" value="Provide a list of your or your friends recent activity!" /> + <field key="website" value="http://www.elgg.org/" /> + <field key="copyright" value="(C) Curverider 2008" /> +</plugin_manifest>
\ No newline at end of file diff --git a/mod/river/start.php b/mod/river/start.php index 5a7003e7b..b13aaadf2 100644 --- a/mod/river/start.php +++ b/mod/river/start.php @@ -15,8 +15,6 @@ */ 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',elgg_echo('river:widget:title'), elgg_echo('river:widget:description')); add_widget_type('river_widget_friends',elgg_echo('river:widget:title:friends'), elgg_echo('river:widget:description:friends')); } |