".Input("", "normal", "form_type", "hidden", "", "");
if (empty($queue) || !empty($allqueues) || !empty($limitqueues)) {
$output .= OpenTable("Queue")."";
$status = "New";
$output .= '';
}
else {
$output .= CreateSelectOptions(GetQueuesUserCanSee($username), "", $queue)."";
$output .= '';
}
}
if(!empty($queue) && empty($allqueues) && empty($limitqueues)) $output .= OpenTable("Queue").FontBold($queue);
$output .= CloseTable().OpenTable("ID of user").FontBold($user_id)
.CloseTable().Input("ID of user", $user_id, "user_id", "hidden", "")
.OpenTable("Requester")
.""
.CloseTable().OpenTable("Status").""
.CloseTable().OpenTable("Owner")
.""
.CloseTable().OpenTable("Cc")
.""
.Font("(use a space and a comma to add others)")
.CloseTable().OpenTable("Admin Cc")
.""
.Font("(use a space and a comma to add others)")
.CloseTable().OpenTable("Subject")
.""
.CloseTable().OpenTable("Describe
the Issue")
.""
.CloseTable().OpenTable("Send Preset Email Message To User")
.""
.CloseTable()."";
return $output;
}
//-----------------------------------------------------------------------------
//
// Function: NewTicketSpecialFieldsForm
// Description:
// Generate HTML to allow input of special fields on ticket creation.
// Parameters:
// string $queue Queue of ticket.
// string $requester Requester of ticket.
// string $status Ticket status.
// string $owner Owner of ticket.
// string $cc CC of ticket.
// string $admin_cc Admin CC of ticket.
// string $subject Subject of ticket.
// string $attach Not Used.
// string $content Initial comment for ticket.
// string $special_fields_count Number of special fields.
// string $email_user Email user?
// Return Values:
//
// Remarks:
//
//-----------------------------------------------------------------------------
function NewTicketSpecialFieldsForm($queue = "", $requester = "", $status = "",
$owner = "", $cc = "", $admin_cc = "",
$subject = "", $attach = "", $content = "",
$special_fields_count = "", $email_user = "") {
global $user_id;
$clean_queue = str_replace("_", " ", $queue);
$disabled = "disabled";
$output = "
Click the \"Show-Details\" button "; $output .= "so you can fix the date format problem."; } } $output .= CheckRequiredFields(); return $output; } ?>