Skip to content

Appendix A

The loadCalendar2(mm,dd,yy,dt,hh,ll,tt,ss) function has 8 parameters.

mm - Month
yy - Day of Month
yy - Year in four digits

dt, hh, ll, tt and ss parameters manage output of the Orthodox Calendar. If parameter equals to 0 correspondent HTML code will not generate.

dt - if 1, generates date in format Gregorian/Julian.
hh - if 1, generates Orthodox Calendar header which follows the date.
ll - generates the Lives of Saints. It can be 0,1,2,3,4,5,6.

0 - do not generate the Lives of Saints.
1 - generate the Lives of all Saints in separate paragraphs.
2 - generate the Lives of all Saints in one paragraphs.
3 - generate the Lives of major Saints in separate paragraphs.
4 - generate the Lives of major Saints in one paragraphs.
5 -generate the Lives of major Saints and New Martyrs in separate paragraphs (Moscow Patriarchate).
6 -generate the Lives of major Saints and New Martyrs in one paragraphs (Moscow Patriarchate).

tt - generates Troparion. It can be 0,1,2.

0 - do not generate Troparion.
1 - generate Troparion with header (word Troparion).
2 - generate Troparion without header.

ss - generates the Scripture Readings. It can be 0,1,2.

0 - do not generate the Scripture Readings.
1 - generate the Scripture Readings with header (words The Scripture Readings).
2 - generate the Scripture Readings without header.