aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-19 19:03:11 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-19 19:03:11 +0000
commit4df1bf379558ccee8ee357578d055bc1525d4c8e (patch)
tree5f316b659f40da39c5d51b15315f90caa651d1f4 /mod
parent915bdaf8fb2c69395fd0371e5a3d6cb47c367cb4 (diff)
downloadelgg-4df1bf379558ccee8ee357578d055bc1525d4c8e.tar.gz
elgg-4df1bf379558ccee8ee357578d055bc1525d4c8e.tar.bz2
Put titles back in their correct place for widgets.
git-svn-id: https://code.elgg.org/elgg/trunk@1008 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/river/languages/en.php4
-rw-r--r--mod/river/start.php4
-rw-r--r--mod/river/views/default/widgets/river_widget/view.php3
-rw-r--r--mod/river/views/default/widgets/river_widget_friends/view.php3
4 files changed, 4 insertions, 10 deletions
diff --git a/mod/river/languages/en.php b/mod/river/languages/en.php
index 824164541..f6355837c 100644
--- a/mod/river/languages/en.php
+++ b/mod/river/languages/en.php
@@ -9,9 +9,9 @@
'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' => "%s activity.",
+ 'river:widget:title' => "Activity",
'river:widget:description' => "Show your latest activity.",
- 'river:widget:title:friends' => "%s friends activity.",
+ 'river:widget:title:friends' => "Friends' activity",
'river:widget:description:friends' => "Show what your friends are up to.",
'river:widget:label:displaynum' => "Number of entries to display:",
diff --git a/mod/river/start.php b/mod/river/start.php
index e592aa1f1..5a7003e7b 100644
--- a/mod/river/start.php
+++ b/mod/river/start.php
@@ -17,8 +17,8 @@
{
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',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'));
}
register_elgg_event_handler('init','system','river_init');
diff --git a/mod/river/views/default/widgets/river_widget/view.php b/mod/river/views/default/widgets/river_widget/view.php
index 27aeb7806..0e9d88a93 100644
--- a/mod/river/views/default/widgets/river_widget/view.php
+++ b/mod/river/views/default/widgets/river_widget/view.php
@@ -14,8 +14,5 @@
if ($vars['entity']->limit)
$limit = $vars['entity']->limit;
-?>
-<h1><?php echo sprintf(elgg_echo('river:widget:title'), $owner->name . "'s") ?></h1>
-<?php
echo elgg_view_river($owner->guid, $limit);
?> \ No newline at end of file
diff --git a/mod/river/views/default/widgets/river_widget_friends/view.php b/mod/river/views/default/widgets/river_widget_friends/view.php
index df96fcd76..ff6de8419 100644
--- a/mod/river/views/default/widgets/river_widget_friends/view.php
+++ b/mod/river/views/default/widgets/river_widget_friends/view.php
@@ -14,8 +14,5 @@
if ($vars['entity']->limit)
$limit = $vars['entity']->limit;
-?>
-<h1><?php echo sprintf(elgg_echo('river:widget:title:friends'), $owner->name . "'s") ?></h1>
-<?php
echo elgg_view_friend_river($owner->guid, $limit);
?> \ No newline at end of file