Fixed broken icons
authorMarcel Werk <burntime@woltlab.com>
Tue, 4 Oct 2011 18:02:10 +0000 (20:02 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 4 Oct 2011 18:02:10 +0000 (20:02 +0200)
Fixed #212

wcfsetup/setup/template/header.tpl
wcfsetup/setup/template/stepCreateUser.tpl
wcfsetup/setup/template/stepShowLicense.tpl

index 776105ea13e946e1283b2ab8e0697ce12528f2c5..6fdae1f52bbbc54150681f6c3b7fa0c52af1a12e 100644 (file)
@@ -6,6 +6,20 @@
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link rel="stylesheet" type="text/css" href="{if $lastStep|isset}{@RELATIVE_WCF_DIR}acp/style/{else}install.php?tmpFilePrefix={@TMP_FILE_PREFIX}&amp;showCSS={/if}style.css" />
+       
+       {if !$lastStep|isset}
+               <style type="text/css">
+                       /*<![CDATA[*/
+                       p.error {
+                               background-image: url('install.php?tmpFilePrefix={@TMP_FILE_PREFIX}&showIcon=systemError.svg') !important;
+                       }
+               
+                       .innerError {
+                               background-image: url('install.php?tmpFilePrefix={@TMP_FILE_PREFIX}&showIcon=systemError.svg') !important;
+                       }
+                       /*]]>*/
+               </style>
+       {/if}
 </head>
 
 <body id="tplWCFInstaller">
index 6dee9173e53aadabdb146279d6f479c21c253593..28b1c83c22c694010a87b95a2584e7e94dce54c8 100644 (file)
        <fieldset>
                <legend>{lang}wcf.global.createUser.data{/lang}</legend>
                
-               <dl{if $errorField == 'username'} class="errorField"{/if}>
+               <dl{if $errorField == 'username'} class="formError"{/if}>
                        <dt><label for="username">{lang}wcf.global.createUser.username{/lang}</label></dt>
                        <dd>
                                <input type="text" id="username" name="username" value="{$username}" class="medium" />
                                {if $errorField == 'username'}
-                                       <small>
+                                       <small class="innerError">
                                                {if $errorType == 'empty'}{lang}wcf.global.createUser.error.empty{/lang}{/if}
                                                {if $errorType == 'notValid'}{lang}wcf.global.createUser.error.username.notValid{/lang}{/if}
                                        </small>
                        </dd>
                </dl>
                
-               <dl{if $errorField == 'email'} class="errorField"{/if}>
+               <dl{if $errorField == 'email'} class="formError"{/if}>
                        <dt><label for="email">{lang}wcf.global.createUser.email{/lang}</label></dt>
                        <dd>
                                <input type="text" id="email" name="email" value="{$email}" class="medium" />
                                {if $errorField == 'email'}
-                                       <small>
+                                       <small class="innerError">
                                                {if $errorType == 'empty'}{lang}wcf.global.createUser.error.empty{/lang}{/if}
                                                {if $errorType == 'notValid'}{lang}wcf.global.createUser.error.email.notValid{/lang}{/if}
                                        </small>
                        </dd>
                </dl>
                
-               <dl{if $errorField == 'confirmEmail'} class="errorField"{/if}>
+               <dl{if $errorField == 'confirmEmail'} class="formError"{/if}>
                        <dt><label for="confirmEmail">{lang}wcf.global.createUser.confirmEmail{/lang}</label></dt>
                        <dd>
                                <input type="text" id="confirmEmail" name="confirmEmail" value="{$confirmEmail}" class="medium" />
                                {if $errorField == 'confirmEmail'}
-                                       <small>
+                                       <small class="innerError">
                                                {if $errorType == 'notEqual'}{lang}wcf.global.createUser.error.confirmEmail.notEqual{/lang}{/if}
                                        </small>
                                {/if}
                        </dd>
                </dl>
                
-               <dl{if $errorField == 'password'} class="errorField"{/if}>
+               <dl{if $errorField == 'password'} class="formError"{/if}>
                        <dt><label for="password">{lang}wcf.global.createUser.password{/lang}</label></dt>
                        <dd>
                                <input type="password" id="password" name="password" value="{$password}" class="medium" />
                                {if $errorField == 'password'}
-                                       <small>
+                                       <small class="innerError">
                                                {if $errorType == 'empty'}{lang}wcf.global.createUser.error.empty{/lang}{/if}
                                        </small>
                                {/if}
                        </dd>
                </dl>
                
-               <dl{if $errorField == 'confirmPassword'} class="errorField"{/if}>
+               <dl{if $errorField == 'confirmPassword'} class="formError"{/if}>
                        <dt><label for="confirmPassword">{lang}wcf.global.createUser.confirmPassword{/lang}</label></dt>
                        <dd>
                                <input type="password" id="confirmPassword" name="confirmPassword" value="{$confirmPassword}" class="medium" />
                                {if $errorField == 'confirmPassword'}
-                                       <small>
+                                       <small class="innerError">
                                                {if $errorType == 'notEqual'}{lang}wcf.global.createUser.error.confirmPassword.notEqual{/lang}{/if}
                                        </small>
                                {/if}
index c460ca4051e7dfdf1272af486c089a9cd51721f3..e9091c08bafd06452af4176beca8f4b03e89ecdc 100644 (file)
@@ -12,7 +12,7 @@
 <form method="post" action="install.php">
        <div>
                <textarea rows="20" cols="40" readonly="readonly" id="license">{$license}</textarea>
-               <p><label{if $missingAcception|isset} class="errorField"{/if}><input type="checkbox" name="accepted" value="1" /> {lang}wcf.global.license.accept.description{/lang}</label></p>
+               <p><label{if $missingAcception|isset} class="formError"{/if}><input type="checkbox" name="accepted" value="1" /> {lang}wcf.global.license.accept.description{/lang}</label></p>
        </div>
        
        <div class="formSubmit">