Subversion Repositories DevTools

Rev

Rev 5506 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5506 Rev 5519
Line 45... Line 45...
45
}
45
}
46
 
46
 
47
Calendar.get_month = Calendar_get_month;
47
Calendar.get_month = Calendar_get_month;
48
Calendar.get_daysofmonth = Calendar_get_daysofmonth;
48
Calendar.get_daysofmonth = Calendar_get_daysofmonth;
49
Calendar.calc_month_year = Calendar_calc_month_year;
49
Calendar.calc_month_year = Calendar_calc_month_year;
50
Calendar.print = Calendar_print;
-
 
51
 
50
 
52
function Calendar_get_month(monthNo) {
51
function Calendar_get_month(monthNo) {
53
	return Calendar.Months[monthNo];
52
	return Calendar.Months[monthNo];
54
}
53
}
55
 
54
 
Line 101... Line 100...
101
	}
100
	}
102
	
101
	
103
	return ret_arr;
102
	return ret_arr;
104
}
103
}
105
 
104
 
106
function Calendar_print() {
-
 
107
	ggWinCal.print();
-
 
108
}
-
 
109
 
-
 
110
function Calendar_calc_month_year(p_Month, p_Year, incr) {
105
function Calendar_calc_month_year(p_Month, p_Year, incr) {
111
	/* 
106
	/* 
112
	Will return an 1-D array with 1st element being the calculated month 
107
	Will return an 1-D array with 1st element being the calculated month 
113
	and second being the calculated year 
108
	and second being the calculated year 
114
	after applying the month increment/decrement as specified by 'incr' parameter.
109
	after applying the month increment/decrement as specified by 'incr' parameter.
Line 198... Line 193...
198
	this.wwrite("[<A HREF=\"" +
193
	this.wwrite("[<A HREF=\"" +
199
		"javascript:window.opener.Build(" + 
194
		"javascript:window.opener.Build(" + 
200
		"'" + this.gReturnItem + "', '" + prevMM + "', '" + prevYYYY + "', '" + this.gFormat + "'" +
195
		"'" + this.gReturnItem + "', '" + prevMM + "', '" + prevYYYY + "', '" + this.gFormat + "'" +
201
		");" +
196
		");" +
202
		"\"><<\/A>]</TD><TD ALIGN=center>");
197
		"\"><<\/A>]</TD><TD ALIGN=center>");
203
	this.wwrite("[<A HREF=\"javascript:window.print();\">Print</A>]</TD><TD ALIGN=center>");
-
 
204
	this.wwrite("[<A HREF=\"" +
198
	this.wwrite("[<A HREF=\"" +
205
		"javascript:window.opener.Build(" + 
199
		"javascript:window.opener.Build(" + 
206
		"'" + this.gReturnItem + "', '" + nextMM + "', '" + nextYYYY + "', '" + this.gFormat + "'" +
200
		"'" + this.gReturnItem + "', '" + nextMM + "', '" + nextYYYY + "', '" + this.gFormat + "'" +
207
		");" +
201
		");" +
208
		"\">><\/A>]</TD><TD ALIGN=center>");
202
		"\">><\/A>]</TD><TD ALIGN=center>");
Line 268... Line 262...
268
	this.wwrite("[<A HREF=\"" +
262
	this.wwrite("[<A HREF=\"" +
269
		"javascript:window.opener.Build(" + 
263
		"javascript:window.opener.Build(" + 
270
		"'" + this.gReturnItem + "', null, '" + prevYYYY + "', '" + this.gFormat + "'" +
264
		"'" + this.gReturnItem + "', null, '" + prevYYYY + "', '" + this.gFormat + "'" +
271
		");" +
265
		");" +
272
		"\" alt='Prev Year'><<<\/A>]</TD><TD ALIGN=center>");
266
		"\" alt='Prev Year'><<<\/A>]</TD><TD ALIGN=center>");
273
	this.wwrite("[<A HREF=\"javascript:window.print();\">Print</A>]</TD><TD ALIGN=center>");
-
 
274
	this.wwrite("[<A HREF=\"" +
267
	this.wwrite("[<A HREF=\"" +
275
		"javascript:window.opener.Build(" + 
268
		"javascript:window.opener.Build(" + 
276
		"'" + this.gReturnItem + "', null, '" + nextYYYY + "', '" + this.gFormat + "'" +
269
		"'" + this.gReturnItem + "', null, '" + nextYYYY + "', '" + this.gFormat + "'" +
277
		");" +
270
		");" +
278
		"\">>><\/A>]</TD></TR></TABLE><BR>");
271
		"\">>><\/A>]</TD></TR></TABLE><BR>");