diff options
author | Greg Froese <greg.froese@gmail.com> | 2009-05-18 12:57:59 +0000 |
---|---|---|
committer | Greg Froese <greg.froese@gmail.com> | 2009-05-18 12:57:59 +0000 |
commit | 70ad5de3a1d4fffc8b3d97c301194bb0258b4c68 (patch) | |
tree | 765e5d8b7081fd3373df0fb89d33a237a0239fce /start.php | |
parent | dd81b02a85596a913c4a42fba655766b61334eb1 (diff) | |
download | elgg-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.php | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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
|