mirror of
https://github.com/e107inc/e107.git
synced 2025-08-21 05:41:58 +02:00
Removal of "Time offset" setting.
This commit is contained in:
@@ -727,39 +727,11 @@ $text .= "
|
||||
|
||||
$text .= "
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for='time-offset'>".PRFLAN_26."</label></td>
|
||||
<td>
|
||||
".$frm->select_open('time_offset', 'class=tbox select time-offset');//use form handler because of the tabindex
|
||||
$toffset = array("-12", "-11", "-10", "-9", "-8", "-7", "-6", "-5", "-4", "-3", "-2", "-1", "0", "+1", "+2", "+3", "+4", "+5", "+6", "+7", "+8", "+9", "+10", "+11", "+12", "+13", "+14", "+15", "+16");
|
||||
if(! isset($pref['time_offset']))
|
||||
{
|
||||
$pref['time_offset'] = "0";
|
||||
}
|
||||
|
||||
|
||||
//XXX TODO FIXME - Do we still need this?
|
||||
|
||||
foreach($toffset as $o)
|
||||
{
|
||||
$text .= "
|
||||
".$frm->option($o, $o, ($o == $pref['time_offset']))."
|
||||
";
|
||||
}
|
||||
|
||||
|
||||
|
||||
$timeZones = systemTimeZones();
|
||||
|
||||
|
||||
</tr>";
|
||||
|
||||
$timeZones = systemTimeZones();
|
||||
|
||||
$text .= "
|
||||
</select>
|
||||
<div class='smalltext field-help'>".PRFLAN_27."</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for='timezone'>".PRFLAN_56."</label></td>
|
||||
<td>
|
||||
|
Reference in New Issue
Block a user