mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/9556] Drop php closing tags, add trailing newline
Closing tags converted using Oleg's script. remove-php-end-tags.py -a . Trailing newlines added using the following where $ext is file extension. find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s; Extensions: php, css, html, js, xml. PHPBB3-9556
This commit is contained in:
@@ -35,5 +35,3 @@ class mcp_ban_info
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -35,5 +35,3 @@ class mcp_logs_info
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -36,5 +36,3 @@ class mcp_main_info
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -34,5 +34,3 @@ class mcp_notes_info
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -35,5 +35,3 @@ class mcp_pm_reports_info
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -35,5 +35,3 @@ class mcp_queue_info
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -35,5 +35,3 @@ class mcp_reports_info
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -36,5 +36,3 @@ class mcp_warn_info
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -215,5 +215,3 @@ class mcp_ban
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -447,5 +447,3 @@ function merge_topics($forum_id, $topic_ids, $to_topic_id)
|
||||
trigger_error($user->lang[$success_msg] . '<br /><br />' . $return_link);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -376,5 +376,3 @@ function mcp_front_view($id, $mode, $action)
|
||||
$template->assign_var('S_MCP_ACTION', append_sid("{$phpbb_root_path}mcp.$phpEx"));
|
||||
make_jumpbox(append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&mode=forum_view'), 0, false, 'm_', true);
|
||||
}
|
||||
|
||||
?>
|
@@ -214,5 +214,3 @@ class mcp_logs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -1314,5 +1314,3 @@ function mcp_fork_topic($topic_ids)
|
||||
trigger_error($user->lang[$success_msg] . '<br /><br />' . $return_link);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -247,5 +247,3 @@ class mcp_notes
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -319,5 +319,3 @@ class mcp_pm_reports
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -497,5 +497,3 @@ function change_poster(&$post_info, $userdata)
|
||||
// Now add log entry
|
||||
add_log('mod', $post_info['forum_id'], $post_info['topic_id'], 'LOG_MCP_CHANGE_POSTER', $post_info['topic_title'], $from_username, $to_username);
|
||||
}
|
||||
|
||||
?>
|
@@ -993,5 +993,3 @@ function disapprove_post($post_id_list, $id, $mode)
|
||||
trigger_error($user->lang[$success_msg] . '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], "<a href=\"$redirect\">", '</a>'));
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -723,5 +723,3 @@ function close_report($report_id_list, $mode, $action, $pm = false)
|
||||
trigger_error($user->lang[$success_msg] . '<br /><br />' . $return_forum . $return_topic . sprintf($user->lang['RETURN_PAGE'], "<a href=\"$redirect\">", '</a>'));
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -638,5 +638,3 @@ function merge_posts($topic_id, $to_topic_id)
|
||||
trigger_error($user->lang[$success_msg] . '<br /><br />' . $return_link);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -507,5 +507,3 @@ function add_warning($user_row, $warning, $send_pm = true, $post_id = 0)
|
||||
|
||||
add_log('mod', $row['forum_id'], $row['topic_id'], 'LOG_USER_WARNING', $user_row['username']);
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user