aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_html.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-01-30 22:16:01 +0000
committerrub <rub@piwigo.org>2008-01-30 22:16:01 +0000
commit7bb12f4f481639547b7aabd38eb044eb1f942c66 (patch)
tree5e175322389e678094ea0cae3a12c07e062d0a79 /include/functions_html.inc.php
parent49b663ecec19a8b12f4986c2c2e8f193e2802366 (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 'include/functions_html.inc.php')
-rw-r--r--include/functions_html.inc.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index 4fdbcf04a..0d5ae0d29 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -54,8 +54,8 @@ function get_icon($date, $is_child_date = false)
if ( !isset($page['get_icon_cache']['_icons_'] ) )
{
$icons = array(false => 'recent', true => 'recent_by_child' );
- $title = $lang['recent_image'].'&nbsp;'.$user['recent_period']
- .'&nbsp;'.$lang['days'];
+ $title = l10n('recent_image').'&nbsp;'.$user['recent_period']
+ .'&nbsp;'.l10n('days');
foreach ($icons as $key => $icon)
{
$icon_url = get_themeconf('icon_dir').'/'.$icon.'.png';
@@ -106,12 +106,12 @@ function create_navigation_bar(
{
$navbar.=
'<a href="'.$url.'" rel="start">'
- .$lang['first_page']
+ .l10n('first_page')
.'</a>';
}
else
{
- $navbar.= $lang['first_page'];
+ $navbar.= l10n('first_page');
}
$navbar.= ' | ';
// link on previous page ?
@@ -123,12 +123,12 @@ function create_navigation_bar(
'<a href="'
.$url.($previous > 0 ? $start_str.$previous : '')
.'" rel="prev">'
- .$lang['previous_page']
+ .l10n('previous_page')
.'</a>';
}
else
{
- $navbar.= $lang['previous_page'];
+ $navbar.= l10n('previous_page');
}
$navbar.= ' |';
@@ -194,12 +194,12 @@ function create_navigation_bar(
$navbar.=
'<a href="'.$url.$start_str.$next.'" rel="next">'
- .$lang['next_page']
+ .l10n('next_page')
.'</a>';
}
else
{
- $navbar.= $lang['next_page'];
+ $navbar.= l10n('next_page');
}
$navbar.= ' | ';
@@ -210,12 +210,12 @@ function create_navigation_bar(
$navbar.=
'<a href="'.$url.$start_str.$temp_start.'" rel="last">'
- .$lang['last_page']
+ .l10n('last_page')
.'</a>';
}
else
{
- $navbar.= $lang['last_page'];
+ $navbar.= l10n('last_page');
}
}
return $navbar;
@@ -566,9 +566,9 @@ function access_denied()
if ( isset($user['is_the_guest']) and !$user['is_the_guest'] )
{
- echo '<div style="text-align:center;">'.$lang['access_forbiden'].'<br />';
- echo '<a href="'.get_root_url().'identification.php">'.$lang['identification'].'</a>&nbsp;';
- echo '<a href="'.make_index_url().'">'.$lang['home'].'</a></div>';
+ echo '<div style="text-align:center;">'.l10n('access_forbiden').'<br />';
+ echo '<a href="'.get_root_url().'identification.php">'.l10n('identification').'</a>&nbsp;';
+ echo '<a href="'.make_index_url().'">'.l10n('home').'</a></div>';
exit();
}
else