7c871dc280ca1e80c50ca3a0866ba2022019554a
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:100; ">
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:100;
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:100;
40 background-image: url(images/opacity_black.png);">
42 {/if}
43 {else}
46 {if !$JS}
48 {if $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
49 <div id='e_layer{$i_ID}' class="infoMsgDialog" style='top:200px;left:200px;'>
50 {else}
51 <div id='e_layer{$i_ID}' class="errorMsgDialog" style='top:200px;left:200px;'>
52 {/if}
54 <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
55 <table><tr><td>
56 {if $i_Type == $smarty.const.ERROR_DIALOG}
57 <img src='images/error.png' alt='{t}Error{/t}'>
58 {elseif $i_Type == $smarty.const.WARNING_DIALOG}
59 <img src='images/warning.png' alt='{t}Warning{/t}'>
60 {elseif $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
61 <img src='images/info.png' alt='{t}Information{/t}'>
62 {/if}
63 </td><td style='font-size: 1.1em; font-weight:bold;'>{$s_Title}</td></tr>
64 </table>
65 </div>
66 <table style='width:100%; border-top: solid 1px #BBBBBB;' cellspacing=0 cellpadding=2 summary='' border=0>
67 <tr>
68 <td style='width:100%;padding:7px; padding-bottom:14px'>
69 {$s_Message}
70 <br>
71 </td>
72 </tr>
73 <tr>
74 <td colspan='2' align='center'>
75 {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG}
76 <input type='button' type='submit' name='MSG_OK{$i_ID}' value='{t}Ok{/t}'>
77 {elseif $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
78 <input type='button' type='submit' name='MSG_OK{$i_ID}' value='{t}Ok{/t}'>
79 <input type='button' type='submit' name='MSG_CANCEL{$i_ID}' value='{t}Cancel{/t}'>
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='display:none;'>
90 {$s_Trace}
91 </div>
93 {/if}
95 {if $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
96 <div id='e_layer{$i_ID}' class="infoMsgDialog" style='top:200px;left:200px;'>
97 {else}
98 <div id='e_layer{$i_ID}' class="errorMsgDialog" style='top:200px;left:200px;'>
99 {/if}
101 <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
102 <table><tr><td>
103 {if $i_Type == $smarty.const.ERROR_DIALOG}
104 <img src='images/error.png' alt='{t}Error{/t}'>
105 {elseif $i_Type == $smarty.const.WARNING_DIALOG}
106 <img src='images/warning.png' alt='{t}Warning{/t}'>
107 {elseif $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
108 <img src='images/info.png' alt='{t}Information{/t}'>
109 {/if}
110 </td><td style='font-size: 1.1em; font-weight:bold;'>{$s_Title}</td></tr>
111 </table>
112 </div>
114 <table style='z-index:250;width:100%; border-top: solid 1px #BBBBBB;' cellspacing=0 cellpadding=2 summary='' border=0>
115 <tr>
116 <td style='width:100%; padding:7px; padding-bottom:14px;'>
117 {$s_Message}
118 <br>
119 </td>
120 {if $s_Trace != "" && $i_TraceCnt != 0}
121 <td style='width:20px; vertical-align:top; cursor:pointer;'>
122 <div onClick="GOsa_toggle('trace_{$i_ID}')"><u>Trace</u></div>
123 </td>
124 {/if}
125 </tr>
126 <tr>
127 {if $s_Trace != "" && $i_TraceCnt != 0}
128 <td colspan='3' align='center' style="border-top: solid 1px #BBBBBB;">
129 {else}
130 <td colspan='2' align='center' style="border-top: solid 1px #BBBBBB;">
131 {/if}
132 {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG}
133 <input type='button' id='MSG_OK{$i_ID}' type='button' name='MSG_OK{$i_ID}'
134 onClick='next_msg_dialog();' value='{t}Ok{/t}'>
135 {elseif $i_Type == $smarty.const.CONFIRM_DIALOG}
136 <input type='button' id='MSG_OK{$i_ID}' type='submit' name='MSG_OK{$i_ID}'
137 onClick='next_msg_dialog();' value='{t}Ok{/t}'>
138 <input type='button' type='button' name='MSG_CANCEL{$i_ID}'
139 onClick='next_msg_dialog();' value='{t}Cancel{/t}'>
140 {elseif $i_Type == $smarty.const.OK_CANCEL_DIALOG}
141 <input type='button' id='MSG_OK{$i_ID}' type='submit' name='MSG_OK{$i_ID}'
142 onClick='next_msg_dialog();' value='{t}Ok{/t}'>
143 <input type='button' type='submit' name='MSG_CANCEL{$i_ID}'
144 onClick='next_msg_dialog();' value='{t}Cancel{/t}'>
145 {/if}
146 </td>
147 </tr>
148 </table>
149 </div>
150 <script language="JavaScript" type="text/javascript">
151 focus_field('MSG_OK{$i_ID}');
152 </script>
154 {/if}
155 {/if}