aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/activity/views/default/activity/css.php31
-rw-r--r--mod/activity/views/default/activity/offset.php8
2 files changed, 35 insertions, 4 deletions
diff --git a/mod/activity/views/default/activity/css.php b/mod/activity/views/default/activity/css.php
index 168fa4fc4..506fdd096 100644
--- a/mod/activity/views/default/activity/css.php
+++ b/mod/activity/views/default/activity/css.php
@@ -137,4 +137,33 @@
padding:4px;
border:1px solid #ddd;
background:#efefef;
-} \ No newline at end of file
+}
+
+.pagination .forward,
+.pagination .back {
+ display:block;
+ float:left;
+ border:1px solid #4690d6;
+ color:#4690d6;
+ text-align: center;
+ font-size: 12px;
+ font-weight: normal;
+ margin:0 6px 0 0;
+ padding:0px 4px;
+ cursor: pointer;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+}
+.pagination .forward:hover,
+.pagination .back:hover {
+ background:#4690d6;
+ color:white;
+ text-decoration: none;
+}
+.pagination .back {
+ margin:0 20px 0 0;
+}
+
+
+
+
diff --git a/mod/activity/views/default/activity/offset.php b/mod/activity/views/default/activity/offset.php
index 638cf9150..21b43a526 100644
--- a/mod/activity/views/default/activity/offset.php
+++ b/mod/activity/views/default/activity/offset.php
@@ -17,11 +17,13 @@
$offset = $offset + 20;//set new offset
- echo "<div style=\"margin:10px 0 0 0;font-size:16px;\">";
+ 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 href=\"{$vars['url']}{$url}?offset={$backset}\">". elgg_echo('activity:forward') . "</a> ";
+ echo "<a class=\"forward\" href=\"{$vars['url']}{$url}?offset={$backset}\">". elgg_echo('activity:forward') . " &raquo;</a> ";
- echo "<a href=\"{$vars['url']}{$url}?offset={$offset}\">" . elgg_echo('activity:back') . "</a></div>";
+ echo "</div>";
?> \ No newline at end of file