changed git call from https to git readonly
[atutor.git] / mods / job_board / include / html / employer / jb_registration.tmpl.php
1 <script language="JavaScript" src="sha-1factory.js" type="text/javascript"></script>
2 <script type="text/javascript">
3 function encrypt_password()
4 {
5         document.jb_registration_form.jb_registration_password_error.value = "";
6
7         err = verify_password(document.jb_registration_form.jb_registration_password.value, document.jb_registration_form.jb_registration_password2.value);
8         if (err.length > 0)
9         {
10                 document.jb_registration_form.jb_registration_password_error.value = err;
11         }
12         else
13         {
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 = "";
17         }
18 }
19 </script>
20
21 <div class="input-form">
22         <form method="post" action="" name="jb_registration_form">
23                 <div class="row">
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>&middot; <?php echo _AT('contain_only'); ?><br />
28                                    &middot; <?php echo _AT('20_max_chars'); ?></small>
29                 </div>
30
31                 <div class="row">
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>&middot; <?php echo _AT('combination'); ?><br />
36                                    &middot; <?php echo _AT('15_max_chars'); ?></small>
37                 </div>
38
39                 <div class="row">
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" />
43                 </div>
44
45                 <div class="row">
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']); ?>"/>
49                 </div>
50
51                 <div class="row">
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']); ?>"/>
55                 </div>
56                 
57                 <div class="row">
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']); ?>"/>
61                 </div>
62
63                 <div class="row">
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']); ?>"/>
66                 </div>
67                 
68                 <div class="row">
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>
71                 </div>
72
73                 <div class="row">
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()" />
77                 </div>          
78         </form>
79 </div>