<?php
//DISPLAY 3 - SAMPLE CONFIGURATION FILE (RED)

//SET START AND END DATE (see display.txt for details)
$fromDate = "DAY"; //from date
$tillDate = "MONTH+1"; //till date

//GENERAL SETTINGS (see display.txt for details)
$calID = "mycal"; //calendar to use (ID of the calendar. Blank (""): the default calendar) 
$calName = "Calendar"; //calendar header text. Asterisk ("*"): calendar title, blank (""): no header
$login = 1; //show user name and login button in right upper corner (0: no, 1: yes)
$logMsg = "No account yet: contact the administrator"; //message shown at the top of the log in page
$sortD = 0; //event sorting on dates; 0: ascending, 1: descending
$maxDays = 0; //max. number of days to show; 0: no maximum
$futEvts = 0; //show ongoing and future events only (0: no, 1: yes). Note: This setting overrules the "from date" and sets it to "DAY"
$evtHead = "#t #e| (#a)|"; //event head template (#e: event title, #c: event title - category color, #u: event title - owner group color, #o: event owner, #a: age, #/: new line)
$evtBody = "123"; //event fields to show (list of numbers: 1: venue, 2: category, 3: description, . . . for more see Settings page - Event templates)
$evtWin = 1; //on click open event window (0: no, 1: yes). If the user has post rights, the event add/edit window will open, otherwise the event report window will open
$recOnce = 0; //for recurring events, show only one (the next) occurrence (0: all, 1: next only)
$mulOnce = 0; //for multi-day events, show only one (the next) occurrence (0: all, 1: next only)
$maxImgH = 80; //maximum height of images (in pixels)
$noEvents = "No events"; //message shown when no upcoming events
$icon = "lcal.png"; //path to a favicon shown in the browser tab for the display. Only applicable if the display is shown in its own browser tab

//EVENT FILTERS
$users = "0"; //events of users (event owners) to show (comma separated list of user IDs; 0: all users, the text "own": own events only).
$groups = "0"; //events of users (event owners) in certain groups to show (comma separated list of group IDs; 0: all groups, the text "own": events of users in own group only).
$cats = "0"; //events in categories to show (comma separated list of cat IDs; 0: all categories).
$scats = "0"; //events in subcategories to show (comma separated list of subcat IDs; possible values is 1, 2, 3 and 4; 0: all subcats).
$venue = ""; //show only events with case-insensitive text string present in venue. Blank (""): no filter 

//MARGINS/BORDERS in pixels
$MOUTR = "4"; //container outer margin
$MINNR = "12"; //container inner margin
$WBORD = "2"; //container border width
$RBORD = "12"; //container border corner radius
$MDATE = "0px 2px 2px 0px"; //date margins - top right bottom left
$MEVNT = "0px 0px 10px 0px"; //event margins - top right bottom left
$MTITL = "0px 0px 0px 0px"; //title margins - top right bottom left
$MBODY = "0px 0px 0px 10px"; //body margins - top right bottom left

//DATE FORMAT
$dFormat = "W d M"; //W: Monday, w: Mon, d: 21, M: January, m: Jan, /: new line

//DISPLAY COLORS
$BGENL = "#FF4040"; //base background color
$CBORD = "#303030"; //container border color
$CHEAD = "#FFFFFF"; //header text color
$CDATE = "#FFFFFF"; //calendar date text color
$BDATE = "#C02020"; //calendar date background color
$CTIME = "#E0E0E0"; //event time color
$BTIME = "#FF4040"; //calendar time background color
$CTITL = "#202020"; //event title color
$BTITL = "#FF4040"; //event title background color
$CEVNT = "#FFFFFF"; //event description color
$BEVNT = "#FF4040"; //event background color
$CLINK = "#0000AA"; //URL link color

//FONT STYLE WEIGHT SIZE/LINE-HEIGHT FAMILY
//size and family are required; rest optional
$FBASE = "12px verdana,sans-serif"; //font size/family base
$FHEAD = "bold 1.4em arial,sans-serif"; //font size/family header (if specified)
$FDATE = "bold 1.3em arial,sans-serif"; //font size/family date
$FTIME = "bold 1.1em arial,sans-serif"; //font size/family time
$FETIT = "bold 1.1em arial,sans-serif"; //font size/family event title
$FEVNT = "1.1em arial,sans-serif"; //font size/family event body
$FNOEV = "1.0em arial,sans-serif"; //"No events" text

//VERTICAL SPACE in px
$HHEAD = "32"; //header height
$HBRKS = "4"; //extra space between event sections
