From f2c274eeba80146dfecd6ddc0e1b28b3c6cb3f9d Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 7 Feb 2009 16:05:17 +0000 Subject: small additions to the activity view git-svn-id: https://code.elgg.org/elgg/trunk@2676 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/activity/views/default/activity/offset.php | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 mod/activity/views/default/activity/offset.php (limited to 'mod/activity/views/default') diff --git a/mod/activity/views/default/activity/offset.php b/mod/activity/views/default/activity/offset.php new file mode 100644 index 000000000..638cf9150 --- /dev/null +++ b/mod/activity/views/default/activity/offset.php @@ -0,0 +1,27 @@ +username . "/friends/"; + + if($add_to_url == "own") + $url = "pg/activity/" . $_SESSION['user']->username; + + + if($offset > 19) + $backset = $offset - 20;//set backset + + $offset = $offset + 20;//set new offset + + echo "
"; + + if($backset != '-1') + echo "". elgg_echo('activity:forward') . " "; + + echo "" . elgg_echo('activity:back') . "
"; + +?> \ No newline at end of file -- cgit v1.2.3