Файл: ti11/themes/decent.js
Строк: 90
<?php
/********** JS theme file for CalendarXP 4.0 ********/
// ---- FlatCalendar Specific Options ----
var gbCMFocus=true; // true: auto jump to current month when Today-Part is clicked. ; false: no jump.
// ---- PopCalendar Specific Options ----
var gsSplit="-"; // Separator of date string, AT LEAST one char.
var giDatePos=0; // Date format 0: D-M-Y ; 1: M-D-Y; 2: Y-M-D
var gbDigital=false; // Month format true: 01-05-2001 ; false: 1-May-2001
var gbShortYear=false; // Year format true: 2-digits; false: 4-digits
// ---- Common Options ----
var gsPopConfig="top=200,left=200,width=400,height=200,scrollbars=1,resizable=1"; // the look of popup event
var gMonths=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
var gWeekDay=new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat");
var gBegin=[1990,1,1]; // Valid Range begin from [Year,Month,Date]
var gEnd=[2050,12,31]; // Valid Range end at [Year,Month,Date]
var gsOutOfRange="Sorry, you cannot go beyond the designate range!"; // Range Error Message
var gbEuroCal=false; // Show European Calendar Layout - Sunday goes after Saturday
var giDCStyle=0; // the style of Date Controls. 0:3D; 1:flat; 2:text-only;
var gsCalTitle="gMonths[gCurMonth[1]-1]+' '+gCurMonth[0]"; // dynamic statement to be eval-ed as the title when giDCStyle>0.
var gbDCSeq=true; // when giDCStyle is 3D, true: show month box before year box; false: vice-versa;
var gsYearInBox="i"; // dynamic statement to be eval-ed as the text shown in the year box. i.e. "'A.D.'+i" will show A.D.2001
var gsNavPrev="<"; // The text of left navigator button
var gsNavNext=">"; // The text of right navigator button
var gbHideToday=false; // Remove the Today Part from the bottom
var gsToday="Today's Date : "+gToday[2]+" "+gMonths[gToday[1]-1]+" "+gToday[0]; // The expression of Today-Part.
var giCellWidth=30; // Calendar cell width;
var giCellHeight=28; // Calendar cell height;
var gpicBG=null; // url of background image
var gsBGRepeat="repeat";// repeat mode of background image, NN4 always does repeat. [no-repeat,repeat,repeat-x,repeat-y]
var gsCalTable="border=0 cellpadding=2 cellspacing=1"; // properties of the calendar inside <table> tag
var gsPopTable="border=0 cellpadding=3 cellspacing=0"; // properties of the outmost container <table> tag
var gcBG="WhiteSmoke"; // Background color of the cells. Use "" for transparent!!!
var gcCalBG="#e5e5e5"; // Background color of the calendar
var gcFrame="black"; // Frame color
var gcTodayBG="white"; // The background highlight color of the cell showing today
var gcSat="red"; // Saturday color
var gcSun="red"; // Sunday color
var gcWorkday="black"; // Workday color
var gcOtherDay="silver"; // The day color of other months
// gcOtherDay must be set in literal format, digital & rgb() format will not work in either NN6 or NN4!
var gcToggle="yellow"; // highlight color of the focused cell
?>