<form action="{$this->ipsclass->base_url}auth_key=$key" method="post">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="05" />
<div class="formsubtitle">{$this->ipsclass->lang['settings_time']}</div>
<div style='padding:4px;'>
<fieldset>
 <legend><strong>{$this->ipsclass->lang['settings_time_txt']}</strong></legend>
 {$this->ipsclass->lang['settings_time_txt2']} $time
 <br />
 $time_select
</fieldset>
<br />
<fieldset>
<if="$this->ipsclass->input['dsterror'] == 1">
<div style='color:red;font-weight:bold'>
	 {$this->ipsclass->lang['dst_error']}
	</div>
</if>
 <legend><strong>{$this->ipsclass->lang['dst_correction_title']}</strong></legend>
 <input class='checkbox' type="checkbox" id='dst-check' onclick='toggle_dst()' name="DSTCHECK" value="1" $dst_correction /> &nbsp;<strong>{$this->ipsclass->lang['dst_auto']}</strong>
 <div class='desc'>{$this->ipsclass->lang['dst_auto2']}</div>
 
 <div id='dst-manual'>
   <input class='checkbox'  type="checkbox" name="DST" value="1" $dst_check /> &nbsp;<strong>{$this->ipsclass->lang['dst_box']}</strong>
   <div class='desc'>{$this->ipsclass->lang['dst_box2']}</div>
 </div>
</fieldset>
</div>
<script type="text/javascript">
//<![CDATA[
function toggle_dst()
{
	if ( document.getElementById( 'dst-check' ).checked )
	{
		document.getElementById( 'dst-manual' ).style.display = 'none';
	}
	else
	{
		document.getElementById( 'dst-manual' ).style.display = 'block';
	}
}
toggle_dst();
//]]>
</script>