aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-10-05 17:42:11 +0000
committerChad Little <clittle@users.sourceforge.net>2002-10-05 17:42:11 +0000
commit253ef013b351f8ec885d596af7b611568138b400 (patch)
tree5fbed6c5189a889b160bfaa1e21ea1c48fe690b6
parent537dcdf6662607c532d4a5fde1a533d09e1d81f6 (diff)
downloadphpicalendar-253ef013b351f8ec885d596af7b611568138b400.tar.gz
phpicalendar-253ef013b351f8ec885d596af7b611568138b400.tar.bz2
phpicalendar-253ef013b351f8ec885d596af7b611568138b400.zip
*** empty log message ***
-rw-r--r--day.php8
-rw-r--r--languages/danish.inc.php52
-rw-r--r--languages/italian.inc.php188
-rw-r--r--month.php6
-rw-r--r--week.php7
5 files changed, 131 insertions, 130 deletions
diff --git a/day.php b/day.php
index 03a1c63..6de369a 100644
--- a/day.php
+++ b/day.php
@@ -35,7 +35,7 @@ $this_month = $day_array2[2];
$this_year = $day_array2[1];
$parse_month = date ('Ym', $date);
-$thisday2 = localizeDate($dateFormat_week_list, $date);
+$thisday2 = localizeDate($dateFormat_week_list, $unix_time);
$dayborder = 0;
@@ -83,9 +83,9 @@ if ($master_array[($getdate)]) {
<td align="right" width="90" class="navback">
<table width="90" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt=""></td>'; ?>
- <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt=""></td>'; ?>
- <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt=""></td>'; ?>
+ <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt="" border="0"></td>'; ?>
+ <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt="" border="0"></td>'; ?>
+ <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt="" border="0"></td>'; ?>
</tr>
</table>
</td>
diff --git a/languages/danish.inc.php b/languages/danish.inc.php
index fc3c27e..2f55ec3 100644
--- a/languages/danish.inc.php
+++ b/languages/danish.inc.php
@@ -34,25 +34,25 @@ $date_lang = 'Dato';
$summary_lang = 'Opsummering';
// new since last translation
-$all_day_lang = 'All day event';
-$notes_lang = 'Notes';
-$this_years_lang = 'This Year\'s Events';
-$today_lang = 'Today';
-$this_week_lang = 'This Week';
-$this_month_lang = 'This Month';
-$jump_lang = 'Jump to';
-$tomorrows_lang = 'Tomorrow\'s Events';
-$goday_lang = 'Go to Today';
-$goweek_lang = 'Go to This Week';
-$gomonth_lang = 'Go to This Month';
-$goyear_lang = 'Go to This Year';
+$all_day_lang = 'Heldags Aftale';
+$notes_lang = 'Noter';
+$this_years_lang = 'Dette &Aring;s Aftaler';
+$today_lang = 'I Dag';
+$this_week_lang = 'Denne Uge';
+$this_month_lang = 'Denne M&aring;ned';
+$jump_lang = 'G&aring; Til';
+$tomorrows_lang = 'N&aelig;ste Dags Aftaler';
+$goday_lang = 'G&aring; Til Idag';
+$goweek_lang = 'G&aring; Til Denne Uge';
+$gomonth_lang = 'G&aring; Til Denne M&aring;ned';
+$goyear_lang = 'G&aring; Til Dette &Aring;r';
// new since last translation
-$daysofweek_lang = array ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
-$daysofweekshort_lang = array ('Sun','Mon','Tue','Wed','Thu','Fri','Sat');
-$daysofweekreallyshort_lang = array ('S','M','T','W','T','F','S');
-$monthsofyear_lang = array ('January','February','March','April','May','June','July','August','September','October','November','December');
-$monthsofyearshort_lang = array ('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');
+$daysofweek_lang = array ('S&oslash;ndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','L&oslash;rdag');
+$daysofweekshort_lang = array ('S&oslash;n','Man','Tir','Ons','Tor','Fre','L&oslash;r');
+$daysofweekreallyshort_lang = array ('S','M','T','O','T','F','L');
+$monthsofyear_lang = array ('Januar','Februar','Marts','April','Maj','Juni','Juli','August','September','Oktober','November','December');
+$monthsofyearshort_lang = array ('Jan','Feb','Mar','Apr','Maj','Jun','Jul','Aug','Sep','Okt','Nov','Dec');
// For time formatting, check out: http://www.php.net/manual/en/function.date.php
$timeFormat = 'H:i';
@@ -61,7 +61,7 @@ $timeFormat = 'H:i';
$dateFormat_day = '%A, %B %e';
$dateFormat_week = '%B %e';
$dateFormat_week_list = '%a, %b %e';
-$dateFormat_week_jump = '%b %e'; // new since last translation
+$dateFormat_week_jump = '%b %e';
$dateFormat_month = '%B %Y';
$dateFormat_month_list = '%A, %e %B';
@@ -82,14 +82,14 @@ Notes about dateFormat_*
*/
// Error messages - %s will be replaced with a variable
-$error_title_lang = 'Error!';
-$error_window_lang = 'There was an error!';
-$error_calendar_lang = 'The calendar "%s" was being processed when this error occurred.';
-$error_path_lang = 'Unable to open the path: "%s"';
-$error_back_lang = 'Please use the "Back" button to return.';
-$error_remotecal_lang = 'This server blocks remote calendars which have not been approved.';
-$error_restrictedcal_lang = 'You have tried to access a calendar that is restricted on this server.';
-$error_invalidcal_lang = 'Invalid calendar file. Please try a different calendar.';
+$error_title_lang = 'Fejl!';
+$error_window_lang = 'Der opstod en fejl!';
+$error_calendar_lang = 'Kalenderen "%s" blev benyttet da fejlen opstod.';
+$error_path_lang = 'Kan ikke &aring;bne stien : "%s"';
+$error_back_lang = 'Brug venligst "Tilbage" knappen for at g&aring; tilbage.';
+$error_remotecal_lang = 'Denne server blokerer for kalendere der ikke er blevet godkendt';
+$error_restrictedcal_lang = 'Du har fors&oslash;gt at f&aring; adgang til en beskyttet kalender p&aring; denne server.';
+$error_invalidcal_lang = 'Kalenderen er muligvis i stykker. Pr&oslash;v en anden kalender.';
?> \ No newline at end of file
diff --git a/languages/italian.inc.php b/languages/italian.inc.php
index a99185d..67af122 100644
--- a/languages/italian.inc.php
+++ b/languages/italian.inc.php
@@ -1,94 +1,94 @@
-<?
-
-// Italian language include
-// For version 0.6 PHP iCalendar
-//
-// First translation by Luca Cacciagrano (clooka@clac.it)
-// Updated translation by Daniele Nicolucci (jollino@discussioni.org)
-//
-// Submit new translations to chad@chadsdomain.com
-
-
-
-$day_lang = 'Giorno';
-$week_lang = 'Settimana';
-$month_lang = 'Mese';
-$year_lang = 'Anno';
-$calendar_lang = 'Calendario';
-$next_day_lang = 'Giorno Successivo';
-$next_month_lang = 'Mese Successivo';
-$next_week_lang = 'Settimana Successiva';
-$next_year_lang = 'Anno Successivo';
-$last_day_lang = 'Giorno Precedente';
-$last_month_lang = 'Mese Precedente';
-$last_week_lang = 'Settimana Precedente';
-$last_year_lang = 'Anno Precedente';
-$subscribe_lang = 'Sottoscrivi';
-$download_lang = 'Scarica';
-$powered_by_lang = 'Powered by';
-$version_lang = '0.6';
-$event_lang = 'Evento';
-$event_start_lang = 'Inizio';
-$event_end_lang = 'Fine';
-$this_months_lang = 'Eventi di questo mese';
-$date_lang = 'Data';
-$summary_lang = 'Sommario';
-$all_day_lang = 'Eventi giornalieri';
-$notes_lang = 'Note';
-$this_years_lang = 'Eventi di quest\'anno';
-$today_lang = 'Oggi';
-$this_week_lang = 'Questa settimana';
-$this_month_lang = 'Questo mese';
-$jump_lang = 'Vai a';
-$tomorrows_lang = 'Eventi di domani';
-$goday_lang = 'Vai a oggi';
-$goweek_lang = 'Vai a questa settimana';
-$gomonth_lang = 'Vai a questo mese';
-$goyear_lang = 'Vai a quest\'anno';
-
-// Date display since setlocale isnt perfect. // new since last translation
-$daysofweek_lang = array ('Domenica','Luned&iacute;','Marted&igrave;','Mercoled&igrave;','Gioved&igrave;','Venerd&igrave;','Sabato');
-$daysofweekshort_lang = array ('Dom','Lun','Mar','Mer','Gio','Ven','Sab');
-$daysofweekreallyshort_lang = array ('D','L','M','M','G','V','S');
-$monthsofyear_lang = array ('Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno','Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre');
-$monthsofyearshort_lang = array ('Gen','Feb','Mar','Apr','Mag','Giu','Lug','Ago','Set','Ott','Nov','Dic');
-
-// For time formatting, check out: http://www.php.net/manual/en/function.date.php
-$timeFormat = 'G: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 = '%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 = 'Error!';
-$error_window_lang = 'There was an error!';
-$error_calendar_lang = 'The calendar "%s" was being processed when this error occurred.';
-$error_path_lang = 'Unable to open the path: "%s"';
-$error_back_lang = 'Please use the "Back" button to return.';
-$error_remotecal_lang = 'This server blocks remote calendars which have not been approved.';
-$error_restrictedcal_lang = 'You have tried to access a calendar that is restricted on this server.';
-$error_invalidcal_lang = 'Invalid calendar file. Please try a different calendar.';
-
-
-?>
+<?
+
+// Italian language include
+// For version 0.6 PHP iCalendar
+//
+// First translation by Luca Cacciagrano (clooka@clac.it)
+// Updated translation by Daniele Nicolucci (jollino@discussioni.org)
+//
+// Submit new translations to chad@chadsdomain.com
+
+
+
+$day_lang = 'Giorno';
+$week_lang = 'Settimana';
+$month_lang = 'Mese';
+$year_lang = 'Anno';
+$calendar_lang = 'Calendario';
+$next_day_lang = 'Giorno Successivo';
+$next_month_lang = 'Mese Successivo';
+$next_week_lang = 'Settimana Successiva';
+$next_year_lang = 'Anno Successivo';
+$last_day_lang = 'Giorno Precedente';
+$last_month_lang = 'Mese Precedente';
+$last_week_lang = 'Settimana Precedente';
+$last_year_lang = 'Anno Precedente';
+$subscribe_lang = 'Sottoscrivi';
+$download_lang = 'Scarica';
+$powered_by_lang = 'Powered by';
+$version_lang = '0.6';
+$event_lang = 'Evento';
+$event_start_lang = 'Inizio';
+$event_end_lang = 'Fine';
+$this_months_lang = 'Eventi di questo mese';
+$date_lang = 'Data';
+$summary_lang = 'Sommario';
+$all_day_lang = 'Eventi giornalieri';
+$notes_lang = 'Note';
+$this_years_lang = 'Eventi di quest\'anno';
+$today_lang = 'Oggi';
+$this_week_lang = 'Questa settimana';
+$this_month_lang = 'Questo mese';
+$jump_lang = 'Vai a';
+$tomorrows_lang = 'Eventi di domani';
+$goday_lang = 'Vai a oggi';
+$goweek_lang = 'Vai a questa settimana';
+$gomonth_lang = 'Vai a questo mese';
+$goyear_lang = 'Vai a quest\'anno';
+
+// Date display since setlocale isnt perfect.
+$daysofweek_lang = array ('Domenica','Luned&igrave;','Marted&igrave;','Mercoled&igrave;','Gioved&igrave;','Venerd&igrave;','Sabato');
+$daysofweekshort_lang = array ('Dom','Lun','Mar','Mer','Gio','Ven','Sab');
+$daysofweekreallyshort_lang = array ('D','L','M','M','G','V','S');
+$monthsofyear_lang = array ('Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno','Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre');
+$monthsofyearshort_lang = array ('Gen','Feb','Mar','Apr','Mag','Giu','Lug','Ago','Set','Ott','Nov','Dic');
+
+// For time formatting, check out: http://www.php.net/manual/en/function.date.php
+$timeFormat = 'G: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 = '%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 = 'Errore!';
+$error_window_lang = 'C\'&egrave; stato un errore!';
+$error_calendar_lang = 'Stavo elaborando il calendario "%s" quando si &egrave; verificato questo errore.';
+$error_path_lang = 'Impossibile accedere al percorso: "%s"';
+$error_back_lang = 'Usa il tasto "Back" ("Indietro") per tornare indietro.';
+$error_remotecal_lang = 'Questo server blocca i calendari remoti che non sono stati approvati.';
+$error_restrictedcal_lang = 'Hai cercato di accedere a un calendario che &egrave; stato limitato su questo server.';
+$error_invalidcal_lang = 'File di calendario non valido. Prova con un altro calendario.';
+
+
+?>
diff --git a/month.php b/month.php
index 40ca7dd..2af6412 100644
--- a/month.php
+++ b/month.php
@@ -55,9 +55,9 @@
<td align="right" width="90" class="navback">
<table width="90" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt=""></td>'; ?>
- <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt=""></td>'; ?>
- <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt=""></td>'; ?>
+ <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt="" border="0"></td>'; ?>
+ <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt="" border="0"></td>'; ?>
+ <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt="" border="0"></td>'; ?>
</tr>
</table>
</td>
diff --git a/week.php b/week.php
index 92fa1f9..35dbea9 100644
--- a/week.php
+++ b/week.php
@@ -27,6 +27,7 @@ $start_week = localizeDate($dateFormat_week, $start_week_time);
$end_week = localizeDate($dateFormat_week, $end_week_time);
$display_date = "$start_week - $end_week";
+$thisday2 = localizeDate($dateFormat_week_list, $unix_time);
// For the side months
@@ -87,9 +88,9 @@ for ($i=0;$i<7;$i++) {
<td align="right" width="90" class="navback">
<table width="90" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt=""></td>'; ?>
- <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt=""></td>'; ?>
- <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt=""></td>'; ?>
+ <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt="" border="0"></td>'; ?>
+ <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt="" border="0"></td>'; ?>
+ <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt="" border="0"></td>'; ?>
</tr>
</table>
</td>

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