diff options
author | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 01:26:04 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 02:10:18 +0200 |
commit | 41d8a777dc73350a2f3bba6aaae2686921110d08 (patch) | |
tree | 8e1a58da4e7d1fb993ea6f64e63e7138f56e9011 /phpBB/includes | |
parent | 4a5172c9f74047c5917a0356f8537da2fe1550f4 (diff) | |
download | forums-41d8a777dc73350a2f3bba6aaae2686921110d08.tar forums-41d8a777dc73350a2f3bba6aaae2686921110d08.tar.gz forums-41d8a777dc73350a2f3bba6aaae2686921110d08.tar.bz2 forums-41d8a777dc73350a2f3bba6aaae2686921110d08.tar.xz forums-41d8a777dc73350a2f3bba6aaae2686921110d08.zip |
[feature/ajax] Add entirely unrelated but nice newlines
PHPBB3-10270
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/acp_styles.php | 1 | ||||
-rw-r--r-- | phpBB/includes/functions_display.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index a241dd3d10..26939080bc 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -185,6 +185,7 @@ inherit_from = {INHERIT_FROM} WHERE forum_style = ' . $style_id; $db->sql_query($sql); } + if ($request->is_ajax()) { $json_response = new phpbb_json_response; diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index 9335cabc15..18db64cc68 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -273,6 +273,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod markread('topics', $forum_ids); $message = sprintf($user->lang['RETURN_FORUM'], '<a href="' . $redirect . '">', '</a>'); meta_refresh(3, $redirect); + trigger_error($user->lang['FORUMS_MARKED'] . '<br /><br />' . $message); } else |