1 | <script type="text/javascript"> |
---|
2 | function Exchange(thisform,field) |
---|
3 | { |
---|
4 | if (opener.document.doit[field].value != '') |
---|
5 | { |
---|
6 | opener.document.doit[field].value += ','; |
---|
7 | } |
---|
8 | opener.document.doit[field].value += thisform.elements.email.value; |
---|
9 | } |
---|
10 | </script> |
---|
11 | <div id="divMain"> |
---|
12 | <p align="center">{message}</p> |
---|
13 | <p align="center">{lang_showing}<br> |
---|
14 | <table border="0" width="100%"> |
---|
15 | <tr valign="top"> |
---|
16 | {left} |
---|
17 | <form action="{form_action}" name="form" method="POST"> |
---|
18 | <td align="left"> |
---|
19 | <select name="cat_id" onChange="this.form.submit();"><option value="">{lang_select_cats}</option>{cats_list}</select> |
---|
20 | <noscript> <input type="submit" name="cat" value="{lang_submit}"></noscript> |
---|
21 | </td> |
---|
22 | <td align="center"> |
---|
23 | <input type="text" size="10" name="query" value="{query}"> |
---|
24 | <input type="submit" name="search" value="{lang_search}"> |
---|
25 | </td> |
---|
26 | <td align="right"> |
---|
27 | <select name="filter" onChange="this.form.submit();"> |
---|
28 | {filter_list} |
---|
29 | </select> |
---|
30 | </td> |
---|
31 | </form> |
---|
32 | {right} |
---|
33 | </tr> |
---|
34 | </table> |
---|
35 | <table border="0" width="100%" cellpadding="2" cellspacing="2"> |
---|
36 | <tr class="th"> |
---|
37 | <td width="40%" colspan="2"> |
---|
38 | {sort_org_name} |
---|
39 | </td> |
---|
40 | <form action="{form_action}" name="form" method="POST"> |
---|
41 | <td width="30%" align="center" rowspan="2"> |
---|
42 | {lang_email}<br> |
---|
43 | <input type="submit" name="all[wto]" value="{to}" title="{title_work_to}"> |
---|
44 | <input type="submit" name="all[wcc]" value="{cc}" title="{title_work_cc}"> |
---|
45 | <input type="submit" name="all[wbcc]" value="{bcc}" title="{title_work_bcc}"> |
---|
46 | </td> |
---|
47 | <td width="30%" align="center" rowspan="2"> |
---|
48 | {lang_hemail}<br> |
---|
49 | <input type="submit" name="all[hto]" value="{to}" title="{title_home_to}"> |
---|
50 | <input type="submit" name="all[hcc]" value="{cc}" title="{title_home_cc}"> |
---|
51 | <input type="submit" name="all[hbcc]" value="{bcc}" title="{title_home_bcc}"> |
---|
52 | </td> |
---|
53 | </form> |
---|
54 | </tr> |
---|
55 | <tr class="th"> |
---|
56 | <td>{sort_n_family}</td> |
---|
57 | <td>{sort_n_given}</td> |
---|
58 | </tr> |
---|
59 | |
---|
60 | <!-- BEGIN addressbook_list --> |
---|
61 | <tr class="{tr_class}"> |
---|
62 | <td colspan="2">{company}</td> |
---|
63 | <form> |
---|
64 | <td align="center" rowspan="2"> |
---|
65 | <input type="text" style="width: 100%" name="email" value="{email}"><br> |
---|
66 | <input type="button" name="to" value="{to}" onClick="Exchange(this.form,'to');"> |
---|
67 | <input type="button" name="cc" value="{cc}" onClick="Exchange(this.form,'cc');"> |
---|
68 | <input type="button" name="bcc" value="{bcc}" onClick="Exchange(this.form,'bcc');"> |
---|
69 | </td> |
---|
70 | </form> |
---|
71 | <form> |
---|
72 | <td align="center" rowspan="2"> |
---|
73 | <input type="text" style="width: 100%" name="email" value="{hemail}"><br> |
---|
74 | <input type="button" name="to" value="{to}" onClick="Exchange(this.form,'to');"> |
---|
75 | <input type="button" name="cc" value="{cc}" onClick="Exchange(this.form,'cc');"> |
---|
76 | <input type="button" name="bcc" value="{bcc}" onClick="Exchange(this.form,'bcc');"> |
---|
77 | </td> |
---|
78 | </form> |
---|
79 | </tr> |
---|
80 | <tr class="{tr_class}"> |
---|
81 | <td>{lastname}</td> |
---|
82 | <td>{firstname}</td> |
---|
83 | </tr> |
---|
84 | <!-- END addressbook_list --> |
---|
85 | |
---|
86 | <tr> |
---|
87 | <td colspan="4" align="center" valign="bottom"> |
---|
88 | <br><form><input type="button" name="done" value="{lang_done}" onClick="window.close()"></form> |
---|
89 | </td> |
---|
90 | </tr> |
---|
91 | </table> |
---|
92 | </div> |
---|
93 | </body> |
---|
94 | </html> |
---|