From fc32df035889dd74f2cfc1c62bb793d36f333ec2 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 9 Apr 2005 12:26:45 +0000 Subject: - Documentation related changes - added resend activation email dialog - fixed issue in session code - log failed/successful admin re-authentication/login - fixed simple forum dropdown box (used in mcp and posting) git-svn-id: file:///svn/phpbb/trunk@5114 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/mcp.php | 62 +++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 23 deletions(-) (limited to 'phpBB/mcp.php') diff --git a/phpBB/mcp.php b/phpBB/mcp.php index 303b21b021..360648457f 100644 --- a/phpBB/mcp.php +++ b/phpBB/mcp.php @@ -1,25 +1,26 @@ start(); @@ -438,7 +438,9 @@ switch ($mode) // // LITTLE HELPER -// request_var, the array way +/** +* request_var, the array way +*/ function get_array($var, $default_value) { $ids = request_var($var, $default_value); @@ -463,7 +465,9 @@ function get_array($var, $default_value) return $ids; } -// Build simple hidden fields from array +/** +* Build simple hidden fields from array +*/ function build_hidden_fields($field_ary) { $s_hidden_fields = ''; @@ -486,7 +490,9 @@ function build_hidden_fields($field_ary) return $s_hidden_fields; } -// Get simple topic data +/** +* Get simple topic data +*/ function get_topic_data($topic_ids, $acl_list = false) { global $auth, $db; @@ -516,7 +522,9 @@ function get_topic_data($topic_ids, $acl_list = false) return $rowset; } -// Get simple post data +/** +* Get simple post data +*/ function get_post_data($post_ids, $acl_list = false) { global $db, $auth; @@ -549,6 +557,9 @@ function get_post_data($post_ids, $acl_list = false) return $rowset; } +/** +* Get simple forum data +*/ function get_forum_data($forum_id, $acl_list = 'f_list') { global $auth, $db; @@ -576,6 +587,9 @@ function get_forum_data($forum_id, $acl_list = 'f_list') return $rowset; } +/** +* sorting in mcp +*/ function mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by_sql, &$sort_order_sql, &$total, $forum_id = 0, $topic_id = 0, $where_sql = 'WHERE') { global $db, $user, $auth, $template; @@ -732,7 +746,9 @@ function mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by_sql, } } -// +/** +* Validate ids +*/ function check_ids(&$ids, $table, $sql_id, $acl_list = false) { global $db, $auth; -- cgit v1.2.1