1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 12:14:06 +02:00

language additions

some small fixes


git-svn-id: file:///svn/phpbb/trunk@4893 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2004-05-26 18:55:28 +00:00
parent cf8c2a7df1
commit 00ad9cc498
14 changed files with 93 additions and 22 deletions

View File

@@ -149,9 +149,9 @@ function adm_page_footer($copyright_html = true)
exit;
}
function adm_page_message($title, $message, $show_header = false)
function adm_page_message($title, $message, $show_header = false, $show_prev_info = true)
{
global $phpEx, $SID, $user;
global $phpEx, $SID, $user, $_SERVER, $_ENV;
if ($show_header)
{
@@ -169,6 +169,7 @@ function adm_page_message($title, $message, $show_header = false)
}
$page = (!empty($_SERVER['REQUEST_URI'])) ? $_SERVER['REQUEST_URI'] : $_ENV['REQUEST_URI'];
?>
<br /><br />
@@ -178,7 +179,14 @@ function adm_page_message($title, $message, $show_header = false)
<th><?php echo $title; ?></th>
</tr>
<tr>
<td class="row1" align="center"><?php echo $message; ?></td>
<td class="row1" align="center"><?php echo $message; ?>
<?php
if ($page && $show_prev_info)
{
echo '<br /><br />';
echo sprintf($user->lang['RETURN_PAGE'], '<a href="' . $page . '">', '</a>');
}
?> </td>
</tr>
</table>