|
62 | 62 | </td> |
63 | 63 | </tr> |
64 | 64 | <tr> |
65 | | - <td class="vst-text input-label"> |
66 | | - <?php print _('Password');?> / <a href="javascript:randomString();" class="generate" ><?php print _('generate');?></a> |
| 65 | + <td class="vst-text "> |
| 66 | + <?php print _('Contact');?> |
67 | 67 | </td> |
68 | 68 | </tr> |
69 | 69 | <tr> |
70 | 70 | <td> |
71 | | - <input type="text" size="20" class="vst-input password" name="v_password" value="<?=htmlentities(trim($v_password, "'"))?>" tabindex="2" /><br /> |
72 | | - <meter max="4" id="meter"></meter> |
73 | | - </td> |
74 | | - </tr> |
75 | | - <tr> |
76 | | - <td class="vst-text"> |
77 | | - <?php print _('Your password must have at least');?>: |
78 | | - <ul> |
79 | | - <li><?php print _('8 characters long');?></li> |
80 | | - <li><?php print _('1 uppercase & 1 lowercase character');?></li> |
81 | | - <li><?php print _('1 number');?></li> |
82 | | - </ul> |
| 71 | + <input type="text" size="20" class="vst-input" name="v_name" value="<?=htmlentities(trim($v_name, "'"))?>" tabindex="3" > |
83 | 72 | </td> |
84 | 73 | </tr> |
85 | 74 | <tr> |
86 | | - <td class="vst-text "> |
87 | | - <?php print _('Contact');?> |
| 75 | + <td class="vst-text input-label"> |
| 76 | + <?php print _('Email');?> |
88 | 77 | </td> |
89 | 78 | </tr> |
90 | 79 | <tr> |
91 | 80 | <td> |
92 | | - <input type="text" size="20" class="vst-input" name="v_name" value="<?=htmlentities(trim($v_name, "'"))?>" tabindex="3" > |
| 81 | + <input type="text" size="20" class="vst-input" name="v_email" id='v_email' value="<?=htmlentities(trim($v_email, "'"))?>" tabindex="5" > |
93 | 82 | </td> |
94 | 83 | </tr> |
95 | 84 | <tr> |
96 | 85 | <td class="vst-text input-label"> |
97 | | - <?php print _('Email');?> |
| 86 | + <?php print _('Password');?> / <a href="javascript:randomString();" class="generate" ><?php print _('generate');?></a> |
98 | 87 | </td> |
99 | 88 | </tr> |
100 | 89 | <tr> |
101 | 90 | <td> |
102 | | - <input type="text" size="20" class="vst-input" name="v_email" id='v_email' value="<?=htmlentities(trim($v_email, "'"))?>" tabindex="5" > |
| 91 | + <input type="text" size="20" class="vst-input password" name="v_password" value="<?=htmlentities(trim($v_password, "'"))?>" tabindex="2" /><br /> |
| 92 | + <meter max="4" id="meter"></meter> |
| 93 | + </td> |
| 94 | + </tr> |
| 95 | + <tr> |
| 96 | + <td class="vst-text"> |
| 97 | + <?php print _('Your password must have at least');?>: |
| 98 | + <ul> |
| 99 | + <li><?php print _('8 characters long');?></li> |
| 100 | + <li><?php print _('1 uppercase & 1 lowercase character');?></li> |
| 101 | + <li><?php print _('1 number');?></li> |
| 102 | + </ul> |
103 | 103 | </td> |
104 | 104 | </tr> |
105 | 105 | <tr> |
|
108 | 108 | </td> |
109 | 109 | </tr> |
110 | 110 | <tr> |
111 | | - <td class="vst-text input-label" name="v_package"> |
112 | | - <?php print _('Package');?> |
| 111 | + <td class="vst-text input-label"> |
| 112 | + <?php print _('Language');?> |
113 | 113 | </td> |
114 | | - </tr> |
| 114 | + </tr> |
115 | 115 | <tr> |
116 | 116 | <td> |
117 | | - <select class="vst-list" name="v_package" tabindex="6" > |
| 117 | + <select class="vst-list" name="v_language" tabindex="7" > |
118 | 118 | <?php |
119 | | - foreach ($data as $key => $value) { |
120 | | - echo "\n\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"".htmlentities($key)."\""; |
121 | | - if ((!empty($v_package)) && ( $key == $_POST['v_package'])){ |
122 | | - echo 'selected' ; |
123 | | - } else { |
124 | | - if ( $key == 'default'){ |
125 | | - echo 'selected' ; |
| 119 | + foreach ($languages as $key => $value) { |
| 120 | + echo "\n\t\t\t\t\t\t\t\t\t<option value=\"".htmlentities($key)."\""; |
| 121 | + if (( $key == $_SESSION['LANGUAGE'] ) && (empty($v_language))){ |
| 122 | + echo ' selected' ; |
| 123 | + } |
| 124 | + if (isset($v_language)){ |
| 125 | + if ( htmlentities($key) == trim($v_language,"'") ){ |
| 126 | + echo ' selected' ; |
126 | 127 | } |
127 | 128 | } |
128 | | - echo ">".htmlentities($key)."</option>\n"; |
| 129 | + echo ">".htmlentities($value)."</option>\n"; |
129 | 130 | } |
130 | 131 | ?> |
131 | 132 | </select> |
|
145 | 146 | </td> |
146 | 147 | </tr> |
147 | 148 | <tr> |
148 | | - <td class="vst-text input-label"> |
149 | | - <?php print _('Language');?> |
| 149 | + <td class="vst-text input-label" name="v_package"> |
| 150 | + <?php print _('Package');?> |
150 | 151 | </td> |
151 | | - </tr> |
| 152 | + </tr> |
152 | 153 | <tr> |
153 | 154 | <td> |
154 | | - <select class="vst-list" name="v_language" tabindex="7" > |
| 155 | + <select class="vst-list" name="v_package" tabindex="6" > |
155 | 156 | <?php |
156 | | - foreach ($languages as $key => $value) { |
157 | | - echo "\n\t\t\t\t\t\t\t\t\t<option value=\"".htmlentities($key)."\""; |
158 | | - if (( $key == $_SESSION['LANGUAGE'] ) && (empty($v_language))){ |
159 | | - echo ' selected' ; |
160 | | - } |
161 | | - if (isset($v_language)){ |
162 | | - if ( htmlentities($key) == trim($v_language,"'") ){ |
163 | | - echo ' selected' ; |
| 157 | + foreach ($data as $key => $value) { |
| 158 | + echo "\n\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"".htmlentities($key)."\""; |
| 159 | + if ((!empty($v_package)) && ( $key == $_POST['v_package'])){ |
| 160 | + echo 'selected' ; |
| 161 | + } else { |
| 162 | + if ( $key == 'default'){ |
| 163 | + echo 'selected' ; |
164 | 164 | } |
165 | 165 | } |
166 | | - echo ">".htmlentities($value)."</option>\n"; |
| 166 | + echo ">".htmlentities($key)."</option>\n"; |
167 | 167 | } |
168 | 168 | ?> |
169 | 169 | </select> |
|
0 commit comments