aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorGreg Froese <greg.froese@gmail.com>2009-05-18 12:57:59 +0000
committerGreg Froese <greg.froese@gmail.com>2009-05-18 12:57:59 +0000
commit70ad5de3a1d4fffc8b3d97c301194bb0258b4c68 (patch)
tree765e5d8b7081fd3373df0fb89d33a237a0239fce /start.php
parentdd81b02a85596a913c4a42fba655766b61334eb1 (diff)
downloadelgg-70ad5de3a1d4fffc8b3d97c301194bb0258b4c68.tar.gz
elgg-70ad5de3a1d4fffc8b3d97c301194bb0258b4c68.tar.bz2
fixed watermarking after code re-org and added most recently viewed option
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