andre 4 лет назад
Родитель
Сommit
397d050417
2 измененных файлов с 7 добавлено и 9 удалено
  1. 2 2
      templates/checkconfigureproduct.tpl
  2. 5 7
      templates/configureproduct.tpl

+ 2 - 2
templates/checkconfigureproduct.tpl

@@ -69,7 +69,7 @@
                 numericOK = true;
                 $("#hintNumeric").text('');
             } else {
-                numericOK = true;
+                numericOK = false;
                 $("#hintNumeric").text('Benutzen Sie mindestens eine Zahl');
             }
             var symbols = pw.replace(/\W/g, "");
@@ -78,7 +78,7 @@
                 symbolsOK = true;
                 $("#hintSymbols").text('');
             } else {
-                symbolsOK = true;
+                symbolsOK = false;
                 $("#hintSymbols").text('Benutzen Sie auch mindestens eines der folgenden Symbole (# $ ! % & etc...)');
             }
             var upper = pw.replace(/[A-Z]/g, "");

+ 5 - 7
templates/configureproduct.tpl

@@ -270,9 +270,7 @@ var _localLang = {
                         {/if}
 
                         {if $customfields}
-<!-- begin thurdata customized by Andre -->
-			    {include file="./checkconfigureproduct.tpl"}
-<!-- end thurdata customized by Andre -->
+            			    {include file="./checkconfigureproduct.tpl"}
                             <div class="sub-heading">
                                 <span>{$LANG.orderadditionalrequiredinfo}</span>
                             </div>
@@ -293,10 +291,10 @@ var _localLang = {
                             <div class="alert alert-info">
                                 <div id='hints'>
                                     <strong id='hintHead'></strong>
-                                                    <div id='hintLength'></div>
-                                                    <div id='hintNumeric'></div>
-                                                    <div id='hintSymbols'></div>
-                                                    <div id='hintUpperLower'></div>
+                                    <div id='hintLength'></div>
+                                    <div id='hintNumeric'></div>
+                                    <div id='hintSymbols'></div>
+                                    <div id='hintUpperLower'></div>
                                 </div>
                             </div>
                         {/if}