<% &main::checkPermissions("","CALENDAR_SETTINGS"); $screenTitle="Calendar Settings"; $config = $main::Config; ($day_name_0,$day_name_1,$day_name_2,$day_name_3,$day_name_4,$day_name_5,$day_name_6) = @{$config->get("day_names")}; ($day_abbreviation_0,$day_abbreviation_1,$day_abbreviation_2,$day_abbreviation_3,$day_abbreviation_4,$day_abbreviation_5,$day_abbreviation_6) = @{$config->get("day_abbreviations")}; ($month_name_0,$month_name_1,$month_name_2,$month_name_3,$month_name_4,$month_name_5,$month_name_6,$month_name_7,$month_name_8,$month_name_9,$month_name_10,$month_name_11) = @{$config->get("month_names")}; ($month_abbreviation_0,$month_abbreviation_1,$month_abbreviation_2,$month_abbreviation_3,$month_abbreviation_4,$month_abbreviation_5,$month_abbreviation_6,$month_abbreviation_7,$month_abbreviation_8,$month_abbreviation_9,$month_abbreviation_10,$month_abbreviation_11) = @{$config->get("month_abbreviations")}; $dir = $main::templates_dir . "calendars/"; if (-d $dir) { opendir(DIR,$dir); while($f = readdir(DIR)) { if (($f !~ /^\.\.?$/) && (-d $dir.$f)) { push(@template_dirs,$f); } } closedir(DIR); } $template_dirs_list=new HTML::optionList(); $template_dirs_list->addSimpleOptions(@template_dirs); $template_dirs_list->setSelectedValue($Config->get("template_dir")); %> Calendar Administration : <%= $screenTitle %> ">

Display Template Type:

Require Login allows you to make the calendar visible only to users of the calendar application, and only those users who have the 'View Calendar' permission enabled.
Require Login: get("require_login") eq "1")?"CHECKED":"")%>> Yes       get("require_login") eq "0")?"CHECKED":"")%>> No

Weekday names used in the calendar display.
Weekdays: Name Abbreviation
1.
2.
3.
4.
5.
6.
7.








Some countries display their calendars with weeks starting on days other than day 1. Select which day of the week your calendar display starts on.
Week Start Day:

Month names and abbreviations used in the calendar display.
Months: Name Abbreviation
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.













Choose the default date format your calendar will use. Format values are as follows:
     • yyyy = 4-digit year
     • yy = 2-digit year
     • y = 1 or 2-digit year
     • MM = 2-digit month number (01-12)
     • M = 1 or 2-digit month number (01-12)
     • dd = 2-digit date (01-31)
     • d = 1 or 2-digit date (01-31)
     • Examples: yyyy-MM-dd or M/d/y
Date Format: ">

Time Format: get("time_format") eq "12")?"CHECKED":"")%>> 12-Hour (AM/PM)       get("time_format") eq "24")?"CHECKED":"")%>> 24-Hour

If you choose to allow HTML, users who submit events will be able to use HTML tags in the values of the event details.
Since incorrect HTML has the possibility of changing the display of the calendar, you should enable this only if you trust users not to abuse the HTML.
Allow HTML: get("allow_html") eq "1")?"CHECKED":"")%>> Yes       get("allow_html") eq "0")?"CHECKED":"")%>> No

Enabling auto-link causes text starting with http:// to be displayed as a link to the address.
Auto-link: get("auto_link") eq "1")?"CHECKED":"")%>> Yes       get("auto_link") eq "0")?"CHECKED":"")%>> No
TARGET attribute for links: "> (empty for same window/frame)

If your calendar web server is not in the same time zone is your users, you can adjust the server's display time to your local time. Select the amount of offset you wish to use.
     • Current time on the web server is: <%= scalar localtime(time) %>
     • Your browser's local time is:
The value below should be the hours to add to the server time to make it equal to the browser time.
Time Zone Offset: Add Hours