Exemple #1
0
    }
    ?>
>Override</option>
				</select>
			</div>
		</div>

		<div class="row-fluid">
			<div class="span3">
				<strong>Override time-zone</strong>
			</div>
			<div class="span9 right">


			<?php 
    $timezones = LoadUtility::getTimezones();
    print '<select name="formsettings[settings][clienttimezone]" id="timezone">';
    foreach ($timezones as $region => $list) {
        print '<optgroup label="' . $region . '">' . "\n";
        foreach ($list as $thetimezone => $name) {
            print '<option name="' . $thetimezone . '"';
            $check = $settings['settings']['clienttimezone'];
            if ($check == $thetimezone) {
                print ' selected="selected"';
            }
            print '>' . $thetimezone . '</option>' . "\n";
        }
        print '<optgroup>' . "\n";
    }
    print '</select>';
    ?>