aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-07-17 14:13:27 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-07-17 14:13:27 +0000
commitf685c49fa2629ca69a0fff28212d0dde7a822f39 (patch)
tree7b1372471562927dcd47b365f3e02b25524979eb /phpBB/includes
parent889cc525e43284e065c762f8cc886236c02fe694 (diff)
downloadforums-f685c49fa2629ca69a0fff28212d0dde7a822f39.tar
forums-f685c49fa2629ca69a0fff28212d0dde7a822f39.tar.gz
forums-f685c49fa2629ca69a0fff28212d0dde7a822f39.tar.bz2
forums-f685c49fa2629ca69a0fff28212d0dde7a822f39.tar.xz
forums-f685c49fa2629ca69a0fff28212d0dde7a822f39.zip
Updates to message output for admin (primarily)
git-svn-id: file:///svn/phpbb/trunk@2707 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index d6b93e202f..4ac62a885e 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -435,7 +435,7 @@ function create_date($format, $gmepoch, $tz)
if ( empty($translate) && $board_config['default_lang'] != 'english' )
{
@reset($lang['datetime']);
- while ( list($match, $replace) = @each($lang['datetime']) )
+ foreach ( $lang['datetime'] as $match => $replace )
{
$translate[$match] = $replace;
}
@@ -580,7 +580,7 @@ function obtain_word_list(&$orig_word, &$replacement_word)
// failures, etc.
// -> ERROR : Use for any error, a simple page will be output
//
-function message_die($msg_code, $msg_text = '', $msg_title = '')
+function message_die($msg_code, $msg_text = '', $msg_title = '', $display_header = false)
{
global $db, $session, $acl, $template, $board_config, $theme, $lang, $userdata, $user_ip;
global $phpEx, $phpbb_root_path, $nav_links, $starttime;
@@ -599,7 +599,7 @@ function message_die($msg_code, $msg_text = '', $msg_title = '')
if ( defined('IN_ADMIN') )
{
- page_message($msg_title, $msg_text);
+ page_message($msg_title, $msg_text, $display_header);
}
else
{