aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'start.php')
-rw-r--r--start.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/start.php b/start.php
index f0c6a22f9..4a50c5092 100644
--- a/start.php
+++ b/start.php
@@ -147,6 +147,9 @@
add_submenu_item( elgg_echo('tidypics:mostrecent'),
$CONFIG->wwwroot . 'pg/photos/mostrecent',
'tidypics-z');
+ add_submenu_item( elgg_echo('tidypics:recentlyviewed'),
+ $CONFIG->wwwroot . 'pg/photos/recentlyviewed',
+ 'tidypics-z');
}
@@ -243,6 +246,11 @@
if (isset($page[1])) set_input('guid',$page[1]);
include($CONFIG->pluginspath . "tidypics/friendmostrecent.php");
break;
+
+ case "recentlyviewed":
+ if (isset($page[1])) set_input('guid',$page[1]);
+ include($CONFIG->pluginspath . "tidypics/recentlyviewed.php");
+ break;
}
}
else