aboutsummaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-08-29 13:53:48 +0000
committergweltas <gweltas@piwigo.org>2004-08-29 13:53:48 +0000
commit196f36176e5c1960d7f0df4ee491ffa7674e380f (patch)
treefd5ec5b88a7b99ba565b305b8f770dc124687d8c /search.php
parent38f7bcd8ac94db8c460fe3913bb7d19c81a2e7dc (diff)
Call to get_plain_structure() replaced by a call to get_user_plain_structure()
git-svn-id: http://piwigo.org/svn/trunk@499 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'search.php')
-rw-r--r--search.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/search.php b/search.php
index cf1f67b8b..324f3016d 100644
--- a/search.php
+++ b/search.php
@@ -235,14 +235,14 @@ include(PHPWG_ROOT_PATH.'include/page_header.php');
$template->set_filenames( array('search'=>'search.tpl') );
$template->assign_vars(array(
'L_TITLE' => $lang['search_title'],
- 'L_COMMENTS' => $lang['search_comments'],
- 'L_RETURN' => $lang['search_return_main_page'],
+ 'L_COMMENTS' => $lang['comments'],
+ 'L_RETURN' => $lang['gallery_index'],
'L_SUBMIT' => $lang['submit'],
'L_SEARCH_OR'=>$lang['search_mode_or'],
'L_SEARCH_AND'=>$lang['search_mode_and'],
'L_SEARCH_OR_CLAUSES'=>$lang['search_or_clauses'],
'L_SEARCH_AND_CLAUSES'=>$lang['search_and_clauses'],
- 'L_SEARCH_CATEGORIES'=>$lang['search_categories'],
+ 'L_SEARCH_CATEGORIES'=>$lang['categories'],
'L_SEARCH_SUBCATS_INCLUDED'=>$lang['search_subcats_included'],
'L_SEARCH_DATE_INCLUDED'=> $lang['search_date_included'],
'L_SEARCH_DATE_IS'=>$lang['search_date_is'],
@@ -365,9 +365,8 @@ function display_search_categories($categories, $indent, $selecteds)
}
}
}
-include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
-$page['plain_structure'] = get_plain_structure(true);
-$structure = create_structure('');
+$page['plain_structure'] = get_user_plain_structure(true);
+$structure = create_user_structure('');
$selecteds = array();
if (isset($_POST['submit']))