]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
finished moving lists to pages/lists/
authorCash Costello <cash.costello@gmail.com>
Sat, 22 Aug 2009 19:56:20 +0000 (19:56 +0000)
committerCash Costello <cash.costello@gmail.com>
Sat, 22 Aug 2009 19:56:20 +0000 (19:56 +0000)
16 files changed:
pages/lists/friendmostviewed.php [moved from friendmostviewed.php with 94% similarity]
pages/lists/highestrated.php
pages/lists/highestvotecount.php
pages/lists/mostcommentedimages.php
pages/lists/mostcommentedimagesthismonth.php
pages/lists/mostcommentedimagestoday.php
pages/lists/mostviewedimages.php [moved from mostviewedimages.php with 92% similarity]
pages/lists/mostviewedimageslastmonth.php [moved from mostviewedimageslastmonth.php with 94% similarity]
pages/lists/mostviewedimagesthismonth.php [moved from mostviewedimagesthismonth.php with 93% similarity]
pages/lists/mostviewedimagesthisyear.php [moved from mostviewedimagesthisyear.php with 93% similarity]
pages/lists/mostviewedimagestoday.php [moved from mostviewedimagestoday.php with 93% similarity]
pages/lists/recentlycommented.php
pages/lists/recentlyviewed.php [moved from recentlyviewed.php with 93% similarity]
pages/lists/recentvotes.php
pages/lists/yourmostviewed.php [moved from yourmostviewed.php with 91% similarity]
start.php

similarity index 94%
rename from friendmostviewed.php
rename to pages/lists/friendmostviewed.php
index 5c4ec91f4022c4c0d11a60cfd977e8692834bff2..793304edc23bd9f2c23fba147df0b761d9994471 100644 (file)
@@ -4,7 +4,7 @@
         * 
         */
 
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        //if no friends were requested, see world pictures instead, or redirect to user's friends
 /*     if (is_null(get_input('username')) || get_input('username')=='') {
index e9f0296e202f9437bf8b58fdc783bfc599145b4f..bacb7ba868ac46724b8b16b7e50775a90b2ef738 100644 (file)
@@ -4,7 +4,7 @@
         * 
         */
 
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        //if no friends were requested, see world pictures instead, or redirect to user's friends
 /*     if (is_null(get_input('username')) || get_input('username')=='') {
index 694afb32d9ffd38bd8d5b31c5d2b98b39a909aa8..26b90714457cb47350d075ffcc9d6a542280c2f1 100644 (file)
@@ -7,7 +7,7 @@
         */
 
        // Load Elgg engine
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        global $CONFIG;
        $prefix = $CONFIG->dbprefix;
index b3a36a9acb94ab8a307c9b90232f1527bce1204b..e22d3863e9e7c2f43382a1d3647a0ad967416223 100644 (file)
@@ -7,7 +7,7 @@
         */
 
        // Load Elgg engine
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        global $CONFIG;
        $prefix = $CONFIG->dbprefix;
index c47cee2da58fe52a1e70ee67a5a5b544d7194b4c..88b8371eebe12651b381fa8d1f4cfae7c188d34c 100644 (file)
@@ -7,7 +7,7 @@
         */
 
        // Load Elgg engine
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        global $CONFIG;
        $prefix = $CONFIG->dbprefix;
index 066feb45ef1700404adbcba9f36294bcd4464873..d35ac468d350a7c8eecade3f559508492e00172b 100644 (file)
@@ -7,7 +7,7 @@
         */
 
        // Load Elgg engine
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        global $CONFIG;
        $prefix = $CONFIG->dbprefix;
similarity index 92%
rename from mostviewedimages.php
rename to pages/lists/mostviewedimages.php
index 66266f5e7a322823fedb6de63ad5092e45f8ad7a..bd1b3ee92bf11c298017530999368b9504289a5e 100644 (file)
@@ -7,7 +7,7 @@
         */
 
        // Load Elgg engine
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        global $CONFIG;
        $prefix = $CONFIG->dbprefix;
similarity index 94%
rename from mostviewedimageslastmonth.php
rename to pages/lists/mostviewedimageslastmonth.php
index c57a74233ec0b60749efb693c9f9e482a7649ea8..c5edec3d94c0d469093a2a956a8157f006808565 100644 (file)
@@ -7,7 +7,7 @@
         */
 
        // Load Elgg engine
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        global $CONFIG;
        $prefix = $CONFIG->dbprefix;
similarity index 93%
rename from mostviewedimagesthismonth.php
rename to pages/lists/mostviewedimagesthismonth.php
index e950f0f208b4dd83ba5917b61ac3286899171621..dfdb6136aa554de8c1e6c3adac053e8199a81d24 100644 (file)
@@ -7,7 +7,7 @@
         */
 
        // Load Elgg engine
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        global $CONFIG;
        $prefix = $CONFIG->dbprefix;
similarity index 93%
rename from mostviewedimagesthisyear.php
rename to pages/lists/mostviewedimagesthisyear.php
index 8072607690f62bef6393008160a4c48fa82b473e..e6c8a53dbc9fe9eb581ac3e8c997c0ecf67a912e 100644 (file)
@@ -7,7 +7,7 @@
         */
 
        // Load Elgg engine
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        global $CONFIG;
        $prefix = $CONFIG->dbprefix;
similarity index 93%
rename from mostviewedimagestoday.php
rename to pages/lists/mostviewedimagestoday.php
index b971771badd729bf86bae6b58d888bddff7c912d..9845506ebb8e9e2481bbe6f3ca1e5fb41586173b 100644 (file)
@@ -7,7 +7,7 @@
         */
 
        // Load Elgg engine
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        global $CONFIG;
        $prefix = $CONFIG->dbprefix;
index bfb64981d109d16a57dc876508672d7eaaf623e3..da0f2a12aa7ab0aaacdd85aa2bc25f5698fd90a4 100644 (file)
@@ -7,7 +7,7 @@
         */
 
        // Load Elgg engine
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        global $CONFIG;
        $prefix = $CONFIG->dbprefix;
similarity index 93%
rename from recentlyviewed.php
rename to pages/lists/recentlyviewed.php
index 4cf3737dd309c41b1ff3f93fd574f1a178dae229..b8a5531b2c95e5a364c3138fc6d7024ca496c3c9 100644 (file)
@@ -7,7 +7,7 @@
         */
 
        // Load Elgg engine
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        global $CONFIG;
        $prefix = $CONFIG->dbprefix;
index f9ddbdc38959cab27cf182ac934e62cf2d4093b9..3d8eac97e6fdf61a92d48af26c4ea8a867d34f6f 100644 (file)
@@ -7,7 +7,7 @@
         */
 
        // Load Elgg engine
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
 
        global $CONFIG;
        $prefix = $CONFIG->dbprefix;
similarity index 91%
rename from yourmostviewed.php
rename to pages/lists/yourmostviewed.php
index ffcdb50ad61f3c669b6aba23d60eb6301b2660bf..6a2114d191c9b0abcbf648200aa5c34a5c66da62 100644 (file)
@@ -7,7 +7,8 @@
         */
 
        // Load Elgg engine
-       include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+       include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
+       
        $viewer = get_loggedin_user();
        
        global $CONFIG;
index 8f99a82120adb713d6281b3f4c32b55c360c365c..53b2c17c4b5b546fe1856dc00d4aba4b50863dc5 100644 (file)
--- a/start.php
+++ b/start.php
                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