]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
moved all most recent pages to pages/lists/
authorCash Costello <cash.costello@gmail.com>
Sat, 22 Aug 2009 19:32:33 +0000 (19:32 +0000)
committerCash Costello <cash.costello@gmail.com>
Sat, 22 Aug 2009 19:32:33 +0000 (19:32 +0000)
pages/lists/friendmostrecent.php [moved from friendmostrecent.php with 86% similarity]
pages/lists/mostrecentimages.php [moved from mostrecentimages.php with 85% similarity]
pages/lists/yourmostrecent.php [moved from yourmostrecent.php with 85% similarity]
start.php

similarity index 86%
rename from friendmostrecent.php
rename to pages/lists/friendmostrecent.php
index 10d99251aef22604a0443ff3f3e99a8a8bf28998..5f71d56791651f69c91bdc3c1a499421edf7939f 100644 (file)
@@ -1,10 +1,10 @@
 <?php
        /**
-        * Tidypics Friends Albums Listing
+        * List of someone else's most recent photos (we should be able to combine with yourmostrecent.php)
         * 
         */
 
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        if (is_null(page_owner_entity()->name) || page_owner_entity()->name == '') {
                $friendname = get_input('username');
similarity index 85%
rename from mostrecentimages.php
rename to pages/lists/mostrecentimages.php
index 964216fe92846a043fc35f0db374ea82a29ee390..5332d8e9ec15464e15fae63950bfbd379dd25d0d 100644 (file)
@@ -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;
similarity index 85%
rename from yourmostrecent.php
rename to pages/lists/yourmostrecent.php
index 69b4b93e962e0adc29b58ab268a925eca860676f..eb124c84d62c97902628262249f6bb25d160be91 100644 (file)
@@ -1,10 +1,10 @@
 <?php
        /**
-        * Tidypics Friends Albums Listing
+        * List of user's most recently uploaded photos
         * 
         */
 
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        global $CONFIG;
        $viewer = get_loggedin_user();
index 07dc9392fdd00e96ceb77440f11f069c9e08b463..7592f00b3d9e8daa2aa0c03114ba699fdcf2b60f 100644 (file)
--- a/start.php
+++ b/start.php
                                        include($CONFIG->pluginspath . "tidypics/actions/rate.php");\r
                                break;\r
 \r
+\r
                                case "mostviewed":\r
                                        if (isset($page[1])) set_input('guid',$page[1]);\r
                                        include($CONFIG->pluginspath . "tidypics/mostviewedimages.php");\r
                                \r
                                case "mostrecent":\r
                                        if (isset($page[1])) set_input('guid',$page[1]);\r
-                                       include($CONFIG->pluginspath . "tidypics/mostrecentimages.php");\r
+                                       include($CONFIG->pluginspath . "tidypics/pages/lists/mostrecentimages.php");\r
                                break;\r
                                \r
                                case "yourmostviewed":\r
                                \r
                                case "yourmostrecent":\r
                                        if (isset($page[1])) set_input('guid',$page[1]);\r
-                                       include($CONFIG->pluginspath . "tidypics/yourmostrecent.php");\r
+                                       include($CONFIG->pluginspath . "tidypics/pages/lists/yourmostrecent.php");\r
                                break;\r
                                \r
                                case "friendmostviewed":\r
                                \r
                                case "friendmostrecent":\r
                                        if (isset($page[1])) set_input('guid',$page[1]);\r
-                                       include($CONFIG->pluginspath . "tidypics/friendmostrecent.php");\r
+                                       include($CONFIG->pluginspath . "tidypics/pages/lists/friendmostrecent.php");\r
                                break;\r
                                \r
                                case "recentlyviewed":\r