Code

Added command verifier
[gosa.git] / gosa-core / plugins / generic / references / contents.tpl
2 <h3>{t}Object information{/t}</h3>
3 <table width='100%' summary='{t}Object info{/t}'>
4     <tr>
5         <td style='width:48%;'>
6             {if $completeACL|regex_replace:"/[cdmw]/":"" == "r"}
7                 <button type='submit' name='viewLdif'>{t}Show raw object entry{/t}</button>
8             {/if}
9         </td>
10         <td class='right-border' style='width:2px'>
11           &nbsp;
12         </td>
13         <td>
14             {if !$someACL|regex_replace:"/[cdmw]/":"" == "r"}
15                 {msgPool type='permView'}
16             {else}
17                 {if $modifyTimestamp==""}
18                     {t}Last modification{/t}: {t}Unknown{/t}
19                 {else}
20                     {t}Last modification{/t}: {$modifyTimestamp}
21                 {/if}
22             {/if}
23         </td>
24     </tr>
25 </table>
27 <hr>
29 <table summary='{t}Object references{/t}' class='reference-tab'>
30     <tr>
31         {if $objectList!=""}
32         <td style='width:48%'>
33             {if !$completeACL|regex_replace:"/[cdmw]/":"" == "r"}
34                 {msgPool type='permView'}
35             {else}
36                 {$objectList}
37             {/if}
38         </td>
39         <td class='right-border'  style='width:2px'>
40           &nbsp;
41         </td>
42         {/if}
43         <td>
44             {if !$aclREAD}
45                 <h3>{t}ACL trace{/t}</h3>
46                 {msgPool type='permView'}
47             {else}
48                 <div style='height:350px; overflow: scroll;'>
49                 {$acls}
50                 </div>
51             {/if}
52         </td>
53     </tr>
54 </table>