Code

Prepared for multiple asterisk servers
[gosa.git] / plugins / gofax / faxreports / contents.tpl
1 <div class="contentboxh">
2  <p class="contentboxh"><img src="{$launchimage}" align="right" alt="[F]">{t}Filter{/t}</p>
3 </div>
4 <div class="contentboxb">
5  <p class="contentboxb" style="border-top:1px solid #B0B0B0; padding-top:5px;">
6  <img class="center" alt="" align="middle" border=0 src="{$search_image}">&nbsp;{t}Search for{/t}
7  <input name="search_for" size=25 maxlength=60 value="{$search_for}" title="{t}Enter user name to search for{/t}" onChange="mainform.submit()">
8  {t}in{/t}
9  <select size="1" name="search_base" title="{t}Select subtree to base search on{/t}" onChange="mainform.submit()">
10   {html_options options=$bases selected=$base_select}
11  </select>
12  {t}during{/t}
13  <select size="1" name="month" onChange="mainform.submit()">
14   {html_options options=$months selected=$month_select}
15  </select>
16  {t}in{/t} 
17  <select size="1" name="year" onChange="mainform.submit()">
18   {html_options values=$years output=$years selected=$year_select}
19  </select>
20  &nbsp;
21  <input type=submit name="search" value="{t}Search{/t}">
22 </p>
23 </div>
25 <br>
27 {if $search_result ne ""}
28  <table summary="" style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=2 cellspacing=1 border=0 rules="cols">
29   <tr style="background-color: #E8E8E8; height:26px; font-weight:bold">
30    <td><a href="main.php{$plug}&amp;sort=0">{t}User{/t} {$mode0}</a></td>
31    <td><a href="main.php{$plug}&amp;sort=1">{t}Date{/t} {$mode1}</a></td>
32    <td><a href="main.php{$plug}&amp;sort=2">{t}Status{/t} {$mode2}</a></td>
33    <td><a href="main.php{$plug}&amp;sort=3">{t}Sender{/t} {$mode3}</a></td>
34    <td><a href="main.php{$plug}&amp;sort=4">{t}Receiver{/t} {$mode4}</a></td>
35    <td><a href="main.php{$plug}&amp;sort=5">{t}# pages{/t} {$mode5}</a></td>
36   </tr>
37   {$search_result}
38  </table>
40  <table summary="" style="width:100%; vertical-align:top; text-align:center;" cellpadding=4 cellspacing=0 border=0>
41   <tr>
42    <td>{$range_selector}</td>
43   </tr>
44  </table>
45 <p class="plugbottom">
46  &nbsp;
47 </p>
49 {else}
50   <b>{t}Search returned no results...{/t}</b>
51 {/if}
54 <!-- Place cursor -->
55 <script language="JavaScript" type="text/javascript">
56   <!-- // First input field on page
57   document.mainform.search_for.focus();
58   -->
59 </script>