Code

Updated error dialogs to influence my w3c template checks
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Mar 2010 14:15:31 +0000 (14:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Mar 2010 14:15:31 +0000 (14:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17117 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/ihtml/themes/modern/msg_dialog.tpl

index ebde4bbb824acf08bdd777d0c11e0cf2a8196378..042f033befb24e3c92adea4b12694a2f0737b72d 100644 (file)
                        <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
                        <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>
                        </table>
                <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
                        <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>
                </table>
                                        {/if}
                {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG}
                                                <button id='MSG_OK{$i_ID}' type='button' name='MSG_OK{$i_ID}' 
-              onClick='next_msg_dialog();' value='{t}Ok{/t}'>
+              onClick='next_msg_dialog();'>{t}Ok{/t}</button>
                {elseif $i_Type == $smarty.const.CONFIRM_DIALOG}
                                                <button id='MSG_OK{$i_ID}' type='submit' name='MSG_OK{$i_ID}' 
               onClick='next_msg_dialog();'>{t}Ok{/t}</button>