Just thinking we(maybe mostly me) are making this more complicated then it needs to be. Why not just have 2 fields:Then in tpl_events_calendar_default.php after "$cal = new Calendar;":Code:define('EVENTS_MONTHS_DROP_DOWNS', 'JAN,FEB,MAR,APR,MAY,JUN,JUL,AUG,SEP,OCT,NOV,DEC'); define('EVENTS_MONTHS_TITLES', 'January,February,March,April,May,June,July,August,September,October,November,December');Then in tpl_events_calendar_default.phpCode:$cal = new Calendar; $cal->setMonthNames(explode(",", EVENTS_MONTHS_TITLES)); //**rus: via diva: add
after "$cal = new Calendar;":and for the drop downs:Code:$cal = new Calendar; $cal->setMonthNames(explode(",", EVENTS_MONTHS_TITLES)); //**rus: via diva: addSimple, now anyone can come in, see what they are, and change to whatever, numbers, short, long, etc.Code:$monthShort = explode(",",EVENTS_MONTHS_DROP_DOWNS); $month = date('m'); while (list($key, $value) = each($monthShort))
Rus



