Hi !

Educate your members to secure their password :geek:

In [color=rgb(251, 160, 38)]account-login.php[/color] search :

 <table border="0" cellpadding="3" align="center">
       <tr><td align="center"><b><?php echo T_("USERNAME"); ?>:</b> <input type="text" size="40" name="username" /></td></tr>
       <tr><td align="center"><b><?php echo T_("PASSWORD"); ?>:</b> <input type="password" size="40" name="password" /></td></tr>
       <tr><td colspan="2" align="center"><input type="submit" value="<?php echo T_("LOGIN"); ?>" /><br /><br /><i><?php echo T_("COOKIES");?></i></td></tr>
   </table>


Replace with :

 <table border="0" cellpadding="3" align="center">
       <tr><td align="center"><b><?php echo T_("USERNAME"); ?>:</b> <input type="text" size="30" name="username" /></td></tr>
       <tr><td align="center"><b><?php echo T_("PASSWORD"); ?>:</b> <input type="password" size="30" name="password" onKeyUp="verif(this.value)" /></td></tr>
       <tr><td align="center"><b><?php echo T_("CONFIRM"); ?>:</b>&nbsp; &nbsp;<input type="password" size="30" name="passagain" onKeyUp="verif(this.value)" /></td></tr>
       <tr align="center"><td align="center" colspan="2" class="img" onKeyUp="verif(this.value)" rows="10" id="verif"><div onKeyUp="verif(this.value)" /></div></td></tr>        
       <tr><td align="center"><input type="submit" value="<?php echo T_("LOGIN"); ?>" /><br /><br /><i><?php echo T_("COOKIES");?></i></td></tr>
   </table>


In your theme open therme.css and add at the end of the page :
[color=rgb(255, 255, 255)]([/color][color=rgb(235, 107, 86)]NOTE:[/color][color=rgb(61, 142, 185)] [/color]
[color=rgb(61, 142, 185)]I added some writing to help you style your theme [/color])

/* image of the validation password and account-login security  */
.img {
display: inline-block !IMPORTANT;
height: 23px !IMPORTANT;
width: 229px !IMPORTANT;
border: 2px groove DarkGray; /*border size and ca color */
background: rgba(255,255,255,0.05); /* background colors the border  */
border-radius: 8px; /* size round corners  */
-moz-border-radius: 8px; /* size round corners with firefox */
-webkit-border-radius: 8px; /* size round corners with chrome */
margin: 4px; /* sets the size of the margins on the four sides of the element */
}


Always in your open theme header.php and add before the </ head> tag :

<!-- js verif password -->
<script type="text/javascript" src="<?php echo $site_config["SITEURL"]; ?>/js/verif.js"></script>


At the root of your site create a folder named [color=rgb(44, 130, 201)]js[/color] and add the file[color=rgb(250, 197, 28)] verif.js[/color]
add to your file the name of[color=rgb(41, 105, 176)] [/color][color=rgb(61, 142, 185)]images[/color] the file [color=rgb(44, 130, 201)]verif_mot_passe[/color]

[ATTACH type="full" width="647px" alt="5287"]5287[/ATTACH]
verif.rar
Download
verif_mot_passe.rar
Download
Capture.JPG
Capture.JPG