EXTcalendar version 1.1
Written by Kristof De Jaeger

--------------
WHAT IS THIS ?
--------------
- It's an extensive calendar-script written in PHP and uses MySQL to store data.
- You can surf by day, week, month, month-flyerstyle and by category you make ...
- You can also include a mini-calendar somewhere. You will see a small calendar and the dates on which something happens 
  will be colored (which you can control in the config-file offcourse)
  This is located in the file 'cal_mini.inc.php'
- The languages included are english, dutch, french, german, arabic, spanish,italian and korean.
- Further on there a lot of configurable vars in the config.inc.php file ... (colors, disable/enable ...)
- if you want to use your own header, be sure to get all vars that are in cal_header.inc.php are in your file
  Better, just delete the header-tags in my file (html, body etc !) and the tags in the cal_footer.inc.php
- You can also give multiple days for one event ONLY in the admin-section, 
	! also, these events are automatically approved, so be carefull !
  
  to give in multiple events, do this:
    
     dd-mm-yyyy;dd-mm-yyyy' if day is one, type 01, same for month! without end-';'

  This may seem a bit bumpy and difficult or whatelse, but I'm not using select-boxes or something else, 
  Because not every event takes place every day in a period like take a week or so. (eg. a course of IT every monday-night)

- Also, there are some language-words that need to be translated, because there were changes to the script
  if you look at the language-file, look at the bottom, it's indicated where the 'not-yet-all-translated-words' start.
  In some languages, some words aren't translated yet, so look out for them ..
  You can always send them to me then (look for email below)
- When you login into the admin-section, default login is 'god', default password is 'admin', be sure to delete
  this in the user-management en to create new user(s)

-------------
INSTALLATION 
-------------
* if you have this script allready, run patch.php to upgrade the sql-tables
  after you have done the upgrade, do no upload this file to your public servers !
  otherwise read on.
* first of all you need PHP (4.1.0 or higher) and MySQL
* unzip or untar the file
* Import the cal.sql in your mysqldatabase
  console : mysql -u username -p
	    create databasename; (if necessary)
	    use databasename;
	    source cal.sql;
	    quit;
  phpadmin : surf to the database and import the text file.	    

Open config.inc.php and change the variables.
* when you call the script, the index.php redirects to calendar.php (in the root-dir as well in the admin)
  so you can put the calendar in your 'root'-directory if you want this .. 

* chmod 707 upload for the upload of pictures (if you want them offcourse and if you're on unix)

* read cal_mini.inc.php if you want to include the mini-calender somewhere.

---
FAQ
---

***
The most common problem is something like this displaying in your browser

  'Failed opening e.inc.php in /home/somewhere/'

Then this is a problem with your $calpath in cal_config.inc.php
Remember: this is the FULL path on the server.

On unix this could be something like '/home/users/swentel/WWW/htdocs/calendar/'
On windows: 'c:\\home\\users\\swentel\\calendar\\'

As you see, double slashes on windows AND always trailing slashes !!

***
Other problem I've heared is Internet explorer-related. Some versions don't seem
to set the cookie (Don't know which version). So don't come complaining, upgrade IE
or use a decent browser !

-------------------------------------------------
Any problems, bugs, languages or something else ?
-------------------------------------------------
mail to sweaty@urgent.rug.ac.be
http://realize.be/swentel

Language-files that need revision: english, french, dutch, italian, korean, arabic and german.
