Changeset 851 for trunk/Modules/User/Registration.php
- Timestamp:
- Jan 17, 2016, 10:07:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/Registration.php
r844 r851 19 19 <fieldset><legend>'.T('New user registration').'</legend> 20 20 <table> 21 <tr><td colspan="2">'.T('Please read carefully <a href="'.$this->System->Link('/info/').'">translation guidelines</a> and follow them. Translate with diacritics!').'<br/><br/></td></tr> 21 <tr><td colspan="2">'.sprintf(T('Please read carefully %s and follow them. Translate with diacritics!'), 22 '<a href="'.$this->System->Link('/info/').'">'.T('translation guidelines').'</a>'). 23 '<br/><br/></td></tr> 22 24 <tr> 23 25 <th class="Left">'.T('Are you human?').'</th>'; … … 27 29 </tr> 28 30 <tr> 29 <th class="Left">'.T('Name :').'</th>31 <th class="Left">'.T('Name').':</th> 30 32 <td><input type="text" name="user" value="'.$UserName.'"/></td> 31 33 </tr> 32 34 <tr> 33 <th class="Left">'.T('Password :').'</th>35 <th class="Left">'.T('Password').':</th> 34 36 <td><input type="password" name="pass" /></td> 35 37 </tr> 36 38 <tr> 37 <th class="Left">'.T('Password confirmation :').'</th>39 <th class="Left">'.T('Password confirmation').':</th> 38 40 <td><input type="password" name="pass2" /></td> 39 41 </tr> 40 42 <tr> 41 <th class="Left">'.T('E-mail :').'</th>43 <th class="Left">'.T('E-mail').':</th> 42 44 <td><input type="text" name="Email" value="'.$Email.'"/></td> 43 45 </tr> 44 46 <tr> 45 <th class="Left">'.T('I will translate normally to :').'</th>47 <th class="Left">'.T('I will translate normally to').':</th> 46 48 <td>'.WriteLanguages($Language).'</td> 47 49 </tr> 48 50 <tr> 49 <th class="Left">'.T('I belong to team :').'</th>';51 <th class="Left">'.T('I belong to team').':</th>'; 50 52 if($Team == '') $Selected = ' selected="selected"'; 51 53 else $Selected = ''; … … 56 58 if($Team == $Line['Id']) $Selected = ' selected="selected"'; 57 59 else $Selected = ''; 58 $Output .= '<option value="0'.$Line['Id'].'"'.$Selected.'>'. $Line['Name'].'</option>';60 $Output .= '<option value="0'.$Line['Id'].'"'.$Selected.'>'.htmlspecialchars($Line['Name']).'</option>'; 59 61 } 60 62 $Output .= '</select>'; 61 63 $Output .= '</td></tr>'. 62 '<tr><th class="Left">'.T('Preferred client version :').'</th><td>'.ClientVersionSelection('').'</td></tr>';64 '<tr><th class="Left">'.T('Preferred client version').':</th><td>'.ClientVersionSelection('').'</td></tr>'; 63 65 64 66 $Query = 'SELECT * FROM UserTagType'; 65 67 $DbResult = $this->Database->query($Query); 66 68 $Output .= '<tr><th class="Left">'. 67 T('Select rules which you will apply during translation :').'</th><td>';69 T('Select rules which you will apply during translation').':</th><td>'; 68 70 while ($UserTag = $DbResult->fetch_array()) 69 71 {
Note:
See TracChangeset
for help on using the changeset viewer.