phpBB

Code Changes

File: includes/mcp/mcp_front.php

  Unmodified   Added   Modified   Removed
Line 54Line 54
			* Allow altering the query to get the number of unapproved posts
*
* @event core.mcp_front_queue_unapproved_total_before

			* Allow altering the query to get the number of unapproved posts
*
* @event core.mcp_front_queue_unapproved_total_before

			* @var	int		sql_ary						Query to get the total number of unapproved posts
* @var array forum_list List of forums to look for unapproved posts

			* @var	array	sql_ary			Query array to get the total number of unapproved posts
* @var array forum_list List of forums to look for unapproved posts

			* @since 3.1.5-RC1
*/
$vars = array('sql_ary', 'forum_list');

			* @since 3.1.5-RC1
*/
$vars = array('sql_ary', 'forum_list');

Line 179Line 179
			* Alter sql query to count the number of reported posts
*
* @event core.mcp_front_reports_count_query_before

			* Alter sql query to count the number of reported posts
*
* @event core.mcp_front_reports_count_query_before

			* @var	int		sql				The query string used to get the number of reports that exist

			* @var	string	sql				The query string used to get the number of reports that exist

			* @var	array	forum_list		List of forums that contain the posts
* @since 3.1.5-RC1
*/

			* @var	array	forum_list		List of forums that contain the posts
* @since 3.1.5-RC1
*/

Line 226Line 226
				* Alter sql query to get latest reported posts
*
* @event core.mcp_front_reports_listing_query_before

				* Alter sql query to get latest reported posts
*
* @event core.mcp_front_reports_listing_query_before

				* @var	int		sql_ary						Associative array with the query to be executed
* @var array forum_list List of forums that contain the posts

				* @var	array	sql_ary			Associative array with the query to be executed
* @var array forum_list List of forums that contain the posts

				* @since 3.1.0-RC3
*/
$vars = array('sql_ary', 'forum_list');

				* @since 3.1.0-RC3
*/
$vars = array('sql_ary', 'forum_list');

Line 274Line 274
	}

// Latest 5 reported PMs

	}

// Latest 5 reported PMs

	if ($module->loaded('pm_reports') && $auth->acl_getf_global('m_report'))

	if ($module->loaded('pm_reports') && $auth->acl_get('m_pm_report'))

	{
$template->assign_var('S_SHOW_PM_REPORTS', true);
$user->add_lang(array('ucp'));

	{
$template->assign_var('S_SHOW_PM_REPORTS', true);
$user->add_lang(array('ucp'));