code cleanup

This commit is contained in:
dg9vh 2017-04-27 09:46:06 +00:00
parent 49e45b26ca
commit d599e6be39

View file

@ -184,7 +184,6 @@ function get_tz_options($selectedzone, $label, $desc = '') {
} }
$selectcontinent = $continent; $selectcontinent = $continent;
// }
} }
$structure .= '</optgroup>'; $structure .= '</optgroup>';
return $structure; return $structure;
@ -217,21 +216,9 @@ foreach ($files as $file) {
<?php <?php
} }
} }
/*
$path = "./locale";
$blacklist = array('somedir','somefile.php');
foreach (new DirectoryIterator($path) as $fileInfo) {
if($fileInfo->isDot()) continue;
$file = $fileInfo->getFilename();
?> <option <?php if (constant("LOCALE") == $file) echo "selected=\"selected\" "?>value="<?php echo $file?>"><?php echo $file; ?></option>
<?php
}
*/
?> ?>
</select> </select>
</div> </div>
<!--input type="text" value="<?php echo constant("LOCALE") ?>" name="LOCALE" class="form-control" placeholder="en_GB" aria-describedby="LOCALE"-->
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="LOGO" style="width: 300px"><?php echo _("URL to Logo"); ?></span> <span class="input-group-addon" id="LOGO" style="width: 300px"><?php echo _("URL to Logo"); ?></span>