Файл: ti11/themes/office.js
Строк: 90
<?php
/********** JS theme file for CalendarXP 4.0 ********/
// ---- FlatCalendar Specific Options ----
var gbCMFocus=false; // 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("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
var gWeekDay=new Array("S","M","T","W","T","F","S");
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=true; // Show European Calendar Layout - Sunday goes after Saturday
var giDCStyle=2; // 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=true; // Remove the Today Part from the bottom
var gsToday="Today : "+gToday[2]+" "+gMonths[gToday[1]-1]+" "+gToday[0]; // The expression of Today-Part.
var giCellWidth=28; // Calendar cell width;
var giCellHeight=28; // Calendar cell height;
var gpicBG="office.gif"; // url of background image
var gsBGRepeat="no-repeat";// repeat mode of background image, NN4 always does repeat. [no-repeat,repeat,repeat-x,repeat-y]
var gsCalTable="border=1 cellpadding=2 cellspacing=0"; // properties of the calendar inside <table> tag
var gsPopTable="border=2 cellpadding=5 cellspacing=0"; // properties of the outmost container <table> tag
var gcBG=""; // Background color of the cells. Use "" for transparent!!!
var gcCalBG="#6699cc"; // Background color of the calendar
var gcFrame="silver"; // Frame color
var gcTodayBG="lightgreen"; // The background highlight color of the cell showing today
var gcSat="darkcyan"; // 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
?>