date.hbs
4 years ago
date_days.hbs
4 years ago
date_months.hbs
4 years ago
date_years.hbs
4 years ago
index.php
3 years ago
date_months.hbs
13 lines
| 1 | <% set currentMonth = 'now'|date('n') %> |
| 2 | <select id="{{ id }}_months"> |
| 3 | <option value=""><%= __('Month') %></option> |
| 4 | <% for month in 1..12 %> |
| 5 | <option |
| 6 | <% if(currentMonth == month) %> |
| 7 | {{#if params.is_default_today}}selected="selected"{{/if}} |
| 8 | <% endif %> |
| 9 | > |
| 10 | <%= month_names[month - 1] %> |
| 11 | </option> |
| 12 | <% endfor %> |
| 13 | </select> |