diff options
author | rub <rub@piwigo.org> | 2008-01-30 22:07:07 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2008-01-30 22:07:07 +0000 |
commit | 69159c0e9238fd369dca2181af6fb9de47b14440 (patch) | |
tree | 545ea813c006506d1bde84e0da8cc5f7b686cd03 /include/section_init.inc.php | |
parent | d5015da6ec45bbb08732b28dfbfe9e089504c08d (diff) |
Replace old use of $lang by l10n function.
git-svn-id: http://piwigo.org/svn/trunk@2201 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/section_init.inc.php')
-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 240beb804..bfed38409 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -216,7 +216,7 @@ if ('categories' == $page['section']) } else { - $page['title'] = $lang['no_category']; + $page['title'] = l10n('no_category'); } if @@ -340,7 +340,7 @@ SELECT DISTINCT(id) $page, array( 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' - .$lang['search_result'].'</a>', + .l10n('search_result').'</a>', ) ); } @@ -370,7 +370,7 @@ SELECT image_id $page = array_merge( $page, array( - 'title' => $lang['favorites'], + 'title' => l10n('favorites'), 'items' => array_from_query($query, 'image_id'), ) ); @@ -395,7 +395,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'), ) ); @@ -408,7 +408,7 @@ SELECT DISTINCT(id) $page = array_merge( $page, array( - 'title' => $lang['recent_cats_cat'], + 'title' => l10n('recent_cats_cat'), ) ); } @@ -433,7 +433,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'), ) ); @@ -459,7 +459,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'), ) ); @@ -482,7 +482,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'), ) ); |