home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / calendar-2010-08-23.tar.gz / calendar-2010-08-23.tar / calendar / config.inc.php < prev    next >
PHP Script  |  2003-10-13  |  7KB  |  77 lines

  1. <?php
  2.  
  3. // Configuration file for PHP iCalendar 0.9.4
  4. //
  5. // To set values, change the text between the single quotes
  6. // Follow instructions to the right for detailed information
  7.  
  8. $style_sheet             = 'silver';            // Themes support - silver, red, green, orange, grey, tan
  9. $default_view             = 'day';            // Default view for calendars = 'day', 'week', 'month', 'year'
  10. $minical_view             = 'current';        // Where do the mini-calendars go when clicked? = 'day', 'week', 'month', 'current'
  11. $default_cal             = $ALL_CALENDARS_COMBINED;        // Exact filename of calendar without .ics. Or set to $ALL_CALENDARS_COMBINED to open all calenders combined into one.
  12. $language                 = 'English';        // Language support - 'English', 'Polish', 'German', 'French', 'Dutch', 'Danish', 'Italian', 'Japanese', 'Norwegian', 'Spanish', 'Swedish', 'Portuguese', 'Catalan', 'Traditional_Chinese', 'Esperanto'
  13. $week_start_day         = 'Sunday';            // Day of the week your week starts on
  14. $day_start                 = '0700';            // Start time for day grid
  15. $day_end                = '2200';            // End time for day grid
  16. $gridLength             = '15';                // Grid distance in minutes for day view, multiples of 15 preferred
  17. $num_years                 = '3';                // Number of years to display in 'Jump to'
  18. $month_event_lines         = '1';                // Number of lines to wrap each event title in month view, 0 means display all lines.
  19. $tomorrows_events_lines = '1';                // Number of lines to wrap each event title in the 'Tommorrow's events' box, 0 means display all lines.
  20. $allday_week_lines         = '1';                // Number of lines to wrap each event title in all-day events in week view, 0 means display all lines.
  21. $week_events_lines         = '1';                // Number of lines to wrap each event title in the 'Tommorrow's events' box, 0 means display all lines.
  22. $timezone                 = 'US/Pacific';                // Set timezone. Read TIMEZONES file for more information
  23. $default_path            = 'http://linuxmafia.com/calendar/';     // The HTTP URL to the PHP iCalendar directory, ie. http://www.example.com/phpicalendar
  24. $tmp_dir                = '/tmp';            // The temporary directory on your system (/tmp is fine for UNIXes including Mac OS X)
  25. $calendar_path             = '';                // Leave this blank on most installs, place your full path to calendars if they are outside the phpicalendar folder.
  26. $second_offset            = '0';                // The time in seconds between your time and your server's time.
  27.  
  28. // Advanced settings for custom installs, cookies, etc.
  29. // In most cases these will not need to be set.
  30. $cookie_uri                = '';                 // The HTTP URL to the PHP iCalendar directory, ie. http://www.example.com/phpicalendar
  31. $download_uri            = '';                 // The HTTP URL to your calendars directory, ie. http://www.example.com/phpicalendar/calendars
  32.  
  33. // Yes/No questions --- 'yes' means Yes, anything else means no. 'yes' must be lowercase.
  34. $save_parsed_cals         = 'yes';                // Recommended 'yes'. Saves a copy of the cal in /tmp after it's been parsed. Improves performence.
  35. $use_sessions             = 'no';                // This has not yet been implemented.
  36. $display_custom_goto     = 'no';                // In the 'Jump To' box, display the custom 'go to day' box.
  37. $display_ical_list         = 'yes';            // In the 'Jump To' box, display the pop-up menu with the list of all calendars in the $calendar_path directory.
  38. $allow_webcals             = 'no';                // Allow http:// and webcal:// prefixed URLs to be used as the $cal for remote viewing of "subscribe-able" calendars. This does not have to be enabled to allow specific ones below.
  39. $this_months_events     = 'yes';            // Display "This month's events" at the bottom off the month page.
  40. $use_color_cals         = 'yes';            // Display each calendar in the pop-up as a different color.
  41. $daysofweek_dayview     = 'no';                // Display the days of the week in day.php view.
  42. $enable_rss                = 'yes';            // Enable RSS access to your calendars (good thing).
  43. $show_search            = 'no';                // Show the search box in the sidebar.
  44. $allow_preferences        = 'yes';            // Allow visitors to change various preferences via cookies.
  45. $printview_default        = 'no';                // Set print view as the default view. day, week, and month only supported views for $default_view (listed well above).
  46. $show_todos                = 'yes';            // Show your todo list on the side of day and week view.
  47. $show_completed            = 'yes';            // Show completed todos on your todo list.
  48.  
  49. // Administration settings
  50. $allow_admin            = 'no';                // Set to yes to allow the admin page - remember to change the default password if using 'internal' as the $auth_method            
  51. $auth_method            = 'ftp';            // Valid values are: 'ftp', 'internal', or 'none'. 'ftp' uses the ftp server's username and password as well as ftp commands to delete and copy files. 'internal' uses $auth_internal_username and $auth_internal_password defined below - CHANGE the password. 'none' uses NO authentication - meant to be used with another form of authentication such as http basic.
  52. $auth_internal_username    = 'admin';            // Only used if $auth_method='internal'. The username for the administrator.
  53. $auth_internal_password    = 'default';        // Only used if $auth_method='internal'. The password for the administrator.
  54. $ftp_server                = 'localhost';        // Only used if $auth_method='ftp'. The ftp server name. 'localhost' will work for most servers.
  55. $ftp_calendar_path        = '';                // Only used if $auth_method='ftp'. The full path to the calendar directory on the ftp server. If = '', will attempt to deduce the path based on $calendar_path, but may not be accurate depending on ftp server config.
  56.  
  57. $blacklisted_cals[] = '';                    // Fill in between the quotes the name of the calendars 
  58. $blacklisted_cals[] = '';                    // you wish to 'blacklist' or that you don't want to show up in your calendar
  59. $blacklisted_cals[] = '';                    // list. This should be the exact calendar filename without .ics
  60. $blacklisted_cals[] = '';                    // the parser will *not* parse any cal that is in this list (it will not be Web accessible)
  61. // add more lines as necessary
  62.  
  63. $list_webcals[] = '';                        // Fill in between the quotes exact URL of a calendar that you wish
  64. $list_webcals[] = '';                        // to show up in your calendar list. You must prefix the URL with http://
  65. $list_webcals[] = '';                        // or webcal:// and the filename should contain the .ics suffix
  66. $list_webcals[] = '';                        // $allow_webcals does *not* need to be "yes" for these to show up and work
  67. // add more lines as necessary
  68.  
  69. $color_cals[] = 'silver';                    // Fill in between the quotes the colors you want to display
  70. $color_cals[] = 'red';                        // multiple calendars in.
  71. $color_cals[] = 'orange';                    // The first color will be used if no color is selected.
  72. $color_cals[] = 'grey';                        // 
  73. $color_cals[] = 'green';                    // 
  74. $color_cals[] = 'tan';                        // 
  75. // add more lines as necessary
  76. ?>
  77.