###################################################### # GENERAL CONFIGURATION: ###################################################### # Datafile name in relative to this script's location: # The default setting below assumes the folder "data" and the # this script are in the SAME folder. $calendar_folder="data/"; $data_file="data/data.txt"; $count_file="data/count.txt"; $icon_details="data/icon_details.txt"; # Admin id $admin_id="yyyyy"; # Admin Password $admin_password="zzzzz"; # The maximum number of days you can add event to at one time $max_days=10; # The maximum number of characters to show for each event in the main # calendar before the headlines are truncated. $max_letters=80; # Maximum number of days to querry for finding latest events... $max_days_look=3652; # Path to this script $path_to_script="calendar2.cgi"; ###################################################### # TEMPLATE SETTINGS: ###################################################### # OPTIONAL: You can format the opening and closing HTML template of your # calendar page in a separate file that can be written in regular HTML and # saved on your server. If you call the calendar on the same window, you # would usually want to use your own template so that the calendar is # inserted inside your own web theme. BUT if you are calling the calendar # in a pop-up window, it would look nicer if the pop-up window contains only # the calendar itself. In this case, leave the variable empty. # TEMPLATE: Create a normal HTML page and place three plusses +++ where you # want the calendar inserted. Note, you are providing a full or relative # server PATH here. A URL will not work. $openinghtml="/home/upoint/www/calendar2/template.htm"; ###################################################### # ICON SETTINGS: ###################################################### # URL to image folder where you have to keep image files uploaded. $icons="http://www.upoint.info/calendar2/icons/"; # Image files... # - close $close_image="http://www.upoint.info/calendar2/images/close.gif"; # - back $back_image="http://www.upoint.info/calendar2/images/back.gif"; # - delete $delete_image="http://www.upoint.info/calendar2/images/delete.gif"; # - delte confirm $delete_image_c="http://www.upoint.info/calendar2/images/delete_c.gif"; # - edit $edit_image="http://www.upoint.info/calendar2/images/edit.gif"; # - add $add_image="http://www.upoint.info/calendar2/images/add.gif"; # - login $login_image="http://www.upoint.info/calendar2/images/login.gif"; # - go $go_image="http://www.upoint.info/calendar2/images/go.gif"; # - save $save_image="http://www.upoint.info/calendar2/images/save.gif"; ###################################################### # FONT STYLE: ###################################################### # Font size of Calander $font_size=2; # Font face $font_face="verdana, arial"; ###################################################### # DISPLAY SETTINGS: ###################################################### # Number of events to display on delfault page $no_link=12; # Show years between these... $year_start=2000; $year_end=2010; # Name of 12 months @month_name =(January,February,March,April,May,June,July,August,September,October,November,Decemeber); # Name of week days @week_name=(Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday); # Current color scheme of calendar. Choose gray, red, brown or brown2. $currentscheme = "brown"; ###################### DO NOT EDIT BELOW THIS LINE ##################################