You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(5) |
Feb
(25) |
Mar
(18) |
Apr
|
May
(26) |
Jun
(14) |
Jul
(1) |
Aug
(5) |
Sep
(82) |
Oct
(3) |
Nov
(130) |
Dec
(9) |
2004 |
Jan
(4) |
Feb
(62) |
Mar
|
Apr
(3) |
May
(100) |
Jun
|
Jul
(6) |
Aug
(49) |
Sep
(33) |
Oct
(47) |
Nov
(2) |
Dec
(1) |
2005 |
Jan
|
Feb
(4) |
Mar
(1) |
Apr
(8) |
May
(17) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
(26) |
Oct
(18) |
Nov
(37) |
Dec
(14) |
2006 |
Jan
(2) |
Feb
(18) |
Mar
(34) |
Apr
(52) |
May
(7) |
Jun
(3) |
Jul
(2) |
Aug
(10) |
Sep
|
Oct
|
Nov
(18) |
Dec
(4) |
2007 |
Jan
|
Feb
(7) |
Mar
(7) |
Apr
(6) |
May
(52) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(15) |
Nov
|
Dec
(1) |
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(250) |
2009 |
Jan
(35) |
Feb
(45) |
Mar
|
Apr
(4) |
May
(35) |
Jun
(13) |
Jul
(49) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(11) |
2010 |
Jan
(3) |
Feb
(30) |
Mar
|
Apr
(35) |
May
(12) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(4) |
From: <cl...@us...> - 2003-11-22 19:29:49
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv14909/functions Modified Files: init.inc.php Log Message: Finished todo.php re-work. Updated event.php to match. Index: init.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init.inc.php,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** init.inc.php 20 Nov 2003 00:13:08 -0000 1.43 --- init.inc.php 22 Nov 2003 19:29:45 -0000 1.44 *************** *** 7,11 **** // uncomment when developing, comment for shipping version ! error_reporting (0); $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'; --- 7,11 ---- // uncomment when developing, comment for shipping version ! error_reporting (E_WARNING); $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'; |
From: <cl...@us...> - 2003-11-22 09:30:45
|
Update of /cvsroot/phpicalendar/phpicalendar/includes In directory sc8-pr-cvs1:/tmp/cvs-serv22055/includes Modified Files: event.php sidebar.php todo.php Log Message: Added correct calname to todo popup, started cleanup of todo.php code. Index: event.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/event.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** event.php 22 Nov 2003 03:45:33 -0000 1.16 --- event.php 22 Nov 2003 09:30:41 -0000 1.17 *************** *** 9,23 **** } ! $event = (isset($HTTP_POST_VARS['event'])) ? decode_popup($HTTP_POST_VARS['event']) : ('unset'); ! $description = (isset($HTTP_POST_VARS['description'])) ? decode_popup($HTTP_POST_VARS['description']) : ('unset'); ! $cal = (isset($HTTP_POST_VARS['cal'])) ? decode_popup($HTTP_POST_VARS['cal']) : ('unset'); ! $start = (isset($HTTP_POST_VARS['start'])) ? decode_popup($HTTP_POST_VARS['start']) : ('unset'); ! $end = (isset($HTTP_POST_VARS['end'])) ? decode_popup($HTTP_POST_VARS['end']) : ('unset'); ! $status = (isset($HTTP_POST_VARS['status'])) ? decode_popup($HTTP_POST_VARS['status']) : ('unset'); ! $location = (isset($HTTP_POST_VARS['location'])) ? decode_popup($HTTP_POST_VARS['location']) : ('unset'); ! $url = (isset($HTTP_POST_VARS['url'])) ? decode_popup($HTTP_POST_VARS['url']) : ('unset'); ! $organizer = (isset($HTTP_POST_VARS['organizer'])) ? ($HTTP_POST_VARS['organizer']) : ('unset'); $organizer = unserialize (decode_popup ($organizer)); ! $attendee = (isset($HTTP_POST_VARS['attendee'])) ? ($HTTP_POST_VARS['attendee']) : ('unset'); $attendee = unserialize (decode_popup ($attendee)); $cal_title_full = $cal.' '.$calendar_lang; --- 9,23 ---- } ! $event = (isset($HTTP_POST_VARS['event'])) ? decode_popup($HTTP_POST_VARS['event']) : (''); ! $description = (isset($HTTP_POST_VARS['description'])) ? decode_popup($HTTP_POST_VARS['description']) : (''); ! $cal = (isset($HTTP_POST_VARS['cal'])) ? decode_popup($HTTP_POST_VARS['cal']) : (''); ! $start = (isset($HTTP_POST_VARS['start'])) ? decode_popup($HTTP_POST_VARS['start']) : (''); ! $end = (isset($HTTP_POST_VARS['end'])) ? decode_popup($HTTP_POST_VARS['end']) : (''); ! $status = (isset($HTTP_POST_VARS['status'])) ? decode_popup($HTTP_POST_VARS['status']) : (''); ! $location = (isset($HTTP_POST_VARS['location'])) ? decode_popup($HTTP_POST_VARS['location']) : (''); ! $url = (isset($HTTP_POST_VARS['url'])) ? decode_popup($HTTP_POST_VARS['url']) : (''); ! $organizer = (isset($HTTP_POST_VARS['organizer'])) ? ($HTTP_POST_VARS['organizer']) : (''); $organizer = unserialize (decode_popup ($organizer)); ! $attendee = (isset($HTTP_POST_VARS['attendee'])) ? ($HTTP_POST_VARS['attendee']) : (''); $attendee = unserialize (decode_popup ($attendee)); $cal_title_full = $cal.' '.$calendar_lang; Index: sidebar.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/sidebar.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** sidebar.php 20 Nov 2003 05:18:38 -0000 1.27 --- sidebar.php 22 Nov 2003 09:30:41 -0000 1.28 *************** *** 163,166 **** --- 163,167 ---- } $completed_date = $val['completed_date']; + $event_calna = $val['calname']; $status = $val["status"]; $priority = $val['priority']; *************** *** 168,172 **** $due_date = $val['due_date']; $vtodo_array = array( ! 'cal' => $calendar_name, 'completed_date'=> $completed_date, 'description' => $description, --- 169,173 ---- $due_date = $val['due_date']; $vtodo_array = array( ! 'cal' => $event_calna, 'completed_date'=> $completed_date, 'description' => $description, Index: todo.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/todo.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** todo.php 14 Sep 2003 18:31:14 -0000 1.9 --- todo.php 22 Nov 2003 09:30:41 -0000 1.10 *************** *** 5,31 **** include (BASE.'functions/date_functions.php'); - // Unserialize the array so that we can use it. $vtodo_array = unserialize(base64_decode($HTTP_GET_VARS['vtodo_array'])); // Set the variables from the array ! if (isset($vtodo_array['vtodo_text']) && ($vtodo_array['vtodo_text'] !== '') ) { ! $vtodo_text = $vtodo_array['vtodo_text']; ! } else { ! $vtodo_text = ''; ! } ! ! if (isset($vtodo_array['description']) && ($vtodo_array['description'] !== '') ) { ! $description = $vtodo_array['description']; ! } else { ! $description = ''; ! } ! ! if (isset($vtodo_array['completed_date']) && ($vtodo_array['completed_date'] !== '') ) { ! $completed_date = localizeDate ($dateFormat_day, strtotime($vtodo_array['completed_date'])); ! } - if (isset($vtodo_array['status']) && ($vtodo_array['status'] !== '') ) { - $status = $vtodo_array['status']; - } if ((!isset($status) || $status == "COMPLETED") && isset($completed_date)) { $status = "$completed_date_lang $completed_date"; --- 5,20 ---- include (BASE.'functions/date_functions.php'); $vtodo_array = unserialize(base64_decode($HTTP_GET_VARS['vtodo_array'])); // Set the variables from the array ! $vtodo_text = (isset($vtodo_array['vtodo_text'])) ? $vtodo_array['vtodo_text'] : (''); ! $description = (isset($vtodo_array['description'])) ? $vtodo_array['description'] : (''); ! $completed_date = (isset($vtodo_array['completed_date'])) ? localizeDate ($dateFormat_day, strtotime($vtodo_array['completed_date'])) : (''); ! $status = (isset($vtodo_array['status'])) ? $vtodo_array['status'] : (''); ! $calendar_name = (isset($vtodo_array['cal'])) ? $vtodo_array['cal'] : (''); ! $start_date = (isset($vtodo_array['start_date'])) ? localizeDate ($dateFormat_day, strtotime($vtodo_array['start_date'])) : (''); ! $due_date = (isset($vtodo_array['due_date'])) ? localizeDate ($dateFormat_day, strtotime($vtodo_array['due_date'])) : (''); ! $priority = (isset($vtodo_array['priority'])) ? $vtodo_array['due_date'] : (''); if ((!isset($status) || $status == "COMPLETED") && isset($completed_date)) { $status = "$completed_date_lang $completed_date"; *************** *** 36,67 **** } ! if (isset($vtodo_array['cal']) && ($vtodo_array['cal'] !== '') ) { ! $calendar_name = $vtodo_array['cal']; ! } else { ! $calendar_name = ''; ! } ! ! if (isset($vtodo_array['start_date']) && ($vtodo_array['start_date'] !== '') ) { ! $start_date = localizeDate ($dateFormat_day, strtotime($vtodo_array['start_date'])); ! } ! ! if (isset($vtodo_array['due_date']) && ($vtodo_array['due_date'] !== '') && strtotime($vtodo_array['due_date']) != strtotime("+1 year", strtotime($start_date))) { ! $due_date = localizeDate ($dateFormat_day, strtotime($vtodo_array['due_date'])); ! } else { ! $due_date = ''; ! } ! ! if (isset($vtodo_array['priority']) && ($vtodo_array['priority'] !== '')) { ! $priority = $vtodo_array['priority']; ! ! if ($priority >= 1 && $priority <= 4) { ! $priority = $priority_high_lang; ! } else if ($priority == 5) { ! $priority = $priority_medium_lang; ! } else if ($priority >= 6 && $priority <= 9) { ! $priority = $priority_low_lang; ! } else { ! $priority = $priority_none_lang; ! } } else { $priority = $priority_none_lang; --- 25,34 ---- } ! if ($priority >= 1 && $priority <= 4) { ! $priority = $priority_high_lang; ! } else if ($priority == 5) { ! $priority = $priority_medium_lang; ! } else if ($priority >= 6 && $priority <= 9) { ! $priority = $priority_low_lang; } else { $priority = $priority_none_lang; |
Update of /cvsroot/phpicalendar/phpicalendar/languages In directory sc8-pr-cvs1:/tmp/cvs-serv14531/languages Modified Files: brazilian.inc.php catalan.inc.php czech.inc.php danish.inc.php dutch.inc.php english.inc.php esperanto.inc.php finnish.inc.php french.inc.php german.inc.php italian.inc.php japanese.inc.php korean.inc.php norwegian.inc.php polish.inc.php portuguese.inc.php spanish.inc.php swedish.inc.php traditional_chinese.inc.php Log Message: Updated files for 1.0. Index: brazilian.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/brazilian.inc.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** brazilian.inc.php 13 Nov 2003 17:33:22 -0000 1.6 --- brazilian.inc.php 22 Nov 2003 03:45:33 -0000 1.7 *************** *** 2,6 **** // Brazilian Portuguese language include ! // For version 0.9.5 PHP iCalendar // // Translation by Wilton, Bennet (su...@be...) --- 2,6 ---- // Brazilian Portuguese language include ! // For version 1.0 PHP iCalendar // // Translation by Wilton, Bennet (su...@be...) *************** *** 115,119 **** $delete_lang = 'Delete'; ! // ----- New for 0.9.5 $all_cal_comb_lang = 'All calendars combined'; --- 115,119 ---- $delete_lang = 'Delete'; ! // ----- New for 1.0 $all_cal_comb_lang = 'All calendars combined'; Index: catalan.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/catalan.inc.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** catalan.inc.php 13 Nov 2003 17:33:22 -0000 1.6 --- catalan.inc.php 22 Nov 2003 03:45:33 -0000 1.7 *************** *** 2,6 **** // Catalan language include ! // For version 0.9.5 PHP iCalendar // // Translation by Oriol Ferrer Mesia; (tm...@sa...) --- 2,6 ---- // Catalan language include ! // For version 1.0 PHP iCalendar // // Translation by Oriol Ferrer Mesia; (tm...@sa...) *************** *** 114,118 **** $delete_lang = 'Esborra'; ! // ----- New for 0.9.5 $all_cal_comb_lang = 'All calendars combined'; --- 114,118 ---- $delete_lang = 'Esborra'; ! // ----- New for 1.0 $all_cal_comb_lang = 'All calendars combined'; Index: czech.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/czech.inc.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** czech.inc.php 13 Nov 2003 17:33:22 -0000 1.6 --- czech.inc.php 22 Nov 2003 03:45:33 -0000 1.7 *************** *** 2,6 **** // Czech language include ! // For version 0.9.5 PHP iCalendar // // Translation by Whit, studio jižák (wh...@st...) --- 2,6 ---- // Czech language include ! // For version 1.0 PHP iCalendar // // Translation by Whit, studio jižák (wh...@st...) Index: danish.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/danish.inc.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** danish.inc.php 13 Nov 2003 17:33:22 -0000 1.24 --- danish.inc.php 22 Nov 2003 03:45:33 -0000 1.25 *************** *** 2,6 **** // Danish language include ! // For version 0.9.5 PHP iCalendar // // Translation by Henrik H�jmark (st...@wo...) --- 2,6 ---- // Danish language include ! // For version 1.0 PHP iCalendar // // Translation by Henrik H�jmark (st...@wo...) *************** *** 115,119 **** $delete_lang = 'Delete'; ! // ----- New for 0.9.5 $all_cal_comb_lang = 'All calendars combined'; --- 115,119 ---- $delete_lang = 'Delete'; ! // ----- New for 1.0 $all_cal_comb_lang = 'All calendars combined'; Index: dutch.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/dutch.inc.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** dutch.inc.php 13 Nov 2003 17:33:22 -0000 1.21 --- dutch.inc.php 22 Nov 2003 03:45:33 -0000 1.22 *************** *** 2,6 **** // Dutch language include ! // For version 0.9.5 PHP iCalendar // // Translation by Lieven Gekiere (Li...@ge...) --- 2,6 ---- // Dutch language include ! // For version 1.0 PHP iCalendar // // Translation by Lieven Gekiere (Li...@ge...) *************** *** 43,47 **** $goyear_lang = 'Ga Naar Dit Jaar'; $search_lang = 'Zoeken'; // the verb ! $results_lang = 'Zoek Resultaten'; $query_lang = 'Zoekopdracht: '; // will be followed by the search query $no_results_lang = 'Geen activiteiten gevonden'; --- 43,47 ---- $goyear_lang = 'Ga Naar Dit Jaar'; $search_lang = 'Zoeken'; // the verb ! $results_lang = 'Zoekresultaten'; $query_lang = 'Zoekopdracht: '; // will be followed by the search query $no_results_lang = 'Geen activiteiten gevonden'; *************** *** 116,120 **** // ----- New for 0.9.5 ! $all_cal_comb_lang = 'All calendars combined'; // - navigation --- 116,120 ---- // ----- New for 0.9.5 ! $all_cal_comb_lang = 'Alle Kalenders samen'; // - navigation *************** *** 122,129 **** $next_lang = 'Volgende'; $prev_lang = 'Vorige'; ! $day_view_lang = 'Dag overzicht'; ! $week_view_lang = 'Week overzicht'; ! $month_view_lang = 'Maand overzicht'; ! $year_view_lang = 'Jaar overzicht'; // --------------------------------- --- 122,129 ---- $next_lang = 'Volgende'; $prev_lang = 'Vorige'; ! $day_view_lang = 'Dagoverzicht'; ! $week_view_lang = 'Weekoverzicht'; ! $month_view_lang = 'Maandoverzicht'; ! $year_view_lang = 'Jaaroverzicht'; // --------------------------------- Index: english.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/english.inc.php,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** english.inc.php 13 Nov 2003 17:33:22 -0000 1.47 --- english.inc.php 22 Nov 2003 03:45:33 -0000 1.48 *************** *** 2,6 **** // English language include ! // For version 0.9.5 PHP iCalendar // // Translation by Chad Little (ch...@ch...) --- 2,6 ---- // English language include ! // For version 1.0 PHP iCalendar // // Translation by Chad Little (ch...@ch...) *************** *** 115,119 **** $delete_lang = 'Delete'; ! // ----- New for 0.9.5 $all_cal_comb_lang = 'All calendars combined'; --- 115,119 ---- $delete_lang = 'Delete'; ! // ----- New for 1.0 $all_cal_comb_lang = 'All calendars combined'; Index: esperanto.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/esperanto.inc.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** esperanto.inc.php 13 Nov 2003 17:33:23 -0000 1.3 --- esperanto.inc.php 22 Nov 2003 03:45:33 -0000 1.4 *************** *** 2,6 **** // Esperanto language include ! // For version 0.9.5 PHP iCalendar // // Translation by Sjoerd Bosga (sj...@es...) --- 2,6 ---- // Esperanto language include ! // For version 1.0 PHP iCalendar // // Translation by Sjoerd Bosga (sj...@es...) *************** *** 115,119 **** $delete_lang = 'Forigi'; ! // ----- New after 0.9.5 $all_cal_comb_lang = 'Ĉiuj kalendaroj kune'; --- 115,119 ---- $delete_lang = 'Forigi'; ! // ----- New after 1.0 $all_cal_comb_lang = 'Ĉiuj kalendaroj kune'; Index: finnish.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/finnish.inc.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** finnish.inc.php 14 Nov 2003 21:46:47 -0000 1.9 --- finnish.inc.php 22 Nov 2003 03:45:33 -0000 1.10 *************** *** 2,6 **** // Finnish language include ! // For version 0.9.5 PHP iCalendar // // Translation by Kari Somby (kar...@ra...) --- 2,6 ---- // Finnish language include ! // For version 1.0 PHP iCalendar // // Translation by Kari Somby (kar...@ra...) *************** *** 115,119 **** $delete_lang = 'Tuhoa'; ! // ----- New for 0.9.5 $all_cal_comb_lang = 'All calendars combined'; --- 115,119 ---- $delete_lang = 'Tuhoa'; ! // ----- New for 1.0 $all_cal_comb_lang = 'All calendars combined'; Index: french.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/french.inc.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** french.inc.php 17 Nov 2003 18:02:34 -0000 1.24 --- french.inc.php 22 Nov 2003 03:45:33 -0000 1.25 *************** *** 2,6 **** // French language include ! // For version 0.9.5 PHP iCalendar // // Translation by La Shampouineuse (in...@la...) --- 2,6 ---- // French language include ! // For version 1.0 PHP iCalendar // // Translation by La Shampouineuse (in...@la...) Index: german.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/german.inc.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** german.inc.php 13 Nov 2003 17:33:23 -0000 1.24 --- german.inc.php 22 Nov 2003 03:45:33 -0000 1.25 *************** *** 1,199 **** ! <?php ! ! // German language include ! // For version 0.9.5 PHP iCalendar ! // ! // Translation by David Reindl (dr...@an...) ! // Corrected by whippersnapper slomo (ma...@sl...) ! // ! // Submit new translations to ch...@ch... ! ! ! ! $day_lang = 'Tag'; ! $week_lang = 'Woche'; ! $month_lang = 'Monat'; ! $year_lang = 'Jahr'; ! $calendar_lang = 'Kalender'; ! $next_day_lang = 'Folgender Tag'; ! $next_month_lang = 'Folgender Monat'; ! $next_week_lang = 'Folgende Woche'; ! $next_year_lang = 'Folgendes Jahr'; ! $last_day_lang = 'Vorhergehender Tag'; ! $last_month_lang = 'Vorhergehender Monat'; ! $last_week_lang = 'Vorhergehende Woche'; ! $last_year_lang = 'Vorhergehendes Jahr'; ! $subscribe_lang = 'Abonnieren'; ! $download_lang = 'Herunterladen'; ! $powered_by_lang = 'Powered by'; ! $event_lang = 'Eintrag'; ! $event_start_lang = 'Beginn'; ! $event_end_lang = 'Ende'; ! $this_months_lang = 'Alle Einträge in diesem Monat'; ! $date_lang = 'Datum'; ! $summary_lang = 'Beschreibung'; ! $all_day_lang = 'Tagesereignis'; ! $notes_lang = 'Notiz'; ! $this_years_lang = 'Einträge in diesem Jahr'; ! $today_lang = 'Heute'; ! $this_week_lang = 'Diese Woche'; ! $this_month_lang = 'Diesen Monat'; ! $jump_lang = 'Gehe zu'; ! $tomorrows_lang = 'Morgige Einträge'; ! $goday_lang = 'Gehe zum heutigen Tag'; ! $goweek_lang = 'Gehe zur aktuellen Woche'; ! $gomonth_lang = 'Gehe zum aktuellen Monat'; ! $goyear_lang = 'Gehe zum aktuellen Jahr'; ! $search_lang = 'Suchen'; // the verb ! $results_lang = 'Suchresultate'; ! $query_lang = 'Suche: '; // will be followed by the search query ! $no_results_lang = 'Keine Einträge gefunden'; ! $goprint_lang = 'Druckversion'; ! $time_lang = 'Zeit'; ! $summary_lang = 'Zusammenfassung'; ! $description_lang = 'Beschreibung'; ! $this_site_is_lang = 'Diese Site ist'; ! $no_events_day_lang = 'Keine Einträge für heute.'; ! $no_events_week_lang = 'Keine Einträge in dieser Woche.'; ! $no_events_month_lang = 'Keine Einträge in diesem Monat.'; ! $rss_day_date = 'H:i'; // Lists just the time ! $rss_week_date = '%e. %b'; // Lists just the day ! $rss_month_date = '%e. %b'; // Lists just the day ! $rss_language = 'en-us'; ! $search_took_lang = 'Suche dauerte %s Sekunden'; ! $recurring_event_lang = 'Wiederkehrender Eintrag'; ! $exception_lang = 'Ausnahme'; ! $no_query_lang = 'Kein Suchbegriff'; ! $preferences_lang = 'Einstellungen'; ! $printer_lang = 'Drucker'; ! $select_lang_lang = 'Standardsprache wählen:'; ! $select_cal_lang = 'Standardkalender wählen:'; ! $select_view_lang = 'Standardansicht wählen:'; ! $select_time_lang = 'Tag beginnt um:'; ! $select_day_lang = 'Woche beginnt mit:'; ! $select_style_lang = 'Standardstil wählen:'; ! $set_prefs_lang = 'Einstellungen speichern'; ! $completed_date_lang = 'Erledigt am'; ! $completed_lang = 'Erledigt'; ! $created_lang = 'Erstellt:'; ! $due_lang = 'Fällig:'; ! $priority_lang = 'Priorität:'; ! $priority_high_lang = 'hoch'; ! $priority_low_lang = 'tief'; ! $priority_medium_lang = 'mittel'; ! $priority_none_lang = 'keine'; ! $status_lang = 'Status:'; ! $todo_lang = 'Aufgaben'; ! $unfinished_lang = 'Pendent'; ! $prefs_set_lang = 'Your preferences have been set.'; ! $prefs_unset_lang = 'Preferences unset. Changes will take place next page load.'; ! $unset_prefs_lang = 'Unset preferences:'; ! $organizer_lang = 'Organizer'; ! $attendee_lang = 'Attendee'; ! $status_lang = 'Status'; ! $location_lang = 'Location'; ! $admin_header_lang = 'PHP iCalendar Administration'; ! $username_lang = 'Username'; ! $password_lang = 'Password'; ! $login_lang = 'Login'; ! $invalid_login_lang = 'Wrong username or password.'; ! $addupdate_cal_lang = 'Add or Update a Calendar'; ! $addupdate_desc_lang = 'Add a calendar by uploading a new file. Update a calendar by uploading a file of the same name.'; ! $delete_cal_lang = 'Delete a Calendar'; ! $logout_lang = 'Logout'; ! $cal_file_lang = 'Calendar File'; ! $php_error_lang = 'PHP Error'; ! $upload_error_gen_lang = 'There was a problem with your upload.'; ! $upload_error_lang[0] = 'There was a problem with your upload.'; ! $upload_error_lang[1] = 'The file you are trying to upload is too big.'; ! $upload_error_lang[2] = 'The file you are trying to upload is too big.'; ! $upload_error_lang[3] = 'The file you are trying upload was only partially uploaded.'; ! $upload_error_lang[4] = 'You must select a file for upload.'; ! $upload_error_type_lang = 'Only .ics files may be uploaded.'; ! $copy_error_lang = 'Failed to copy file'; ! $delete_error_lang = 'Failed to delete file'; ! $delete_success_lang = 'was deleted successfully.'; ! $action_success_lang = 'Your action was successful.'; ! $submit_lang = 'Submit'; ! $delete_lang = 'Delete'; ! ! // ----- New for 0.9.5 ! $all_cal_comb_lang = 'All calendars combined'; ! ! // - navigation ! $back_lang = 'Back'; ! $next_lang = 'Next'; ! $prev_lang = 'Prev'; ! $day_view_lang = 'Day View'; ! $week_view_lang = 'Week View'; ! $month_view_lang = 'Month View'; ! $year_view_lang = 'Year View'; ! ! // --------------------------------- ! ! // $format_recur, items enclosed in % will be substituted with variables ! $format_recur_lang['delimiter'] = ', '; // ie, 'one, two, three' ! ! $format_recur_lang['yearly'] = array('Jahr','Jahre'); // for these, put singular ! $format_recur_lang['monthly'] = array('Monat','Monate'); // and plural forms ! $format_recur_lang['weekly'] = array('Woche','Wochen'); // these will be %freq% ! $format_recur_lang['daily'] = array('Tag','Tage'); // in the replacement below ! $format_recur_lang['hourly'] = array('Stunde','Stunden'); ! $format_recur_lang['minutely'] = array('Minute','Minuten'); ! $format_recur_lang['secondly'] = array('Sekunde','Sekunden'); ! ! $format_recur_lang['start'] = 'Jeden %int% %freq% %for%'; // ie, 'Every 1 day until January 4' or 'Every 1 day for a count of 5' ! $format_recur_lang['until'] = 'bis %date%'; // ie, 'until January 4' ! $format_recur_lang['count'] = 'für %int% Mal'; // ie, 'for 5 times' ! ! $format_recur_lang['bymonth'] = 'In den Monaten: %list%'; // ie, 'In months: January, February, March' ! $format_recur_lang['bymonthday'] = 'An den Daten: %list%'; // ie, 'On dates: 1, 2, 3, 4' ! $format_recur_lang['byday'] = 'An den Tagen: %list%'; // ie, 'On days: Mon, Tues, Wed, Thurs' ! ! // --------------------------------- ! ! $daysofweek_lang = array ('Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'); ! $daysofweekshort_lang = array ('Son','Mon','Die','Mit','Don','Fre','Sam'); ! $daysofweekreallyshort_lang = array ('S','M','D','M','D','F','S'); ! $monthsofyear_lang = array ('Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'); ! $monthsofyearshort_lang = array ('Jan','Feb','Mär','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'); ! ! // For time formatting, check out: http://www.php.net/manual/en/function.date.php ! $timeFormat = 'H:i'; ! $timeFormat_small = 'H:i'; ! ! // For date formatting, see note below ! $dateFormat_day = '%A, %e. %B'; ! $dateFormat_week = '%B %e'; ! $dateFormat_week_list = '%a, %e. %b'; ! $dateFormat_week_jump = ' %e. %b'; ! $dateFormat_month = '%B %Y'; ! $dateFormat_month_list = '%A, %e. %B'; ! ! /* ! Notes about dateFormat_* ! The pieces are similar to that of the PHP function strftime(), ! however only the following is supported at this time: ! ! %A - the full week day name as specified in $daysofweek_lang ! %a - the shortened week day name as specified in $daysofweekshort_lang ! %B - the full month name as specified in $monthsofyear_lang ! %b - the shortened month name as specified in $monthsofyearshort_lang ! %e - the day of the month as a decimal number (1 to 31) ! %Y - the 4-digit year ! ! If this causes problems with representing your language accurately, let ! us know. We will be happy to modify this if needed. ! */ ! ! // Error messages - %s will be replaced with a variable ! $error_title_lang = 'Fehler!'; ! $error_window_lang = 'Es ist ein Fehler aufgetreten!'; ! $error_calendar_lang = 'Der Kalender "%s" wurde bearbeitet, als dieser Fehler auftrat.'; ! $error_path_lang = 'Der Pfad "%s" kann nicht geöffnet werden.'; ! $error_back_lang = 'Bitte klicken Sie die "Zurück" Schaltfläche des Browsers um zurückzuspringen.'; ! $error_remotecal_lang = 'Dieser Server blockiert entfernte Kalender, welche nicht freigegeben wurden.'; ! $error_restrictedcal_lang = 'Sie haben versucht einen Kalender mit eingeschränktem Zugriff auf diesem Server aufzurufen.'; ! $error_invalidcal_lang = 'Dieser Kalender enthält Fehler. Bitte wählen Sie einen anderen aus.'; ! ! ?> \ No newline at end of file --- 1 ---- ! <?php // German language include // For version 1.0 PHP iCalendar // // Translation by David Reindl (dr...@an...) // Corrected by whippersnapper slomo (ma...@sl...) // // Submit new translations to ch...@ch... $day_lang = 'Tag'; $week_lang = 'Woche'; $month_lang = 'Monat'; $year_lang = 'Jahr'; $calendar_lang = 'Kalender'; $next_day_lang = 'Folgender Tag'; $next_month_lang = 'Folgender Monat'; $next_week_lang = 'Folgende Woche'; $next_year_lang = 'Folgendes Jahr'; $last_day_lang = 'Vorhergehender Tag'; $last_month_lang = 'Vorhergehender Monat'; $last_week_lang = 'Vorhergehende Woche'; $last_year_lang = 'Vorhergehendes Jahr'; $subscribe_lang = 'Abonnieren'; $download_lang = 'Herunterladen'; $powered_by_lang = 'Powered by'; $event_lang = 'Eintrag'; $event_start_lang = 'Beginn'; $event_end_lang = 'Ende'; $this_months_lang = 'Alle Einträge in diesem Monat'; $date_lang = 'Datum'; $summary_lang = 'Beschreibung'; $all_day_lang = 'Tagesereignis'; $notes_lang = 'Notiz'; $this_years_lang = 'Einträge in diesem Jahr'; $today_lang = 'Heute'; $this_week_lang = 'Diese Woche'; $this_month_lang = 'Diesen Monat'; $jump_lang = 'Gehe zu'; $tomorrows_lang = 'Morgige Einträge'; $goday_lang = 'Gehe zum heutigen Tag'; $goweek_lang = 'Gehe zur aktuellen Woche'; $gomonth_lang = 'Gehe zum aktuellen Monat'; $goyear_lang = 'Gehe zum aktuellen Jahr'; $search_lang = 'Suchen'; // the verb $results_lang = 'Suchresultate'; $query_lang = 'Suche: '; // will be followed by the search query $no_results_lang = 'Keine Einträge gefunden'; $goprint_lang = 'Druckversion'; $time_lang = 'Zeit'; $summary_lang = 'Zusammenfassung'; $description_lang = 'Beschreibung'; $this_site_is_lang = 'Diese Site ist'; $no_events_day_lang = 'Keine Einträge für heute.'; $no_events_week_lang = 'Keine Einträge in dieser Woche.'; $no_events_month_lang = 'Keine Einträge in diesem Monat.'; $rss_day_date = 'H:i'; // Lists just the time $rss_week_date = '%e. %b'; // Lists just the day $rss_month_date = '%e. %b'; // Lists just the day $rss_language = 'de-de'; $search_took_lang = 'Suche dauerte %s Sekunden'; $recurring_event_lang = 'Wiederkehrender Eintrag'; $exception_lang = 'Ausnahme'; $no_query_lang = 'Kein Suchbegriff'; $preferences_lang = 'Einstellungen'; $printer_lang = 'Drucker'; $select_lang_lang = 'Standardsprache wählen:'; $select_cal_lang = 'Standardkalender wählen:'; $select_view_lang = 'Standardansicht wählen:'; $select_time_lang = 'Tag beginnt um:'; $select_day_lang = 'Woche beginnt mit:'; $select_style_lang = 'Standardstil wählen:'; $set_prefs_lang = 'Einstellungen speichern'; $completed_date_lang = 'Erledigt am'; $completed_lang = 'Erledigt'; $created_lang = 'Erstellt:'; $due_lang = 'Fällig:'; $priority_lang = 'Priorität:'; $priority_high_lang = 'hoch'; $priority_low_lang = 'tief'; $priority_medium_lang = 'mittel'; $priority_none_lang = 'keine'; $status_lang = 'Status:'; $todo_lang = 'Aufgaben'; $unfinished_lang = 'Pendent'; $prefs_set_lang = 'Einstellungen wurden gespeichert.'; $prefs_unset_lang = 'Einstellungen gelöscht. Änderungen werden beim Aufruf der nächsten Seite aktiv.'; $unset_prefs_lang = 'Einstellungen löschen:'; $organizer_lang = 'Organisator'; $attendee_lang = 'Teilnehmer'; $status_lang = 'Status'; $location_lang = 'Ort'; $admin_header_lang = 'PHP iCalendar Administration'; $username_lang = 'Benutzername'; $password_lang = 'Passwort'; $login_lang = 'Anmelden'; $invalid_login_lang = 'Falscher Benutzername oder Passwort.'; $addupdate_cal_lang = 'Kalender aktualisieren oder hochladen'; $addupdate_desc_lang = 'Um einen Kalendar hinzuzufügen, laden Sie ein neues Kalender Dokument hoch. Um einen Kalender zu aktualisieren, laden Sie ein Kalender Dokument mit dem selben Namen hoch.'; $delete_cal_lang = 'Einen Kalender löschen'; $logout_lang = 'Abmelden'; $cal_file_lang = 'Kalender Dokument'; $php_error_lang = 'PHP Fehler'; $upload_error_gen_lang = 'Es ist ein Problem beim Hochladen aufgetreten.'; $upload_error_lang[0] = 'Fehler beim Hochladen des Dokuments.'; $upload_error_lang[1] = 'Das hochzuladende Dokument ist zu gross.'; $upload_error_lang[2] = 'Das Dokument, welches Sie versuchen hochzuladen, ist zu gross.'; $upload_error_lang[3] = 'The file you are trying upload was only partially uploaded.'; $upload_error_lang[4] = 'Sie müssen ein Dokument zum Hochladen auswählen.'; $upload_error_type_lang = 'Nur Dokumente mit der Suffix .ics dürfen hochgeladen werden.'; $copy_error_lang = 'Kopieren des Dokuments nicht erfolgreich'; $delete_error_lang = 'Löschen des Dokuments nicht erfolgreich'; $delete_success_lang = 'wurde gelöscht.'; $action_success_lang = 'Die Aktion war erfolgreich.'; $submit_lang = 'Absenden'; $delete_lang = 'Löschen'; // ----- New for 0.9.5 $all_cal_comb_lang = 'Alle Kalender zusammen'; // - navigation $back_lang = 'Zurück'; $next_lang = 'Nächste'; $prev_lang = 'Vorherige'; $day_view_lang = 'Tagesansicht'; $week_view_lang = 'Wochenansicht'; $month_view_lang = 'Monatsansicht'; $year_view_lang = 'Jahresansicht'; // --------------------------------- // $format_recur, items enclosed in % will be substituted with variables $format_recur_lang['delimiter'] = ', '; // ie, 'one, two, three' $format_recur_lang['yearly'] = array('Jahr','Jahre'); // for these, put singular $format_recur_lang['monthly'] = array('Monat','Monate'); // and plural forms $format_recur_lang['weekly'] = array('Woche','Wochen'); // these will be %freq% $format_recur_lang['daily'] = array('Tag','Tage'); // in the replacement below $format_recur_lang['hourly'] = array('Stunde','Stunden'); $format_recur_lang['minutely'] = array('Minute','Minuten'); $format_recur_lang['secondly'] = array('Sekunde','Sekunden'); $format_recur_lang['start'] = 'Jeden %int% %freq% %for%'; // ie, 'Every 1 day until January 4' or 'Every 1 day for a count of 5' $format_recur_lang['until'] = 'bis %date%'; // ie, 'until January 4' $format_recur_lang['count'] = 'für %int% Mal'; // ie, 'for 5 times' $format_recur_lang['bymonth'] = 'In den Monaten: %list%'; // ie, 'In months: January, February, March' $format_recur_lang['bymonthday'] = 'An den Daten: %list%'; // ie, 'On dates: 1, 2, 3, 4' $format_recur_lang['byday'] = 'An den Tagen: %list%'; // ie, 'On days: Mon, Tues, Wed, Thurs' // --------------------------------- $daysofweek_lang = array ('Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'); $daysofweekshort_lang = array ('Son','Mon','Die','Mit','Don','Fre','Sam'); $daysofweekreallyshort_lang = array ('S','M','D','M','D','F','S'); $monthsofyear_lang = array ('Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'); $monthsofyearshort_lang = array ('Jan','Feb','Mär','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'); // For time formatting, check out: http://www.php.net/manual/en/function.date.php $timeFormat = 'H:i'; $timeFormat_small = 'H:i'; // For date formatting, see note below $dateFormat_day = '%A, %e. %B'; $dateFormat_week = '%B %e'; $dateFormat_week_list = '%a, %e. %b'; $dateFormat_week_jump = ' %e. %b'; $dateFormat_month = '%B %Y'; $dateFormat_month_list = '%A, %e. %B'; /* Notes about dateFormat_* The pieces are similar to that of the PHP function strftime(), however only the following is supported at this time: %A - the full week day name as specified in $daysofweek_lang %a - the shortened week day name as specified in $daysofweekshort_lang %B - the full month name as specified in $monthsofyear_lang %b - the shortened month name as specified in $monthsofyearshort_lang %e - the day of the month as a decimal number (1 to 31) %Y - the 4-digit year If this causes problems with representing your language accurately, let us know. We will be happy to modify this if needed. */ // Error messages - %s will be replaced with a variable $error_title_lang = 'Fehler!'; $error_window_lang = 'Es ist ein Fehler aufgetreten!'; $error_calendar_lang = 'Der Kalender "%s" wurde bearbeitet, als dieser Fehler auftrat.'; $error_path_lang = 'Der Pfad "%s" kann nicht geöffnet werden.'; $error_back_lang = 'Bitte klicken Sie die "Zurück" Schaltfläche des Browsers um zurückzuspringen.'; $error_remotecal_lang = 'Dieser Server blockiert entfernte Kalender, welche nicht freigegeben wurden.'; $error_restrictedcal_lang = 'Sie haben versucht einen Kalender mit eingeschränktem Zugriff auf diesem Server aufzurufen.'; $error_invalidcal_lang = 'Dieser Kalender enthält Fehler. Bitte wählen Sie einen anderen aus.'; ?> \ No newline at end of file Index: italian.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/italian.inc.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** italian.inc.php 13 Nov 2003 17:33:23 -0000 1.24 --- italian.inc.php 22 Nov 2003 03:45:33 -0000 1.25 *************** *** 2,6 **** // Italian language include ! // For version 0.9.5 PHP iCalendar // // First translation by Luca Cacciagrano (cl...@cl...) --- 2,6 ---- // Italian language include ! // For version 1.0 PHP iCalendar // // First translation by Luca Cacciagrano (cl...@cl...) *************** *** 116,120 **** $delete_lang = 'Delete'; ! // ----- New for 0.9.5 $all_cal_comb_lang = 'All calendars combined'; --- 116,120 ---- $delete_lang = 'Delete'; ! // ----- New for 1.0 $all_cal_comb_lang = 'All calendars combined'; Index: japanese.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/japanese.inc.php,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** japanese.inc.php 13 Nov 2003 17:33:23 -0000 1.30 --- japanese.inc.php 22 Nov 2003 03:45:33 -0000 1.31 *************** *** 120,124 **** $delete_lang = 'Delete'; ! // ----- New for 0.9.5 $all_cal_comb_lang = 'All calendars combined'; --- 120,124 ---- $delete_lang = 'Delete'; ! // ----- New for 1.0 $all_cal_comb_lang = 'All calendars combined'; Index: korean.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/korean.inc.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** korean.inc.php 17 Nov 2003 18:02:34 -0000 1.3 --- korean.inc.php 22 Nov 2003 03:45:33 -0000 1.4 *************** *** 2,6 **** // Korean language include ! // For version 0.9.5 PHP iCalendar // // Translation by TaeYoung Oh (sp...@hy...) --- 2,6 ---- // Korean language include ! // For version 1.0 PHP iCalendar // // Translation by TaeYoung Oh (sp...@hy...) Index: norwegian.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/norwegian.inc.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** norwegian.inc.php 19 Nov 2003 22:57:08 -0000 1.26 --- norwegian.inc.php 22 Nov 2003 03:45:33 -0000 1.27 *************** *** 2,6 **** // Norwegian language include ! // For version 0.9.5 PHP iCalendar // // Translation by Geir Kielland (kie...@ma...) --- 2,6 ---- // Norwegian language include ! // For version 1.0 PHP iCalendar // // Translation by Geir Kielland (kie...@ma...) *************** *** 114,118 **** $delete_lang = 'Slett'; ! // ----- New for 0.9.5 $all_cal_comb_lang = 'Alle kalenderne samlet'; --- 114,118 ---- $delete_lang = 'Slett'; ! // ----- New for 1.0 $all_cal_comb_lang = 'Alle kalenderne samlet'; Index: polish.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/polish.inc.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** polish.inc.php 13 Nov 2003 17:33:23 -0000 1.25 --- polish.inc.php 22 Nov 2003 03:45:33 -0000 1.26 *************** *** 2,6 **** // Polish language include ! // For version 0.9.5 PHP iCalendar // // Translation by StanisÅaw CieÅlicki (st...@po...) --- 2,6 ---- // Polish language include ! // For version 1.0 PHP iCalendar // // Translation by StanisÅaw CieÅlicki (st...@po...) *************** *** 115,119 **** $delete_lang = 'Wymaż'; ! // ----- New for 0.9.5 $all_cal_comb_lang = 'All calendars combined'; --- 115,119 ---- $delete_lang = 'Wymaż'; ! // ----- New for 1.0 $all_cal_comb_lang = 'All calendars combined'; Index: portuguese.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/portuguese.inc.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** portuguese.inc.php 13 Nov 2003 17:33:24 -0000 1.12 --- portuguese.inc.php 22 Nov 2003 03:45:33 -0000 1.13 *************** *** 2,6 **** // Portuguese language include ! // For version 0.9.5 PHP iCalendar // // Translation by Rui Costa (rui...@ub...) --- 2,6 ---- // Portuguese language include ! // For version 1.0 PHP iCalendar // // Translation by Rui Costa (rui...@ub...) *************** *** 114,118 **** $delete_lang = 'Delete'; ! // ----- New for 0.9.5 $all_cal_comb_lang = 'All calendars combined'; --- 114,118 ---- $delete_lang = 'Delete'; ! // ----- New for 1.0 $all_cal_comb_lang = 'All calendars combined'; Index: spanish.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/spanish.inc.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** spanish.inc.php 13 Nov 2003 17:33:24 -0000 1.14 --- spanish.inc.php 22 Nov 2003 03:45:33 -0000 1.15 *************** *** 2,6 **** // Spanish language include ! // For version 0.9.5 PHP iCalendar // // Translation by Javier Navarro from XIPS (jna...@xi...) --- 2,6 ---- // Spanish language include ! // For version 1.0 PHP iCalendar // // Translation by Javier Navarro from XIPS (jna...@xi...) *************** *** 56,60 **** $rss_week_date = '%e de %b'; // Lists just the day $rss_month_date = '%e de %b'; // Lists just the day ! $rss_language = 'en-us'; $search_took_lang = 'La busqeda tardó %s segundos'; $recurring_event_lang = 'Evento peri&ocaute;dico'; --- 56,60 ---- $rss_week_date = '%e de %b'; // Lists just the day $rss_month_date = '%e de %b'; // Lists just the day ! $rss_language = 'es-es'; $search_took_lang = 'La busqeda tardó %s segundos'; $recurring_event_lang = 'Evento peri&ocaute;dico'; *************** *** 70,74 **** $select_style_lang = 'Seleccione su estilo por defecto:'; $set_prefs_lang = 'Guardar preferencias'; ! $completed_date_lang = 'Finalizado a'; $completed_lang = 'Finalizado'; $created_lang = 'Creado:'; --- 70,74 ---- $select_style_lang = 'Seleccione su estilo por defecto:'; $set_prefs_lang = 'Guardar preferencias'; ! $completed_date_lang = 'Finalizado el'; $completed_lang = 'Finalizado'; $created_lang = 'Creado:'; *************** *** 82,119 **** $todo_lang = 'Por hacer'; $unfinished_lang = 'Sin terminar'; ! $prefs_set_lang = 'Sus preferencias han sido activadas.'; $prefs_unset_lang = 'Preferencias no activas. Los cambios se activaran al recargar la página.'; $unset_prefs_lang = 'Preferencias sin activar:'; ! $organizer_lang = 'Organizer'; ! $attendee_lang = 'Attendee'; ! $status_lang = 'Status'; ! $location_lang = 'Location'; ! $admin_header_lang = 'PHP iCalendar Administration'; ! $username_lang = 'Username'; ! $password_lang = 'Password'; ! $login_lang = 'Login'; ! $invalid_login_lang = 'Wrong username or password.'; ! $addupdate_cal_lang = 'Add or Update a Calendar'; ! $addupdate_desc_lang = 'Add a calendar by uploading a new file. Update a calendar by uploading a file of the same name.'; ! $delete_cal_lang = 'Delete a Calendar'; ! $logout_lang = 'Logout'; ! $cal_file_lang = 'Calendar File'; ! $php_error_lang = 'PHP Error'; ! $upload_error_gen_lang = 'There was a problem with your upload.'; ! $upload_error_lang[0] = 'There was a problem with your upload.'; ! $upload_error_lang[1] = 'The file you are trying to upload is too big.'; ! $upload_error_lang[2] = 'The file you are trying to upload is too big.'; ! $upload_error_lang[3] = 'The file you are trying upload was only partially uploaded.'; ! $upload_error_lang[4] = 'You must select a file for upload.'; ! $upload_error_type_lang = 'Only .ics files may be uploaded.'; ! $copy_error_lang = 'Failed to copy file'; ! $delete_error_lang = 'Failed to delete file'; ! $delete_success_lang = 'was deleted successfully.'; ! $action_success_lang = 'Your action was successful.'; ! $submit_lang = 'Submit'; ! $delete_lang = 'Delete'; // ----- New for 0.9.5 ! $all_cal_comb_lang = 'All calendars combined'; // - navigation --- 82,119 ---- $todo_lang = 'Por hacer'; $unfinished_lang = 'Sin terminar'; ! $prefs_set_lang = 'Sus preferencias han sido guardadas.'; $prefs_unset_lang = 'Preferencias no activas. Los cambios se activaran al recargar la página.'; $unset_prefs_lang = 'Preferencias sin activar:'; ! $organizer_lang = 'Organizador'; ! $attendee_lang = 'Invitado'; ! $status_lang = 'Estado'; ! $location_lang = 'Lugar'; ! $admin_header_lang = 'Administración de PHP iCalendar'; ! $username_lang = 'Usuario'; ! $password_lang = 'Contraseña'; ! $login_lang = 'Registro'; ! $invalid_login_lang = 'Usuario o contraseña incorrectos.'; ! $addupdate_cal_lang = 'Añadir o actualizar un calendario'; ! $addupdate_desc_lang = 'Añade un calendario enviando un nuevo fichero. Actualiza un calendario enviando un fichero existente.'; ! $delete_cal_lang = 'Borra un calendario'; ! $logout_lang = 'Salir'; ! $cal_file_lang = 'Fichero de Calendario'; ! $php_error_lang = 'Error PHP'; ! $upload_error_gen_lang = 'Hubo un problema con su envío.'; ! $upload_error_lang[0] = 'Hubo un problema con su envío.'; ! $upload_error_lang[1] = 'El fichero que intenta enviar es demasiado grande.'; ! $upload_error_lang[2] = 'El fichero que intenta enviar es demasiado grande.'; ! $upload_error_lang[3] = 'Solo se ha recibido una parte del fichero que intentaba enviar.'; ! $upload_error_lang[4] = 'Debe elegir un fichero para enviar.'; ! $upload_error_type_lang = 'Solo se aceptan ficheros de calendario (.ics).'; ! $copy_error_lang = 'Falló la copia del fichero'; ! $delete_error_lang = 'Falló el borrado del fichero'; ! $delete_success_lang = 'se borró correctamente.'; ! $action_success_lang = 'Su acción fué correcta.'; ! $submit_lang = 'Enviar'; ! $delete_lang = 'Borrar'; // ----- New for 0.9.5 ! $all_cal_comb_lang = 'Todos los calendarios combinados'; // - navigation Index: swedish.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/swedish.inc.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 Binary files /tmp/cvs18b84e and /tmp/cvsK79sXj differ Index: traditional_chinese.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/traditional_chinese.inc.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** traditional_chinese.inc.php 13 Nov 2003 17:33:24 -0000 1.6 --- traditional_chinese.inc.php 22 Nov 2003 03:45:33 -0000 1.7 *************** *** 2,6 **** // Trad. Chinese language include ! // For version 0.9.5 PHP iCalendar // // Translation by Kevin Fyure (di...@ma...) --- 2,6 ---- // Trad. Chinese language include ! // For version 1.0 PHP iCalendar // // Translation by Kevin Fyure (di...@ma...) *************** *** 117,121 **** $delete_lang = 'Delete'; ! // ----- New for 0.9.5 $all_cal_comb_lang = 'All calendars combined'; --- 117,121 ---- $delete_lang = 'Delete'; ! // ----- New for 1.0 $all_cal_comb_lang = 'All calendars combined'; |
From: <cl...@us...> - 2003-11-22 03:45:38
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1:/tmp/cvs-serv14531 Modified Files: config.inc.php search.php Log Message: Updated files for 1.0. Index: config.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/config.inc.php,v retrieving revision 1.122 retrieving revision 1.123 diff -C2 -d -r1.122 -r1.123 *** config.inc.php 19 Nov 2003 07:54:09 -0000 1.122 --- config.inc.php 22 Nov 2003 03:45:33 -0000 1.123 *************** *** 1,5 **** <?php ! // Configuration file for PHP iCalendar 0.9.5 // // To set values, change the text between the single quotes --- 1,5 ---- <?php ! // Configuration file for PHP iCalendar 1.0 // // To set values, change the text between the single quotes *************** *** 42,46 **** $daysofweek_dayview = 'no'; // Display the days of the week in day.php view. $enable_rss = 'yes'; // Enable RSS access to your calendars (good thing). ! $show_search = 'no'; // Show the search box in the sidebar. $allow_preferences = 'yes'; // Allow visitors to change various preferences via cookies. $printview_default = 'no'; // Set print view as the default view. day, week, and month only supported views for $default_view (listed well above). --- 42,47 ---- $daysofweek_dayview = 'no'; // Display the days of the week in day.php view. $enable_rss = 'yes'; // Enable RSS access to your calendars (good thing). ! $enable_publishing = 'no'; // Enable webdav style publishing to your calendar's folder. READ calendars/publish.php before using! ! $show_search = 'yes'; // Show the search box in the sidebar. $allow_preferences = 'yes'; // Allow visitors to change various preferences via cookies. $printview_default = 'no'; // Set print view as the default view. day, week, and month only supported views for $default_view (listed well above). Index: search.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/search.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** search.php 17 Nov 2003 19:40:30 -0000 1.24 --- search.php 22 Nov 2003 03:45:33 -0000 1.25 *************** *** 106,261 **** </tr> <tr> ! <td colspan="3" class="dayborder"><img src="images/spacer.gif" width="1" height="5" alt=" "></td> </tr> <tr> ! <td colspan="3"> ! <table border="0" cellspacing="0" cellpadding="0" width="100%"> ! <tr> ! <td align="center" valign="top"> ! <table width="100%" border="0" cellspacing="0" cellpadding="0"> ! <tr> ! <td colspan="3" height="1"></td> ! </tr> ! <tr> ! <td colspan="3" class="G10B" align="center"><?php echo $query_lang.': '.$formatted_search; ?></td> ! </tr> ! <tr> ! <td colspan="3" class="G10B"> </td> ! </tr> ! <?php ! if (isset($the_arr) && is_array($the_arr)) { ! foreach($the_arr as $val) { ! $key = $val['date']; ! $dayofmonth = strtotime ($key); ! $dayofmonth = localizeDate ($dateFormat_day, $dayofmonth); ! echo "<tr><td width=\"10\"><img src=\"images/spacer.gif\" width=\"10\" height=\"1\" alt=\" \"></td>\n"; ! echo "<td align=\"left\" colspan=\"2\"><font class=\"V12\"><b><a class=\"ps3\" href=\"day.php?cal=$cal&getdate=$key\">$dayofmonth</a></b></font></td></tr>"; ! echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"5\" alt=\" \"></td></tr>\n"; ! ! if ($val["event_text"]) { ! $event_text = stripslashes(urldecode($val["event_text"])); ! $description = stripslashes(urldecode($val["description"])); ! $event_start = $val["event_start"]; ! $event_end = $val["event_end"]; ! $event_start = date ($timeFormat, strtotime ("$event_start")); ! $event_end = date ($timeFormat, strtotime ("$event_end")); ! $event_start = "$event_start - $event_end"; ! if (!$val["event_start"]) { ! $event_start = "$all_day_lang"; ! $event_start2 = ''; ! $event_end = ''; ! } ! echo "<tr>\n"; ! echo "<td width=\"10\"><img src=\"images/spacer.gif\" width=\"10\" height=\"1\" alt=\" \"></td>\n"; ! echo "<td width=\"10\"><img src=\"images/spacer.gif\" width=\"10\" height=\"1\" alt=\" \"></td>\n"; ! echo "<td align=\"left\">\n"; ! echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"1\">\n"; ! echo "<tr>\n"; ! echo "<td width=\"120\" class=\"G10BOLD\">$time_lang:</td>\n"; ! echo "<td align=\"left\" class=\"G10B\">$event_start</td>\n"; ! echo "</tr>\n"; ! echo "<tr>\n"; ! echo "<td valign=\"top\" width=\"100\" class=\"G10BOLD\">$summary_lang:</td>\n"; ! echo "<td valign=\"top\" align=\"left\" class=\"G10B\">$event_text</td>\n"; ! echo "</tr>\n"; ! if (isset($val['recur'])) { ! $recur = $val['recur']; ! echo "<tr>\n"; ! echo "<td valign=\"top\" width=\"100\" class=\"G10BOLD\">Recurring event:</td>\n"; ! echo "<td valign=\"top\" align=\"left\" class=\"G10B\">$recur</td>\n"; ! echo "</tr>\n"; ! } ! if ($val["description"]) { ! echo "<tr>\n"; ! echo "<td valign=\"top\" width=\"100\" class=\"G10BOLD\">$description_lang:</td>\n"; ! echo "<td valign=\"top\" align=\"left\" class=\"G10B\">$description</td>\n"; ! echo "</tr>\n"; ! } ! echo "</table>\n"; ! echo "</td>\n"; ! echo "</tr>\n"; ! echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"10\" alt=\" \"></td></tr>\n"; ! if (isset($val['exceptions'])) { ! echo "<tr><td colspan=\"3\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n"; ! foreach($val['exceptions'] as $val2) { ! $key = $val2['date']; ! $dayofmonth = strtotime ($key); ! $dayofmonth = localizeDate ($dateFormat_day, $dayofmonth); ! echo "<tr><td width=\"20\"><img src=\"images/spacer.gif\" width=\"20\" height=\"1\" alt=\" \"></td>\n"; ! echo "<td align=\"left\" colspan=\"2\"><font class=\"V10\"><i>$exception_lang</i>: <a class=\"ps3\" href=\"day.php?cal=$cal&getdate=$key\">$dayofmonth</a></font></td></tr>"; ! echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"5\" alt=\" \"></td></tr>\n"; ! ! if ($val2["event_text"]) { ! $event_text = stripslashes(urldecode($val2["event_text"])); ! $description = stripslashes(urldecode($val2["description"])); ! $event_start = $val2["event_start"]; ! $event_end = $val2["event_end"]; ! $event_start = date ($timeFormat, strtotime ("$event_start")); ! $event_end = date ($timeFormat, strtotime ("$event_end")); ! $event_start = "$event_start - $event_end"; ! if (!$val2["event_start"]) { ! $event_start = "$all_day_lang"; ! $event_start2 = ''; ! $event_end = ''; ! } ! echo "<tr>\n"; ! echo "<td width=\"10\"><img src=\"images/spacer.gif\" width=\"10\" height=\"1\" alt=\" \"></td>\n"; ! echo "<td width=\"10\"><img src=\"images/spacer.gif\" width=\"10\" height=\"1\" alt=\" \"></td>\n"; ! echo "<td align=\"left\">\n"; ! echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"1\">\n"; ! echo "<tr>\n"; ! echo "<td width=\"100\" class=\"V10\">$time_lang:</td>\n"; ! echo "<td align=\"left\" class=\"V10\">$event_start</td>\n"; ! echo "</tr>\n"; ! echo "<tr>\n"; ! echo "<td valign=\"top\" width=\"100\" class=\"V10\">$summary_lang:</td>\n"; ! echo "<td valign=\"top\" align=\"left\" class=\"V10\">$event_text</td>\n"; ! echo "</tr>\n"; ! if (isset($val2['recur'])) { ! $recur = $val2['recur']; ! echo "<tr>\n"; ! echo "<td valign=\"top\" width=\"100\" class=\"V10\">$recurring_event_lang:</td>\n"; ! echo "<td valign=\"top\" align=\"left\" class=\"V10\">$recur</td>\n"; ! echo "</tr>\n"; ! } ! if ($val2["description"]) { ! echo "<tr>\n"; ! echo "<td valign=\"top\" width=\"100\" class=\"V10\">$description_lang:</td>\n"; ! echo "<td valign=\"top\" align=\"left\" class=\"V10\">$description</td>\n"; ! echo "</tr>\n"; ! } ! echo "</table>\n"; ! echo "</td>\n"; ! echo "</tr>\n"; ! echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"10\" alt=\" \"></td></tr>\n"; ! } ! } ! echo "</table></td><tr>\n"; ! } ! } } ! } else { ! echo '<tr><td colspan="3" class="G10B" align="center">'; ! echo $no_results_lang; ! echo '</td></tr><tr><td class="G10B"> </td></tr>'; } ! ! ! ! ?> ! <tr> ! <td colspan="3" class="G10B" align="center"><?php echo $search_box; ?></td> ! </tr> ! <tr> ! <td colspan="3" class="G10B" align="center"> ! <?php ! echo '<font class="V9G">'.sprintf($search_took_lang,$search_took).'</font><br><br>'; ! ?> ! </td> ! </tr> ! </table> ! </td> ! </tr> ! </table> </td> </tr> --- 106,233 ---- </tr> <tr> ! <td class="dayborder"><img src="images/spacer.gif" width="1" height="5" alt=" "></td> </tr> <tr> ! <td align="left"> ! <div style="padding: 10px;"> ! <?php ! ! echo '<div align="center"><p class="V12">'.$query_lang.': '.$formatted_search.'</p></div>'; ! ! if (isset($the_arr) && is_array($the_arr)) { ! foreach($the_arr as $val) { ! $key = $val['date']; ! $dayofmonth = strtotime ($key); ! $dayofmonth = localizeDate ($dateFormat_day, $dayofmonth); ! echo '<font class="V12"><b><a class="ps3" href="day.php?cal='.$cal.'&getdate='.$key.'">'.$dayofmonth.'</a></b></font><br>'; ! ! if ($val["event_text"]) { ! $event_text = stripslashes(urldecode($val["event_text"])); ! $description = stripslashes(urldecode($val["description"])); ! $event_start = $val["event_start"]; ! $event_end = $val["event_end"]; ! $event_calna = $val["calname"]; ! $event_start = date ($timeFormat, strtotime ("$event_start")); ! $event_end = date ($timeFormat, strtotime ("$event_end")); ! $event_start = "$event_start - $event_end"; ! if (!$val["event_start"]) { ! $event_start = "$all_day_lang"; ! $event_start2 = ''; ! $event_end = ''; ! } ! echo '<div style="margin-left: 10px;">'; ! echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"1\">\n"; ! echo "<tr>\n"; ! echo "<td width=\"120\" class=\"G10BOLD\">$time_lang:</td>\n"; ! echo "<td align=\"left\" class=\"G10B\">$event_start</td>\n"; ! echo "</tr>\n"; ! echo "<tr>\n"; ! echo "<td valign=\"top\" width=\"100\" class=\"G10BOLD\">$summary_lang:</td>\n"; ! echo "<td valign=\"top\" align=\"left\" class=\"G10B\">$event_text</td>\n"; ! echo "</tr>\n"; ! if (isset($val['recur'])) { ! $recur = $val['recur']; ! echo "<tr>\n"; ! echo "<td valign=\"top\" width=\"100\" class=\"G10BOLD\">Recurring event:</td>\n"; ! echo "<td valign=\"top\" align=\"left\" class=\"G10B\">$recur</td>\n"; ! echo "</tr>\n"; ! } ! if ($val["description"]) { ! echo "<tr>\n"; ! echo "<td valign=\"top\" width=\"100\" class=\"G10BOLD\">$description_lang:</td>\n"; ! echo "<td valign=\"top\" align=\"left\" class=\"G10B\">$description</td>\n"; ! echo "</tr>\n"; ! } ! echo "</table>\n"; ! echo '</div>'; ! if (isset($val['exceptions'])) { ! echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n"; ! foreach($val['exceptions'] as $val2) { ! $key = $val2['date']; ! $dayofmonth = strtotime ($key); ! $dayofmonth = localizeDate ($dateFormat_day, $dayofmonth); ! echo "<td align=\"left\" colspan=\"2\"><font class=\"V10\"><i>$exception_lang</i>: <a class=\"ps3\" href=\"day.php?cal=$cal&getdate=$key\">$dayofmonth</a></font></td></tr>"; ! ! if ($val2["event_text"]) { ! $event_text = stripslashes(urldecode($val2["event_text"])); ! $description = stripslashes(urldecode($val2["description"])); ! $event_start = $val2["event_start"]; ! $event_end = $val2["event_end"]; ! $event_start = date ($timeFormat, strtotime ("$event_start")); ! $event_end = date ($timeFormat, strtotime ("$event_end")); ! $event_start = "$event_start - $event_end"; ! if (!$val2["event_start"]) { ! $event_start = "$all_day_lang"; ! $event_start2 = ''; ! $event_end = ''; } ! echo "<tr>\n"; ! echo "<td align=\"left\">\n"; ! echo '<div style="margin-left: 10px;">'; ! echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"1\">\n"; ! echo "<tr>\n"; ! echo "<td width=\"100\" class=\"V10\">$time_lang:</td>\n"; ! echo "<td align=\"left\" class=\"V10\">$event_start</td>\n"; ! echo "</tr>\n"; ! echo "<tr>\n"; ! echo "<td valign=\"top\" width=\"100\" class=\"V10\">$summary_lang:</td>\n"; ! echo "<td valign=\"top\" align=\"left\" class=\"V10\">$event_text</td>\n"; ! echo "</tr>\n"; ! if (isset($val2['recur'])) { ! $recur = $val2['recur']; ! echo "<tr>\n"; ! echo "<td valign=\"top\" width=\"100\" class=\"V10\">$recurring_event_lang:</td>\n"; ! echo "<td valign=\"top\" align=\"left\" class=\"V10\">$recur</td>\n"; ! echo "</tr>\n"; ! } ! if ($val2["description"]) { ! echo "<tr>\n"; ! echo "<td valign=\"top\" width=\"100\" class=\"V10\">$description_lang:</td>\n"; ! echo "<td valign=\"top\" align=\"left\" class=\"V10\">$description</td>\n"; ! echo "</tr>\n"; ! } ! echo "</table>"; ! echo '</div><br>'; ! } ! } ! } ! } ! } ! } else { ! echo '<div align="center">'; ! echo '<p class="V12">'.$no_results_lang.'</p>'; ! echo '</div>'; ! } ! ! echo '<div align="center">'; ! echo $search_box; ! echo '<p class="V9G">'.sprintf($search_took_lang,$search_took).'</p></div>'; ! echo '</div>'; ! ?> ! ! </td> ! </tr> ! </table> </td> </tr> |
From: <cl...@us...> - 2003-11-22 03:45:38
|
Update of /cvsroot/phpicalendar/phpicalendar/includes In directory sc8-pr-cvs1:/tmp/cvs-serv14531/includes Modified Files: event.php footer.inc.php Log Message: Updated files for 1.0. Index: event.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/event.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** event.php 21 Nov 2003 20:38:51 -0000 1.15 --- event.php 22 Nov 2003 03:45:33 -0000 1.16 *************** *** 9,23 **** } ! $event = (isset($_REQUEST['event'])) ? decode_popup($_REQUEST['event']) : ('unset'); ! $description = (isset($_REQUEST['description'])) ? decode_popup($_REQUEST['description']) : ('unset'); ! $cal = (isset($_REQUEST['cal'])) ? decode_popup($_REQUEST['cal']) : ('unset'); ! $start = (isset($_REQUEST['start'])) ? decode_popup($_REQUEST['start']) : ('unset'); ! $end = (isset($_REQUEST['end'])) ? decode_popup($_REQUEST['end']) : ('unset'); ! $status = (isset($_REQUEST['status'])) ? decode_popup($_REQUEST['status']) : ('unset'); ! $location = (isset($_REQUEST['location'])) ? decode_popup($_REQUEST['location']) : ('unset'); ! $url = (isset($_REQUEST['url'])) ? decode_popup($_REQUEST['url']) : ('unset'); ! $organizer = (isset($_REQUEST['organizer'])) ? ($_REQUEST['organizer']) : ('unset'); $organizer = unserialize (decode_popup ($organizer)); ! $attendee = (isset($_REQUEST['attendee'])) ? ($_REQUEST['attendee']) : ('unset'); $attendee = unserialize (decode_popup ($attendee)); $cal_title_full = $cal.' '.$calendar_lang; --- 9,23 ---- } ! $event = (isset($HTTP_POST_VARS['event'])) ? decode_popup($HTTP_POST_VARS['event']) : ('unset'); ! $description = (isset($HTTP_POST_VARS['description'])) ? decode_popup($HTTP_POST_VARS['description']) : ('unset'); ! $cal = (isset($HTTP_POST_VARS['cal'])) ? decode_popup($HTTP_POST_VARS['cal']) : ('unset'); ! $start = (isset($HTTP_POST_VARS['start'])) ? decode_popup($HTTP_POST_VARS['start']) : ('unset'); ! $end = (isset($HTTP_POST_VARS['end'])) ? decode_popup($HTTP_POST_VARS['end']) : ('unset'); ! $status = (isset($HTTP_POST_VARS['status'])) ? decode_popup($HTTP_POST_VARS['status']) : ('unset'); ! $location = (isset($HTTP_POST_VARS['location'])) ? decode_popup($HTTP_POST_VARS['location']) : ('unset'); ! $url = (isset($HTTP_POST_VARS['url'])) ? decode_popup($HTTP_POST_VARS['url']) : ('unset'); ! $organizer = (isset($HTTP_POST_VARS['organizer'])) ? ($HTTP_POST_VARS['organizer']) : ('unset'); $organizer = unserialize (decode_popup ($organizer)); ! $attendee = (isset($HTTP_POST_VARS['attendee'])) ? ($HTTP_POST_VARS['attendee']) : ('unset'); $attendee = unserialize (decode_popup ($attendee)); $cal_title_full = $cal.' '.$calendar_lang; Index: footer.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/footer.inc.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** footer.inc.php 13 Nov 2003 17:33:22 -0000 1.10 --- footer.inc.php 22 Nov 2003 03:45:33 -0000 1.11 *************** *** 1,5 **** <?php ! echo "<center class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/nuke/\">PHP iCalendar 0.9.5</a>"; if ($enable_rss == 'yes') { echo "<br>\n"; --- 1,5 ---- <?php ! echo "<center class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/nuke/\">PHP iCalendar 1.0</a>"; if ($enable_rss == 'yes') { echo "<br>\n"; |
From: <cl...@us...> - 2003-11-22 02:06:28
|
Update of /cvsroot/phpicalendar/phpicalendar/calendars In directory sc8-pr-cvs1:/tmp/cvs-serv1493/calendars Removed Files: URL Test.ics Log Message: tested and removed. --- URL Test.ics DELETED --- |
From: <cl...@us...> - 2003-11-21 20:38:54
|
Update of /cvsroot/phpicalendar/phpicalendar/includes In directory sc8-pr-cvs1:/tmp/cvs-serv7716 Modified Files: event.php Log Message: Fixed IE 6 lame funkiness. Index: event.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/event.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** event.php 21 Nov 2003 07:29:08 -0000 1.14 --- event.php 21 Nov 2003 20:38:51 -0000 1.15 *************** *** 82,86 **** </tr> <tr> ! <td colspan="3" class="V12"> <div style="margin-left: 10px; margin-bottom:10px;"> <p>{$event} {$event_times}</p> --- 82,86 ---- </tr> <tr> ! <td align="left" class="V12"> <div style="margin-left: 10px; margin-bottom:10px;"> <p>{$event} {$event_times}</p> *************** *** 96,98 **** END; ! ?> \ No newline at end of file --- 96,98 ---- END; ! ?> |
From: <cl...@us...> - 2003-11-21 17:02:00
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv4051/functions Modified Files: ical_parser.php Log Message: Fix for Ximains lame problems. [ 846644 ] The Recurrence Bug. Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.131 retrieving revision 1.132 diff -C2 -d -r1.131 -r1.132 *** ical_parser.php 20 Nov 2003 00:13:08 -0000 1.131 --- ical_parser.php 21 Nov 2003 17:01:57 -0000 1.132 *************** *** 331,334 **** --- 331,335 ---- $until = ereg_replace('T', '', $val); $until = ereg_replace('Z', '', $until); + if (strlen($until) == 8) $until = $until.'235959'; $abs_until = $until; ereg ('([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})', $until, $regs); |
From: <cl...@us...> - 2003-11-21 07:29:11
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv32749/functions Modified Files: date_functions.php Log Message: Updated event to be half the size of previous release. More CSS, less crappy HTML. Index: date_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/date_functions.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** date_functions.php 20 Nov 2003 05:18:38 -0000 1.18 --- date_functions.php 21 Nov 2003 07:29:08 -0000 1.19 *************** *** 172,198 **** } ! if (isset($arr["organizer"])) { ! $organizer = addslashes($arr["organizer"]); ! } ! ! if (isset($arr["attendee"])) { ! $attendee = addslashes($arr["attendee"]); ! } ! ! if (isset($arr["location"])) { ! $location = addslashes($arr["location"]); ! } ! ! if (isset($arr["status"])) { ! $status = addslashes($arr["status"]); ! } ! ! if (isset($arr["description"])) { ! $description = addslashes(stripslashes(urldecode($arr["description"]))); ! } ! ! if (isset($arr["url"])) { ! $url = addslashes(stripslashes(urldecode($arr["url"]))); ! } if (!empty($event_text)) { --- 172,181 ---- } ! if (isset($arr["organizer"])) $organizer = addslashes($arr["organizer"]); ! if (isset($arr["attendee"])) $attendee = addslashes($arr["attendee"]); ! if (isset($arr["location"])) $location = addslashes($arr["location"]); ! if (isset($arr["status"])) $status = addslashes($arr["status"]); ! if (isset($arr["description"])) $description = addslashes(stripslashes(urldecode($arr["description"]))); ! if (isset($arr["url"])) $url = addslashes(stripslashes(urldecode($arr["url"]))); if (!empty($event_text)) { *************** *** 216,225 **** END; ! echo "<a class=\"$link_class\" href=\"#\" onclick=\"openEventWindow($popup_data_index);\">"; $popup_data_index++; } else { ! echo "<a class=\"$link_class\" href=\"{$res[1]}\">"; } ! echo "{$pre_text}{$event_text}{$post_text}</a>\n"; } } --- 199,208 ---- END; ! echo '<a class="'.$link_class.'" href="#" onclick="openEventWindow('.$popup_data_index.');">'; $popup_data_index++; } else { ! echo '<a class="'.$link_class.'" href="'.$res[1].'">'; } ! echo $pre_text.$event_text.$post_text.'</a>'."\n"; } } |
From: <cl...@us...> - 2003-11-21 07:29:11
|
Update of /cvsroot/phpicalendar/phpicalendar/includes In directory sc8-pr-cvs1:/tmp/cvs-serv32749/includes Modified Files: event.php Log Message: Updated event to be half the size of previous release. More CSS, less crappy HTML. Index: event.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/event.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** event.php 20 Nov 2003 05:18:38 -0000 1.13 --- event.php 21 Nov 2003 07:29:08 -0000 1.14 *************** *** 31,137 **** } - // Format optional event fields if ($description) { ! $display.="<!-- Description -->\n"; ! $display.='<tr>' . "\n"; ! $display.='<td width="1%"><img src="../images/spacer.gif" width="6" height="1" alt=" "></td>' . "\n"; ! $display.='<td align="left" colspan="2" class="V12">' . "\n"; ! $display.=ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]",'<a target="_new" href="\0">\0</a>',$description); ! $display.='</td>' . "\n"; ! $display.='</tr>' . "\n"; } if ($organizer) { $i=0; ! $display.='<tr>' . "\n"; ! $display.='<td width="1%"><img src="images/spacer.gif" width="6" height="1" alt=" "></td>' . "\n"; ! $display.='<td align="left" colspan="2" class="V12">'; ! $display.=$organizer_lang . ' - '; foreach ($organizer as $val) { ! $organizers.=$organizer[$i]["name"] . ', '; $i++; } ! $display.=substr($organizers,0,-2); ! $display.='</td>' . "\n"; ! $display.='</tr>' . "\n"; } if ($attendee) { $i=0; ! $display.="<!-- Attendee -->\n"; ! $display.='<tr>' . "\n"; ! $display.='<td width="1%"><img src="images/spacer.gif" width="6" height="1" alt=" "></td>' . "\n"; ! $display.='<td align="left" colspan="2" class="V12">' . "\n"; ! $display.=$attendee_lang . ' - '; foreach ($attendee as $val) { $attendees .= $attendee[$i]["name"] . ', '; $i++; } ! $attendees=substr($attendees,0,-2); ! $display.='</td>' . "\n"; ! $display.='</tr>' . "\n"; } if ($status) { ! $display.="<!-- Status -->\n"; ! $display.='<tr>' . "\n"; ! $display.='<td width="1%"><img src="images/spacer.gif" width="6" height="1" alt=" "></td>' . "\n"; ! $display.='<td align="left" colspan="2" class="V12">' . "\n"; ! $display.=$status_lang . ' - ' . $status. '</td>' . "\n"; ! $display.='</tr>'; } if ($location) { if (isset($url)) $location = '<a href="'.$url.'" target="_blank">'.$location.'</a>'; ! $display.="<!-- Location -->\n"; ! $display.='<tr>' . "\n"; ! $display.='<td width="1%"><img src="images/spacer.gif" width="6" height="1" alt=" "></td>' . "\n"; ! $display.='<td align="left" colspan="2" class="V12">' . "\n"; ! $display.=$location_lang . ' - ' . $location.'</td>' . "\n"; ! $display.='</tr>' . "\n"; } ! ?> ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ! "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> ! <html> ! <head> ! <meta http-equiv="content-type" content="text/html;charset=UTF-8"> ! <title><?php echo $cal; ?></title> ! <link rel="stylesheet" type="text/css" href="<?php echo BASE."styles/$style_sheet/default.css"; ?>"> ! </head> ! ! <!-- Start PAGE --> ! <body bgcolor="#eeeeee"> ! <center> ! <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder"> - <!-- Calendar Title --> - <tr> - <td align="left" valign="top" width="1%" class="sideback"><img src="../images/spacer.gif" width="1" height="20" alt=" "></td> - <td align="center" width="98%" class="sideback"><font class="G10BOLD"><?php echo $cal_title_full; ?></font></td> - <td align="right" valign="top" width="1%" class="sideback"></td> - </tr> - <tr> - <td colspan="3"><img src="../images/spacer.gif" width="1" height="6" alt=" "></td> - </tr> ! <!-- Event Info --> ! <tr> ! <td colspan="3"> ! <table width="430" border="0" cellspacing="0" cellpadding="0"> ! <tr> ! <td width="1%"><img src="../images/spacer.gif" width="6" height="1" alt=" "></td> ! <td align="left" colspan="2" class="V12"><?php echo $event . ' ' . $event_times; ?><br><br></td> ! </tr> ! <?php echo $display; ?> ! </tr> ! <tr> ! <td colspan="3"><img src="../images/spacer.gif" width="1" height="6" alt=" "></td> ! </tr> ! </table> ! </td> ! </tr> ! </table> ! </center> ! </body> ! <!-- End PAGE --> ! </html> --- 31,98 ---- } if ($description) { ! $display = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]",'<a target="_new" href="\0">\0</a>',$description); ! $display .= '<br>'; } if ($organizer) { $i=0; ! $display .= $organizer_lang . ' - '; foreach ($organizer as $val) { ! $organizers .= $organizer[$i]["name"] . ', '; $i++; } ! $display .= substr($organizers,0,-2); ! $display .= '<br>'; } if ($attendee) { $i=0; ! $display .= $attendee_lang . ' - '; foreach ($attendee as $val) { $attendees .= $attendee[$i]["name"] . ', '; $i++; } ! $attendees = substr($attendees,0,-2); ! $display .= '<br>'; } if ($status) { ! $display .= $status_lang . ' - ' . $status. '<br>' . "\n"; } if ($location) { if (isset($url)) $location = '<a href="'.$url.'" target="_blank">'.$location.'</a>'; ! $display .= $location_lang . ' - ' . $location.'<br>' . "\n"; } ! $sheet_href = BASE.'styles/'.$style_sheet.'/default.css'; ! echo <<<END ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ! "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> ! <html> ! <head> ! <meta http-equiv="content-type" content="text/html;charset=UTF-8"> ! <title>{$cal}</title> ! <link rel="stylesheet" type="text/css" href="{$sheet_href}"> ! </head> ! <body bgcolor="#eeeeee"> ! <center> ! <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder"> ! <tr> ! <td align="center" width="98%" class="sideback"><div style="height: 17px; margin-top: 3px;"><font class="G10BOLD">{$cal_title_full}</font></div></td> ! </tr> ! <tr> ! <td colspan="3" class="V12"> ! <div style="margin-left: 10px; margin-bottom:10px;"> ! <p>{$event} {$event_times}</p> ! {$display} ! </div> ! </td> ! </tr> ! </table> ! </center> ! </body> ! </html> ! END; ! ?> \ No newline at end of file |
From: <cl...@us...> - 2003-11-21 03:37:26
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1:/tmp/cvs-serv1441 Modified Files: README Log Message: Added 1.0 features to date. Index: README =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/README,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** README 16 Nov 2003 06:09:09 -0000 1.52 --- README 21 Nov 2003 03:37:22 -0000 1.53 *************** *** 87,90 **** --- 87,96 ---- Changes: -------- + 1.0 + -Fixed all reported bugs. + -Event popup now displays calendar name. + -Event popup now supports more than 1024 characters. + -URL support added. + 0.9.5 -Fixed all reported bugs. |
From: <cl...@us...> - 2003-11-20 05:19:21
|
Update of /cvsroot/phpicalendar/phpicalendar/includes In directory sc8-pr-cvs1:/tmp/cvs-serv32703/includes Modified Files: event.php header.inc.php sidebar.php Log Message: Added URL support to popup, re-wrote event.php for less code. Index: event.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/event.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** event.php 19 Nov 2003 07:54:09 -0000 1.12 --- event.php 20 Nov 2003 05:18:38 -0000 1.13 *************** *** 3,76 **** include (BASE.'functions/init.inc.php'); ! // Load vars ! if (isset($HTTP_POST_VARS['event']) && ($HTTP_POST_VARS['event'] !== '') ) { ! $event=$HTTP_POST_VARS['event']; ! } else { ! $event=''; ! } ! if (isset($HTTP_POST_VARS['description']) && ($HTTP_POST_VARS['description'] !== '') ) { ! $description=$HTTP_POST_VARS['description']; ! } else { ! $description=''; ! } ! if (isset($HTTP_POST_VARS['cal']) && ($HTTP_POST_VARS['cal'] !== '') ) { ! $calendar_name=$HTTP_POST_VARS['cal']; ! } else { ! $calendar_name=''; ! } ! if (isset($HTTP_POST_VARS['start']) && ($HTTP_POST_VARS['start'] !== '') ) { ! $start=$HTTP_POST_VARS['start']; ! } else { ! $start=''; ! } ! if (isset($HTTP_POST_VARS['end']) && ($HTTP_POST_VARS['end'] !== '') ) { ! $end=$HTTP_POST_VARS['end']; ! } else { ! $end=''; ! } ! if (isset($HTTP_POST_VARS['status']) && ($HTTP_POST_VARS['status'] !== '') ) { ! $status=$HTTP_POST_VARS['status']; ! } else { ! $status=''; ! } ! if (isset($HTTP_POST_VARS['location']) && ($HTTP_POST_VARS['location'] !== '') ) { ! $location=$HTTP_POST_VARS['location']; ! } else { ! $location=''; ! } ! if (isset($HTTP_POST_VARS['organizer']) && ($HTTP_POST_VARS['organizer'] !== '') ) { ! $organizer=$HTTP_POST_VARS['organizer']; ! } else { ! $organizer=''; ! } ! if (isset($HTTP_POST_VARS['attendee']) && ($HTTP_POST_VARS['attendee'] !== '') ) { ! $attendee=$HTTP_POST_VARS['attendee']; ! } else { ! $attendee=''; } ! // Prep vars for HTML display ! $event=stripslashes(rawurldecode($event)); ! $event=str_replace('\\','',$event); ! $description=stripslashes(rawurldecode($description)); ! $description=str_replace('\\','',$description); ! $organizer=stripslashes(rawurldecode($organizer)); ! $organizer=str_replace('\\','',$organizer); ! $organizer=unserialize($organizer); ! $attendee=str_replace('\\','',$attendee); ! $attendee=unserialize ($attendee); ! $location=stripslashes(rawurldecode($location)); ! $location=str_replace('\\','',$location); ! $calendar_name=stripslashes(rawurldecode($calendar_name)); ! $calendar_name=str_replace('\\','',$calendar_name); ! ! // Format calendar title ! if ($calendar_name == $ALL_CALENDARS_COMBINED) { ! $cal_title=$all_cal_comb_lang; ! $cal_title_full=$all_cal_comb_lang; ! } else { ! $cal_title=$calendar_name; ! $cal_title_full=$calendar_name . ' ' . $calendar_lang; ! } // Format event time --- 3,25 ---- include (BASE.'functions/init.inc.php'); ! function decode_popup ($item) { ! $item = stripslashes(rawurldecode($item)); ! $item = str_replace('\\','',$item); ! return $item; } ! $event = (isset($_REQUEST['event'])) ? decode_popup($_REQUEST['event']) : ('unset'); ! $description = (isset($_REQUEST['description'])) ? decode_popup($_REQUEST['description']) : ('unset'); ! $cal = (isset($_REQUEST['cal'])) ? decode_popup($_REQUEST['cal']) : ('unset'); ! $start = (isset($_REQUEST['start'])) ? decode_popup($_REQUEST['start']) : ('unset'); ! $end = (isset($_REQUEST['end'])) ? decode_popup($_REQUEST['end']) : ('unset'); ! $status = (isset($_REQUEST['status'])) ? decode_popup($_REQUEST['status']) : ('unset'); ! $location = (isset($_REQUEST['location'])) ? decode_popup($_REQUEST['location']) : ('unset'); ! $url = (isset($_REQUEST['url'])) ? decode_popup($_REQUEST['url']) : ('unset'); ! $organizer = (isset($_REQUEST['organizer'])) ? ($_REQUEST['organizer']) : ('unset'); ! $organizer = unserialize (decode_popup ($organizer)); ! $attendee = (isset($_REQUEST['attendee'])) ? ($_REQUEST['attendee']) : ('unset'); ! $attendee = unserialize (decode_popup ($attendee)); ! $cal_title_full = $cal.' '.$calendar_lang; // Format event time *************** *** 130,133 **** --- 79,83 ---- } if ($location) { + if (isset($url)) $location = '<a href="'.$url.'" target="_blank">'.$location.'</a>'; $display.="<!-- Location -->\n"; $display.='<tr>' . "\n"; *************** *** 143,147 **** <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> ! <title><?php echo $cal_title; ?></title> <link rel="stylesheet" type="text/css" href="<?php echo BASE."styles/$style_sheet/default.css"; ?>"> </head> --- 93,97 ---- <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> ! <title><?php echo $cal; ?></title> <link rel="stylesheet" type="text/css" href="<?php echo BASE."styles/$style_sheet/default.css"; ?>"> </head> *************** *** 171,174 **** --- 121,129 ---- </tr> <?php echo $display; ?> + + </tr> + <tr> + <td colspan="3"><img src="../images/spacer.gif" width="1" height="6" alt=" "></td> + </tr> </table> </td> Index: header.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/header.inc.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** header.inc.php 19 Nov 2003 07:54:09 -0000 1.6 --- header.inc.php 20 Nov 2003 05:18:38 -0000 1.7 *************** *** 28,30 **** --- 28,31 ---- <input type="hidden" name="organizer" id="organizer" value=""> <input type="hidden" name="attendee" id="attendee" value=""> + <input type="hidden" name="url" id="url" value=""> </form> Index: sidebar.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/sidebar.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** sidebar.php 19 Nov 2003 07:54:09 -0000 1.26 --- sidebar.php 20 Nov 2003 05:18:38 -0000 1.27 *************** *** 99,109 **** $event_text = strip_tags($event_text, '<b><i><u>'); if ($event_text != "") { ! $event_text2 = rawurlencode(addslashes($val["event_text"])); ! $description = addslashes(urlencode($val["description"])); $event_start = @$val["event_start"]; $event_end = @$val["event_end"]; $event_calna = @$val["calname"]; ! $event_start = date ($timeFormat, @strtotime ("$event_start")); ! $event_end = date ($timeFormat, @strtotime ("$event_end")); $event_text = word_wrap($event_text, 21, $tomorrows_events_lines); --- 99,110 ---- $event_text = strip_tags($event_text, '<b><i><u>'); if ($event_text != "") { ! $event_text2 = rawurlencode(addslashes($val['event_text'])); ! $description = addslashes(urlencode($val['description'])); $event_start = @$val["event_start"]; $event_end = @$val["event_end"]; $event_calna = @$val["calname"]; ! $event_url = @$val["url"]; ! $event_start = date ($timeFormat, @strtotime ($event_start)); ! $event_end = date ($timeFormat, @strtotime ($event_end)); $event_text = word_wrap($event_text, 21, $tomorrows_events_lines); *************** *** 111,120 **** $event_start = $all_day_lang; $event_end = ''; ! openevent($event_calna, $event_start, ! $event_end, $val, $tomorrows_events_lines, 21, '<i>', '</i>', 'psf'); echo "<br>\n"; } else { ! openevent($event_calna, $event_start, ! $event_end, $val, $tomorrows_events_lines, 21, '<font class="G10B">• ', '</font>', 'psf'); echo "<br>\n"; } --- 112,119 ---- $event_start = $all_day_lang; $event_end = ''; ! openevent($event_calna, $event_start, $event_end, $val, $tomorrows_events_lines, 21, '<i>', '</i>', 'psf', $event_url); echo "<br>\n"; } else { ! openevent($event_calna, $event_start, $event_end, $val, $tomorrows_events_lines, 21, '<font class="G10B">• ', '</font>', 'psf', $event_url); echo "<br>\n"; } |
From: <cl...@us...> - 2003-11-20 05:19:17
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv32703/functions Modified Files: date_functions.php event.js Log Message: Added URL support to popup, re-wrote event.php for less code. Index: date_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/date_functions.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** date_functions.php 19 Nov 2003 07:54:09 -0000 1.17 --- date_functions.php 20 Nov 2003 05:18:38 -0000 1.18 *************** *** 161,165 **** } ! function openevent($calendar_name, $start, $end, $arr, $lines, $wrap, $pre_text, $post_text, $link_class) { $event_text = stripslashes(urldecode($arr["event_text"])); # for iCal pseudo tag <http> comptability --- 161,165 ---- } ! function openevent($calendar_name, $start, $end, $arr, $lines, $wrap, $pre_text, $post_text, $link_class, $url) { $event_text = stripslashes(urldecode($arr["event_text"])); # for iCal pseudo tag <http> comptability *************** *** 191,194 **** --- 191,198 ---- $description = addslashes(stripslashes(urldecode($arr["description"]))); } + + if (isset($arr["url"])) { + $url = addslashes(stripslashes(urldecode($arr["url"]))); + } if (!empty($event_text)) { *************** *** 207,211 **** <script language="Javascript" type="text/javascript"><!-- ! var eventData = new EventData('$escaped_event', '$escaped_calendar', '$escaped_start', '$escaped_end', '$description', '$status', '$location', '$organizer', '$attendee'); document.popup_data[$popup_data_index] = eventData; // --></script> --- 211,215 ---- <script language="Javascript" type="text/javascript"><!-- ! var eventData = new EventData('$escaped_event', '$escaped_calendar', '$escaped_start', '$escaped_end', '$description', '$status', '$location', '$organizer', '$attendee', '$url'); document.popup_data[$popup_data_index] = eventData; // --></script> Index: event.js =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/event.js,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** event.js 19 Nov 2003 07:56:02 -0000 1.11 --- event.js 20 Nov 2003 05:18:38 -0000 1.12 *************** *** 14,17 **** --- 14,18 ---- form.elements.organizer.value = data.organizer; form.elements.attendee.value = data.attendee; + form.elements.url.value = data.url; // open a new window *************** *** 21,25 **** } ! function EventData(event, cal, start, end, description, status, location, organizer, attendee) { this.event = event; this.cal = cal; --- 22,26 ---- } ! function EventData(event, cal, start, end, description, status, location, organizer, attendee, url) { this.event = event; this.cal = cal; *************** *** 31,34 **** --- 32,36 ---- this.organizer = organizer; this.attendee = attendee; + this.url = url; } |
From: <cl...@us...> - 2003-11-20 05:19:17
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1:/tmp/cvs-serv32703 Modified Files: day.php month.php week.php Log Message: Added URL support to popup, re-wrote event.php for less code. Index: day.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/day.php,v retrieving revision 1.101 retrieving revision 1.102 diff -C2 -d -r1.101 -r1.102 *** day.php 19 Nov 2003 07:54:09 -0000 1.101 --- day.php 20 Nov 2003 05:18:38 -0000 1.102 *************** *** 92,107 **** $event_calno = $allday['calnumber']; $event_calna = $allday['calname']; if ($event_calno < 1) $event_calno=1; if ($event_calno > 7) $event_calno=7; echo '<td valign="top" align="center" class="eventbg_'.$event_calno.'">'; ! openevent("$event_calna", ! "", ! "", ! $allday, ! 0, ! "", ! '<font color="#ffffff"><i>', ! "</i></font>", ! "psf"); echo "</td>\n</tr>\n"; } --- 92,100 ---- $event_calno = $allday['calnumber']; $event_calna = $allday['calname']; + $event_url = $allday['url']; if ($event_calno < 1) $event_calno=1; if ($event_calno > 7) $event_calno=7; echo '<td valign="top" align="center" class="eventbg_'.$event_calno.'">'; ! openevent($event_calna, '', '', $allday, 0, '', '<font color="#ffffff"><i>', '</i></font>', 'psf', $url); echo "</td>\n</tr>\n"; } *************** *** 254,267 **** echo '<tr>'."\n"; echo '<td class="eventbg_'.$event_calno.'">'; ! $event_calna = $this_time_arr[($event_length[$i]['key'])]['calname']; ! openevent("$event_calna", ! "$event_start", ! "$event_end", ! $this_time_arr[($event_length[$i]['key'])], ! "", ! 0, ! "<font class=\"eventfont\">", ! "</font>", ! "psf"); echo '</td></tr>'."\n"; echo '</table>'."\n"; --- 247,253 ---- echo '<tr>'."\n"; echo '<td class="eventbg_'.$event_calno.'">'; ! $event_calna = $this_time_arr[($event_length[$i]['key'])]['calname']; ! $event_url = $this_time_arr[($event_length[$i]['key'])]['url']; ! openevent($event_calna, $event_start, $event_end, $this_time_arr[($event_length[$i]['key'])], '', 0, '<font class="eventfont">', '</font>', 'psf', $event_url); echo '</td></tr>'."\n"; echo '</table>'."\n"; Index: month.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/month.php,v retrieving revision 1.102 retrieving revision 1.103 diff -C2 -d -r1.102 -r1.103 *** month.php 19 Nov 2003 07:54:09 -0000 1.102 --- month.php 20 Nov 2003 05:18:38 -0000 1.103 *************** *** 115,120 **** foreach ($event_times as $val) { $num_of_events2++; ! $event_calno = $val['calnumber']; ! $event_calna = $val['calname']; if (!isset($val["event_start"])) { echo '<div align="center" class="V10">'; --- 115,121 ---- foreach ($event_times as $val) { $num_of_events2++; ! $event_calno = $val['calnumber']; ! $event_calna = $val['calname']; ! $event_url = $val['url']; if (!isset($val["event_start"])) { echo '<div align="center" class="V10">'; *************** *** 123,127 **** "<i>", "</i>", ! "psf"); echo '</div>'; } else { --- 124,129 ---- "<i>", "</i>", ! "psf", ! $event_url); echo '</div>'; } else { *************** *** 141,145 **** "$start2 ", "", ! "ps3"); echo '</div>'; } --- 143,148 ---- "$start2 ", "", ! "ps3", ! $event_url); echo '</div>'; } *************** *** 197,202 **** // Pull out each time foreach ($new_val as $new_key2 => $new_val2) { ! $event_calno = $new_val2['calnumber']; ! $event_calna = $new_val2['calname']; if ($new_val2["event_text"]) { --- 200,206 ---- // Pull out each time foreach ($new_val as $new_key2 => $new_val2) { ! $event_calno = $new_val2['calnumber']; ! $event_calna = $new_val2['calname']; ! $event_url = $new_val2['url']; if ($new_val2["event_text"]) { *************** *** 229,233 **** "<font class=\"G10B\">", "</font>", ! "psf"); echo "</td>\n"; echo "</tr>\n"; --- 233,238 ---- "<font class=\"G10B\">", "</font>", ! "psf", ! $event_url); echo "</td>\n"; echo "</tr>\n"; Index: week.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/week.php,v retrieving revision 1.102 retrieving revision 1.103 diff -C2 -d -r1.102 -r1.103 *** week.php 19 Nov 2003 07:54:09 -0000 1.102 --- week.php 20 Nov 2003 05:18:38 -0000 1.103 *************** *** 165,168 **** --- 165,169 ---- $event_calno = $allday['calnumber']; $event_calna = $allday['calname']; + $event_url = $allday['url']; if ($event_calno < 1) $event_calno=1; if ($event_calno > 7) $event_calno=7; *************** *** 176,180 **** '<font color="#ffffff">', "</font>", ! "psf"); echo "</td></tr>\n"; } --- 177,182 ---- '<font color="#ffffff">', "</font>", ! "psf", ! $event_url); echo "</td></tr>\n"; } *************** *** 186,192 **** } while ($i < 7); echo "</tr>\n"; ! } ! // $master_array[($getdate)]["$day_time"] ! $thisdate = $start_week_time; for ($i=0;$i<7;$i++) { --- 188,192 ---- } while ($i < 7); echo "</tr>\n"; ! } $thisdate = $start_week_time; for ($i=0;$i<7;$i++) { *************** *** 309,313 **** $event_end = date ($timeFormat, $event_end); ! $event_calna = $this_time_arr[($event_length[$thisday][$i]["key"])]['calname']; openevent("$event_calna", "$event_start", --- 309,314 ---- $event_end = date ($timeFormat, $event_end); ! $event_calna = $this_time_arr[($event_length[$thisday][$i]["key"])]['calname']; ! $event_url = $this_time_arr[($event_length[$thisday][$i]["key"])]['url']; openevent("$event_calna", "$event_start", *************** *** 318,322 **** "<font class=\"V10W\">", "</font>", ! "psf"); echo "</td></tr>\n"; echo "</table>\n"; --- 319,324 ---- "<font class=\"V10W\">", "</font>", ! "psf", ! $event_url); echo "</td></tr>\n"; echo "</table>\n"; |
From: <cl...@us...> - 2003-11-20 00:13:51
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv19761/functions Modified Files: ical_parser.php init.inc.php Log Message: URL Support added to the parser. Added test calendar. Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.130 retrieving revision 1.131 diff -C2 -d -r1.130 -r1.131 *** ical_parser.php 19 Nov 2003 07:54:09 -0000 1.130 --- ical_parser.php 20 Nov 2003 00:13:08 -0000 1.131 *************** *** 94,98 **** $start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, ! $beginning, $rrule_array, $start_of_vevent, $description, $bd, $valarm_description, $start_unixtime, $end_unixtime, $display_end_tmp, $end_time_tmp1, $recurrence_id, $uid, $class, $location, $rrule, $abs_until, $until_check --- 94,98 ---- $start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, ! $beginning, $rrule_array, $start_of_vevent, $description, $bd, $url, $valarm_description, $start_unixtime, $end_unixtime, $display_end_tmp, $end_time_tmp1, $recurrence_id, $uid, $class, $location, $rrule, $abs_until, $until_check *************** *** 257,261 **** } $nbrOfOverlaps = checkOverlap($start_date_tmp, $start_time_tmp, $end_time_tmp, $uid); ! $master_array[$start_date_tmp][$time_tmp][$uid] = array ('event_start' => $start_time_tmp, 'event_end' => $end_time_tmp, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime, 'end_unixtime' => $end_unixtime, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => true, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber, 'calname' => $actual_calname ); $start_tmp = strtotime('+1 day',$start_tmp); } --- 257,261 ---- } $nbrOfOverlaps = checkOverlap($start_date_tmp, $start_time_tmp, $end_time_tmp, $uid); ! $master_array[$start_date_tmp][$time_tmp][$uid] = array ('event_start' => $start_time_tmp, 'event_end' => $end_time_tmp, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime, 'end_unixtime' => $end_unixtime, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => true, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber, 'calname' => $actual_calname, 'url' => $url ); $start_tmp = strtotime('+1 day',$start_tmp); } *************** *** 272,276 **** if (!in_array($start_date, $except_dates)) { $nbrOfOverlaps = checkOverlap($start_date, $start_time, $end_time_tmp1, $uid); ! $master_array[($start_date)][($hour.$minute)][$uid] = array ('event_start' => $start_time, 'event_end' => $end_time_tmp1, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime, 'end_unixtime' => $end_unixtime, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => false, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber, 'calname' => $actual_calname ); if (!$write_processed) $master_array[($start_date)][($hour.$minute)][$uid]['exception'] = true; } --- 272,276 ---- if (!in_array($start_date, $except_dates)) { $nbrOfOverlaps = checkOverlap($start_date, $start_time, $end_time_tmp1, $uid); ! $master_array[($start_date)][($hour.$minute)][$uid] = array ('event_start' => $start_time, 'event_end' => $end_time_tmp1, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime, 'end_unixtime' => $end_unixtime, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => false, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber, 'calname' => $actual_calname, 'url' => $url ); if (!$write_processed) $master_array[($start_date)][($hour.$minute)][$uid]['exception'] = true; } *************** *** 574,578 **** while ($start_time2 < $end_time2) { $start_date2 = date('Ymd', $start_time2); ! $master_array[($start_date2)][('-1')][]= array ('event_text' => $summary, 'description' => $description, 'calnumber' => $calnumber, 'calname' => $actual_calname ); $start_time2 = strtotime('+1 day', $start_time2); } --- 574,578 ---- while ($start_time2 < $end_time2) { $start_date2 = date('Ymd', $start_time2); ! $master_array[($start_date2)][('-1')][]= array ('event_text' => $summary, 'description' => $description, 'calnumber' => $calnumber, 'calname' => $actual_calname, 'url' => $url ); $start_time2 = strtotime('+1 day', $start_time2); } *************** *** 599,603 **** } $nbrOfOverlaps = checkOverlap($start_date_tmp, $start_time_tmp, $end_time_tmp, $uid); ! $master_array[$start_date_tmp][$time_tmp][$uid] = array ('event_start' => $start_time_tmp, 'event_end' => $end_time_tmp, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime_tmp, 'end_unixtime' => $end_unixtime_tmp, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => true, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber, 'calname' => $actual_calname); $start_tmp = strtotime('+1 day',$start_tmp); } --- 599,603 ---- } $nbrOfOverlaps = checkOverlap($start_date_tmp, $start_time_tmp, $end_time_tmp, $uid); ! $master_array[$start_date_tmp][$time_tmp][$uid] = array ('event_start' => $start_time_tmp, 'event_end' => $end_time_tmp, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime_tmp, 'end_unixtime' => $end_unixtime_tmp, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => true, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber, 'calname' => $actual_calname, 'url' => $url) ; $start_tmp = strtotime('+1 day',$start_tmp); } *************** *** 614,618 **** if ($abs_until > $until_check) { $nbrOfOverlaps = checkOverlap($recur_data_date, $start_time, $end_time_tmp1, $uid); ! $master_array[($recur_data_date)][($hour.$minute)][$uid] = array ('event_start' => $start_time, 'event_end' => $end_time_tmp1, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime_tmp, 'end_unixtime' => $end_unixtime_tmp, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => false, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber, 'calname' => $actual_calname); } } --- 614,618 ---- if ($abs_until > $until_check) { $nbrOfOverlaps = checkOverlap($recur_data_date, $start_time, $end_time_tmp1, $uid); ! $master_array[($recur_data_date)][($hour.$minute)][$uid] = array ('event_start' => $start_time, 'event_end' => $end_time_tmp1, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime_tmp, 'end_unixtime' => $end_unixtime_tmp, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => false, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber, 'calname' => $actual_calname, 'url' => $url); } } *************** *** 782,792 **** case 'STATUS': - // VEVENT: TENTATIVE, CONFIRMED, CANCELLED - // VTODO: NEEDS-ACTION, COMPLETED, IN-PROCESS, CANCELLED $status = "$data"; break; case 'CLASS': - // VEVENT, VTODO: PUBLIC, PRIVATE, CONFIDENTIAL $class = "$data"; break; --- 782,789 ---- *************** *** 989,995 **** $seconds = ereg_replace('S', '', $duration[6]); $the_duration = ($weeks * 60 * 60 * 24 * 7) + ($days * 60 * 60 * 24) + ($hours * 60 * 60) + ($minutes * 60) + ($seconds); - // Do this in the END:VEVENT now so that it doesn't have to come after DTSTART - //$end_unixtime = $start_unixtime + $the_duration; - //$end_time = date ('Hi', $end_unixtime); $first_duration = FALSE; } --- 986,989 ---- *************** *** 1017,1020 **** --- 1011,1017 ---- case 'LOCATION': $location = $data; + break; + case 'URL': + $url = $data; break; } Index: init.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init.inc.php,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** init.inc.php 19 Nov 2003 07:54:09 -0000 1.42 --- init.inc.php 20 Nov 2003 00:13:08 -0000 1.43 *************** *** 7,11 **** // uncomment when developing, comment for shipping version ! error_reporting (E_ALL); $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'; --- 7,11 ---- // uncomment when developing, comment for shipping version ! error_reporting (0); $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'; |
From: <cl...@us...> - 2003-11-20 00:13:51
|
Update of /cvsroot/phpicalendar/phpicalendar/calendars In directory sc8-pr-cvs1:/tmp/cvs-serv19761/calendars Added Files: URL Test.ics Log Message: URL Support added to the parser. Added test calendar. --- NEW FILE: URL Test.ics --- BEGIN:VCALENDAR VERSION:2.0 X-WR-CALNAME:URL Test PRODID:-//Apple Computer\, Inc//iCal 1.5//EN X-WR-RELCALID:6B0B6852-1AEC-11D8-B346-000A95690022 X-WR-TIMEZONE:US/Pacific CALSCALE:GREGORIAN METHOD:PUBLISH BEGIN:VTIMEZONE TZID:US/Pacific LAST-MODIFIED:20031119T235931Z BEGIN:STANDARD DTSTART:20031026T090000 TZOFFSETTO:-0800 TZOFFSETFROM:+0000 TZNAME:PST END:STANDARD BEGIN:DAYLIGHT DTSTART:20040404T010000 TZOFFSETTO:-0700 TZOFFSETFROM:-0800 TZNAME:PDT END:DAYLIGHT END:VTIMEZONE BEGIN:VEVENT DURATION:PT1H DTSTAMP:20031119T235918Z LOCATION:At the Yaya house UID:6B0B640A-1AEC-11D8-B346-000A95690022 SEQUENCE:4 URL;VALUE=URI:http://www.yaha.com DTSTART;TZID=US/Pacific:20031119T160000 SUMMARY:This event has a URL attached to it DESCRIPTION:These are the event notes. RRULE:FREQ=WEEKLY;INTERVAL=1;COUNT=4 END:VEVENT END:VCALENDAR |
From: <cl...@us...> - 2003-11-19 22:57:52
|
Update of /cvsroot/phpicalendar/phpicalendar/languages In directory sc8-pr-cvs1:/tmp/cvs-serv5277/languages Modified Files: norwegian.inc.php Log Message: 0.9.5 Index: norwegian.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/languages/norwegian.inc.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** norwegian.inc.php 13 Nov 2003 17:33:23 -0000 1.25 --- norwegian.inc.php 19 Nov 2003 22:57:08 -0000 1.26 *************** *** 1,197 **** ! <?php ! ! // Norwegian language include ! // For version 0.9.2 PHP iCalendar ! // ! // Translation by Geir Kielland (gei...@ju...) ! // ! // Submit new translations to ch...@ch... ! ! $day_lang = 'Dag'; ! $week_lang = 'Uke'; ! $month_lang = 'Måned'; ! $year_lang = 'år'; ! $calendar_lang = 'kalender'; ! $next_day_lang = 'Neste dag'; ! $next_month_lang = 'Neste måned'; ! $next_week_lang = 'Neste uke'; ! $next_year_lang = 'Neste år'; ! $last_day_lang = 'Forrige dag'; ! $last_month_lang = 'Forrige måned'; ! $last_week_lang = 'Forrige uke'; ! $last_year_lang = 'Forrige år'; ! $subscribe_lang = 'Abonnér'; ! $download_lang = 'Last ned'; ! $powered_by_lang = 'Kjøres med'; ! $event_lang = 'Hendelse'; ! $event_start_lang = 'Start tid'; ! $event_end_lang = 'Slutt tid'; ! $this_months_lang = 'Denne Månedens Hendelser'; ! $date_lang = 'Dato'; ! $summary_lang = 'Sammendrag'; ! $all_day_lang = 'Hele dagen'; ! $notes_lang = 'Notater'; ! $this_years_lang = 'Hendelser dette året'; ! $today_lang = 'I dag'; ! $this_week_lang = 'Denne uken'; ! $this_month_lang = 'Denne måneden'; ! $jump_lang = 'Hopp til'; ! $tomorrows_lang = 'I morgen'; ! $goday_lang = 'Gå til i dag'; ! $goweek_lang = 'Gå til denne uken'; ! $gomonth_lang = 'Gå til denne måneden'; ! $goyear_lang = 'Gå til dette året'; ! $search_lang = 'Søk'; // the verb ! $results_lang = 'Søkeresultater'; ! $query_lang = 'Spørring: '; // will be followed by the search query ! $no_results_lang = 'Ingen hendelser funnet'; ! $goprint_lang = 'Utskriftsvennlig'; ! $time_lang = 'Tid'; ! $summary_lang = 'Oppsummering'; ! $description_lang = 'Beskrivelse'; ! $this_site_is_lang = 'Dette nettstedet er'; ! $no_events_day_lang = 'Ingen hendelser i dag.'; $no_events_week_lang = 'Ingen hendelser denne uken.'; ! $no_events_month_lang = 'Ingen hendelser denne måneden.'; ! $rss_day_date = 'g:i A'; // Lists just the time ! $rss_week_date = '%b %e'; // Lists just the day ! $rss_month_date = '%b %e'; // Lists just the day ! $search_took_lang = 'Søket tok %s sekunder'; ! $recurring_event_lang = 'Repeterende hendelse'; ! $exception_lang = 'Unntak'; $no_query_lang = 'Ingen forespørsel gitt'; ! $preferences_lang = 'Valg'; ! $printer_lang = 'Skriver'; ! $select_lang_lang = 'Velg ditt foretrukne språk:'; ! $select_cal_lang = 'Velg din foretrukne kalender:'; ! $select_view_lang = 'Velg din foretrukne visning:'; ! $select_time_lang = 'Velg din foretrukne starttid:'; ! $select_day_lang = 'Velg din foretrukne første dag i kalenderuken:'; ! $select_style_lang = 'Velg din foretrukne stil:'; ! $set_prefs_lang = 'Lagre valg'; ! $completed_date_lang = 'Ferdig på'; ! $completed_lang = 'Ferdig'; ! $created_lang = 'Opprettet:'; ! $due_lang = 'Forfaller:'; ! $priority_lang = 'Prioritet:'; ! $priority_high_lang = 'Høy'; ! $priority_low_lang = 'Lav'; ! $priority_medium_lang = 'Middels'; ! $priority_none_lang = 'Ingen'; ! $status_lang = 'Status:'; ! $todo_lang = 'Gjøremålsliste'; ! $unfinished_lang = 'Uferdig'; ! $prefs_set_lang = 'Dine valg er satt.'; ! $prefs_unset_lang = 'Valgene er tilbakestilt. Endringene vil vises neste gang siden lastes.'; ! $unset_prefs_lang = 'Tilbakestill valgene:'; ! $organizer_lang = 'Organisator'; ! $attendee_lang = 'Deltaker'; ! $status_lang = 'Status'; ! $location_lang = 'Sted'; $admin_header_lang = 'PHP iCalendar Administrasjon'; ! $username_lang = 'Brukernavn'; ! $password_lang = 'Passord'; ! $login_lang = 'Login'; ! $invalid_login_lang = 'Feil brukernavn eller passord.'; ! $addupdate_cal_lang = 'Legg til eller oppdater en kalender'; ! $addupdate_desc_lang = 'Legg til en kalender ved å laste opp en ny fil. Oppdater en kalender ved å laste opp en fil med samme navn.'; ! $delete_cal_lang = 'Slett en kalender'; ! $logout_lang = 'Logg ut'; ! $cal_file_lang = 'Kalender fil'; ! $php_error_lang = 'PHP-feil'; ! $upload_error_gen_lang = 'Det var et problem med din opplasting.'; ! $upload_error_lang[0] = 'Det var et problem med din opplasting.'; ! $upload_error_lang[1] = 'Filen du laster opp er for stor.'; ! $upload_error_lang[2] = 'Filen du laster opp er for stor.'; ! $upload_error_lang[3] = 'Filen du prøer lasste opp ble bare delvis lastet.'; ! $upload_error_lang[4] = 'Du må velge en fil å laste opp.'; ! $upload_error_type_lang = 'Kun .ics filer kan lastes opp.'; ! $copy_error_lang = 'Feil ved kopiering av fil'; ! $delete_error_lang = 'Feil ved ssletting av fil'; ! $delete_success_lang = 'ble slettet.'; $action_success_lang = 'Din handling ble utført.'; ! $submit_lang = 'Legg inn'; ! $delete_lang = 'Slett'; ! ! // ----- New for 0.9.5 ! $all_cal_comb_lang = 'All calendars combined'; ! ! // - navigation ! $back_lang = 'Tilbake'; ! $next_lang = 'Neste'; ! $prev_lang = 'Forrige'; ! $day_view_lang = 'Dagvisning'; ! $week_view_lang = 'Ukesvisning'; ! $month_view_lang = 'Månedsvisning'; ! $year_view_lang = 'Årvisning'; ! ! // --------------------------------- ! ! // $format_recur, items enclosed in % will be substituted with variables ! $format_recur_lang['delimiter'] = ', '; // ie, 'one, two, three' ! ! $format_recur_lang['yearly'] = array('år','årlig'); // for these, put singular ! $format_recur_lang['monthly'] = array('måned','måneder'); // and plural forms ! $format_recur_lang['weekly'] = array('uke','uker'); // these will be %freq% ! $format_recur_lang['daily'] = array('dag','dager'); // in the replacement below $format_recur_lang['hourly'] = array('time','timer'); $format_recur_lang['minutely'] = array('minutt','minutter'); ! $format_recur_lang['secondly'] = array('sekund','sekunder'); ! ! $format_recur_lang['start'] = 'Hver %int% %freq% %for%'; // ie, 'Every 1 day until January 4' or 'Every 1 day for a count of 5' ! $format_recur_lang['until'] = 'til %date%'; // ie, 'until January 4' ! $format_recur_lang['count'] = 'for et antall av %int%'; // ie, 'for 5 times' ! ! $format_recur_lang['bymonth'] = 'I mneder: %list%'; // ie, 'In months: January, February, March' ! $format_recur_lang['bymonthday'] = 'P datoene: %list%'; // ie, 'On dates: 1, 2, 3, 4' ! $format_recur_lang['byday'] = 'P dagene: %list%'; // ie, 'On days: Mon, Tues, Wed, Thurs' ! ! // --------------------------------- ! ! $daysofweek_lang = array('Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'); ! $daysofweekshort_lang = array ('Søn','Man','Tir','Ons','Tor','Fre','Lør'); ! $daysofweekreallyshort_lang = array ('S','M','T','O','T','F','L'); ! $monthsofyear_lang = array ('Januar','Februar','Mars','April','Mai','Juni','Juli','August','September','Oktober','November','Desember'); ! $monthsofyearshort_lang = array ('Jan','Feb','Mar','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Des'); ! ! ! // For time formatting, check out: http://www.php.net/manual/en/function.date.php ! $timeFormat = 'H:i'; ! $timeFormat_small = 'H:i'; ! ! // For date formatting, see note below ! $dateFormat_day = '%A, %e. %B '; ! $dateFormat_week = '%e. %B'; ! $dateFormat_week_list = '%a, %e. %b'; ! $dateFormat_week_jump = '%b %e'; ! $dateFormat_month = '%B %Y'; ! $dateFormat_month_list = '%A, %e. %B'; ! ! /* ! Notes about dateFormat_* ! The pieces are similar to that of the PHP function strftime(), ! however only the following is supported at this time: ! ! %A - the full week day name as specified in $daysofweek_lang ! %a - the shortened week day name as specified in $daysofweekshort_lang ! %B - the full month name as specified in $monthsofyear_lang ! %b - the shortened month name as specified in $monthsofyearshort_lang ! %e - the day of the month as a decimal number (1 to 31) ! %Y - the 4-digit year ! ! If this causes problems with representing your language accurately, let ! us know. We will be happy to modify this if needed. ! */ ! ! // Error messages - %s will be replaced with a variable ! $error_title_lang = 'Feil!'; ! $error_window_lang = 'Det skjedde en feil!'; ! $error_calendar_lang = 'Kalenderen "%s" var i bruk når denne feilen oppstod.'; ! $error_path_lang = 'Kunne ikke åpne adressen: "%s"'; ! $error_back_lang = 'Vennligst bruk "Tilbake" knappen for å returnere.'; ! $error_remotecal_lang = 'Denne tjenermaskinen blokkerer ikke-lokale kalendere uten godkjenning.'; ! $error_restrictedcal_lang = 'Du har prøvd å åpne en kalender som er sperret på denne tjenermaskinen.'; ! $error_invalidcal_lang = 'Ugyldig kalenderfil. Vennligst prøv en annen kalenderfil.'; ! ! ! ?> --- 1,197 ---- ! <?php ! ! // Norwegian language include ! // For version 0.9.5 PHP iCalendar ! // ! // Translation by Geir Kielland (kie...@ma...) ! // ! // Submit new translations to ch...@ch... ! ! $day_lang = 'Dag'; ! $week_lang = 'Uke'; ! $month_lang = 'Måned'; ! $year_lang = 'år'; ! $calendar_lang = 'kalender'; ! $next_day_lang = 'Neste dag'; ! $next_month_lang = 'Neste måned'; ! $next_week_lang = 'Neste uke'; ! $next_year_lang = 'Neste år'; ! $last_day_lang = 'Forrige dag'; ! $last_month_lang = 'Forrige måned'; ! $last_week_lang = 'Forrige uke'; ! $last_year_lang = 'Forrige år'; ! $subscribe_lang = 'Abonnér'; ! $download_lang = 'Last ned'; ! $powered_by_lang = 'Kjøres med'; ! $event_lang = 'Hendelse'; ! $event_start_lang = 'Start tid'; ! $event_end_lang = 'Slutt tid'; ! $this_months_lang = 'Denne Månedens Hendelser'; ! $date_lang = 'Dato'; ! $summary_lang = 'Sammendrag'; ! $all_day_lang = 'Hele dagen'; ! $notes_lang = 'Notater'; ! $this_years_lang = 'Hendelser dette året'; ! $today_lang = 'I dag'; ! $this_week_lang = 'Denne uken'; ! $this_month_lang = 'Denne måneden'; ! $jump_lang = 'Hopp til'; ! $tomorrows_lang = 'I morgen'; ! $goday_lang = 'Gå til i dag'; ! $goweek_lang = 'Gå til denne uken'; ! $gomonth_lang = 'Gå til denne måneden'; ! $goyear_lang = 'Gå til dette året'; ! $search_lang = 'Søk'; // the verb ! $results_lang = 'Søkeresultater'; ! $query_lang = 'Spørring: '; // will be followed by the search query ! $no_results_lang = 'Ingen hendelser funnet'; ! $goprint_lang = 'Utskriftsvennlig'; ! $time_lang = 'Tid'; ! $summary_lang = 'Oppsummering'; ! $description_lang = 'Beskrivelse'; ! $this_site_is_lang = 'Dette nettstedet er'; ! $no_events_day_lang = 'Ingen hendelser i dag.'; $no_events_week_lang = 'Ingen hendelser denne uken.'; ! $no_events_month_lang = 'Ingen hendelser denne måneden.'; ! $rss_day_date = 'g:i A'; // Lists just the time ! $rss_week_date = '%b %e'; // Lists just the day ! $rss_month_date = '%b %e'; // Lists just the day ! $search_took_lang = 'Søket tok %s sekunder'; ! $recurring_event_lang = 'Repeterende hendelse'; ! $exception_lang = 'Unntak'; $no_query_lang = 'Ingen forespørsel gitt'; ! $preferences_lang = 'Valg'; ! $printer_lang = 'Skriver'; ! $select_lang_lang = 'Velg ditt foretrukne språk:'; ! $select_cal_lang = 'Velg din foretrukne kalender:'; ! $select_view_lang = 'Velg din foretrukne visning:'; ! $select_time_lang = 'Velg din foretrukne starttid:'; ! $select_day_lang = 'Velg din foretrukne første dag i kalenderuken:'; ! $select_style_lang = 'Velg din foretrukne stil:'; ! $set_prefs_lang = 'Lagre valg'; ! $completed_date_lang = 'Ferdig på'; ! $completed_lang = 'Ferdig'; ! $created_lang = 'Opprettet:'; ! $due_lang = 'Forfaller:'; ! $priority_lang = 'Prioritet:'; ! $priority_high_lang = 'Høy'; ! $priority_low_lang = 'Lav'; ! $priority_medium_lang = 'Middels'; ! $priority_none_lang = 'Ingen'; ! $status_lang = 'Status:'; ! $todo_lang = 'Gjøremålsliste'; ! $unfinished_lang = 'Uferdig'; ! $prefs_set_lang = 'Dine valg er satt.'; ! $prefs_unset_lang = 'Valgene er tilbakestilt. Endringene vil vises neste gang siden lastes.'; ! $unset_prefs_lang = 'Tilbakestill valgene:'; ! $organizer_lang = 'Organisator'; ! $attendee_lang = 'Deltaker'; ! $status_lang = 'Status'; ! $location_lang = 'Sted'; $admin_header_lang = 'PHP iCalendar Administrasjon'; ! $username_lang = 'Brukernavn'; ! $password_lang = 'Passord'; ! $login_lang = 'Login'; ! $invalid_login_lang = 'Feil brukernavn eller passord.'; ! $addupdate_cal_lang = 'Legg til eller oppdater en kalender'; ! $addupdate_desc_lang = 'Legg til en kalender ved å laste opp en ny fil. Oppdater en kalender ved å laste opp en fil med samme navn.'; ! $delete_cal_lang = 'Slett en kalender'; ! $logout_lang = 'Logg ut'; ! $cal_file_lang = 'Kalender fil'; ! $php_error_lang = 'PHP-feil'; ! $upload_error_gen_lang = 'Det var et problem med din opplasting.'; ! $upload_error_lang[0] = 'Det var et problem med din opplasting.'; ! $upload_error_lang[1] = 'Filen du laster opp er for stor.'; ! $upload_error_lang[2] = 'Filen du laster opp er for stor.'; ! $upload_error_lang[3] = 'Filen du prøer lasste opp ble bare delvis lastet.'; ! $upload_error_lang[4] = 'Du må velge en fil å laste opp.'; ! $upload_error_type_lang = 'Kun .ics filer kan lastes opp.'; ! $copy_error_lang = 'Feil ved kopiering av fil'; ! $delete_error_lang = 'Feil ved ssletting av fil'; ! $delete_success_lang = 'ble slettet.'; $action_success_lang = 'Din handling ble utført.'; ! $submit_lang = 'Legg inn'; ! $delete_lang = 'Slett'; ! ! // ----- New for 0.9.5 ! $all_cal_comb_lang = 'Alle kalenderne samlet'; ! ! // - navigation ! $back_lang = 'Tilbake'; ! $next_lang = 'Neste'; ! $prev_lang = 'Forrige'; ! $day_view_lang = 'Dagvisning'; ! $week_view_lang = 'Ukesvisning'; ! $month_view_lang = 'Månedsvisning'; ! $year_view_lang = 'Årvisning'; ! ! // --------------------------------- ! ! // $format_recur, items enclosed in % will be substituted with variables ! $format_recur_lang['delimiter'] = ', '; // ie, 'one, two, three' ! ! $format_recur_lang['yearly'] = array('år','årlig'); // for these, put singular ! $format_recur_lang['monthly'] = array('måned','måneder'); // and plural forms ! $format_recur_lang['weekly'] = array('uke','uker'); // these will be %freq% ! $format_recur_lang['daily'] = array('dag','dager'); // in the replacement below $format_recur_lang['hourly'] = array('time','timer'); $format_recur_lang['minutely'] = array('minutt','minutter'); ! $format_recur_lang['secondly'] = array('sekund','sekunder'); ! ! $format_recur_lang['start'] = 'Hver %int% %freq% %for%'; // ie, 'Every 1 day until January 4' or 'Every 1 day for a count of 5' ! $format_recur_lang['until'] = 'til %date%'; // ie, 'until January 4' ! $format_recur_lang['count'] = 'for et antall av %int%'; // ie, 'for 5 times' ! ! $format_recur_lang['bymonth'] = 'I mneder: %list%'; // ie, 'In months: January, February, March' ! $format_recur_lang['bymonthday'] = 'P datoene: %list%'; // ie, 'On dates: 1, 2, 3, 4' ! $format_recur_lang['byday'] = 'P dagene: %list%'; // ie, 'On days: Mon, Tues, Wed, Thurs' ! ! // --------------------------------- ! ! $daysofweek_lang = array('Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'); ! $daysofweekshort_lang = array ('Søn','Man','Tir','Ons','Tor','Fre','Lør'); ! $daysofweekreallyshort_lang = array ('S','M','T','O','T','F','L'); ! $monthsofyear_lang = array ('Januar','Februar','Mars','April','Mai','Juni','Juli','August','September','Oktober','November','Desember'); ! $monthsofyearshort_lang = array ('Jan','Feb','Mar','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Des'); ! ! ! // For time formatting, check out: http://www.php.net/manual/en/function.date.php ! $timeFormat = 'H:i'; ! $timeFormat_small = 'H:i'; ! ! // For date formatting, see note below ! $dateFormat_day = '%A, %e. %B '; ! $dateFormat_week = '%e. %B'; ! $dateFormat_week_list = '%a, %e. %b'; ! $dateFormat_week_jump = '%b %e'; ! $dateFormat_month = '%B %Y'; ! $dateFormat_month_list = '%A, %e. %B'; ! ! /* ! Notes about dateFormat_* ! The pieces are similar to that of the PHP function strftime(), ! however only the following is supported at this time: ! ! %A - the full week day name as specified in $daysofweek_lang ! %a - the shortened week day name as specified in $daysofweekshort_lang ! %B - the full month name as specified in $monthsofyear_lang ! %b - the shortened month name as specified in $monthsofyearshort_lang ! %e - the day of the month as a decimal number (1 to 31) ! %Y - the 4-digit year ! ! If this causes problems with representing your language accurately, let ! us know. We will be happy to modify this if needed. ! */ ! ! // Error messages - %s will be replaced with a variable ! $error_title_lang = 'Feil!'; ! $error_window_lang = 'Det skjedde en feil!'; ! $error_calendar_lang = 'Kalenderen "%s" var i bruk når denne feilen oppstod.'; ! $error_path_lang = 'Kunne ikke åpne adressen: "%s"'; ! $error_back_lang = 'Vennligst bruk "Tilbake" knappen for å returnere.'; ! $error_remotecal_lang = 'Denne tjenermaskinen blokkerer ikke-lokale kalendere uten godkjenning.'; ! $error_restrictedcal_lang = 'Du har prøvd å åpne en kalender som er sperret på denne tjenermaskinen.'; ! $error_invalidcal_lang = 'Ugyldig kalenderfil. Vennligst prøv en annen kalenderfil.'; ! ! ! ?> |
From: <cl...@us...> - 2003-11-19 22:17:28
|
Update of /cvsroot/phpicalendar/phpicalendar/calendars In directory sc8-pr-cvs1:/tmp/cvs-serv29890 Modified Files: publish.php Log Message: Changed line endings to UNIX. Index: publish.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/calendars/publish.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** publish.php 13 Nov 2003 17:34:48 -0000 1.1 --- publish.php 19 Nov 2003 22:17:24 -0000 1.2 *************** *** 1 **** ! <?php /* Extension to PHP iCalendar for supporting publishing from Apple iCal Date: 11.12.2003 Author: Dietrich Ayala Copyright 2003 Dietrich Ayala Description: This allows iCal to publish to your PHP iCalendar site *without* WebDAV support. This helps with commercial hosts where WebDAV is not available. Features: - supports publishing and deleting calendars - does not require WebDAV Installation: 1. place this file in your PHP iCalendar calendars directory (or anywhere else) 2. configure path to PHP iCalendar config file (below) 3. make sure that PHP has write access to the calendars directory (or whatever you set $calendar_path to) 4. set up directory security on your calendars directory Usage: 1. Open iCal, select a calendar for publishing 2. Select "Publish" from the "Calendar" menu 3. Configure to your liking, and set the URL to (eg): http://localhost/~dietricha/calendar/calendars/publish.php 4. Click the "Publish" button Security: The calendars directory should be configured to require authentication. This can be done via any methods supported by your webserver. There is much documentation available on the web for doing per-directory authentication for Apache. This protects any private calendar data, and prevents unauthorized users from updating or deleting your calendar data. There's also code below that forwards any GET requests to the PHP iCalendar front page. Troubleshooting: You can turn on logging by setting the PHPICALENDAR_LOG_PUBLISHING constant to 1 below. This will write out a log file to the same directory as this script. Don't forget to turn off logging when done!! */ // include PHP iCalendar configuration variables include('../config.inc.php'); // set calendar path, or just use current directory $calendar_path = (isset($calendar_path) && $calendar_path != '') ? $calendar_path : ''; // toggle logging define( 'PHPICALENDAR_LOG_PUBLISHING', 0 ); // viewing if($_SERVER['REQUEST_METHOD'] == 'GET') { header('Location: '.$default_path); return; } // unpublishing if($_SERVER['REQUEST_METHOD'] == 'DELETE') { // get calendar filename $calendar_file = $calendar_path.substr($_SERVER['REQUEST_URI'] , ( strrpos($_SERVER['REQUEST_URI'], '/') + 1) ) ; logmsg('received request to delete '.$calendar_file); // remove calendar file if(!unlink($calendar_file)) { logmsg('unable to delete the calendar file'); } else { logmsg('deleted'); } return; } // publishing if($_SERVER['REQUEST_METHOD'] == 'PUT') { // get calendar data $fp = fopen('php://input','r'); while(!feof($fp)) { $data .= fgets($fp,4096); } fclose($fp); if(isset($data)) { // get calendar name $cal_arr = explode("\n",$data); foreach($cal_arr as $k => $v) { if(strstr($v,'X-WR-CALNAME:')) { $arr = explode(':',$v); $calendar_name = trim($arr[1]); break; } } $calendar_name = isset($calendar_name) ? $calendar_name : 'default'; // write to file if($fp = fopen($calendar_path.$calendar_name.'.ics','w+')) { fputs($fp, $data, strlen($data) ); fclose($fp); } else { logmsg( 'couldnt open file '.$calendar_path.$calendar_name.'.ics' ); } } } // for logging function logmsg($str){ if(defined('PHPICALENDAR_LOG_PUBLISHING') && PHPICALENDAR_LOG_PUBLISHING == 1) { if($fp = fopen('publish_log.txt','a+')) { $str .= "\n"; fputs($fp, $str, strlen($str) ); fclose($fp); } } } ?> \ No newline at end of file --- 1,135 ---- ! <?php ! ! /* ! Extension to PHP iCalendar for supporting publishing from Apple iCal ! Date: 11.12.2003 ! Author: Dietrich Ayala ! Copyright 2003 Dietrich Ayala ! ! Description: ! This allows iCal to publish to your PHP iCalendar site *without* WebDAV support. ! This helps with commercial hosts where WebDAV is not available. ! ! Features: ! - supports publishing and deleting calendars ! - does not require WebDAV ! ! Installation: ! 1. place this file in your PHP iCalendar calendars directory (or anywhere else) ! 2. configure path to PHP iCalendar config file (below) ! 3. make sure that PHP has write access to the calendars directory (or whatever you set $calendar_path to) ! 4. set up directory security on your calendars directory ! ! Usage: ! 1. Open iCal, select a calendar for publishing ! 2. Select "Publish" from the "Calendar" menu ! 3. Configure to your liking, and set the URL to (eg): http://localhost/~dietricha/calendar/calendars/publish.php ! 4. Click the "Publish" button ! ! Security: ! The calendars directory should be configured to require authentication. This can be done via any methods ! supported by your webserver. There is much documentation available on the web for doing per-directory ! authentication for Apache. This protects any private calendar data, and prevents unauthorized users ! from updating or deleting your calendar data. ! There's also code below that forwards any GET requests to the PHP iCalendar front page. ! ! Troubleshooting: ! You can turn on logging by setting the PHPICALENDAR_LOG_PUBLISHING constant to 1 below. ! This will write out a log file to the same directory as this script. ! Don't forget to turn off logging when done!! ! ! */ ! ! // include PHP iCalendar configuration variables ! include('../config.inc.php'); ! ! // set calendar path, or just use current directory ! $calendar_path = (isset($calendar_path) && $calendar_path != '') ? $calendar_path : ''; ! ! // toggle logging ! define( 'PHPICALENDAR_LOG_PUBLISHING', 0 ); ! ! // viewing ! if($_SERVER['REQUEST_METHOD'] == 'GET') ! { ! header('Location: '.$default_path); ! return; ! } ! ! // unpublishing ! if($_SERVER['REQUEST_METHOD'] == 'DELETE') ! { ! // get calendar filename ! $calendar_file = $calendar_path.substr($_SERVER['REQUEST_URI'] , ( strrpos($_SERVER['REQUEST_URI'], '/') + 1) ) ; ! ! logmsg('received request to delete '.$calendar_file); ! ! // remove calendar file ! if(!unlink($calendar_file)) ! { ! logmsg('unable to delete the calendar file'); ! } ! else ! { ! logmsg('deleted'); ! } ! return; ! } ! ! // publishing ! if($_SERVER['REQUEST_METHOD'] == 'PUT') ! { ! // get calendar data ! $fp = fopen('php://input','r'); ! ! while(!feof($fp)) ! { ! $data .= fgets($fp,4096); ! } ! ! fclose($fp); ! ! if(isset($data)) ! { ! ! // get calendar name ! $cal_arr = explode("\n",$data); ! ! foreach($cal_arr as $k => $v) ! { ! if(strstr($v,'X-WR-CALNAME:')) ! { ! $arr = explode(':',$v); ! $calendar_name = trim($arr[1]); ! break; ! } ! } ! ! $calendar_name = isset($calendar_name) ? $calendar_name : 'default'; ! ! // write to file ! if($fp = fopen($calendar_path.$calendar_name.'.ics','w+')) ! { ! fputs($fp, $data, strlen($data) ); ! fclose($fp); ! } ! else ! { ! logmsg( 'couldnt open file '.$calendar_path.$calendar_name.'.ics' ); ! } ! } ! } ! ! // for logging ! function logmsg($str){ ! if(defined('PHPICALENDAR_LOG_PUBLISHING') && PHPICALENDAR_LOG_PUBLISHING == 1) ! { ! if($fp = fopen('publish_log.txt','a+')) ! { ! $str .= "\n"; ! fputs($fp, $str, strlen($str) ); ! fclose($fp); ! } ! } ! } ! ?> |
From: <cl...@us...> - 2003-11-19 07:56:51
|
Update of /cvsroot/phpicalendar/phpicalendar/calendars In directory sc8-pr-cvs1:/tmp/cvs-serv11850/calendars Removed Files: Work2.ics Log Message: --- Work2.ics DELETED --- |
From: <cl...@us...> - 2003-11-19 07:56:05
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv11762/functions Added Files: event.js Log Message: For new popup system. |
From: <cl...@us...> - 2003-11-19 07:54:13
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv11463/functions Modified Files: date_functions.php ical_parser.php init.inc.php Log Message: Checked in a new popup system. Also added calname to calendar for popup reference. Index: date_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/date_functions.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** date_functions.php 17 Sep 2003 19:23:30 -0000 1.16 --- date_functions.php 19 Nov 2003 07:54:09 -0000 1.17 *************** *** 161,212 **** } ! function openevent($cal, $st, $end, $arr, $lines, $wrap, $clic, $fclic, $class) { $event_text = stripslashes(urldecode($arr["event_text"])); # for iCal pseudo tag <http> comptability ! if (ereg("<([[:alpha:]]+://)([^<>[:space:]]+)>",$event_text,$reg)) { ! $ev = $reg[1] . $reg[2]; ! $event_text = $reg[2]; } else { ! $ev = $arr["event_text"]; $event_text = strip_tags($event_text, '<b><i><u>'); } if (isset($arr["organizer"])) { ! $organizer = urlencode(addslashes($arr["organizer"])); ! } else { ! $organizer = ''; } if (isset($arr["attendee"])) { ! $attendee = urlencode(addslashes($arr["attendee"])); ! } else { ! $attendee = ''; } if (isset($arr["location"])) { ! $location = $arr["location"]; ! } else { ! $location = ''; } if (isset($arr["status"])) { ! $status = $arr["status"]; ! } else { ! $status = ''; } ! if ($event_text != "") { ! if ($lines) $event_text = word_wrap($event_text, $wrap, $lines); ! $dsc = urlencode(addslashes($arr["description"])); ! echo '<a class="'.$class.'" href="'; ! if ((!(ereg("([[:alpha:]]+://[^<>[:space:]]+)", $ev, $res))) || ($dsc)) { ! echo "javascript:w=window.open('"; ! echo "includes/event.php?event="; ! echo urlencode(addslashes($ev)); ! echo "&cal="; ! echo urlencode(addslashes($cal)); ! echo "&start=$st&end=$end&description=$dsc&status=$status&location=$location&organizer=$organizer&attendee=$attendee"; ! echo "','Popup','"; ! echo "scrollbars=yes,width=460,height=275"; ! echo "');w.focus()"; } else { ! echo $res[1]; } ! echo '">'.$clic.$event_text.$fclic.'</a>'; } } --- 161,221 ---- } ! function openevent($calendar_name, $start, $end, $arr, $lines, $wrap, $pre_text, $post_text, $link_class) { $event_text = stripslashes(urldecode($arr["event_text"])); # for iCal pseudo tag <http> comptability ! if (ereg("<([[:alpha:]]+://)([^<>[:space:]]+)>",$event_text,$matches)) { ! $full_event_text = $matches[1] . $matches[2]; ! $event_text = $matches[2]; } else { ! $full_event_text = $event_text; $event_text = strip_tags($event_text, '<b><i><u>'); } + if (isset($arr["organizer"])) { ! $organizer = addslashes($arr["organizer"]); } + if (isset($arr["attendee"])) { ! $attendee = addslashes($arr["attendee"]); } + if (isset($arr["location"])) { ! $location = addslashes($arr["location"]); } + if (isset($arr["status"])) { ! $status = addslashes($arr["status"]); } ! ! if (isset($arr["description"])) { ! $description = addslashes(stripslashes(urldecode($arr["description"]))); ! } ! ! if (!empty($event_text)) { ! if ($lines > 0) { ! $event_text = word_wrap($event_text, $wrap, $lines); ! } ! ! if ((!(ereg("([[:alpha:]]+://[^<>[:space:]]+)", $full_event_text, $res))) || ($description)) { ! $escaped_event = addslashes($full_event_text); ! $escaped_calendar = addslashes($calendar_name); ! $escaped_start = addslashes($start); ! $escaped_end = addslashes($end); ! // fix for URL-length bug in IE: populate and submit a hidden form on click ! static $popup_data_index = 0; ! echo <<<END ! ! <script language="Javascript" type="text/javascript"><!-- ! var eventData = new EventData('$escaped_event', '$escaped_calendar', '$escaped_start', '$escaped_end', '$description', '$status', '$location', '$organizer', '$attendee'); ! document.popup_data[$popup_data_index] = eventData; ! // --></script> ! ! END; ! echo "<a class=\"$link_class\" href=\"#\" onclick=\"openEventWindow($popup_data_index);\">"; ! $popup_data_index++; } else { ! echo "<a class=\"$link_class\" href=\"{$res[1]}\">"; } ! echo "{$pre_text}{$event_text}{$post_text}</a>\n"; } } Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.129 retrieving revision 1.130 diff -C2 -d -r1.129 -r1.130 *** ical_parser.php 18 Nov 2003 19:43:13 -0000 1.129 --- ical_parser.php 19 Nov 2003 07:54:09 -0000 1.130 *************** *** 52,61 **** if ($parse_file) { - // some initializations, that have to be outside the calnumber loop - // auxiliary array for determining overlaps of events $overlap_array = array (); - - // using $uid to set specific points in array, if $uid is not in the - // .ics file, we need to have some unique place in the array $uid_counter = 0; } --- 52,56 ---- *************** *** 63,69 **** $calnumber = 1; foreach ($cal_filelist as $filename) { ! if ($parse_file) { - // patch to speed up parser $ifile = fopen($filename, "r"); --- 58,67 ---- $calnumber = 1; foreach ($cal_filelist as $filename) { ! ! // Find the real name of the calendar. ! $actual_calname = str_replace($calendar_path, '', $filename); ! $actual_calname = str_replace('/', '', str_replace('.ics', '', $actual_calname)); ! if ($parse_file) { $ifile = fopen($filename, "r"); *************** *** 232,236 **** while ($start != $end) { $start_date2 = date('Ymd', $start); ! $master_array[($start_date2)][('-1')][$uid]= array ('event_text' => $summary, 'description' => $description, 'calnumber' => $calnumber); $start = strtotime('+1 day', $start); } --- 230,234 ---- while ($start != $end) { $start_date2 = date('Ymd', $start); ! $master_array[($start_date2)][('-1')][$uid]= array ('event_text' => $summary, 'description' => $description, 'calnumber' => $calnumber, 'calname' => $actual_calname ); $start = strtotime('+1 day', $start); } *************** *** 259,263 **** } $nbrOfOverlaps = checkOverlap($start_date_tmp, $start_time_tmp, $end_time_tmp, $uid); ! $master_array[$start_date_tmp][$time_tmp][$uid] = array ('event_start' => $start_time_tmp, 'event_end' => $end_time_tmp, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime, 'end_unixtime' => $end_unixtime, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => true, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee) ); $start_tmp = strtotime('+1 day',$start_tmp); } --- 257,261 ---- } $nbrOfOverlaps = checkOverlap($start_date_tmp, $start_time_tmp, $end_time_tmp, $uid); ! $master_array[$start_date_tmp][$time_tmp][$uid] = array ('event_start' => $start_time_tmp, 'event_end' => $end_time_tmp, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime, 'end_unixtime' => $end_unixtime, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => true, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber, 'calname' => $actual_calname ); $start_tmp = strtotime('+1 day',$start_tmp); } *************** *** 274,278 **** if (!in_array($start_date, $except_dates)) { $nbrOfOverlaps = checkOverlap($start_date, $start_time, $end_time_tmp1, $uid); ! $master_array[($start_date)][($hour.$minute)][$uid] = array ('event_start' => $start_time, 'event_end' => $end_time_tmp1, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime, 'end_unixtime' => $end_unixtime, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => false, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber ); if (!$write_processed) $master_array[($start_date)][($hour.$minute)][$uid]['exception'] = true; } --- 272,276 ---- if (!in_array($start_date, $except_dates)) { $nbrOfOverlaps = checkOverlap($start_date, $start_time, $end_time_tmp1, $uid); ! $master_array[($start_date)][($hour.$minute)][$uid] = array ('event_start' => $start_time, 'event_end' => $end_time_tmp1, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime, 'end_unixtime' => $end_unixtime, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => false, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber, 'calname' => $actual_calname ); if (!$write_processed) $master_array[($start_date)][($hour.$minute)][$uid]['exception'] = true; } *************** *** 576,580 **** while ($start_time2 < $end_time2) { $start_date2 = date('Ymd', $start_time2); ! $master_array[($start_date2)][('-1')][]= array ('event_text' => $summary, 'description' => $description, 'calnumber' => $calnumber); $start_time2 = strtotime('+1 day', $start_time2); } --- 574,578 ---- while ($start_time2 < $end_time2) { $start_date2 = date('Ymd', $start_time2); ! $master_array[($start_date2)][('-1')][]= array ('event_text' => $summary, 'description' => $description, 'calnumber' => $calnumber, 'calname' => $actual_calname ); $start_time2 = strtotime('+1 day', $start_time2); } *************** *** 601,605 **** } $nbrOfOverlaps = checkOverlap($start_date_tmp, $start_time_tmp, $end_time_tmp, $uid); ! $master_array[$start_date_tmp][$time_tmp][$uid] = array ('event_start' => $start_time_tmp, 'event_end' => $end_time_tmp, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime_tmp, 'end_unixtime' => $end_unixtime_tmp, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => true, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber); $start_tmp = strtotime('+1 day',$start_tmp); } --- 599,603 ---- } $nbrOfOverlaps = checkOverlap($start_date_tmp, $start_time_tmp, $end_time_tmp, $uid); ! $master_array[$start_date_tmp][$time_tmp][$uid] = array ('event_start' => $start_time_tmp, 'event_end' => $end_time_tmp, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime_tmp, 'end_unixtime' => $end_unixtime_tmp, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => true, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber, 'calname' => $actual_calname); $start_tmp = strtotime('+1 day',$start_tmp); } *************** *** 616,620 **** if ($abs_until > $until_check) { $nbrOfOverlaps = checkOverlap($recur_data_date, $start_time, $end_time_tmp1, $uid); ! $master_array[($recur_data_date)][($hour.$minute)][$uid] = array ('event_start' => $start_time, 'event_end' => $end_time_tmp1, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime_tmp, 'end_unixtime' => $end_unixtime_tmp, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => false, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber); } } --- 614,618 ---- if ($abs_until > $until_check) { $nbrOfOverlaps = checkOverlap($recur_data_date, $start_time, $end_time_tmp1, $uid); ! $master_array[($recur_data_date)][($hour.$minute)][$uid] = array ('event_start' => $start_time, 'event_end' => $end_time_tmp1, 'display_end' => $display_end_tmp, 'start_unixtime' => $start_unixtime_tmp, 'end_unixtime' => $end_unixtime_tmp, 'event_text' => $summary, 'event_length' => $length, 'event_overlap' => $nbrOfOverlaps, 'description' => $description, 'status' => $status, 'class' => $class, 'spans_day' => false, 'location' => $location, 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber, 'calname' => $actual_calname); } } *************** *** 658,662 **** $vtodo_sort = $vtodo_priority; } ! $master_array['-2']["$vtodo_sort"]["$uid"] = array ('start_date' => $start_date, 'start_time' => $start_time, 'vtodo_text' => $summary, 'due_date'=> $due_date, 'due_time'=> $due_time, 'completed_date' => $completed_date, 'completed_time' => $completed_time, 'priority' => $vtodo_priority, 'status' => $status, 'class' => $class, 'categories' => $vtodo_categories, 'description' => $description); unset ($start_date, $start_time, $due_date, $due_time, $completed_date, $completed_time, $vtodo_priority, $status, $class, $vtodo_categories, $summary, $description); $vtodo_set = FALSE; --- 656,660 ---- $vtodo_sort = $vtodo_priority; } ! $master_array['-2']["$vtodo_sort"]["$uid"] = array ('start_date' => $start_date, 'start_time' => $start_time, 'vtodo_text' => $summary, 'due_date'=> $due_date, 'due_time'=> $due_time, 'completed_date' => $completed_date, 'completed_time' => $completed_time, 'priority' => $vtodo_priority, 'status' => $status, 'class' => $class, 'categories' => $vtodo_categories, 'description' => $description, 'calname' => $actual_calname); unset ($start_date, $start_time, $due_date, $due_time, $completed_date, $completed_time, $vtodo_priority, $status, $class, $vtodo_categories, $summary, $description); $vtodo_set = FALSE; Index: init.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init.inc.php,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** init.inc.php 14 Nov 2003 22:33:11 -0000 1.41 --- init.inc.php 19 Nov 2003 07:54:09 -0000 1.42 *************** *** 7,11 **** // uncomment when developing, comment for shipping version ! error_reporting (0); $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'; --- 7,11 ---- // uncomment when developing, comment for shipping version ! error_reporting (E_ALL); $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'; |
From: <cl...@us...> - 2003-11-19 07:54:13
|
Update of /cvsroot/phpicalendar/phpicalendar/calendars In directory sc8-pr-cvs1:/tmp/cvs-serv11463/calendars Added Files: Work2.ics Log Message: Checked in a new popup system. Also added calname to calendar for popup reference. --- NEW FILE: Work2.ics --- BEGIN:VCALENDAR CALSCALE:GREGORIAN X-WR-TIMEZONE;VALUE=TEXT:US/Eastern PRODID:-//Apple Computer\, Inc//iCal 1.0//EN X-WR-CALNAME;VALUE=TEXT:Work X-WR-RELCALID;VALUE=TEXT:BC80E9CA-95E9-11D7-9E51-000393DC6D68-CALP VERSION:2.0 BEGIN:VEVENT UID:7E65164C-9ABF-11D7-9114-000393DC6D68-RID EXDATE;TZID=US/Eastern:20030408T130000 EXDATE;TZID=US/Eastern:20030513T130000 EXDATE;TZID=US/Eastern:20030114T140000 EXDATE;TZID=US/Eastern:20030121T140000 EXDATE;TZID=US/Eastern:20030128T140000 EXDATE;TZID=US/Eastern:20030204T140000 EXDATE;TZID=US/Eastern:20030211T140000 EXDATE;TZID=US/Eastern:20030218T140000 EXDATE;TZID=US/Eastern:20030225T140000 EXDATE;TZID=US/Eastern:20030304T140000 EXDATE;TZID=US/Eastern:20030311T140000 EXDATE;TZID=US/Eastern:20030318T140000 EXDATE;TZID=US/Eastern:20030325T140000 EXDATE;TZID=US/Eastern:20030401T140000 EXDATE;TZID=US/Eastern:20030408T140000 EXDATE;TZID=US/Eastern:20030415T140000 EXDATE;TZID=US/Eastern:20030422T140000 EXDATE;TZID=US/Eastern:20030429T140000 EXDATE;TZID=US/Eastern:20030506T140000 EXDATE;TZID=US/Eastern:20030513T140000 EXDATE;TZID=US/Eastern:20030520T140000 EXDATE;TZID=US/Eastern:20030527T140000 EXDATE;TZID=US/Eastern:20030603T140000 EXDATE;TZID=US/Eastern:20030610T140000 EXDATE;TZID=US/Eastern:20030617T140000 EXDATE;TZID=US/Eastern:20030624T130000 EXDATE;TZID=US/Eastern:20030624T140000 EXDATE;TZID=US/Eastern:20030701T140000 EXDATE;TZID=US/Eastern:20030909T140000 EXDATE;TZID=US/Eastern:20030819T140000 EXDATE;TZID=US/Eastern:20030812T140000 EXDATE;TZID=US/Eastern:20030916T140000 EXDATE;TZID=US/Eastern:20030826T140000 EXDATE;TZID=US/Eastern:20030923T140000 EXDATE;TZID=US/Eastern:20030902T140000 EXDATE;TZID=US/Eastern:20030805T140000 EXDATE;TZID=US/Eastern:20030708T140000 EXDATE;TZID=US/Eastern:20030715T140000 EXDATE;TZID=US/Eastern:20030722T140000 EXDATE;TZID=US/Eastern:20030729T140000 SUMMARY:818 354-3434/ ext3344 DTSTART;TZID=US/Eastern:20030114T140000 DTSTAMP:20030905T165025Z DURATION:PT1H RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=TU END:VEVENT BEGIN:VEVENT UID:D9040425-RID EXDATE;TZID=US/Eastern:20030407T095000 EXDATE;TZID=US/Eastern:20020107T095000 EXDATE;TZID=US/Eastern:20020204T095000 EXDATE;TZID=US/Eastern:20020304T095000 EXDATE;TZID=US/Eastern:20020401T095000 EXDATE;TZID=US/Eastern:20020506T095000 EXDATE;TZID=US/Eastern:20020603T095000 EXDATE;TZID=US/Eastern:20020701T095000 EXDATE;TZID=US/Eastern:20020805T095000 EXDATE;TZID=US/Eastern:20020902T095000 EXDATE;TZID=US/Eastern:20021007T095000 EXDATE;TZID=US/Eastern:20021104T095000 EXDATE;TZID=US/Eastern:20021202T095000 EXDATE;TZID=US/Eastern:20030106T095000 EXDATE;TZID=US/Eastern:20030203T095000 EXDATE;TZID=US/Eastern:20030303T095000 EXDATE;TZID=US/Eastern:20030505T095000 EXDATE;TZID=US/Eastern:20030602T095000 EXDATE;TZID=US/Eastern:20030804T095000 EXDATE;TZID=US/Eastern:20030901T095000 EXDATE;TZID=US/Eastern:20030707T095000 SUMMARY:Water Aloe Plant DTSTART;TZID=US/Eastern:20020107T095000 DTSTAMP:20030819T222017Z DURATION:PT10M RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=1MO END:VEVENT BEGIN:VEVENT UID:D9040746-RID EXDATE;TZID=US/Eastern:20030729T080000 EXDATE;TZID=US/Eastern:20030730T080000 EXDATE;TZID=US/Eastern:20030728T080000 EXDATE;TZID=US/Eastern:20030730T184500 EXDATE;TZID=US/Eastern:20030731T080000 SUMMARY:12th US National Congress on Computational Mechanics DTSTART;TZID=US/Eastern:20030728T080000 DTSTAMP:20030902T175630Z DURATION:PT10H RRULE:FREQ=DAILY;UNTIL=20030731T120000;INTERVAL=1 END:VEVENT BEGIN:VEVENT EXDATE;TZID=US/Eastern:20010207T070000 EXDATE;TZID=US/Eastern:20010807T070000 EXDATE;TZID=US/Eastern:20020207T070000 EXDATE;TZID=US/Eastern:20020807T070000 EXDATE;TZID=US/Eastern:20030207T070000 EXDATE;TZID=US/Eastern:20030807T070000 UID:7E65035A-9ABF-11D7-9114-000393DC6D68-RID DTEND;TZID=US/Eastern:20010207T080000 SUMMARY:NSF due DTSTART;TZID=US/Eastern:20010207T070000 DTSTAMP:20030805T152708Z RRULE:FREQ=MONTHLY;INTERVAL=6 END:VEVENT BEGIN:VEVENT UID:013F131E-B144-11D7-A8EA-000393DC6D68-RID DTSTAMP:20030819T222017Z SUMMARY:AIAA 100 Years conference EXDATE;TZID=US/Eastern:20030714T000000 EXDATE;TZID=US/Eastern:20030715T000000 EXDATE;TZID=US/Eastern:20030716T000000 EXDATE;TZID=US/Eastern:20030717T000000 RRULE:FREQ=DAILY;COUNT=4;INTERVAL=1 DTSTART;VALUE=DATE:20030714 DURATION:P1D END:VEVENT BEGIN:VEVENT EXDATE;TZID=US/Eastern:20030714T080000 EXDATE;TZID=US/Eastern:20030713T080000 EXDATE;TZID=US/Eastern:20030715T080000 SUMMARY:DC UID:FBA3EE4E-AC16-11D7-9268-000393DC6D68-RID DTSTART;TZID=US/Eastern:20030713T080000 DURATION:PT9H RRULE:FREQ=DAILY;UNTIL=20030716T035959;INTERVAL=1 END:VEVENT BEGIN:VEVENT SUMMARY:Statics\, 154 Russ DTSTART;TZID=US/Eastern:20030909T141500 UID:7C1EAF46-B3E0-11D7-B493-000393DC6D68-RID DURATION:PT1H40M RRULE:FREQ=WEEKLY;UNTIL=20031115T191500;INTERVAL=1;BYDAY=TU,TH END:VEVENT BEGIN:VEVENT DTSTART;TZID=US/Eastern:20031024T080000 DTSTAMP:20030716T204820Z SUMMARY:Gossamer Spacecraft Program Committee Meeting UID:9EDCD000-B7CE-11D7-8737-000393DC6D68-RID DTEND;TZID=US/Eastern:20031024T110000 DESCRIPTION:8AM-11AM END:VEVENT BEGIN:VEVENT EXDATE;TZID=US/Eastern:20030810T170000 EXDATE;TZID=US/Eastern:20030807T170000 EXDATE;TZID=US/Eastern:20030808T170000 EXDATE;TZID=US/Eastern:20030809T170000 EXDATE;TZID=US/Eastern:20030806T170000 SUMMARY:Oleg Travel UID:3F0A272B-BC87-11D7-ACBE-000393DC6D68-RID DTSTART;TZID=US/Eastern:20030806T170000 DURATION:PT1H RRULE:FREQ=DAILY;UNTIL=20030827T035959;INTERVAL=1 END:VEVENT BEGIN:VEVENT EXDATE;TZID=US/Eastern:20030905T163000 EXDATE;TZID=US/Eastern:20030815T163000 EXDATE;TZID=US/Eastern:20030912T163000 EXDATE;TZID=US/Eastern:20030801T163000 EXDATE;TZID=US/Eastern:20030808T163000 EXDATE;TZID=US/Eastern:20030926T163000 EXDATE;TZID=US/Eastern:20030919T163000 EXDATE;TZID=US/Eastern:20030822T163000 EXDATE;TZID=US/Eastern:20030829T163000 EXDATE;TZID=US/Eastern:20030725T163000 UID:ESN1123560043-R 76962752.24-RID SUMMARY:valevate DTSTART;TZID=US/Eastern:20030725T163000 DTSTAMP:20030825T141748Z DURATION:PT1H RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=FR END:VEVENT BEGIN:VEVENT RECURRENCE-ID;TZID=US/Eastern:20031003T163000 EXDATE;TZID=US/Eastern:20030905T163000 EXDATE;TZID=US/Eastern:20030815T163000 EXDATE;TZID=US/Eastern:20030912T163000 EXDATE;TZID=US/Eastern:20030801T163000 EXDATE;TZID=US/Eastern:20030808T163000 EXDATE;TZID=US/Eastern:20030926T163000 EXDATE;TZID=US/Eastern:20030919T163000 EXDATE;TZID=US/Eastern:20030822T163000 EXDATE;TZID=US/Eastern:20030829T163000 SUMMARY:818 354-3434/ ext3344 DTSTART;TZID=US/Eastern:20030812T140000 UID:ESN1123560043-R 76962752.24-RID DURATION:PT1H END:VEVENT BEGIN:VEVENT DTSTAMP:20030819T222107Z SUMMARY:Deepika Gaddam DTEND;TZID=US/Eastern:20030821T110000 DTSTART;TZID=US/Eastern:20030821T100000 UID:54946590-D293-11D7-BDA6-000393DC6D68-RID END:VEVENT BEGIN:VEVENT DTSTAMP:20030826T212052Z SUMMARY:Open house UID:CFA78440-C946-11D7-91ED-000393DC6D68-RID DTSTART;TZID=US/Eastern:20030828T180000 DURATION:PT1H END:VEVENT BEGIN:VEVENT ATTENDEE;CN=Oleg Shiryayev:mailto:shi...@wr... ATTENDEE;CN=Steven Page:mailto:sp...@cs... ATTENDEE;CN=Chris Pettit:mailto:chr...@wp... ATTENDEE;CN=Nancy Lockwood:mailto:nan...@wr... DTSTAMP:20030825T154324Z SUMMARY:Bolt Group Meeting DTSTART;TZID=US/Eastern:20030827T150000 ORGANIZER;CN="Joseph C. Slater, PhD, PE":mailto:jos...@wr... UID:50FF8E32-D711-11D7-A3F0-000393DC6D68-RID DURATION:PT1H30M END:VEVENT BEGIN:VEVENT DTSTAMP:20030825T193552Z SUMMARY:Hair UID:4EBA33E0-D733-11D7-A3F0-000393DC6D68-RID DTSTART;TZID=US/Eastern:20030826T110000 DURATION:PT1H END:VEVENT BEGIN:VEVENT DTSTAMP:20030826T180058Z SUMMARY:Dr. George\, dept. office UID:33D6B46E-D7E6-11D7-B4C9-000393DC6D68-RID DTSTART;TZID=US/Eastern:20030828T090000 DURATION:PT2H END:VEVENT BEGIN:VEVENT UID:ESN1123560043-R 82347586.51-RID DTSTART;TZID=US/Eastern:20030909T140000 DTSTAMP:20030828T165328Z SUMMARY:818 354-3434/ ext3344 DURATION:PT1H END:VEVENT BEGIN:VEVENT DTSTAMP:20030902T175733Z SUMMARY:818 354-3434/ ext3344 DTEND;TZID=US/Eastern:20030902T153000 DTSTART;TZID=US/Eastern:20030902T140000 UID:ESN1123560043-R 82347586.49-RID END:VEVENT BEGIN:VEVENT DTSTAMP:20030828T165336Z SUMMARY:Dept Meeting DTEND;TZID=US/Eastern:20030902T140000 UID:E357CA48-D354-11D7-B925-000393DC6D68-RID DTSTART;TZID=US/Eastern:20030902T130000 END:VEVENT BEGIN:VEVENT DTSTART;TZID=US/Eastern:20030908T161000 DTSTAMP:20030918T134239Z SUMMARY:Vibrations\, 341 Oelman UID:E8D361BF-D979-11D7-87AA-000393DC6D68-RID DTEND;TZID=US/Eastern:20030908T172500 RRULE:FREQ=WEEKLY;UNTIL=20031117T045959;INTERVAL=1;BYDAY=MO,WE END:VEVENT BEGIN:VEVENT DTSTAMP:20030828T191320Z SUMMARY:Reinhardt DTSTART;TZID=US/Eastern:20030829T093000 UID:94A4C298-D98B-11D7-87AA-000393DC6D68-RID DURATION:PT1H30M END:VEVENT BEGIN:VEVENT DTSTAMP:20030902T193725Z SUMMARY:Deepeka DTSTART;TZID=US/Eastern:20030903T133000 UID:BAD5A26C-DD7C-11D7-8097-000393DC6D68-RID DURATION:PT30M END:VEVENT BEGIN:VEVENT DTSTAMP:20030902T193706Z SUMMARY:Valevate DTSTART;TZID=US/Eastern:20030903T143000 UID:BE43763E-DD7C-11D7-8097-000393DC6D68-RID DURATION:PT1H30M END:VEVENT BEGIN:VEVENT DTSTAMP:20030908T135832Z SUMMARY:Valevate DTSTART;TZID=US/Eastern:20030908T133000 UID:837AC284-E204-11D7-9C18-000393DC6D68-RID DURATION:PT1H END:VEVENT BEGIN:VEVENT DTSTAMP:20030909T124500Z SUMMARY:Reinhardt UID:0E1A05DE-E224-11D7-9C18-000393DC6D68-RID DTSTART;TZID=US/Eastern:20030909T090000 DURATION:PT1H30M END:VEVENT BEGIN:VEVENT DTSTAMP:20030909T202156Z SUMMARY:Office Hours UID:2599E8F0-E303-11D7-9B5D-000393DC6D68-RID DTSTART;TZID=US/Eastern:20030908T144500 DURATION:PT1H RRULE:FREQ=WEEKLY;UNTIL=20031123T045959;INTERVAL=1;BYDAY=MO,WE END:VEVENT BEGIN:VEVENT DTSTAMP:20030910T011512Z SUMMARY:College Faculty Meeting DTSTART;TZID=US/Eastern:20031031T143000 UID:2FEEF4F0-E32C-11D7-8D5F-000393DC6D68-RID DURATION:PT2H30M END:VEVENT BEGIN:VEVENT DTSTAMP:20030910T011559Z SUMMARY:College Faculty Meeting DTSTART;TZID=US/Eastern:20040227T143000 UID:4C4F5DDA-E32C-11D7-8D5F-000393DC6D68-RID DURATION:PT2H30M END:VEVENT BEGIN:VEVENT DTSTAMP:20030910T011626Z SUMMARY:College Faculty Meeting DTSTART;TZID=US/Eastern:20040514T143000 UID:5EC9BEF6-E32C-11D7-8D5F-000393DC6D68-RID DURATION:PT2H30M END:VEVENT BEGIN:VEVENT DTSTAMP:20030911T163937Z SUMMARY:Christine McGee UID:77837470-E476-11D7-AF09-000393DC6D68-RID DTSTART;TZID=US/Eastern:20030915T143000 DURATION:PT15M END:VEVENT BEGIN:VEVENT DTSTAMP:20030912T205221Z SUMMARY:Deily DTSTART;TZID=US/Eastern:20030912T160000 UID:8F1973F0-E536-11D7-AF09-000393DC6D68-RID DURATION:PT30M RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=FR END:VEVENT BEGIN:VEVENT DTSTAMP:20030912T183342Z SUMMARY:Visitors DTSTART;TZID=US/Eastern:20030915T080000 UID:9BDD697E-E54F-11D7-8580-000393DC6D68-RID DURATION:PT10H30M END:VEVENT BEGIN:VEVENT DTSTAMP:20030917T184748Z SUMMARY:Pettit DTEND;TZID=US/Eastern:20030919T093000 UID:A9BDB7CE-E54F-11D7-8580-000393DC6D68-RID DTSTART;TZID=US/Eastern:20030919T080000 END:VEVENT BEGIN:VEVENT DTSTAMP:20030912T183429Z SUMMARY:Young DTSTART;TZID=US/Eastern:20030916T080000 UID:B7A56529-E54F-11D7-8580-000393DC6D68-RID DURATION:PT1H END:VEVENT BEGIN:VEVENT ATTENDEE;CN=Oleg Shiryayev:mailto:shi...@wr... ATTENDEE;CN=Steven Page:mailto:sp...@cs... ATTENDEE;CN=Michael Maddux:mailto:71b...@vo... ATTENDEE;CN=Brian Deily:mailto:bd...@cs... ATTENDEE;CN=Charles Cross:mailto:cha...@wp... ATTENDEE;CN=George AFRL/PRTC:mailto:Tom...@wp... DTSTAMP:20030912T185100Z SUMMARY:Possibility of Active Cascade Flutter Control with Smart Structures in Transonic Flow Condition\n\nby\nToshinori Watanabe\nDepartment of Aeronautics & Astronautics\nUniversity of Tokyo DTSTART;TZID=US/Eastern:20030915T130000 ORGANIZER;CN="Joseph C. Slater, PhD, PE":mailto:jos...@wr... UID:5EC4D49A-E551-11D7-8580-000393DC6D68-RID DURATION:PT1H END:VEVENT BEGIN:VEVENT UID:2665C57E-E9DD-11D7-BAC2-000393DC6D68-RID DTSTAMP:20030918T133744Z SUMMARY:Quiz DTSTART;TZID=US/Eastern:20030918T141500 DTEND;TZID=US/Eastern:20030918T151500 RRULE:FREQ=WEEKLY;COUNT=5;INTERVAL=2;BYDAY=TH END:VEVENT BEGIN:VEVENT DTSTAMP:20030925T150831Z SUMMARY:Exam 1 DTEND;TZID=US/Eastern:20031001T173000 UID:59E4D34C-E9DD-11D7-BAC2-000393DC6D68-RID DTSTART;TZID=US/Eastern:20031001T161500 END:VEVENT BEGIN:VEVENT DTSTAMP:20030918T134113Z SUMMARY:Exam 2 UID:84AD5A42-E9DD-11D7-BAC2-000393DC6D68-RID DTSTART;TZID=US/Eastern:20031027T160000 DURATION:PT1H15M END:VEVENT BEGIN:VEVENT DTSTAMP:20030918T141840Z SUMMARY:Vibration Final Exam UID:F95469BF-E9E2-11D7-BAC2-000393DC6D68-RID DTSTART;TZID=US/Eastern:20031117T174500 DURATION:PT2H END:VEVENT BEGIN:VEVENT DTSTAMP:20030918T142201Z SUMMARY:Statics Final UID:72C183C8-E9E3-11D7-BAC2-000393DC6D68-RID DTSTART;TZID=US/Eastern:20031120T151500 DURATION:PT2H END:VEVENT BEGIN:VEVENT DTSTAMP:20030923T202154Z SUMMARY:Reinhardt DTEND;TZID=US/Eastern:20030924T120000 DTSTART;TZID=US/Eastern:20030924T090000 UID:98719ECC-EA1E-11D7-92F1-000393DC6D68-RID END:VEVENT BEGIN:VEVENT DTSTAMP:20030919T152252Z SUMMARY:Petitions Committee UID:1254918A-EAB5-11D7-BC54-000393DC6D68-RID DTSTART;TZID=US/Eastern:20030930T100000 DURATION:PT1H END:VEVENT BEGIN:VEVENT DTSTAMP:20030919T152340Z SUMMARY:NSF POD UID:3502799C-EAB5-11D7-BC54-000393DC6D68-RID DTSTART;TZID=US/Eastern:20030929T130000 DURATION:PT1H30M END:VEVENT BEGIN:VEVENT DTSTAMP:20030925T143717Z SUMMARY:P&T DTEND;TZID=US/Eastern:20030926T130000 DTSTART;TZID=US/Eastern:20030926T120000 UID:823D8825-EE03-11D7-9938-000393DC6D68-RID END:VEVENT BEGIN:VEVENT DTSTAMP:20030924T180225Z SUMMARY:LA NRA Review Panel UID:2FFBB686-EEB9-11D7-9B43-000393DC6D68-RID DTSTART;TZID=US/Eastern:20031117T080000 DURATION:PT9H RRULE:FREQ=DAILY;COUNT=5;INTERVAL=1 END:VEVENT BEGIN:VEVENT DTSTAMP:20030924T215842Z SUMMARY:Page DTEND;TZID=US/Eastern:20030926T140000 UID:36F27577-EEDA-11D7-9B43-000393DC6D68-RID DTSTART;TZID=US/Eastern:20030926T140000 END:VEVENT BEGIN:VEVENT DTSTAMP:20030925T203554Z SUMMARY:Valevate DTSTART;TZID=US/Eastern:20030926T163000 UID:488E9FFC-EEDA-11D7-9B43-000393DC6D68-RID DURATION:PT30M RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=FR END:VEVENT BEGIN:VEVENT DTSTAMP:20030925T150322Z SUMMARY:American Airlines # 5697\, 15B UID:4E44C380-EF69-11D7-A150-000393DC6D68-RID DTSTART;TZID=US/Eastern:20031001T101500 DURATION:PT1H30M END:VEVENT BEGIN:VEVENT DTSTAMP:20030925T150418Z SUMMARY:American Airlines # 2355\, 27C UID:7DF7BE52-EF69-11D7-A150-000393DC6D68-RID DTSTART;TZID=US/Eastern:20031001T121500 DURATION:PT2H15M END:VEVENT BEGIN:VEVENT DTSTAMP:20030925T150901Z SUMMARY:American Airlines # 1526\, 20E DTEND;TZID=US/Eastern:20031003T131500 UID:9438EA9E-EF69-11D7-A150-000393DC6D68-RID DTSTART;TZID=US/Eastern:20031003T070000 END:VEVENT BEGIN:VEVENT DTSTAMP:20030925T203538Z SUMMARY:American Airlines # 4319\, 9B DTEND;TZID=US/Eastern:20031003T163000 DTSTART;TZID=US/Eastern:20031003T141500 UID:E864194A-EF69-11D7-A150-000393DC6D68-RID END:VEVENT BEGIN:VEVENT DTSTAMP:20030925T150815Z SUMMARY:Preliminary Design Review of the ISAT Rigidizable/Inflatable Joint Technology Development (PDR) EXDATE;TZID=US/Eastern:20031003T080000 EXDATE;TZID=US/Eastern:20031004T080000 UID:1EA96EE2-E570-11D7-9CD2-000393DC6D68-RID DTSTART;TZID=US/Eastern:20031002T080000 DURATION:PT10H RRULE:FREQ=DAILY;COUNT=3;INTERVAL=1 END:VEVENT BEGIN:VEVENT RECURRENCE-ID;TZID=US/Eastern:20031001T161000 UID:E8D361BF-D979-11D7-87AA-000393DC6D68-RID DTSTART;TZID=US/Eastern:20031001T161000 DURATION:PT1H15M END:VEVENT BEGIN:VEVENT RECURRENCE-ID;TZID=US/Eastern:20031002T141500 UID:7C1EAF46-B3E0-11D7-B493-000393DC6D68-RID DTSTART;TZID=US/Eastern:20031002T141500 DURATION:PT1H40M END:VEVENT BEGIN:VEVENT DTSTAMP:20030925T204436Z SUMMARY:Trip (888) 656-4546 loc: MD6DX1IT \n tic: 0011574300827\n DTEND;TZID=US/Eastern:20031001T090000 UID:45B4A7C2-EF6A-11D7-A150-000393DC6D68-RID DTSTART;TZID=US/Eastern:20031001T080000 END:VEVENT BEGIN:VEVENT DTSTAMP:20030925T204556Z SUMMARY:Best West Valencia 661-255-0555 C: 666596675\n27413 Wayne Mills Place\n UID:57B00A46-EF6A-11D7-A150-000393DC6D68-RID DTSTART;TZID=US/Eastern:20031001T143000 DURATION:PT1H END:VEVENT BEGIN:VEVENT DTSTAMP:20030925T204506Z SUMMARY:Dollar\, C# Y2234979\n866-434-2226\, 5630 W ARBOR VITAE ST\n UID:9AF9D0E2-EF6A-11D7-A150-000393DC6D68-RID DTSTART;TZID=US/Eastern:20031001T140000 DURATION:PT1H END:VEVENT END:VCALENDAR |
From: <cl...@us...> - 2003-11-19 07:54:12
|
Update of /cvsroot/phpicalendar/phpicalendar/includes In directory sc8-pr-cvs1:/tmp/cvs-serv11463/includes Modified Files: event.php header.inc.php sidebar.php Log Message: Checked in a new popup system. Also added calname to calendar for popup reference. Index: event.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/event.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** event.php 24 Sep 2003 01:27:01 -0000 1.11 --- event.php 19 Nov 2003 07:54:09 -0000 1.12 *************** *** 4,49 **** // Load vars ! if (isset($HTTP_GET_VARS['event']) && ($HTTP_GET_VARS['event'] !== '') ) { ! $event=$HTTP_GET_VARS['event']; } else { $event=''; } ! if (isset($HTTP_GET_VARS['description']) && ($HTTP_GET_VARS['description'] !== '') ) { ! $description=$HTTP_GET_VARS['description']; } else { $description=''; } ! if (isset($HTTP_GET_VARS['cal']) && ($HTTP_GET_VARS['cal'] !== '') ) { ! $calendar_name=$HTTP_GET_VARS['cal']; } else { $calendar_name=''; } ! if (isset($HTTP_GET_VARS['start']) && ($HTTP_GET_VARS['start'] !== '') ) { ! $start=$HTTP_GET_VARS['start']; } else { $start=''; } ! if (isset($HTTP_GET_VARS['end']) && ($HTTP_GET_VARS['end'] !== '') ) { ! $end=$HTTP_GET_VARS['end']; } else { $end=''; } ! if (isset($HTTP_GET_VARS['status']) && ($HTTP_GET_VARS['status'] !== '') ) { ! $status=$HTTP_GET_VARS['status']; } else { $status=''; } ! if (isset($HTTP_GET_VARS['location']) && ($HTTP_GET_VARS['location'] !== '') ) { ! $location=$HTTP_GET_VARS['location']; } else { $location=''; } ! if (isset($HTTP_GET_VARS['organizer']) && ($HTTP_GET_VARS['organizer'] !== '') ) { ! $organizer=$HTTP_GET_VARS['organizer']; } else { $organizer=''; } ! if (isset($HTTP_GET_VARS['attendee']) && ($HTTP_GET_VARS['attendee'] !== '') ) { ! $attendee=$HTTP_GET_VARS['attendee']; } else { $attendee=''; --- 4,49 ---- // Load vars ! if (isset($HTTP_POST_VARS['event']) && ($HTTP_POST_VARS['event'] !== '') ) { ! $event=$HTTP_POST_VARS['event']; } else { $event=''; } ! if (isset($HTTP_POST_VARS['description']) && ($HTTP_POST_VARS['description'] !== '') ) { ! $description=$HTTP_POST_VARS['description']; } else { $description=''; } ! if (isset($HTTP_POST_VARS['cal']) && ($HTTP_POST_VARS['cal'] !== '') ) { ! $calendar_name=$HTTP_POST_VARS['cal']; } else { $calendar_name=''; } ! if (isset($HTTP_POST_VARS['start']) && ($HTTP_POST_VARS['start'] !== '') ) { ! $start=$HTTP_POST_VARS['start']; } else { $start=''; } ! if (isset($HTTP_POST_VARS['end']) && ($HTTP_POST_VARS['end'] !== '') ) { ! $end=$HTTP_POST_VARS['end']; } else { $end=''; } ! if (isset($HTTP_POST_VARS['status']) && ($HTTP_POST_VARS['status'] !== '') ) { ! $status=$HTTP_POST_VARS['status']; } else { $status=''; } ! if (isset($HTTP_POST_VARS['location']) && ($HTTP_POST_VARS['location'] !== '') ) { ! $location=$HTTP_POST_VARS['location']; } else { $location=''; } ! if (isset($HTTP_POST_VARS['organizer']) && ($HTTP_POST_VARS['organizer'] !== '') ) { ! $organizer=$HTTP_POST_VARS['organizer']; } else { $organizer=''; } ! if (isset($HTTP_POST_VARS['attendee']) && ($HTTP_POST_VARS['attendee'] !== '') ) { ! $attendee=$HTTP_POST_VARS['attendee']; } else { $attendee=''; *************** *** 180,182 **** <!-- End PAGE --> ! </html> \ No newline at end of file --- 180,182 ---- <!-- End PAGE --> ! </html> Index: header.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/header.inc.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** header.inc.php 21 Sep 2003 03:22:09 -0000 1.5 --- header.inc.php 19 Nov 2003 07:54:09 -0000 1.6 *************** *** 13,18 **** } if (isset($master_array['-2'])) include (BASE.'functions/todo.js'); ?> </head> ! <body bgcolor="#FFFFFF"> \ No newline at end of file --- 13,30 ---- } if (isset($master_array['-2'])) include (BASE.'functions/todo.js'); + include (BASE.'functions/event.js'); ?> </head> ! <body bgcolor="#FFFFFF"> ! <form name="eventPopupForm" id="eventPopupForm" method="post" action="includes/event.php" style="display: none;"> ! <input type="hidden" name="event" id="event" value=""> ! <input type="hidden" name="cal" id="cal" value=""> ! <input type="hidden" name="start" id="start" value=""> ! <input type="hidden" name="end" id="end" value=""> ! <input type="hidden" name="description" id="description" value=""> ! <input type="hidden" name="status" id="status" value=""> ! <input type="hidden" name="location" id="location" value=""> ! <input type="hidden" name="organizer" id="organizer" value=""> ! <input type="hidden" name="attendee" id="attendee" value=""> ! </form> Index: sidebar.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/sidebar.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** sidebar.php 14 Nov 2003 22:03:47 -0000 1.25 --- sidebar.php 19 Nov 2003 07:54:09 -0000 1.26 *************** *** 103,110 **** $event_start = @$val["event_start"]; $event_end = @$val["event_end"]; $event_start = date ($timeFormat, @strtotime ("$event_start")); $event_end = date ($timeFormat, @strtotime ("$event_end")); - $calendar_name2 = addslashes($calendar_name); - $calendar_name2 = urlencode($calendar_name2); $event_text = word_wrap($event_text, 21, $tomorrows_events_lines); --- 103,109 ---- $event_start = @$val["event_start"]; $event_end = @$val["event_end"]; + $event_calna = @$val["calname"]; $event_start = date ($timeFormat, @strtotime ("$event_start")); $event_end = date ($timeFormat, @strtotime ("$event_end")); $event_text = word_wrap($event_text, 21, $tomorrows_events_lines); *************** *** 112,120 **** $event_start = $all_day_lang; $event_end = ''; ! openevent($calendar_name2, $event_start, $event_end, $val, $tomorrows_events_lines, 21, '<i>', '</i>', 'psf'); echo "<br>\n"; } else { ! openevent($calendar_name2, $event_start, $event_end, $val, $tomorrows_events_lines, 21, '<font class="G10B">• ', '</font>', 'psf'); echo "<br>\n"; --- 111,119 ---- $event_start = $all_day_lang; $event_end = ''; ! openevent($event_calna, $event_start, $event_end, $val, $tomorrows_events_lines, 21, '<i>', '</i>', 'psf'); echo "<br>\n"; } else { ! openevent($event_calna, $event_start, $event_end, $val, $tomorrows_events_lines, 21, '<font class="G10B">• ', '</font>', 'psf'); echo "<br>\n"; |
From: <cl...@us...> - 2003-11-19 07:54:12
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1:/tmp/cvs-serv11463 Modified Files: config.inc.php day.php month.php week.php Log Message: Checked in a new popup system. Also added calname to calendar for popup reference. Index: config.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/config.inc.php,v retrieving revision 1.121 retrieving revision 1.122 diff -C2 -d -r1.121 -r1.122 *** config.inc.php 17 Nov 2003 18:02:34 -0000 1.121 --- config.inc.php 19 Nov 2003 07:54:09 -0000 1.122 *************** *** 33,37 **** // Yes/No questions --- 'yes' means Yes, anything else means no. 'yes' must be lowercase. ! $save_parsed_cals = 'yes'; // Recommended 'yes'. Saves a copy of the cal in /tmp after it's been parsed. Improves performence. $use_sessions = 'no'; // This has not yet been implemented. $display_custom_goto = 'no'; // In the 'Jump To' box, display the custom 'go to day' box. --- 33,37 ---- // Yes/No questions --- 'yes' means Yes, anything else means no. 'yes' must be lowercase. ! $save_parsed_cals = 'no'; // Recommended 'yes'. Saves a copy of the cal in /tmp after it's been parsed. Improves performence. $use_sessions = 'no'; // This has not yet been implemented. $display_custom_goto = 'no'; // In the 'Jump To' box, display the custom 'go to day' box. Index: day.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/day.php,v retrieving revision 1.100 retrieving revision 1.101 diff -C2 -d -r1.100 -r1.101 *** day.php 16 Nov 2003 06:09:09 -0000 1.100 --- day.php 19 Nov 2003 07:54:09 -0000 1.101 *************** *** 91,98 **** echo "<tr>\n"; $event_calno = $allday['calnumber']; if ($event_calno < 1) $event_calno=1; if ($event_calno > 7) $event_calno=7; echo '<td valign="top" align="center" class="eventbg_'.$event_calno.'">'; ! openevent("$calendar_name", "", "", --- 91,99 ---- echo "<tr>\n"; $event_calno = $allday['calnumber']; + $event_calna = $allday['calname']; if ($event_calno < 1) $event_calno=1; if ($event_calno > 7) $event_calno=7; echo '<td valign="top" align="center" class="eventbg_'.$event_calno.'">'; ! openevent("$event_calna", "", "", *************** *** 253,259 **** echo '<tr>'."\n"; echo '<td class="eventbg_'.$event_calno.'">'; ! // Todo: keep track of where the event comes from, and indicate that to openevent instead of $ALL_CALENDARS_COMBINED ! if ($cal == $ALL_CALENDARS_COMBINED) $calendar_name2=$cal; else $calendar_name2=$calendar_name; ! openevent("$calendar_name2", "$event_start", "$event_end", --- 254,259 ---- echo '<tr>'."\n"; echo '<td class="eventbg_'.$event_calno.'">'; ! $event_calna = $this_time_arr[($event_length[$i]['key'])]['calname']; ! openevent("$event_calna", "$event_start", "$event_end", Index: month.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/month.php,v retrieving revision 1.101 retrieving revision 1.102 diff -C2 -d -r1.101 -r1.102 *** month.php 17 Nov 2003 19:48:05 -0000 1.101 --- month.php 19 Nov 2003 07:54:09 -0000 1.102 *************** *** 115,121 **** foreach ($event_times as $val) { $num_of_events2++; if (!isset($val["event_start"])) { echo '<div align="center" class="V10">'; ! openevent("$calendar_name", "", "", $val, $month_event_lines, 15, "<i>", --- 115,123 ---- foreach ($event_times as $val) { $num_of_events2++; + $event_calno = $val['calnumber']; + $event_calna = $val['calname']; if (!isset($val["event_start"])) { echo '<div align="center" class="V10">'; ! openevent("$event_calna", "", "", $val, $month_event_lines, 15, "<i>", *************** *** 131,135 **** $start2 = date($timeFormat_small,@strtotime("$event_start")); $event_end = date($timeFormat, @strtotime ("$event_end")); ! @openevent("$calendar_name", "$event_start", "$event_end", --- 133,137 ---- $start2 = date($timeFormat_small,@strtotime("$event_start")); $event_end = date($timeFormat, @strtotime ("$event_end")); ! @openevent("$event_calna", "$event_start", "$event_end", *************** *** 195,198 **** --- 197,203 ---- // Pull out each time foreach ($new_val as $new_key2 => $new_val2) { + $event_calno = $new_val2['calnumber']; + $event_calna = $new_val2['calname']; + if ($new_val2["event_text"]) { if (isset($new_val2["event_start"])) { *************** *** 216,220 **** } echo "<td>\n"; ! openevent("$calendar_name", "$event_start", "$event_end", --- 221,225 ---- } echo "<td>\n"; ! openevent("$event_calna", "$event_start", "$event_end", Index: week.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/week.php,v retrieving revision 1.101 retrieving revision 1.102 diff -C2 -d -r1.101 -r1.102 *** week.php 16 Nov 2003 06:09:09 -0000 1.101 --- week.php 19 Nov 2003 07:54:09 -0000 1.102 *************** *** 164,171 **** echo "<tr>\n"; $event_calno = $allday['calnumber']; if ($event_calno < 1) $event_calno=1; if ($event_calno > 7) $event_calno=7; echo '<td valign="top" align="center" class="eventbg_'.$event_calno.'">'; ! openevent("$calendar_name", "", "", --- 164,172 ---- echo "<tr>\n"; $event_calno = $allday['calnumber']; + $event_calna = $allday['calname']; if ($event_calno < 1) $event_calno=1; if ($event_calno > 7) $event_calno=7; echo '<td valign="top" align="center" class="eventbg_'.$event_calno.'">'; ! openevent("$event_calna", "", "", *************** *** 307,313 **** if (isset($this_time_arr[($event_length[$thisday][$i]["key"])]['display_end'])) $event_end = strtotime ($this_time_arr[($event_length[$thisday][$i]["key"])]['display_end']); $event_end = date ($timeFormat, $event_end); ! // Todo: keep track of where the event comes from, and indicate that to openevent instead of $ALL_CALENDARS_COMBINED ! if ($cal == $ALL_CALENDARS_COMBINED) $calendar_name2=$cal; else $calendar_name2=$calendar_name; ! openevent("$calendar_name2", "$event_start", "$event_end", --- 308,314 ---- if (isset($this_time_arr[($event_length[$thisday][$i]["key"])]['display_end'])) $event_end = strtotime ($this_time_arr[($event_length[$thisday][$i]["key"])]['display_end']); $event_end = date ($timeFormat, $event_end); ! ! $event_calna = $this_time_arr[($event_length[$thisday][$i]["key"])]['calname']; ! openevent("$event_calna", "$event_start", "$event_end", |
From: <cl...@us...> - 2003-11-18 19:43:16
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv15513/functions Modified Files: ical_parser.php Log Message: Fix for weekly events in 2004. odd bug. Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.128 retrieving revision 1.129 diff -C2 -d -r1.128 -r1.129 *** ical_parser.php 16 Nov 2003 07:19:43 -0000 1.128 --- ical_parser.php 18 Nov 2003 19:43:13 -0000 1.129 *************** *** 96,100 **** $start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, ! $beginning, $rrule_array, $start_of_vevent, $description, $valarm_description, $start_unixtime, $end_unixtime, $display_end_tmp, $end_time_tmp1, $recurrence_id, $uid, $class, $location, $rrule, $abs_until, $until_check --- 96,100 ---- $start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, ! $beginning, $rrule_array, $start_of_vevent, $description, $bd, $valarm_description, $start_unixtime, $end_unixtime, $display_end_tmp, $end_time_tmp1, $recurrence_id, $uid, $class, $location, $rrule, $abs_until, $until_check *************** *** 394,399 **** if (!isset($number)) $number = 1; // if $until isn't set yet, we set it to the end of our range we're looking at - // The FREQ switch array will always kick our early, so lets try this workaround. - // if (isset($until)) $until = strtotime('+'.$interval.' '.$freq_type, $until);; if (!isset($until)) $until = $end_range_time; --- 394,397 ---- *************** *** 403,406 **** --- 401,410 ---- $end_range_time_tmp = $end_range_time; + // For weekly's without a byday + if ((!isset($byday)) && ($rrule_array['FREQ'] == 'WEEKLY')) { + ereg ('([0-9]{4})([0-9]{2})([0-9]{2})', $start_date, $startregs); + $bd = strtolower(date ("l", mktime($hour,$minute,0,$startregs[2],$startregs[3],$startregs[1]))); + } + // If the $end_range_time is less than the $start_date_time, or $start_range_time is greater // than $end_date_time, we may as well forget the whole thing *************** *** 434,445 **** case 'WEEKLY': if (!isset($byday)) { ! $next_date = date('Ymd', $next_range_time); $next_date_time = strtotime($next_date); $recur_data[] = $next_date_time; } elseif (is_array($byday)) { - // loop through the days on which this event happens foreach($byday as $day) { ! // use my fancy little function to get the date of each day ! $day = two2threeCharDays($day); $next_date = dateOfWeek(date('Ymd', $next_range_time),$day); $next_date_time = strtotime($next_date); --- 438,447 ---- case 'WEEKLY': if (!isset($byday)) { ! $next_date = dateOfWeek(date('Ymd', $next_range_time),$bd); $next_date_time = strtotime($next_date); $recur_data[] = $next_date_time; } elseif (is_array($byday)) { foreach($byday as $day) { ! $day = two2threeCharDays($day); $next_date = dateOfWeek(date('Ymd', $next_range_time),$day); $next_date_time = strtotime($next_date); *************** *** 451,457 **** if (!isset($bymonth)) $bymonth = array(1,2,3,4,5,6,7,8,9,10,11,12); $next_range_time = strtotime(date('Y-m-01', $next_range_time)); - // month has two cases, either $bymonthday or $byday if ((isset($bymonthday)) && (!isset($byday))) { - // loop through the days on which this event happens foreach($bymonthday as $day) { $year = date('Y', $next_range_time); --- 453,457 ---- *************** *** 462,468 **** } } - // our other case } else { - // loop through the days on which this event happens foreach($byday as $day) { ereg ('([-\+]{0,1})?([0-9]{1})?([A-Z]{2})', $day, $byday_arr); --- 462,466 ---- |