]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3158 updated search and pages plugins for page handler scripts
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 19 Mar 2011 15:19:02 +0000 (15:19 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 19 Mar 2011 15:19:02 +0000 (15:19 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8769 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/pages/pages/pages/edit.php [moved from mod/pages/edit.php with 100% similarity]
mod/pages/pages/pages/friends.php [moved from mod/pages/friends.php with 100% similarity]
mod/pages/pages/pages/history.php [moved from mod/pages/history.php with 100% similarity]
mod/pages/pages/pages/index.php [moved from mod/pages/index.php with 100% similarity]
mod/pages/pages/pages/new.php [moved from mod/pages/new.php with 100% similarity]
mod/pages/pages/pages/revision.php [moved from mod/pages/revision.php with 100% similarity]
mod/pages/pages/pages/view.php [moved from mod/pages/view.php with 100% similarity]
mod/pages/pages/pages/world.php [moved from mod/pages/world.php with 100% similarity]
mod/pages/start.php
mod/search/pages/search/index.php [moved from mod/search/index.php with 100% similarity]
mod/search/start.php

index 3404a8cd2d605bcb1513b37bc4f3fea93aaf32a1..7a4df23c4b64ab4903a5491261e7bb04000ccf13 100644 (file)
@@ -115,7 +115,7 @@ function pages_page_handler($page) {
 
        elgg_push_breadcrumb(elgg_echo('pages'), 'pages/all');
 
-       $base_dir = elgg_get_plugins_path() . 'pages';
+       $base_dir = elgg_get_plugins_path() . 'pages/pages/pages';
 
        $page_type = $page[0];
        switch ($page_type) {
index ab7aa1c4ce9ae5a10d10dd804524dc585bacf405..18a0d59e33c52e6644500e74a54e64f4d6ff380c 100644 (file)
@@ -68,7 +68,9 @@ function search_page_handler($page) {
                //set_input('search_type', 'tags');
        }
 
-       include_once('index.php');
+       $base_dir = elgg_get_plugins_path() . 'search/pages/search';
+
+       include_once("$base_dir/index.php");
 }
 
 /**