1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

- removed unnecessary pm options

- added one option to clearly define email visibility


git-svn-id: file:///svn/phpbb/trunk@5071 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2005-01-21 19:20:26 +00:00
parent 1438067953
commit e4be0ca799
13 changed files with 49 additions and 58 deletions

View File

@@ -153,9 +153,9 @@ function adm_page_footer($copyright_html = true)
exit;
}
function adm_page_message($title, $message, $show_header = false, $show_prev_info = true)
function adm_page_message($title, $message, $show_header = false)
{
global $phpEx, $SID, $user, $_SERVER, $_ENV;
global $phpEx, $SID, $user;
if ($show_header)
{
@@ -173,7 +173,6 @@ function adm_page_message($title, $message, $show_header = false, $show_prev_inf
}
$page = (!empty($_SERVER['REQUEST_URI'])) ? $_SERVER['REQUEST_URI'] : $_ENV['REQUEST_URI'];
?>
<br /><br />
@@ -183,14 +182,7 @@ function adm_page_message($title, $message, $show_header = false, $show_prev_inf
<th><?php echo $title; ?></th>
</tr>
<tr>
<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>
<td class="row1" align="center"><?php echo $message; ?></td>
</tr>
</table>