Code

add23337c4d054feee7a2707e371b845b6dc49ac
[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='display:none;position:absolute; width:400%;'
21 <!--
22                 style="
23                         position: absolute;
24                         left: 0px;
25                         top: 0px;
26                         right:0px;
27                         bottom:0px;
28                         z-index:0;
29                         width:100%;
30                         height:100%;
31                         filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='images/opacity_black.png'); "
32 -->
34 {else}
35         <div  id='e_layer2'
36                 style="
37                         position: absolute;
38                         left: 0px;
39                         top: 0px;
40                         right:0px;
41                         bottom:0px;
42                         z-index:0;
43                         background-image: url(images/opacity_black.png);">
45 {/if}
46 {else}
49         {if !$JS}
51                 <div id='e_layer{$i_ID}' style="errorMsgDialog">
52                         <div id="e_layerTitle{$i_ID}" style="errorMsgTitle">
53                         <table><tr><td>
54         {if $i_Type == ERROR_DIALOG}
55                                                 <img src='images/error.png' alt='{t}Error{/t}'>
56         {elseif $i_Type == WARNING_DIALOG}
57                                                 <img src='images/warning.png'  alt='{t}Warning{/t}'>
58         {elseif $i_Type == INFO_DIALOG || $i_Type == CONFIRM_DIALOG}
59                                                 <img src='images/info.png' alt='{t}Information{/t}'>
60         {/if}
61                         </td><td style='font-size: 1.1em; font-weight:bold;'>{$s_Title}</td></tr>
62                         </table>
63                         </div>
64                         <div style="errorMsgSeperator"></div>
65                         <table style='width:100%' summary='' border=0>
66                                 <tr>
67                                         <td style='width:100%;padding:7px; padding-bottom:14px'>
68                                                 {$s_Message}
69                                                 <br>
70                                         </td>
71                                 </tr>
72                                 <tr>
73                                         <td colspan='2' align='center'>
74                                                 <div style="errorMsgSeperator"></div>
75         {if $i_Type == ERROR_DIALOG || $i_Type == WARNING_DIALOG || $i_Type == INFO_DIALOG}
76                                                 <button type='submit' name='MSG_OK{$i_ID}'>{t}Ok{/t}</button>
77         {elseif $i_Type == CONFIRM_DIALOG}
78                                                 <button type='submit' name='MSG_OK{$i_ID}'>{t}Ok{/t}</button>
79                                                 <button type='submit' name='MSG_CANCEL{$i_ID}'>{t}Cancel{/t}</button>
80         {/if}
81                                         </td>
82                                 </tr>
83                         </table>
84                 </div>
86         {else}
88                 {if $s_Trace != "" && $i_TraceCnt != 0}
89                 <div id='trace_{$i_ID}' style='visibility:hidden;'>
90                         {$s_Trace}
91                 </div>
92                 
93                 {/if}
95                 <div id='e_layer{$i_ID}' class="errorMsgDialog">
97                 <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
98                         <table><tr><td>
99         {if $i_Type == ERROR_DIALOG}
100                                                 <img src='images/error.png' alt='{t}Error{/t}'>
101         {elseif $i_Type == WARNING_DIALOG}
102                                                 <img src='images/warning.png'  alt='{t}Warning{/t}'>
103         {elseif $i_Type == INFO_DIALOG || $i_Type == CONFIRM_DIALOG}
104                                                 <img src='images/info.png' alt='{t}Information{/t}'>
105         {/if}
106                         </td><td style='font-size: 1.1em; font-weight:bold;'>{$s_Title}</td></tr>
107                 </table>
108                 </div>
109                 <div class="errorMsgSepeator"></div>
111                         <table style='width:100%' summary='' border=0>
112                                 <tr>
113                                         <td style='width:100%; padding:7px; padding-bottom:14px;'>
114                                                 {$s_Message}
115                                                 <br>
116                                         </td>
117                                         {if $s_Trace != "" && $i_TraceCnt != 0}
118                                         <td style='width:20px; vertical-align:top; cursor:pointer;'>
119                                                 <div onClick="toggle('trace_{$i_ID}')"><u>Trace</u></div>
120                                         </td>
121                                         {/if}
122                                 </tr>
123                                 <tr>
124                                         {if $s_Trace != "" && $i_TraceCnt != 0}
125                                         <td colspan='3' align='center'>
126                                         {else}
127                                         <td colspan='2' align='center'>
128                                         {/if}
129                                         <div class="errorMsgSepeator" style='margin-top:2px; margin-bottom:2px;'></div>
130         {if $i_Type == ERROR_DIALOG || $i_Type == WARNING_DIALOG || $i_Type == INFO_DIALOG}
131                                                 <button type='button' name='MSG_OK{$i_ID}' onClick='next_msg_dialog();'>{t}Ok{/t}</button>
132         {elseif $i_Type == CONFIRM_DIALOG}
133                                                 <button type='submit' name='MSG_OK{$i_ID}' onClick='next_msg_dialog();'>{t}Ok{/t}</button>
134                                                 <button type='button' name='MSG_CANCEL{$i_ID}' onClick='next_msg_dialog();'>{t}Cancel{/t}</button>
135         {/if}
136                                         </td>
137                                 </tr>
138                         </table>
139                 </div>
140         {/if}
141 {/if}