summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f01ad3d)
raw | patch | inline | side by side (parent: f01ad3d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Sep 2007 12:09:59 +0000 (12:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Sep 2007 12:09:59 +0000 (12:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7283 594d385d-05f5-0310-b6e9-bd551577e9d8
setup/setup_config2.tpl | patch | blob | history |
index 1d14f3d5cea0c49116126ee6a46ce73b3a21c682..80c5cf6aac5666e2d4412c51e4e9e035f6ba5903 100644 (file)
--- a/setup/setup_config2.tpl
+++ b/setup/setup_config2.tpl
</div>
<div class='step4_value'>
<select name='timezone' title='{t}Please your preferred timezone here{/t}' style="width:100%">
- {foreach from=$timezones item=val key=key}
- {if $val.name == $timezone}
- <option selected value="{$val.name}">{$val.name}</option>
+ {foreach from=$timezones.TIMEZONES item=val key=key}
+ {if $key == $timezone}
+ {if isset($timezones.DST_ZONES.$key)}
+ <option selected value="{$key}">{$key} (DST)</option>
+ {else}
+ <option selected value="{$key}">{$key} (GMT)</option>
+ {/if}
{else}
- <option value="{$val.name}">{$val.name}</option>
+ {if isset($timezones.DST_ZONES.$key)}
+ <option value="{$key}">{$key} (DST)</option>
+ {else}
+ <option value="{$key}">{$key} (GMT)</option>
+ {/if}
{/if}
{/foreach}
+
</select>
</div>
</div>