Code

Added branches container for old stuff
[gosa.git] / gosa-core / ihtml / themes / default / snapshotdialog.tpl
1 {if $RestoreMode}
3 <h2>{t}Restoring object snapshots{/t}</h2>
4 <p class="seperator">&nbsp;</p>
5 <br>
6 {t}This procedure will restore a snapshot of the selected object. It will replace the existing object after pressing the restore button.{/t}
7 <br>
8 <br>
9 {t}Remember that DNS configuration and database entries could not be restored. For some objects it is only nescessary to open and save them again (goFon), but some entries must be recreated manually (glpi).{/t}
10 <br>
11 <br>
12 {t}Don't forget to check references to other objects, for example does the selected printer still exists ?{/t}
13 <br>
14 <p class="seperator">&nbsp;</p>
15 <br>
16 <table summary="" style="width:100%">
17         {if !$restore_deleted}
18         <tr>
19                 <td>
20                 <b>{t}Object{/t}</b>&nbsp;
21                 {$CurrentDN}
22                 </td>
23         </tr>
24         {/if}
25         <tr>
26                 <td>
27                         <br>
28                         {if $CountSnapShots==0}
29                                 {t}There is no snapshot available that could be restored{/t}
30                         {else}
31                                 {t}Choose a snapshot and click the folder image, to restore the snapshot{/t}
32                         {/if}
33                 </td>
34         </tr>
35         <tr>
36                 <td>
37                         {$SnapShotDivlist}
38                 </td>
39         </tr>
40 </table>
42 <p class="seperator">&nbsp;</p>
43 <div style="width:100%; text-align:right;">
44     <input type='submit' name='CancelSnapshot' value='{t}Cancel{/t}'>
45 </div>
47 {else}
49 <h2>{t}Creating object snapshots{/t}</h2>
50 <p class="seperator">&nbsp;</p>
51 <br>
52 {t}This procedure will create a snapshot of the selected object. It will be stored inside a special branch of your directory system and can be restored later on.{/t}
53 <br>
54 <br>
55 {t}Remember that database entries, DNS configurations and possibly created zones in server extensions will not be stored in the snapshot.{/t}
56 <br>
57 <p class="seperator">&nbsp;</p>
58 <br>
59 <table summary="" style="width:100%">
60         <tr>
61                 <td>
62                         <b>{t}Object{/t}</b>
63                 </td>
64                 <td style="width:95%"> 
65                    {$CurrentDN}
66                 </td>
67         </tr>
68         <tr>
69                 <td>
70                         <b>{t}Timestamp{/t}</b> 
71                 </td>
72                 <td> 
73                    {$CurrentDate}
74                 </td>
75         </tr>
76         <tr>
77                 <td style="vertical-align:top;" colspan="2">
78                         <br>
79                         {t}Reason for generating this snapshot{/t}<br> 
80                         <textarea name="CurrentDescription" style="width:100%;height:160px;" rows=10 cols=100>{$CurrentDescription}</textarea>
81                 </td>
82         </tr>
83 </table>
85 <p class="seperator">&nbsp;</p>
86 <div style="width:100%; text-align:right;">
87     <input type='submit' name='CreateSnapshot' value='{t}Continue{/t}'>
88     &nbsp;
89     <input type='submit' name='CancelSnapshot' value='{t}Cancel{/t}'>
90 </div>
92 <script language="JavaScript" type="text/javascript">
93   <!-- // First input field on page
94   document.mainform.CurrentDescription.focus();
95   -->
96 </script>
97 {/if}