Code

Updated template usage
[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>
10                                         {foreach from=$OLV_Header key=key item=item}
11                                                 <td class='ObjectListViewport_Header_Cell' style='{$item.style}'>{$item.name}</td>
12                                         {/foreach}
13                   </tr>
14                 </table>
15               </td>
16             </tr>
17                         <tr>
18                           <td class='ObjectListViewport_TD_Entries' id='ObjectListViewport_TD_Entries_{$OLV_List_Id}'>
19                                 <div class='ObjectListViewport_Entry_Cover' id='ObjectListViewport_Entry_Cover_{$OLV_List_Id}'>
20                                   <table class='ObjectListViewport_Entry_Table' id='ObjectListViewport_Entry_Table_{$OLV_List_Id}'>
21 <!--
22                                         {foreach from=$OLV_Entries key=key item=item}
23                                                 {$key}
24                                         {/foreach}
25 -->
26                                   </table>
27                                 </div>
28                           </td>
29                         </tr>
30                         <tr>
31               <td class='ObjectListViewport_TD_Footer' id='ObjectListViewport_TD_Footer_{$OLV_List_Id}'>
32                 <table class='ObjectListViewport_Footer_Table'>
33                   <tr>
34                     <td class='ObjectListViewport_Footer_Cell' colspan='{$OLV_Num_Cols}'>{$OLV_Footer_Message}</td>
35                   </tr>
36                 </table>
37               </td>
38             </tr>
39                   </table>
40         </td>
41       </tr>
42     </table>