default to a session cookie instead of setting an explicit timeout, weird timezone...
[freeside.git] / httemplate / edit / cust_main / first_pkg / svc_phone.html
1 <TABLE CLASS="fsinnerbox">
2
3 %#XXX this should be hidden or something in most/all cases
4   <TR>
5     <TH ALIGN="right" ID="countrycode_label_td">Country code</TD>
6     <TD ID="countrycode_td">
7       <INPUT TYPE      = "text"
8              NAME      = "countrycode"
9              ID        = "countrycode"
10              VALUE     = "<% $opt{'countrycode'} %>"
11              SIZE      = 4
12              MAXLENGTH = 3
13       >
14     </TD>
15   </TR>
16
17 %#we don't know the svcpart until the dropdown is changed :/
18 %#<% include('/elements/tr-select-did.html',
19 %#             'label'      => 'Phone number',
20 %#             'curr_value' => $opt{'phonenum'},
21 %#          )
22 %#%>
23   <TR>
24     <TH ALIGN="right" ID="phonenum_label_td">Phone Number</TD>
25     <TD ID="phonenum_td">
26       <INPUT TYPE      = "text"
27              NAME      = "phonenum"
28              ID        = "phonenum"
29              VALUE     = "<% $opt{'phonenum'} %>"
30              SIZE      = 21
31              MAXLENGTH = 20
32       >
33     </TD>
34   </TR>
35
36   <TR>
37     <TH ALIGN="right" ID="sip_password_label_td">SIP password</TD>
38     <TD ID="sip_password_td">
39       <INPUT TYPE      = "text"
40              NAME      = "sip_password"
41              ID        = "sip_password"
42              VALUE     = "<% $opt{'sip_password'} %>"
43              MAXLENGTH = 80
44       >
45     </TD>
46   </TR>
47
48   <TR>
49     <TH ALIGN="right" ID="pin_label_td">Voicemail PIN</TD>
50     <TD ID="pin_td">
51       <INPUT TYPE      = "text"
52              NAME      = "pin"
53              ID        = "pin"
54              VALUE     = "<% $opt{'pin'} %>"
55              SIZE      = 5
56              MAXLENGTH = 4
57       >
58     </TD>
59   </TR>
60
61 %#XXX this should be hidden or something in most/all cases
62   <TR>
63     <TH ALIGN="right" ID="phone_name_label_td">Name</TD>
64     <TD ID="phone_name_td">
65       <INPUT TYPE      = "text"
66              NAME      = "phone_name"
67              ID        = "phone_name"
68              VALUE     = "<% $opt{'phone_name'} %>"
69              MAXLENGTH = 80
70       >
71     </TD>
72   </TR>
73
74 </TABLE>
75
76 <%init>
77
78 my( %opt ) = @_;
79
80 #my $conf = new FS::Conf;
81
82 </%init>