0byt3m1n1
Path:
/
data
/
0
/
0
/
16
/
156
/
16482
/
user
/
16848
/
cgi-bin
/
caldb
/
[
Home
]
File: eventcallang.eng.txt
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # This is the American English language file for Nermware's The Event # # Calendar. Use this file to change it's presentation and operation. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ########### Basic Configuration ############# # Every page has a meta comment indicating adapted from the original .. # Please change or comment this. $adaptcom = 'eventcalendar.pl Rev Whatever .. Whoever'; # Where you want people to email to $myemail = 'nerm@nermware.com'; # Use the above email address as a button on the month view page $usemyemail = 1; # Check my sanity. The sanity check process checks if all required files, # directories, and variables pointing to said, are set correctly. # If these files and variables are missing, it will attempt to create and # set accordingly, or warn you of mistakes. Set to 0 to disable. $sanitycheckok = 1; # Base url of all pages # Example .. $baseurl = 'http://www.nermware.com/'; # NOTE: .. Leave this unset to force this script to figure it out. # Set only if sanitycheck fails to. # $baseurl = 'http://www.???.com/'; # path to the cgi directory relative to your web page directory # probibly /cgi-bin or /bin # NOTE: .. Leave this unset to force this script to figure it out. # Set only if sanitycheck fails to. # $cgidir = '/cgi-bin'; # Note .. if when edit or view is selected, and link path is incorrect with # 'eventcalendar./eventcalendar.pl' in the path, then set the above $baseurl # and $cgidir as indicated. # Name of this script .. eventcalendar.pl if not changed # Set only if sanitycheck fails to. # $scriptname = "eventcalendar.pl"; # path to the master calendar database, relative to the cgi bin directory $majordbfile = './caldb/eventcaldb'; # Path to holiday database, relative to the cgi bin directory $holidaydbfile = './caldb/holidaydb'; # Enable holiday treatment of holidays .. i.e. holidays are entered into the holiday database # Else entered into the major databases. Holidays in holiday database are treated differently. The # entries are entered only if in the year 2000. # Note: To enter holidays into the holiday database, three things have to be true # 1. Holiday ok flag is set and $holidaydbfile is readable # 2. The subject is $holiday # 3. selected year is 2000 .. all holidays, excluding those like Easter, epoch in the year 2000 # This is so that earlier entries with repeats on the entered holiday don't overwrite it $holidayok = 1; # Europe ? $europe = 0; # change to 1 if europe week is to be viewed (starts # with monday & dates are viewed day/month/year) # Path to the local css style sheet. Comment out if no stylesheet. # $csspath = "./nermstyle.css"; # Show image of phase of the moon? $moonphaseok = 0; # Defined home page relative to base url $homepage = './index.html'; # Calculate Easter, Good Friday and Ash Wednesday ? $easterok = 1; ########## Titles and Names of Things ########## # Title of the today button $todaytitle = 'This Month'; # Text of the home link $hometext = 'HOME'; # Title of the goto column $gototitle = 'Go To'; # Title of the select month column $selmonthtitle = 'Select Month'; # Title of the select year column $selyeartitle = 'Select Year'; # Title of the view calendar column $viewcaltitle = "View Calendar"; # Label of the view month button $vwmobutton = "Month View"; # Label of the view year button $vwyrbutton = "Year View"; # Title of the return button $returntitle = "Return to Month View"; # Title of the entry fields and such $titletitle = 'Event'; $occurstitle = 'Occurs'; $commenttitle = 'Comment'; $subjecttitle = 'Type'; $theforword = 'For'; # Annual event only text .. shown whenever an annual event only subject is selected $annualtext = 'Annual<br />Event</br />Only'; # As shown on the calendar, and used by the entry forms # hash mapping of the text background 'catagory' colors. Map color values to names # Syntax .. key value => label %titlebgmap = ( 'none' => 'All', '#33ffcc' => "IT", '#ccff66' => "HR", '#ff0033' => "Sales", '#66cccc' => "Engineering", '#ffff99' => "Advertising", '#66ccff' => "Finance" ); # Sequence placement of value->lables using values in the prefered sequence # Note .. these values must match the keys of %titlebgmap. If they don't, the mismatching will # not be availible @titlebgvalues = ("none","#33ffcc","#ccff66","#ff0033","#66cccc","#ffff99","#66ccff"); # Repeatlabels are the labels in the occur menu. # Change these for other then English but keep the same order @repeatlabels = ('One time only','Daily','Mon-Fri','Every other Mon-Fri','Weekly','Every other week','Monthly by date','Monthly by weekday','Monthly by last weekday','Yearly by date','Yearly by weekday','Yearly by last weekday'); # %unittext is the text units shown for Day, Days, Weeks, Months, or # Years. Change according to language. %unittext = ( 'Day' => 'Day', 'Days' => 'Days', 'Weeks' => 'Weeks', 'Months' => 'Months', 'Years' => 'Years' ); # Show instructions for the entry page (1=yes, 0=no) $showinstructions = 1; # Instructions for entry fields $howtotitle = 'How To Use'; $howtoinstruct = 'Use these entry forms as follows'; %instructions = ( $titletitle => "$titletitle is displayed on the calendar.", $subjecttitle => "Select a $subjecttitle from the menu. For $subjecttitle 'Other', use the $commenttitle field.", $commenttitle => "Enter a $commenttitle about the $subjecttitle or the 'Other' $subjecttitle", $occurstitle => "$occurstitle for entered number of: " . join("\, ",@repeatlabels) . "</u>" ); # Titles for the days of the week # Change for other languages but keep same order @weekdaytitles = qw(Sunday Monday Tuesday Wednesday Thursday Friday Saturday); # Title for each month # Change for other languages but keep same order @monthtitles = qw(January February March April May June July August September October November December); # Title of the calendar page $calpgtitle = 'NermWare Event Calendar'; # Title of the calendar (not the page) $caltitle = 'The Event Calendar Demonstration'; # How To instructions at bottom of month view $monthhowto = "<i>To <u>View</u> a day's information, select the event. To <u>edit</u> a day's information, select the date.</i>"; # years to show in the menu @menuyears = qw(2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025); # Selection for subject menu @sbjlist = qw(Meeting Trip Birthday Marriage Anniversary Church School Party Banquet Game Vacation Holiday Memorial Other); # Always repeat these subjects .. annual events only @alwaysrepeat = qw(Birthday Anniversary Holiday Memorial); # Default subject list selection $sbjdefault = 'Meeting'; # Entry Page title $enpgtitle = 'Event Calendar Day Information Entry Page'; # Day view page title $dypgtitle = 'Event Calendar Day Information Viewer Page'; # Year view page title $yrpgtitle = 'Event Calendar Year'; # Entry page lables $applylabel = 'Apply entry'; $deletelabel = 'Delete entry'; $resetlabel = 'Reset entry'; # Edit and view data phrases. Used in the month view's status section, and popup title $editphrase = 'Click to edit'; $viewphrase = 'Click to view'; $printertext = 'Printer Friendly Page'; # Your native word for Holiday $holiday = 'Holiday'; # Words for moon images $moonword_new = 'New'; $moonword_first = 'First Qtr'; $moonword_full = 'Full'; $moonword_last = 'Last Qtr'; # Native words for Easter $easter = 'Easter'; $gfriday = 'Good Friday'; $ashwed = 'Ash Wednesday'; $palmsun = 'Palm Sunday'; ######### Colors ######### # Title text foreground color $caltitlecolor = "navy"; # Color of the background row for the name of the days of the week $wkdbgcolor = "$caltitlecolor"; # Color of the text for the name of the days of the week $wkdfgcolor = "#fff0b0"; # Background color of all pages $pagebgcolor = "#e0e0ff"; # Calendar background color (not the page background color) $calbgcolor = "#d0d0f0"; # Regular day of month button number foreground color $dayfgcolor = "$caltitlecolor"; # Regular day of month button number background color $daybgcolor = "$pagebgcolor"; # Highlighted day of month number (fg) & button (bg) color $hdayfgcolor = "$wkdfgcolor"; $hdaybgcolor = "$wkdbgcolor"; # Calendar day data text color $ctxtfgcolor = "$caltitlecolor"; # Calendar day data text background color # If unset (commented out), background is the same as cell background. # Example: $ctxtbgcolor = 'white'; # $ctxtbgcolor = 'white'; # Catagory background color on/off # If 0, background colors representing catagory are not shown $catagorycoloron = 1; # Bottom menu cell background color $mnubgcolor = "$wkdbgcolor"; # Bottom menu text foreground color $mnufgcolor = "$wkdfgcolor"; # Weekend cell color $calwebgcolor = "#c0c0e0"; # Prev and Next buttons cell background color $pnbgcolor = "$wkdbgcolor"; # Prev and Next buttons text foreground color $pnfgcolor = "$wkdfgcolor"; # Month & Year calendar cell background color $myrbgcolor = "$wkdbgcolor"; # Month & Year text color $myrfgcolor = "$wkdfgcolor"; #### Enter day page #### # Caption text color $capfgcolor = "$caltitlecolor"; # Title cell background color $titlebgcolor = "#e6e6ff"; # Title text foreground color $titlefgcolor = "$caltitlecolor"; # Subject cell background color $sbjbgcolor = "$titlebgcolor"; # Subject text foreground color $sbjfgcolor = "$titlefgcolor"; # Comment cell background color $cmtbgcolor = "$titlebgcolor"; # Comment text foreground color $cmtfgcolor = "$titlefgcolor"; # Add/Change & Delete button cell background color $acdbgcolor = "$pnbgcolor"; # Add/Change & Delete button text foreground color $acdfgcolor = "$pnfgcolor"; # Instructions text foreground color $insfgcolor = "$titlefgcolor"; ########### Sizes and Limits ############ # The size of the bg labels as shown in the enterday form # This limits the size for better viewing on the entry page $titlebgsize = "5"; # Month view day number button size (x-small, small, medium, large, x-large, xx-large, smaller, larger) $buttonsize = 'large'; # Max length of the entered title that's viewed on the month view calendar # day cells $maxtitlelen = 16; # Max number of entries $maxentries = 6; # Max number of repeat occurences $maxrepeats = 100; # Set to 1 to return to the enter data page when entries are added, changed, or deleted # else 0 to return to calendar page $returnenterday = 0; # Set offset in minutes server time zone is ater (+) or before (-) gmt # Default is EST, 5 hours * 60 minutes, unless Europe, then 0 # This is so that correct day is shown for local time # Note that after the 1st eventcalendar page is shown, viewer's offset is read and used. # However, this will get you close to what your users expect. $gmtoffset = 300; $gmtoffset = 0 if($europe); ########### Over all fonts ############ # List of fonts families. # Note: style sheet defined in $csspath over writes this font stuff. $fontfamily = '"New Century Schoolbook",serif'; # Default font size $fontsize = '12pt'; ########### Images ############ # Where images are kept relative to base url $imagedir = '/eventcalimages'; # Background Image # Note: style sheet defined in $csspath over writes this background stuff. #$background = "$imagedir/bg4.jpeg"; # Placement of background image (fixed or scroll) $bgimgplace = "fixed"; # Repeat of background image (repeat, repeat-x, repeat-y or no-repeat) $bgimgrepeat = "repeat"; # Moon phase images directory $moonimgdir = $imagedir; # Button images $buttonimgdir = $imagedir; # # # # # # # # # # # # # # # # No More Variable Changes # # # # # # # # # # # # # # # #