diff options
author | rub <rub@piwigo.org> | 2008-01-30 22:16:01 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2008-01-30 22:16:01 +0000 |
commit | 7bb12f4f481639547b7aabd38eb044eb1f942c66 (patch) | |
tree | 5e175322389e678094ea0cae3a12c07e062d0a79 /include/section_init.inc.php | |
parent | 49b663ecec19a8b12f4986c2c2e8f193e2802366 (diff) |
Replace old use of $lang by l10n function.
Merge BSF 2200:2201 into branch-1_7
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2202 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/section_init.inc.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php index 86c1c35c0..cabfae546 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -217,7 +217,7 @@ if ('categories' == $page['section']) } else { - $page['title'] = $lang['no_category']; + $page['title'] = l10n('no_category'); } if @@ -337,7 +337,7 @@ SELECT DISTINCT(id) $page, array( 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' - .$lang['search_result'].'</a>', + .l10n('search_result').'</a>', ) ); } @@ -367,7 +367,7 @@ SELECT image_id $page = array_merge( $page, array( - 'title' => $lang['favorites'], + 'title' => l10n('favorites'), 'items' => array_from_query($query, 'image_id'), ) ); @@ -392,7 +392,7 @@ SELECT DISTINCT(id) $page, array( 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' - .$lang['recent_pics_cat'].'</a>', + .l10n('recent_pics_cat').'</a>', 'items' => array_from_query($query, 'id'), ) ); @@ -405,7 +405,7 @@ SELECT DISTINCT(id) $page = array_merge( $page, array( - 'title' => $lang['recent_cats_cat'], + 'title' => l10n('recent_cats_cat'), ) ); } @@ -430,7 +430,7 @@ SELECT DISTINCT(id) $page, array( 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' - .$conf['top_number'].' '.$lang['most_visited_cat'].'</a>', + .$conf['top_number'].' '.l10n('most_visited_cat').'</a>', 'items' => array_from_query($query, 'id'), ) ); @@ -456,7 +456,7 @@ SELECT DISTINCT(id) $page, array( 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' - .$conf['top_number'].' '.$lang['best_rated_cat'].'</a>', + .$conf['top_number'].' '.l10n('best_rated_cat').'</a>', 'items' => array_from_query($query, 'id'), ) ); @@ -479,7 +479,7 @@ SELECT DISTINCT(id) $page, array( 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' - .$lang['random_cat'].'</a>', + .l10n('random_cat').'</a>', 'items' => array_from_query($query, 'id'), ) ); |