Code

9977bc92edf9fe40c925570a2feb9e024164f2a0
[gosa.git] / gosa-core / plugins / addons / propertyEditor / property-list.tpl
1 {if !$warningNotAccepted}
3     <table summary="{t}Warning message{/t}" style='width:100%'>
4      <tr>
5       <td style='padding: 10px;'>{image path='images/warning.png'}</td>
6       <td>
7         <h3>Attention</h3>
8        <p>
9         {t}Modifying properties may break your setup, destroy or mess up your ldap database, lead to security holes or it can even make logins impossible!{/t}
10         {t}Since configuration properties are stored in the ldap database a copy/backup can be handy.{/t}
11        </p>
12       </td> 
13      </tr>
14     </table>
15     <hr>
16       <input type='checkbox' name='warningAccepted' value='1'>
17         {t}I know the risks and want to modify properties!{/t}
18     <hr>
19     <div class="plugin-actions">
20         <button name='goOn'>{msgPool type='okButton'}</button> 
21     </div>
23 {else}
25 <script language="javascript" src="include/tooltip.js" type="text/javascript"></script>
27 <div id="mainlist">
29   <div class="mainlist-header">
30    <p>{$HEADLINE}&nbsp;{$SIZELIMIT}</p>
31    <div class="mainlist-nav">
32     <table summary="{$HEADLINE}">
33      <tr>
34       <td>{$RELOAD}</td>
35       <td class="left-border">{$ACTIONS}</td>
36       <td class="left-border">{$FILTER}</td>
37      </tr>
38     </table>
39    </div>
40   </div>
41   {$LIST}
42 </div>
44 <script type="text/javascript">
45   Event.observe(window,"load",function() {
46     $$("*").findAll(function(node){
47       return node.getAttribute('title');
48     }).each(function(node){
49         var test = node.title;
50       var t = new Tooltip(node,test);
51       t.options.delta_x = -150;
52       t.options.delta_y = -50;
53       node.removeAttribute("title");
54     });
55   });
56 </script>
58 {if !$is_modified}
59 <input type="hidden" name="ignore">
60 {/if}
62 <div class="plugin-actions">
63     <button name='saveProperties'>{msgPool type='okButton'}</button>
64     <button name='cancelProperties'>{msgPool type='cancelButton'}</button>
65 </div>
66 {/if}