'.__('Message from').': | '.print_username ($config["id_user"], true).' | ||
'.__('Message to').': | '; $users_full = get_group_users(array_keys(get_user_groups())); $users = array(); foreach ($users_full as $user_id => $user_info) { $users[$user_info['id_user']] = $user_info['fullname']; } $groups = get_user_groups ($config["id_user"], "AR"); //Get a list of all groups print_select ($users, "dest_user", $dest_user, '', __('-Select user-'), false, false, false, '', false); echo ' - '.__('OR').' - '; print_select_groups($config["id_user"], "AR", true, "dest_group", $dest_group, '', __('-Select group-'), false, false, false, '', false); echo ' | ||
'.__('Subject').': | '; print_input_text ("subject", $subject, '', 50, 70, false); echo ' | ||
'.__('Message').': | '; print_textarea ("mensaje", 15, 70, $message, '', false); echo ' | ||
'; print_submit_button (__('Send message'), 'send_mes', false, 'class="sub wand"', false); echo ' |
'.__('You have').' '.$num_messages.' '.print_image ("images/email.png", true).' '.__('unread message(s)').'.
'; } if (empty ($messages)) { echo '