Code

Fixed spelling errors
[gosa.git] / gosa-core / ihtml / themes / default / msg_dialog.tpl
index 857518924233edf4c3f93572423a437beefc3c81..24ceb2b812c137278257a6490ea4144d346ed3df 100644 (file)
     {/if}
 
                        <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
-                       <table><tr><td>
+                       <table summary='{t}Error message title{/t}'><tr><td>
                {if $i_Type == $smarty.const.ERROR_DIALOG}
-                                               <img src='images/error.png' alt='{t}Error{/t}'>
+                                               {image path='images/error.png'}
                {elseif $i_Type == $smarty.const.WARNING_DIALOG}
-                                               <img src='images/warning.png'  alt='{t}Warning{/t}'>
+                                               {image path='images/warning.png'}
                {elseif $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
-                                               <img src='images/info.png' alt='{t}Information{/t}'>
+                                               {image path='images/warning.png'}
                {/if}
-                       </td><td style='font-size: 1.1em; font-weight:bold;'>{$s_Title}</td></tr>
+                       </td><td style='font-size: 1.1em;vertical-align:middle;font-weight:bold;'>{$s_Title}</td></tr>
                        </table>
                        </div>
-                       <table style='width:100%; border-top: solid 1px #BBBBBB;' cellspacing=0 cellpadding=2 summary='' border=0>
+                       <table summary='{t}Error message{/t}' 
+          style='width:100%; border-top: solid 1px #BBBBBB;' cellspacing=0 cellpadding=2 border=0>
                                <tr>
                                        <td style='width:100%;padding:7px; padding-bottom:14px'>
                                                {$s_Message}
                                <tr>
                                        <td colspan='2' align='center'>
                {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG}
-                                               <input type='button' type='submit' name='MSG_OK{$i_ID}' value='{t}Ok{/t}'
-               {elseif $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
-                                               <input type='button' type='submit' name='MSG_OK{$i_ID}' value='{t}Ok{/t}'>
-                                               <input type='button' type='submit' name='MSG_CANCEL{$i_ID}' value='{t}Cancel{/t}'>
+                                               <button type='submit' name='MSG_OK{$i_ID}'>{t}OK{/t}</button
+               {elseif $buttononst.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
+                                               <button type='submit' name='MSG_OK{$i_ID}'>{t}OK{/t}</button>
+                                               <button type='submit' name='MSG_CANCEL{$i_ID}'>{t}Cancel{/t}</button>
                {/if}
                                        </td>
                                </tr>
     {/if}
 
                <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
-                       <table><tr><td>
+                       <table summary='{t}Error message title{/t}'><tr><td>
                {if $i_Type == $smarty.const.ERROR_DIALOG}
-                                               <img src='images/error.png' alt='{t}Error{/t}'>
+                                               {image path='images/error.png'}
                {elseif $i_Type == $smarty.const.WARNING_DIALOG}
-                                               <img src='images/warning.png'  alt='{t}Warning{/t}'>
+                                               {image path='images/warning.png'}
                {elseif $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
-                                               <img src='images/info.png' alt='{t}Information{/t}'>
+                                               {image path='images/info.png'}
                {/if}
-                       </td><td style='font-size: 1.1em; font-weight:bold;'>{$s_Title}</td></tr>
+                       </td><td style='font-size: 1.1em;vertical-align:middle; font-weight:bold;'>{$s_Title}</td></tr>
                </table>
                </div>
 
-                       <table style='z-index:250;width:100%; border-top: solid 1px #BBBBBB;' cellspacing=0 cellpadding=2 summary='' border=0>
+                       <table summary='{t}Error message{/t}' 
+        style='z-index:250;width:100%; border-top: solid 1px #BBBBBB;' cellspacing=0 cellpadding=2 border=0>
                                <tr>
-                                       <td style='width:100%; padding:7px; padding-bottom:14px;'>
+                                       <td style='width:100%;padding:7px; padding-bottom:14px;'>
                                                {$s_Message}
                                                <br>
                                        </td>
                                        <td colspan='2' align='center' style="border-top: solid 1px #BBBBBB;">
                                        {/if}
                {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG}
-                                               <input type='button' id='MSG_OK{$i_ID}' type='button' name='MSG_OK{$i_ID}' 
-              onClick='next_msg_dialog();' value='{t}Ok{/t}'>
+                                               <button id='MSG_OK{$i_ID}' type='button' name='MSG_OK{$i_ID}' 
+              onClick='next_msg_dialog();'>{t}OK{/t}</button>
                {elseif $i_Type == $smarty.const.CONFIRM_DIALOG}
-                                               <input type='button' id='MSG_OK{$i_ID}' type='submit' name='MSG_OK{$i_ID}' 
-              onClick='next_msg_dialog();' value='{t}Ok{/t}'>
-                                               <input type='button' type='button' name='MSG_CANCEL{$i_ID}' 
-              onClick='next_msg_dialog();' value='{t}Cancel{/t}'>
+                                               <button id='MSG_OK{$i_ID}' type='submit' name='MSG_OK{$i_ID}' 
+              onClick='next_msg_dialog();'>{t}OK{/t}</button>
+                                               <button type='button' name='MSG_CANCEL{$i_ID}' 
+              onClick='next_msg_dialog();'>{t}Cancel{/t}</button>
                {elseif $i_Type == $smarty.const.OK_CANCEL_DIALOG}
-                                               <input type='button' id='MSG_OK{$i_ID}' type='submit' name='MSG_OK{$i_ID}' 
-              onClick='next_msg_dialog();' value='{t}Ok{/t}'>
-                                               <input type='button' type='submit' name='MSG_CANCEL{$i_ID}' 
-              onClick='next_msg_dialog();' value='{t}Cancel{/t}'>
+                                               <button id='MSG_OK{$i_ID}' type='submit' name='MSG_OK{$i_ID}' 
+              onClick='next_msg_dialog();'>{t}OK{/t}</button>
+                                               <button type='submit' name='MSG_CANCEL{$i_ID}' 
+              onClick='next_msg_dialog();'>{t}Cancel{/t}</button>
                {/if}
                                        </td>
                                </tr>