';
content += '
';
content += '
';
if (UI.formSelect) {
var currentyear = (new Date()).getFullYear(), options = [], months, years, minYear, maxYear;
for (i=0;i
'+opts.i18n.months[i]+'');
} else {
options.push('');
}
}
months = ''+ opts.i18n.months[data.month] + '';
// --
options = [];
minYear = data.minDate ? data.minDate.year() : currentyear - 50;
maxYear = data.maxDate ? data.maxDate.year() : currentyear + 20;
for (i=minYear;i<=maxYear;i++) {
if (i == data.year) {
options.push('');
} else {
options.push('');
}
}
years = ''+ data.year + '';
content += ''+ months + ' ' + years +'
';
} else {
content += ''+ opts.i18n.months[data.month] +' '+ data.year+'
';
}
content += ' ';
content += '