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:
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user