Code

Added Focus patch
[gosa.git] / plugins / addons / addressbook / contents.tpl
1 <table summary="" style="table-layout:fixed; width:100%; vertical-align:top; text-align:left; table-layout:auto;" cellpadding="4" border="0">
2 <tr>
3   <td style="vertical-align:top;">
4    <table summary="" style="border:1px solid #B0B0B0; width:100%; vertical-align:top; text-align:left;"  cellpadding="4" cellspacing="0">
5     <colgroup>
6         <col width="32%">
7         <col width="14%">
8         <col width="14%">
9         <col width="14%">
10         <col width="14%">
11         <col width="8%">
12     </colgroup>
13     <tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
14      <td class="tbhead">{t}Name{/t}</td><td class="tbhead">{t}Phone{/t}</td><td class="tbhead">{t}Fax{/t}</td>
15      <td class="tbhead">{t}Mobile{/t}</td><td class="tbhead">{t}Private{/t}</td><td class="tbrhead">{t}Contact{/t}</td>
16     </tr>
17     {$search_result}
18    </table>
20    <table summary="" style="vertical-align:top; text-align:center; width:100%;" cellpadding="4" cellspacing="0" border="0">
21     <tr>
22      <td>{$range_selector}</td>
23     </tr>
24    </table>
26    {if $show_info eq 1}
27     {include file=$address_info}
28    {/if}
30   </td>
31   <td style="vertical-align:top; width:270px;">
32    <div class="contentboxh" style="border-bottom:1px solid #B0B0B0;">
33     <p class="contentboxh"><img src="{$infoimage}" align="right" alt="[i]">{t}Information{/t}</p>
34    </div>
35    <div class="contentboxb">
36     <p class="contentboxb">
37      {t}The telephone list plugin provides list and search facilities for the people in your site. You may want to specify the asterisk [*] like in 'Go*us' to find 'Gonicus'. Use the filters below to narrow down your search.{/t}
38     </p>
39    </div>
40    <br>
41    <div class="contentboxh">
42     <p class="contentboxh" style="vertical-align:middle;"><img src="{$actionimage}" style="vertical-align:middle;" align="right" alt="[a]">{t}Actions{/t}</p>
43    </div>
44    <div class="contentboxb">
45     <p class="contentboxb" style="vertical-align:middle;">
46 {if $internal_createable}
47      <img class="center" alt="" src="{$add_image}">&nbsp;
48      <a href="main.php{$plug}&amp;global=add" style="text-align:center;vertical-align:middle;">{t}Add entry{/t}</a><br>
49 {/if}
51 {if $internal eq 0}
52  {if $internal_editable}
53      <img alt="" src="{$edit_image}" class="center">&nbsp;
54      <a href="main.php{$plug}&amp;global=edit">{t}Edit entry{/t}</a><br>
55  {/if}
56  {if $internal_removeable}
57              <img alt="" src="{$delete_image}" class="center">&nbsp;
58              <a href="main.php{$plug}&amp;global=remove" style="vertical-align:middle;">{t}Remove entry{/t}</a><br>
59  {/if}
60 {/if}
61     </p>
62    </div>
63    <br>
64    <div class="contentboxh">
65     <p class="contentboxh"><img src="{$launchimage}" align="right" alt="[F]">{t}Filters{/t}</p>
66    </div>
67    <div class="contentboxb">
68     <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
69      {$alphabet}
70     </table>
71     
72 <table summary=""  style="width:100%;border-top:1px solid #B0B0B0;">
73         <tr>
74                 <td>
75 <input type="checkbox" name="organizational" value="1" {$organizational} onClick="mainform.submit()" title="{t}Select to see regular users{/t}">{t}Show organizational entries{/t}<br>
76     <input type="checkbox" name="global" value="1" {$global} onClick="mainform.submit()" title="{t}Select to see users in addressbook{/t}">{t}Show addressbook entries{/t}<br>
77                 </td>
78         </tr>
79 </table>
81 <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
82         <tr>
83                 <td>
84                         <label for="search_base"><img class="center" alt="" src="{$tree_image}" align=middle title='{t}Display results for department{/t}'></label>
85                 </td>
86         <td>
87                         <select name="search_base" style='width:99%' size="1" onChange="mainform.submit()" title="{t}Choose the department the search will be based on{/t}">
88                         {html_options options=$deplist selected=$depselect}
89                                 <option disabled>&nbsp;</option>
90                 </select>
91                 </td>
92         </tr>
93 </table>
94 <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
95         <tr>
96                 <td>
97                         <label for="object_type"><img class="center" alt="" src="{$obj_image}" align=middle title='{t}Match object{/t}'></label>
98                 </td>
99             <td>
100                         <select id="object_type" style='width:99%' name="object_type" size="1" onChange="mainform.submit()" title="{t}Choose the object that will be searched in{/t}">
101                         {html_options options=$objlist selected=$object_type}
102                                 <option disabled>&nbsp;</option>
103                 </select>
104             </td>
105         </tr>
106 </table>
107 <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
108         <tr>
109                 <td><label for="search_for"><img class="center" alt="" src="{$search_image}" style="text-align:center;" title='{t}Search for{/t}'></label>
110                 </td>
111             <td>
112                         <input id="search_for" style='width:99%' type='text' name='search_for' maxlength='20' value='{$search_for}' title='{t}Search string{/t}' onChange="mainform.submit()">
113                 </td>
114         </tr>
115 </table>
116    {$apply}
117    </div>
118   </td>
119 </tr>
120 </table>
122 <!-- Place cursor -->
123 <script language="JavaScript" type="text/javascript">
124   <!-- // First input field on page
125         focus_field('search_for');
126   -->
127 </script>