diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.inc.php | 2 | ||||
-rw-r--r-- | include/functions_category.inc.php | 4 | ||||
-rw-r--r-- | include/functions_html.inc.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index 8e09f24db..c15149e20 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -413,7 +413,7 @@ function notify( $type, $infos = '' ) while ( $row = mysql_fetch_array( $result ) ) { $to = $row['mail_address']; - include( PHPWG_ROOT_PATH.'language/'.$row['language'].'.php' ); + include( PHPWG_ROOT_PATH.'language/'.$row['language'].'/common.lang.php' ); $content = $lang['mail_hello']."\n\n"; switch ( $type ) { diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php index 8ff06ede7..1b075f70a 100644 --- a/include/functions_category.inc.php +++ b/include/functions_category.inc.php @@ -607,7 +607,7 @@ SELECT COUNT(DISTINCT(id)) AS nb_total_images // pictures within the short period else if ( $page['cat'] == 'recent_pics' ) { - $page['title'] = $lang['recent_pics_cat_title']; + $page['title'] = $lang['recent_pics_cat']; // We must find the date corresponding to : // today - $conf['periode_courte'] $date = time() - 60*60*24*$user['recent_period']; @@ -625,7 +625,7 @@ SELECT COUNT(DISTINCT(id)) AS nb_total_images // categories containing recent pictures else if ( $page['cat'] == 'recent_cats' ) { - $page['title'] = $lang['recent_cats_cat_title']; + $page['title'] = $lang['recent_cats_cat']; $page['cat_nb_images'] = 0; } // most visited pictures diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index 7fe37a42e..015eef155 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -251,7 +251,7 @@ function get_html_menu_category($category) <ul class="menu">'; foreach ($category['subcats'] as $subcat) { - $menu.= get_html_menu_category($subcat, &$menu); + $menu.= get_html_menu_category($subcat); } $menu.= ' </ul>'; |