aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_pm_compose.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_compose.php')
-rw-r--r--phpBB/includes/ucp/ucp_pm_compose.php39
1 files changed, 22 insertions, 17 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php
index 10d6d6baae..33ee31b22c 100644
--- a/phpBB/includes/ucp/ucp_pm_compose.php
+++ b/phpBB/includes/ucp/ucp_pm_compose.php
@@ -1,18 +1,17 @@
<?php
-// -------------------------------------------------------------
-//
-// $Id$
-//
-// FILENAME : compose.php
-// STARTED : Sat Mar 27, 2004
-// COPYRIGHT : © 2004 phpBB Group
-// WWW : http://www.phpbb.com/
-// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
-//
-// -------------------------------------------------------------
-
-// * Called from ucp_pm with mode == 'compose'
-
+/**
+*
+* @package ucp
+* @version $Id$
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* Compose private message
+* Called from ucp_pm with mode == 'compose'
+*/
function compose_pm($id, $mode, $action)
{
global $template, $db, $auth, $user;
@@ -763,7 +762,9 @@ function compose_pm($id, $mode, $action)
}
}
-// For composing messages, handle list actions
+/**
+* For composing messages, handle list actions
+*/
function handle_message_list_actions(&$address_list, $remove_u, $remove_g, $add_to, $add_bcc)
{
global $_REQUEST;
@@ -832,7 +833,9 @@ function handle_message_list_actions(&$address_list, $remove_u, $remove_g, $add_
}
-// Return number of recipients
+/**
+* Return number of private message recipients
+*/
function num_recipients($address_list)
{
$num_recipients = 0;
@@ -845,7 +848,9 @@ function num_recipients($address_list)
return $num_recipients;
}
-// Get recipient at position 'pos'
+/**
+* Get recipient at position 'pos'
+*/
function get_recipient_pos($address_list, $position = 1)
{
$recipient = array();