Code

Added realm policy
[gosa.git] / gosa-core / ihtml / themes / default / msg_dialog.tpl
index fafbed4bb2d5572a79e7756ce100a9fae6615417..add23337c4d054feee7a2707e371b845b6dc49ac 100644 (file)
 
        {if !$JS}
 
-               <div id='e_layer{$i_ID}'
-                               style='
-                                       width:60%;
-                                       left:200px;
-                                       top:200px;
-                                       background-color:white;
-                                       border:5px solid red;
-                                       z-index:150;
-                                       position:absolute;'>
-                       <div id="e_layerTitle{$i_ID}" style="vertical-align: middle;
-                                                                                                width:100%; 
-                                                                                                font-size: 1.2em;
-                                                                                                padding-top:3px;
-                                                                                                padding-bottom:2px;
-                                                                                                font-weight:bold;
-                                                                                                background-color: #999999; 
-                                                                                                ">
-                               &nbsp;&nbsp;{$s_Title}
-                       </div>
-                       <div style="height:2px; width:100% ; background-color: #BBBBBB;"></div>
-                       <table style='width:100%' summary='' border=0>
-                               <tr>
-                                       <td style='vertical-align:top;padding:10px'>
+               <div id='e_layer{$i_ID}' style="errorMsgDialog">
+                       <div id="e_layerTitle{$i_ID}" style="errorMsgTitle">
+                       <table><tr><td>
        {if $i_Type == ERROR_DIALOG}
                                                <img src='images/error.png' alt='{t}Error{/t}'>
        {elseif $i_Type == WARNING_DIALOG}
        {elseif $i_Type == INFO_DIALOG || $i_Type == CONFIRM_DIALOG}
                                                <img src='images/info.png' alt='{t}Information{/t}'>
        {/if}
-                                       </td>
-                                       <td style='width:100%'>
-                                               <b>{$s_Message}</b>
-                                               <br>
+                       </td><td style='font-size: 1.1em; font-weight:bold;'>{$s_Title}</td></tr>
+                       </table>
+                       </div>
+                       <div style="errorMsgSeperator"></div>
+                       <table style='width:100%' summary='' border=0>
+                               <tr>
+                                       <td style='width:100%;padding:7px; padding-bottom:14px'>
+                                               {$s_Message}
                                                <br>
                                        </td>
                                </tr>
                                <tr>
                                        <td colspan='2' align='center'>
+                                               <div style="errorMsgSeperator"></div>
        {if $i_Type == ERROR_DIALOG || $i_Type == WARNING_DIALOG || $i_Type == INFO_DIALOG}
                                                <button type='submit' name='MSG_OK{$i_ID}'>{t}Ok{/t}</button>
        {elseif $i_Type == CONFIRM_DIALOG}
                
                {/if}
 
-               <div id='e_layer{$i_ID}'
-                               style='
-                                       width:60%;
-                                       left:200px;
-                                       top:200px;
-                                       background-color:white;
-                                       border:5px solid red;
-                                       z-index:150;
-                                       display:none;
-                                       position:absolute;'>
-
-               <div id="e_layerTitle{$i_ID}" style="vertical-align: middle;
-                                                                                        width:100%; 
-                                                                                        font-size: 1.2em;
-                                                                                        padding-top:3px;
-                                                                                        padding-bottom:2px;
-                                                                                        font-weight:bold;
-                                                                                    background-color: #999999; 
-                                                                    ">
-                       &nbsp;&nbsp;{$s_Title}
-               </div>
-               <div style="height:2px; width:100% ; background-color: #BBBBBB;"></div>
+               <div id='e_layer{$i_ID}' class="errorMsgDialog">
 
-                       <table style='width:100%' summary='' border=0>
-                               <tr>
-                                       <td style='vertical-align:top;padding:10px'>
+               <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
+                       <table><tr><td>
        {if $i_Type == ERROR_DIALOG}
                                                <img src='images/error.png' alt='{t}Error{/t}'>
        {elseif $i_Type == WARNING_DIALOG}
        {elseif $i_Type == INFO_DIALOG || $i_Type == CONFIRM_DIALOG}
                                                <img src='images/info.png' alt='{t}Information{/t}'>
        {/if}
-                                       </td>
-                                       <td style='width:100%'>
-                                               <b>{$s_Message}</b>
-                                               <br>
+                       </td><td style='font-size: 1.1em; font-weight:bold;'>{$s_Title}</td></tr>
+               </table>
+               </div>
+               <div class="errorMsgSepeator"></div>
+
+                       <table style='width:100%' summary='' border=0>
+                               <tr>
+                                       <td style='width:100%; padding:7px; padding-bottom:14px;'>
+                                               {$s_Message}
                                                <br>
                                        </td>
                                        {if $s_Trace != "" && $i_TraceCnt != 0}
                                        {/if}
                                </tr>
                                <tr>
+                                       {if $s_Trace != "" && $i_TraceCnt != 0}
+                                       <td colspan='3' align='center'>
+                                       {else}
                                        <td colspan='2' align='center'>
+                                       {/if}
+                                       <div class="errorMsgSepeator" style='margin-top:2px; margin-bottom:2px;'></div>
        {if $i_Type == ERROR_DIALOG || $i_Type == WARNING_DIALOG || $i_Type == INFO_DIALOG}
                                                <button type='button' name='MSG_OK{$i_ID}' onClick='next_msg_dialog();'>{t}Ok{/t}</button>
        {elseif $i_Type == CONFIRM_DIALOG}