aboutsummaryrefslogtreecommitdiff
path: root/mod/activity/views/default/activity/offset.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/activity/views/default/activity/offset.php')
-rw-r--r--mod/activity/views/default/activity/offset.php29
1 files changed, 0 insertions, 29 deletions
diff --git a/mod/activity/views/default/activity/offset.php b/mod/activity/views/default/activity/offset.php
deleted file mode 100644
index ad741307a..000000000
--- a/mod/activity/views/default/activity/offset.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
- /// Extract the offset value
- $offset = $vars['offset'];
- $backset = '-1'; //used to display the forward link
- $add_to_url = $vars['add_to_url'];//used to determine which pane we are looking at - sitewide, friends, own
- $url = "pg/activity/";//set the default url
-
- if($add_to_url == "friends")
- $url = "pg/activity/" . $_SESSION['user']->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 "<div class=\"pagination\">";
-
- echo "<a class=\"back\" href=\"{$vars['url']}{$url}?offset={$offset}\"> &laquo; " . elgg_echo('activity:back') . "</a>";
-
- if($backset != '-1')
- echo "<a class=\"forward\" href=\"{$vars['url']}{$url}?offset={$backset}\">". elgg_echo('activity:forward') . " &raquo;</a> ";
-
- echo "<div class=\"clearfloat\"></div></div>";
-
-?> \ No newline at end of file