plugins/SpecialUserPrefs.php
changeset 711 f70d764aab33
parent 685 17ebe24cdf85
child 741 a216e412c439
equal deleted inserted replaced
710:1fbce408813c 711:f70d764aab33
   650           </tr>
   650           </tr>
   651           <tr>
   651           <tr>
   652             <td class="row2"><?php echo $lang->get('usercp_publicinfo_field_timezone'); ?><br /><small><?php echo $lang->get('usercp_publicinfo_field_timezone_hint'); ?></small></td>
   652             <td class="row2"><?php echo $lang->get('usercp_publicinfo_field_timezone'); ?><br /><small><?php echo $lang->get('usercp_publicinfo_field_timezone_hint'); ?></small></td>
   653             <td class="row1"><?php echo $tz_select; ?></td>
   653             <td class="row1"><?php echo $tz_select; ?></td>
   654           </tr>
   654           </tr>
       
   655           <tr>
       
   656             <td class="row2"><?php echo $lang->get('usercp_publicinfo_field_dst'); ?></td>
       
   657             <td class="row1">
       
   658               <select name="dst">
       
   659                 <?php
       
   660                 global $dst_profiles, $dst_params;
       
   661                 $user_dst = implode(';', $dst_params);
       
   662                 foreach ( $dst_profiles as $region => $data )
       
   663                 {
       
   664                   $selected = ( $data === $user_dst ) ? ' selected="selected"' : '';
       
   665                   echo '<option value="' . $data . '"' . $selected . '>' . $lang->get("tz_dst_$region") . '</option>';
       
   666                 }
       
   667                 ?>
       
   668               </select>
       
   669             </td>
       
   670           </tr>
   655           <?php
   671           <?php
   656           if ( $session->get_permissions('custom_user_title') ):
   672           if ( $session->get_permissions('custom_user_title') ):
   657           ?>
   673           ?>
   658             <tr>
   674             <tr>
   659               <td class="row2">
   675               <td class="row2">