79,7 → 79,7 |
<select name="filter[cdate_m]" class="form-control input-sm"> |
<option value="-1"><?php echo __("Alle", "wpsg"); ?></option> |
<?php for ($i = 1; $i <= 12; $i ++) { ?> |
<option <?php echo ((wpsg_getStr($this->view['arFilter']['cdate_m']) == $i)?'selected="selected"':''); ?> value="<?php echo str_pad($i, 2, '0', STR_PAD_LEFT); ?>"><?php echo strftime("%B", mktime(0, 0, 0, $i, 1, 2000)); ?></option> |
<option <?php echo ((wpsg_getStr($this->view['arFilter']['cdate_m']) == $i)?'selected="selected"':''); ?> value="<?php echo str_pad($i, 2, '0', STR_PAD_LEFT); ?>"><?php echo __(date('F', mktime(0, 0, 0, $i, 1, 2000))); ?></option> |
<?php } ?> |
</select> |
</div> |