default to a session cookie instead of setting an explicit timeout, weird timezone...
[freeside.git] / fs_selfservice / FS-SelfService / cgi / tktcreate.html
1 <%= include('header', 'Create a ticket') %>
2
3 <%=
4 if ( $ticket_id ) {
5     $OUT .= "<B>Created ticket #$ticket_id</B>";
6 } else {
7     $OUT .= qq! 
8     <div style='font-weight: bold; color: red; margin-bottom: 6px;'> $error </div>
9     Please fill in both the subject and message
10     <br><br>
11     <FORM ACTION="$selfurl" METHOD=POST>
12     <input type="hidden" name="action" value="tktcreate">
13     <table>
14         <tr>
15             <td>Your e-mail address</td>
16             <td>$requestor</td>
17         </tr>
18         <tr>
19             <td>Subject</td>
20             <td><input type="text" name="subject" size="53"></td>
21         </tr>
22         <tr>
23             <td valign="top">Message</td>
24             <td><textarea name="message" rows="10" cols="60"></textarea></td>
25         </tr>
26         <tr>
27             <td></td>
28             <td><input type="submit" value="Create"></td>
29         </tr>
30     </table>
31     </form> 
32     !;
33 }
34 %>
35
36 <%= include('footer') %>