diff options
| author | James Atkinson <thefinn@users.sourceforge.net> | 2001-11-09 08:57:37 +0000 |
|---|---|---|
| committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-11-09 08:57:37 +0000 |
| commit | 833f085eb2f6f957045f2bce4874c61de9a93ebb (patch) | |
| tree | a2ef34fbb21450b22e81c6919fd439d2abcd75fa /phpBB/viewtopic.php | |
| parent | 41c15e37ce86a63e9120c37f3ef178acf8736083 (diff) | |
| download | forums-833f085eb2f6f957045f2bce4874c61de9a93ebb.tar forums-833f085eb2f6f957045f2bce4874c61de9a93ebb.tar.gz forums-833f085eb2f6f957045f2bce4874c61de9a93ebb.tar.bz2 forums-833f085eb2f6f957045f2bce4874c61de9a93ebb.tar.xz forums-833f085eb2f6f957045f2bce4874c61de9a93ebb.zip | |
Checked all calls to message_die and made sure that if they would be outputted to a user
without a major error that they got their error string from the lang file
Also made sure all calls had the right arguments in teh right place
git-svn-id: file:///svn/phpbb/trunk@1289 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 66add3ed41..9ae84c6eb7 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -45,7 +45,7 @@ $start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) : if( !isset($topic_id) && !isset($post_id) ) { - message_die(GENERAL_MESSAGE, 'Topic_post_not_exist'); + message_die(GENERAL_MESSAGE, $lang['Topic_post_not_exist'], $lang['Error'], __LINE__, __FILE__); } // @@ -75,7 +75,7 @@ if( isset($HTTP_GET_VARS["view"]) && empty($HTTP_GET_VARS[POST_POST_URL]) ) if( !($row = $db->sql_fetchrow($result)) ) { - message_die(GENERAL_MESSAGE, 'No new posts since your last visit'); + message_die(GENERAL_MESSAGE, $lang['No_new_posts_last_visit']); } else { |
