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 summary='{t}Error message title{/t}'><tr><td>
56 {if $i_Type == $smarty.const.ERROR_DIALOG}
57 {image path='images/error.png'}
58 {elseif $i_Type == $smarty.const.WARNING_DIALOG}
59 {image path='images/warning.png'}
60 {elseif $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
61 {image path='images/warning.png'}
62 {/if}
63 </td><td style='font-size: 1.1em;vertical-align:middle;font-weight:bold;'>{$s_Title}</td></tr>
64 </table>
65 </div>
66 <table summary='{t}Error message{/t}'
67 style='width:100%; border-top: solid 1px #BBBBBB;' cellspacing=0 cellpadding=2 border=0>
68 <tr>
69 <td style='width:100%;padding:7px; padding-bottom:14px'>
70 {$s_Message}
71 <br>
72 </td>
73 </tr>
74 <tr>
75 <td colspan='2' align='center'>
76 {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG}
77 <button type='submit' name='MSG_OK{$i_ID}'>{t}OK{/t}</button>
78 {elseif $buttononst.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
79 <button type='submit' name='MSG_OK{$i_ID}'>{t}OK{/t}</button>
80 <button type='submit' name='MSG_CANCEL{$i_ID}'>{t}Cancel{/t}</button>
81 {/if}
82 </td>
83 </tr>
84 </table>
85 </div>
87 {else}
89 {if $s_Trace != "" && $i_TraceCnt != 0}
90 <div id='trace_{$i_ID}' style='display:none;'>
91 {$s_Trace}
92 </div>
94 {/if}
96 {if $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
97 <div id='e_layer{$i_ID}' class="infoMsgDialog" style='top:200px;left:200px;'>
98 {else}
99 <div id='e_layer{$i_ID}' class="errorMsgDialog" style='top:200px;left:200px;'>
100 {/if}
102 <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
103 <table summary='{t}Error message title{/t}'><tr><td>
104 {if $i_Type == $smarty.const.ERROR_DIALOG}
105 {image path='images/error.png'}
106 {elseif $i_Type == $smarty.const.WARNING_DIALOG}
107 {image path='images/warning.png'}
108 {elseif $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
109 {image path='images/info.png'}
110 {/if}
111 </td><td style='font-size: 1.1em;vertical-align:middle; font-weight:bold;'>{$s_Title}</td></tr>
112 </table>
113 </div>
115 <table summary='{t}Error message{/t}'
116 style='z-index:250;width:100%; border-top: solid 1px #BBBBBB;' cellspacing=0 cellpadding=2 border=0>
117 <tr>
118 <td style='width:100%;padding:7px; padding-bottom:14px;'>
119 {$s_Message}
120 <br>
121 </td>
122 {if $s_Trace != "" && $i_TraceCnt != 0}
123 <td style='width:20px;cursor:pointer;'>
124 <div onClick="$('trace_{$i_ID}').toggle();"><u>Trace</u></div>
125 </td>
126 {/if}
127 </tr>
128 <tr>
129 {if $s_Trace != "" && $i_TraceCnt != 0}
130 <td colspan='3' align='center' style="border-top: solid 1px #BBBBBB;">
131 {else}
132 <td colspan='2' align='center' style="border-top: solid 1px #BBBBBB;">
133 {/if}
134 {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG}
135 <button id='MSG_OK{$i_ID}' type='button' name='MSG_OK{$i_ID}'
136 onClick='next_msg_dialog();'>{t}OK{/t}</button>
137 {elseif $i_Type == $smarty.const.CONFIRM_DIALOG}
138 <button id='MSG_OK{$i_ID}' type='submit' name='MSG_OK{$i_ID}'
139 onClick='next_msg_dialog();'>{t}OK{/t}</button>
140 <button type='button' name='MSG_CANCEL{$i_ID}'
141 onClick='next_msg_dialog();'>{t}Cancel{/t}</button>
142 {elseif $i_Type == $smarty.const.OK_CANCEL_DIALOG}
143 <button id='MSG_OK{$i_ID}' type='submit' name='MSG_OK{$i_ID}'
144 onClick='next_msg_dialog();'>{t}OK{/t}</button>
145 <button type='submit' name='MSG_CANCEL{$i_ID}'
146 onClick='next_msg_dialog();'>{t}Cancel{/t}</button>
147 {/if}
148 </td>
149 </tr>
150 </table>
151 </div>
152 <script language="JavaScript" type="text/javascript">
153 focus_field('MSG_OK{$i_ID}');
154 </script>
156 {/if}
157 {/if}