function print_change_xmpp_login()
{
    echo '<div align="center">';
    echo '<table align="center" class="width75" cellspacing="1" style="border-bottom:none;">';
    echo '<tr>';
    echo '<td class="form-title" colspan="3">';
    echo plugin_lang_get('title') . ': ' . plugin_lang_get('edit_xmpp_user');
    echo '</td>';
    echo '</tr>';
    echo '<table align="center" class="width75" cellspacing="1">';
    echo '<tr class="row-2">';
    echo '<td class="category" width="25%">';
    print plugin_lang_get('xmpp_login');
    echo '<br>';
    echo '<span class="small">';
    print plugin_lang_get('xmpp_login_warn') . '</span>';
    echo '</td>';
    echo '<td colspan="5">';
    echo '<form method="post" action="' . plugin_page('change_xmpp_login.php') . '">';
    echo '<input type="text" name="xmpp_login" size="20" maxlength="20" value="' . get_xmpp_login(auth_get_current_user_id()) . '">';
    echo '<input type="hidden" name="user_id" value="' . auth_get_current_user_id() . '"/>';
    echo '<input type="submit" value="';
    print plugin_lang_get('change_btn_txt');
    echo '" class="button">';
    echo '</form>';
    echo '</td>';
    echo '</tr>';
    echo '</table>';
    echo '</div>';
}
 /**
  * Send quick message.
  */
 function send_quick_msg($p_event, $p_bug_id)
 {
     if (check_user_from_projects_table($p_bug_id)) {
         if (ON == plugin_config_get('add_send_quick_msg')) {
             $reporter_user_id = bug_get_field($p_bug_id, 'reporter_id');
             $quick_msg = gpc_get_string('quick_msg', '');
             print_quick_msg($p_bug_id, $reporter_user_id);
             if ($quick_msg != '') {
                 send_quick_msg(get_xmpp_login($reporter_user_id), gen_quick_msg($reporter_user_id, $p_bug_id, $quick_msg), $p_bug_id);
             }
         }
     }
 }