global $CONFIG;\r
\r
add_submenu_item(elgg_echo('tidypics:mostvieweddashboard'), $CONFIG->url . "mod/tidypics/mostvieweddashboard.php");\r
- add_submenu_item(elgg_echo('tidypics:mostviewedthisyear'), $CONFIG->url . "mod/tidypics/mostviewedimagesthisyear.php");\r
- add_submenu_item(elgg_echo('tidypics:mostviewedthismonth'), $CONFIG->url . "mod/tidypics/mostviewedimagesthismonth.php");\r
- add_submenu_item(elgg_echo('tidypics:mostviewedlastmonth'), $CONFIG->url . "mod/tidypics/mostviewedimageslastmonth.php");\r
- add_submenu_item(elgg_echo('tidypics:mostviewedtoday'), $CONFIG->url . "mod/tidypics/mostviewedimagestoday.php");\r
+ add_submenu_item(elgg_echo('tidypics:mostviewedthisyear'), $CONFIG->url . "mod/tidypics/pages/lists/mostviewedimagesthisyear.php");\r
+ add_submenu_item(elgg_echo('tidypics:mostviewedthismonth'), $CONFIG->url . "mod/tidypics/pages/lists/mostviewedimagesthismonth.php");\r
+ add_submenu_item(elgg_echo('tidypics:mostviewedlastmonth'), $CONFIG->url . "mod/tidypics/pages/lists/mostviewedimageslastmonth.php");\r
+ add_submenu_item(elgg_echo('tidypics:mostviewedtoday'), $CONFIG->url . "mod/tidypics/pages/lists/mostviewedimagestoday.php");\r
add_submenu_item(elgg_echo('tidypics:mostcommented'), $CONFIG->url . "mod/tidypics/pages/lists/mostcommentedimages.php");\r
add_submenu_item(elgg_echo('tidypics:mostcommentedthismonth'), $CONFIG->url . "mod/tidypics/pages/lists/mostcommentedimagesthismonth.php");\r
add_submenu_item(elgg_echo('tidypics:mostcommentedtoday'), $CONFIG->url . "mod/tidypics/pages/lists/mostcommentedimagestoday.php");\r
- add_submenu_item(elgg_echo('tidypics:recentlycommented'), $CONFIG->wwwroot . 'mod/tidypics/pages/lists/recentlycommented');\r
+ add_submenu_item(elgg_echo('tidypics:recentlycommented'), $CONFIG->wwwroot . 'pg/photos/recentlycommented');\r
}\r
/**\r
* Sets up tidypics admin menu. Triggered on pagesetup.\r
\r
case "mostviewed":\r
if (isset($page[1])) set_input('guid',$page[1]);\r
- include($CONFIG->pluginspath . "tidypics/mostviewedimages.php");\r
+ include($CONFIG->pluginspath . "tidypics/pages/lists/mostviewedimages.php");\r
break;\r
\r
case "mostrecent":\r
\r
case "yourmostviewed":\r
if (isset($page[1])) set_input('guid',$page[1]);\r
- include($CONFIG->pluginspath . "tidypics/yourmostviewed.php");\r
+ include($CONFIG->pluginspath . "tidypics/pages/lists/yourmostviewed.php");\r
break;\r
\r
case "yourmostrecent":\r
\r
case "friendmostviewed":\r
if (isset($page[1])) set_input('guid',$page[1]);\r
- include($CONFIG->pluginspath . "tidypics/friendmostviewed.php");\r
+ include($CONFIG->pluginspath . "tidypics/pages/lists/friendmostviewed.php");\r
break;\r
\r
case "friendmostrecent":\r
\r
case "recentlyviewed":\r
if (isset($page[1])) set_input('guid',$page[1]);\r
- include($CONFIG->pluginspath . "tidypics/recentlyviewed.php");\r
+ include($CONFIG->pluginspath . "tidypics/pages/lists/recentlyviewed.php");\r
break;\r
\r
case "recentlycommented":\r