1 <script language="JavaScript" src="sha-1factory.js" type="text/javascript"></script>
2 <script type="text/javascript">
3 function encrypt_password()
5 document.jb_registration_form.jb_registration_password_error.value = "";
7 err = verify_password(document.jb_registration_form.jb_registration_password.value, document.jb_registration_form.jb_registration_password2.value);
10 document.jb_registration_form.jb_registration_password_error.value = err;
14 document.jb_registration_form.jb_registration_password_hidden.value = hex_sha1(document.jb_registration_form.jb_registration_password.value);
15 document.jb_registration_form.jb_registration_password.value = "";
16 document.jb_registration_form.jb_registration_password2.value = "";
21 <div class="input-form">
22 <form method="post" action="" name="jb_registration_form">
24 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
25 <label for="jb_registration_username"><?php echo _AT('jb_employer_login'); ?></label><br/>
26 <input type="text" id="jb_registration_username" name="jb_registration_username" value="<?php echo htmlentities_utf8($_POST['jb_registration_username']); ?>"/><br />
27 <small>· <?php echo _AT('contain_only'); ?><br />
28 · <?php echo _AT('20_max_chars'); ?></small>
32 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
33 <label for="jb_registration_password"><?php echo _AT('password'); ?></label><br/>
34 <input type="password" id="jb_registration_password" name="jb_registration_password" /><br/>
35 <small>· <?php echo _AT('combination'); ?><br />
36 · <?php echo _AT('15_max_chars'); ?></small>
40 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
41 <label for="jb_registration_password2"><?php echo _AT('password_again'); ?></label><br/>
42 <input type="password" id="jb_registration_password2" name="jb_registration_password2" />
46 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
47 <label for="jb_registration_employer_name"><?php echo _AT('jb_employer_name'); ?></label><br/>
48 <input type="text" id="jb_registration_employer_name" name="jb_registration_employer_name" value="<?php echo htmlentities_utf8($_POST['jb_registration_employer_name']); ?>"/>
52 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
53 <label for="jb_registration_email"><?php echo _AT('email'); ?></label><br/>
54 <input type="text" id="jb_registration_email" name="jb_registration_email" value="<?php echo htmlentities_utf8($_POST['jb_registration_email']); ?>"/>
58 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
59 <label for="jb_registration_company"><?php echo _AT('company'); ?></label><br/>
60 <input type="text" id="jb_registration_company" name="jb_registration_company" value="<?php echo htmlentities_utf8($_POST['jb_registration_company']); ?>"/>
64 <label for="jb_registration_website"><?php echo _AT('jb_website'); ?></label><br/>
65 <input type="text" id="jb_registration_website" name="jb_registration_website" value="<?php echo htmlentities_utf8($_POST['jb_registration_website']); ?>"/>
69 <label for="jb_registration_description"><?php echo _AT('jb_company_description'); ?></label><br/>
70 <textarea id="jb_registration_description" name="jb_registration_description" ><?php echo htmlentities_utf8($_POST['jb_registration_description']); ?></textarea>
74 <input class="hidden" name="jb_registration_password_hidden" />
75 <input class="hidden" name="jb_registration_password_error" />
76 <input class="button" type="submit" name="submit" value="<?php echo _AT('submit'); ?>" onclick="encrypt_password()" />