Code

Updated MultiSelectDialog template to include a post_id
[gosa.git] / gosa-core / ihtml / themes / default / msg_dialog.tpl
1 {if $frame}
2         {if $IE}
3                 <iframe id='e_layer3'
4                         style="
5                                 position:absolute;
6                                 width:100%;
7                                 height:100%;
8                                 top:0px;
9                                 left:0px;
10                                 border:none;
11                                 border-style:none;
12                                 border-width:0pt;
13                                 display:block;
14                                 allowtransparency='true';
15                                 background-color: #FFFFFF;
16                                 filter:chroma(color=#FFFFFF);
17                                 z-index:0; ">
18                 </iframe>
19                 <div  id='e_layer2'
20                         style="
21                                 position: absolute;
22                                 left: 0px;
23                                 top: 0px;
24                                 right:0px;
25                                 bottom:0px;
26                                 z-index:0;
27                                 width:100%;
28                                 height:100%;
29                                 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='images/opacity_black.png'); "
30         >
31         {else}
32                 <div  id='e_layer2'
33                         style="
34                                 position: absolute;
35                                 left: 0px;
36                                 top: 0px;
37                                 right:0px;
38                                 bottom:0px;
39                                 z-index:0;
40                                 background-image: url(images/opacity_black.png);">
42         {/if}
43 {else}
46         {if !$JS}
48                 <div id='e_layer{$i_ID}' class="errorMsgDialog" style='top:200px;left:200px;'>
49                         <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
50                         <table><tr><td>
51                 {if $i_Type == ERROR_DIALOG}
52                                                 <img src='images/error.png' alt='{t}Error{/t}'>
53                 {elseif $i_Type == WARNING_DIALOG}
54                                                 <img src='images/warning.png'  alt='{t}Warning{/t}'>
55                 {elseif $i_Type == INFO_DIALOG || $i_Type == CONFIRM_DIALOG || $i_Type == OK_CANCEL_DIALOG}
56                                                 <img src='images/info.png' alt='{t}Information{/t}'>
57                 {/if}
58                         </td><td style='font-size: 1.1em; font-weight:bold;'>{$s_Title}</td></tr>
59                         </table>
60                         </div>
61                         <table style='width:100%; border-top: solid 1px #BBBBBB;' cellspacing=0 cellpadding=2 summary='' border=0>
62                                 <tr>
63                                         <td style='width:100%;padding:7px; padding-bottom:14px'>
64                                                 {$s_Message}
65                                                 <br>
66                                         </td>
67                                 </tr>
68                                 <tr>
69                                         <td colspan='2' align='center'>
70                 {if $i_Type == ERROR_DIALOG || $i_Type == WARNING_DIALOG || $i_Type == INFO_DIALOG}
71                                                 <button type='submit' name='MSG_OK{$i_ID}'>{t}Ok{/t}</button>
72                 {elseif $i_Type == CONFIRM_DIALOG || $i_Type == OK_CANCEL_DIALOG}
73                                                 <button type='submit' name='MSG_OK{$i_ID}'>{t}Ok{/t}</button>
74                                                 <button type='submit' name='MSG_CANCEL{$i_ID}'>{t}Cancel{/t}</button>
75                 {/if}
76                                         </td>
77                                 </tr>
78                         </table>
79                 </div>
81         {else}
83                 {if $s_Trace != "" && $i_TraceCnt != 0}
84                 <div id='trace_{$i_ID}' style='visibility:hidden;'>
85                         {$s_Trace}
86                 </div>
87                 
88                 {/if}
90                 <div id='e_layer{$i_ID}' class="errorMsgDialog" style="top:200px;left:200px; display:none;">
92                 <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
93                         <table><tr><td>
94                 {if $i_Type == ERROR_DIALOG}
95                                                 <img src='images/error.png' alt='{t}Error{/t}'>
96                 {elseif $i_Type == WARNING_DIALOG}
97                                                 <img src='images/warning.png'  alt='{t}Warning{/t}'>
98                 {elseif $i_Type == INFO_DIALOG || $i_Type == CONFIRM_DIALOG || $i_Type == OK_CANCEL_DIALOG}
99                                                 <img src='images/info.png' alt='{t}Information{/t}'>
100                 {/if}
101                         </td><td style='font-size: 1.1em; font-weight:bold;'>{$s_Title}</td></tr>
102                 </table>
103                 </div>
105                         <table style='width:100%; border-top: solid 1px #BBBBBB;' cellspacing=0 cellpadding=2 summary='' border=0>
106                                 <tr>
107                                         <td style='width:100%; padding:7px; padding-bottom:14px;'>
108                                                 {$s_Message}
109                                                 <br>
110                                         </td>
111                                         {if $s_Trace != "" && $i_TraceCnt != 0}
112                                         <td style='width:20px; vertical-align:top; cursor:pointer;'>
113                                                 <div onClick="toggle('trace_{$i_ID}')"><u>Trace</u></div>
114                                         </td>
115                                         {/if}
116                                 </tr>
117                                 <tr>
118                                         {if $s_Trace != "" && $i_TraceCnt != 0}
119                                         <td colspan='3' align='center' style="border-top: solid 1px #BBBBBB;">
120                                         {else}
121                                         <td colspan='2' align='center' style="border-top: solid 1px #BBBBBB;">
122                                         {/if}
123                 {if $i_Type == ERROR_DIALOG || $i_Type == WARNING_DIALOG || $i_Type == INFO_DIALOG}
124                                                 <button type='button' name='MSG_OK{$i_ID}' onClick='next_msg_dialog();'>{t}Ok{/t}</button>
125                 {elseif $i_Type == CONFIRM_DIALOG}
126                                                 <button type='submit' name='MSG_OK{$i_ID}' onClick='next_msg_dialog();'>{t}Ok{/t}</button>
127                                                 <button type='button' name='MSG_CANCEL{$i_ID}' onClick='next_msg_dialog();'>{t}Cancel{/t}</button>
128                 {elseif $i_Type == OK_CANCEL_DIALOG}
129                                                 <button type='submit' name='MSG_OK{$i_ID}' onClick='next_msg_dialog();'>{t}Ok{/t}</button>
130                                                 <button type='submit' name='MSG_CANCEL{$i_ID}' onClick='next_msg_dialog();'>{t}Cancel{/t}</button>
131                 {/if}
132                                         </td>
133                                 </tr>
134                         </table>
135                 </div>
136         {/if}
137 {/if}