1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

Modified view_logs to be used in MCP, added get_forum_list() to quickly get a set of forums the user is authed for

git-svn-id: file:///svn/phpbb/trunk@3781 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud
2003-04-02 23:21:17 +00:00
parent af3512e6df
commit 3ce0f98f25
2 changed files with 133 additions and 39 deletions

View File

@@ -88,8 +88,8 @@ if (isset($_POST['sort']) || $start)
$where_sql = 0;
}
$sort_key = (isset($_POST['sort_key'])) ? $_POST['sort_key'] : '';
$sort_dir = (isset($_POST['sort_dir'])) ? $_POST['sort_dir'] : '';
$sort_key = (isset($_REQUEST['sort_key'])) ? $_REQUEST['sort_key'] : '';
$sort_dir = (isset($_REQUEST['sort_dir'])) ? $_REQUEST['sort_dir'] : '';
}
else
{
@@ -172,7 +172,7 @@ if ($mode == 'mod')
//
$log_data = array();
$log_count = 0;
view_log($mode, $log_data, $log_count, $config['topics_per_page'], $start, $forum_id, $where_sql, $sort_sql);
view_log($mode, $log_data, $log_count, $config['topics_per_page'], $start, $forum_id, 0, $where_sql, $sort_sql);
if ($log_count)
{