From: Cash Costello Date: Sat, 22 Aug 2009 19:32:33 +0000 (+0000) Subject: moved all most recent pages to pages/lists/ X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1827bae9adc9aaad0c08e47f7ca8aae81a814065;p=lorea%2Felgg.git moved all most recent pages to pages/lists/ --- diff --git a/friendmostrecent.php b/pages/lists/friendmostrecent.php similarity index 86% rename from friendmostrecent.php rename to pages/lists/friendmostrecent.php index 10d99251a..5f71d5679 100644 --- a/friendmostrecent.php +++ b/pages/lists/friendmostrecent.php @@ -1,10 +1,10 @@ name) || page_owner_entity()->name == '') { $friendname = get_input('username'); diff --git a/mostrecentimages.php b/pages/lists/mostrecentimages.php similarity index 85% rename from mostrecentimages.php rename to pages/lists/mostrecentimages.php index 964216fe9..5332d8e9e 100644 --- a/mostrecentimages.php +++ b/pages/lists/mostrecentimages.php @@ -6,7 +6,7 @@ */ // Load Elgg engine - include_once dirname(dirname(dirname(__FILE__))) . "/engine/start.php"; + include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php"; // how many do we display $max = 12; diff --git a/yourmostrecent.php b/pages/lists/yourmostrecent.php similarity index 85% rename from yourmostrecent.php rename to pages/lists/yourmostrecent.php index 69b4b93e9..eb124c84d 100644 --- a/yourmostrecent.php +++ b/pages/lists/yourmostrecent.php @@ -1,10 +1,10 @@ pluginspath . "tidypics/actions/rate.php"); break; + case "mostviewed": if (isset($page[1])) set_input('guid',$page[1]); include($CONFIG->pluginspath . "tidypics/mostviewedimages.php"); @@ -286,7 +287,7 @@ case "mostrecent": if (isset($page[1])) set_input('guid',$page[1]); - include($CONFIG->pluginspath . "tidypics/mostrecentimages.php"); + include($CONFIG->pluginspath . "tidypics/pages/lists/mostrecentimages.php"); break; case "yourmostviewed": @@ -296,7 +297,7 @@ case "yourmostrecent": if (isset($page[1])) set_input('guid',$page[1]); - include($CONFIG->pluginspath . "tidypics/yourmostrecent.php"); + include($CONFIG->pluginspath . "tidypics/pages/lists/yourmostrecent.php"); break; case "friendmostviewed": @@ -306,7 +307,7 @@ case "friendmostrecent": if (isset($page[1])) set_input('guid',$page[1]); - include($CONFIG->pluginspath . "tidypics/friendmostrecent.php"); + include($CONFIG->pluginspath . "tidypics/pages/lists/friendmostrecent.php"); break; case "recentlyviewed":