Code

Added POST variables
[gosa.git] / tests / ListTest / ObjectListViewport.tpl
1 <table class='ObjectListViewport' id='ObjectListViewport_{$OLV_List_Id}' cellspacing=0 cellpadding=0>
2   <tr>
3     <td>
4       <table class='ObjectListViewport_Table' id='ObjectListViewport_Table_{$OLV_List_Id}' cellpadding=0 cellspacing=0 >
5         <tr>
6           <td class='ObjectListViewport_TD_Header' id='ObjectListViewport_TD_Header_{$OLV_List_Id}'>
7             <table class='ObjectListViewport_Header_Table' id='ObjectListViewport_Header_Table_{$OLV_List_Id}'>
8               <tr>
9                 {if $OLV_Multiselect_Enabled}
10                   <td class="ObjectListViewport_Header_Cell" style='width:24px;text-align:center;' >
11                     <input class="ObjectListViewport_Entry_Checkbox" type="checkbox" 
12                       id="ObjectListViewport_Entry_Checkbox_{$OLV_List_Id}_select_all"
13                       onclick='toggle_all_("^ObjectListViewport_Entry_Checkbox_{$OLV_List_Id}_.*$",
14                         "ObjectListViewport_Entry_Checkbox_{$OLV_List_Id}_select_all");'>
15                   </td> 
16                 {/if}                
17                 {foreach from=$OLV_Header key=key item=item}
18                   <td class='ObjectListViewport_Header_Cell' style='{$item.style}'>{$item.name}</td>
19                 {/foreach}
20               </tr>
21             </table>
22           </td>
23         </tr>
24         <tr>
25           <td class='ObjectListViewport_TD_Entries' id='ObjectListViewport_TD_Entries_{$OLV_List_Id}'>
26             <div class='ObjectListViewport_Entry_Cover' id='ObjectListViewport_Entry_Cover_{$OLV_List_Id}'>
27               <table class='ObjectListViewport_Entry_Table' id='ObjectListViewport_Entry_Table_{$OLV_List_Id}'>
28                 {foreach from=$OLV_Entries key=key item=item}
29                   <tr class="{$item.row.class}">
30                     {if $OLV_Multiselect_Enabled}
31                       <td class="ObjectListViewport_Entry_Cell" style='width:24px;text-align:center;'>
32                         <input class="ObjectListViewport_Entry_Checkbox" type="checkbox"
33                           id="ObjectListViewport_Entry_Checkbox_{$OLV_List_Id}_{$key}"  
34                           name="{$OLV_List_Id}OLV_Entry_{$key}" value="1">
35                       </td> 
36                     {/if}                
37                     {foreach from=$item.cols key=key2 item=item2}
38                       <td class='ObjectListViewport_Entry_Cell' style='{$item2.style1}'>
39                         <div style='{$item2.style2}'>
40                           {$item2.value}
41                         </div>
42                       </td>
43                     {/foreach}
44                   </tr>
45                 {/foreach}
46               </table>
47             </div>
48           </td>
49         </tr>
50         <tr>
51           <td class='ObjectListViewport_TD_Footer' id='ObjectListViewport_TD_Footer_{$OLV_List_Id}'>
52             <table class='ObjectListViewport_Footer_Table'>
53               <tr>
54                 <td class='ObjectListViewport_Footer_Cell' colspan='{$OLV_Num_Cols}'>{$OLV_Footer_Message}</td>
55               </tr>
56             </table>
57           </td>
58         </tr>
59       </table>
60     </td>
61   </tr>
62 </table>
63 <!--
64 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
65 -->