><?php 
        echo $value['name'] . " (" . $value['directory'] . ")";
        ?>
</option>
            <?php 
    }
    ?>
        <?php 
}
?>
 
        </select><br /> 

        <!-- Timezones -->
        <?php 
$selects = ds_GetTimezonesArray();
?>
        <label class="settingName" for="default_timezone"><?php 
echo $TEXT['TIMEZONE'];
?>
</label>
        <select name="default_timezone" id="default_timezone">
         <?php 
if (is_array($selects)) {
    ?>
            <?php 
    foreach ($selects as $key => $value) {
        ?>
            <option value="<?php 
        echo $key;
        ?>
예제 #2
0
         $setError .= Settings::Set("wysiwyg_editor", $value);
         $setError .= Settings::Set("wb_wysiwyg_editor", $value);
     }
 }
 //Languages
 $value = $admin->get_post("default_language");
 if ($value) {
     if (ds_LanguagePossible($value)) {
         $setError .= Settings::Set("DEFAULT_LANGUAGE", $value);
         $setError .= Settings::Set("WB_DEFAULT_LANGUAGE", $value);
     }
 }
 //Timezones
 $value = $admin->get_post("default_timezone");
 if ($value or $value == "0") {
     if (array_key_exists((string) $value, ds_GetTimezonesArray())) {
         $setError .= Settings::Set("DEFAULT_TIMEZONE", $value * 60 * 60);
         $setError .= Settings::Set("WB_DEFAULT_TIMEZONE", $value * 60 * 60);
     }
 }
 //Date Formats
 $value = $admin->get_post("default_date_format");
 if ($value) {
     $cvalue = preg_replace("/\\ /", "|", $value);
     if (array_key_exists((string) $cvalue, ds_GetDateFormatArray())) {
         $setError .= Settings::Set("DEFAULT_DATE_FORMAT", $value);
         $setError .= Settings::Set("WB_DEFAULT_DATE_FORMAT", $value);
     }
 }
 //Time Formats
 $value = $admin->get_post("default_time_format");