aboutsummaryrefslogtreecommitdiffstats
path: root/config.inc.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-09-21 04:51:54 +0000
committerChad Little <clittle@users.sourceforge.net>2002-09-21 04:51:54 +0000
commit6cdc79648a1def0d0582fc6584687f529e46972b (patch)
treef2bf0f288463a304c7821be9e3d7b77738c429ca /config.inc.php
parent5bd147326cb08cd4d896784ff4b9991a18ff5c70 (diff)
downloadphpicalendar-6cdc79648a1def0d0582fc6584687f529e46972b.tar.gz
phpicalendar-6cdc79648a1def0d0582fc6584687f529e46972b.tar.bz2
phpicalendar-6cdc79648a1def0d0582fc6584687f529e46972b.zip
Added language support.
Diffstat (limited to 'config.inc.php')
-rw-r--r--config.inc.php21
1 files changed, 11 insertions, 10 deletions
diff --git a/config.inc.php b/config.inc.php
index 082caa9..dabc925 100644
--- a/config.inc.php
+++ b/config.inc.php
@@ -8,17 +8,18 @@ if(phpversion() >= "4.2.0")
extract($HTTP_GET_VARS);
}
-$style_sheet = "default.css";
-
-// what iCal file are we using
-$fullpath = "webcal://";
-
-// path to directory with calendars
-$calendar_path = "./calendars";
-
-// filename of calendar without .ics
+$style_sheet = "default.css"; // Themes support
+$fullpath = "webcal://"; // what iCal file are we using
+$calendar_path = "./calendars"; // path to directory with calendars
+$default_view = "day"; // filename of calendar without .ics
$default_cal = "Home";
+$language = "English"; // Language support
+
-$default_view = "day";
+if ($language == "English") {
+ include "languages/english.inc.php";
+} else {
+ include "languages/english.inc.php";
+}
?> \ No newline at end of file

© 2014-2024 Faster IT GmbH | imprint | privacy policy