Advertisement
janus57

error.tpl

Nov 28th, 2014
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.47 KB | None | 0 0
  1.         # IF C_ERRORH_CONNEXION #
  2.         <script type="text/javascript">
  3.         <!--
  4.         function check_connect_error(){
  5.             if(document.getElementById('login_error').value == "") {
  6.                 alert("{L_REQUIRE_PSEUDO}");
  7.                 return false;
  8.             }
  9.             if(document.getElementById('password_error').value == "") {
  10.                 alert("{L_REQUIRE_PASSWORD}");
  11.                 return false;
  12.             }
  13.             return true;
  14.         }
  15.         -->
  16.         </script>
  17.        
  18.         <form action="" method="post" style="margin:auto;" onsubmit="return check_connect_error();">
  19.             <div class="module_position">                  
  20.                 <div class="module_top_l"></div>       
  21.                 <div class="module_top_r"></div>
  22.                 <div class="module_top"><strong>{L_CONNECT}</strong></div>
  23.                 <div class="module_contents" style="text-align:center;">
  24.                     # IF C_ERROR_HANDLER #
  25.                     <span id="errorh"></span>
  26.                     <div class="{ERRORH_CLASS}" style="width:500px;margin:auto;padding:15px;">
  27.                         <img src="../templates/{THEME}/images/{ERRORH_IMG}.png" alt="" style="float:left;padding-right:6px;" /> {L_ERRORH}
  28.                         <br /> 
  29.                     </div>
  30.                     <br /> 
  31.                     # ENDIF #
  32.                    
  33.                     <p style="margin:2px;"><label>{L_PSEUDO} <input size="15" type="text" class="text" id="login_error" name="login" maxlength="25" /></label></p>
  34.                     <p style="margin:2px;"><label>{L_PASSWORD}  <input size="15" type="password" name="password" id="password_error" class="text" maxlength="30" /></label></p>
  35.                     <p style="margin:2px;"><label>{L_AUTOCONNECT} <input type="checkbox" name="auto" checked="checked" /></label></p>
  36.                     <p style="margin:5px;">
  37.                         <input type="submit" name="connect" value="{L_CONNECT}" class="submit" />
  38.                         <input type="hidden" name="token" value="{TOKEN}" />
  39.                     </p>
  40.                    
  41.                     <br />
  42.                     {U_REGISTER}
  43.                     <a href="../member/forget.php"><img src="../templates/{THEME}/images/forget_mini.png" alt="" class="valign_middle" />  {L_FORGOT_PASS}</a> 
  44.                 </div>
  45.                 <div class="module_bottom_l"></div>    
  46.                 <div class="module_bottom_r"></div>
  47.                 <div class="module_bottom"></div>
  48.             </div>
  49.         </form>
  50.         # ENDIF #
  51.  
  52.        
  53.         # IF C_ERRORH #
  54.         <div class="module_position">                  
  55.             <div class="module_contents">
  56.                 <span id="errorh"></span>
  57.                 <div class="{ERRORH_CLASS}" style="width:500px;margin:auto;padding:15px;">
  58.                     <img src="../templates/{THEME}/images/{ERRORH_IMG}.png" alt="" style="float:left;padding-right:6px;" /> {L_ERRORH}
  59.                 </div>
  60.             </div>
  61.             <div style="background-color:#F4F4F4; max-width:500px; margin: 0px auto; padding:15px;"><strong>{U_BACK}</strong></div>
  62.         </div>
  63.         # ENDIF #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement