summaryrefslogtreecommitdiff
path: root/fs_selfservice/FS-SelfService/cgi/tktcreate.html
blob: de7ff60b8ec6c51cc7667b414e50fc2d40a01f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<%= $url = "$selfurl?session=$session_id;action="; ''; %>
<%= include('header', 'Create a ticket') %>

<%=
if ( $ticket_id ) {
    $OUT .= "<B>Created ticket #$ticket_id</B>";
} else {
    $OUT .= qq! 
    <div style='font-weight: bold; color: red; margin-bottom: 6px;'> $error </div>
    Please fill in both the subject and message
    <br><br>
    <FORM ACTION="$selfurl" METHOD=POST>
    <input type="hidden" name="session" value="$session_id">
    <input type="hidden" name="action" value="tktcreate">
    <table>
	<tr>
	    <td>Your e-mail address</td>
	    <td>$requestor</td>
	</tr>
	<tr>
	    <td>Subject</td>
	    <td><input type="text" name="subject" size="53"></td>
	</tr>
	<tr>
	    <td valign="top">Message</td>
	    <td><textarea name="message" rows="10" cols="60"></textarea></td>
	</tr>
	<tr>
	    <td></td>
	    <td><input type="submit" value="Create"></td>
	</tr>
    </table>
    </form> 
    !;
}
%>

<%= include('footer') %>