diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index ae9eb1bb0..7808045d9 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -342,12 +342,11 @@ function access_denied() function page_forbidden($msg, $alternate_url=null) { set_status_header(403); - $forbidden=l10n('Forbidden'); if ($alternate_url==null) $alternate_url = make_index_url(); redirect_html( $alternate_url, '
-

'.$forbidden.'


' +

'.l10n('Forbidden').'


' .$msg.'
', 5 ); } @@ -360,12 +359,11 @@ function page_forbidden($msg, $alternate_url=null) function bad_request($msg, $alternate_url=null) { set_status_header(400); - $bad=l10n('Bad request'); if ($alternate_url==null) $alternate_url = make_index_url(); redirect_html( $alternate_url, '
-

'.$bad.'


' +

'.l10n('Bad request').'


' .$msg.'
', 5 ); } @@ -378,12 +376,11 @@ function bad_request($msg, $alternate_url=null) function page_not_found($msg, $alternate_url=null) { set_status_header(404); - $found=l10n('Page not found'); if ($alternate_url==null) $alternate_url = make_index_url(); redirect_html( $alternate_url, '
-

'.$found.'


' +

'.l10n('Page not found').'


' .$msg.'
', 5 ); } diff --git a/language/en_UK/common.lang.php b/language/en_UK/common.lang.php index 985188b64..a1f1ffc2b 100644 --- a/language/en_UK/common.lang.php +++ b/language/en_UK/common.lang.php @@ -410,4 +410,5 @@ $lang['Forbidden'] = 'Forbidden'; $lang['Piwigo encountered a non recoverable error'] = 'Piwigo encountered a non recoverable error'; $lang['Requested album does not exist'] = 'Requested album does not exist'; $lang['Permalink for album not found'] = 'Permalink for album not found'; +$lang['Requested tag does not exist'] = 'Requested tag does not exist'; ?> \ No newline at end of file