aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfenner <fenner>2002-11-30 21:05:38 +0000
committerfenner <fenner>2002-11-30 21:05:38 +0000
commitda11334d9d325f3be588f1b17969ba5c44ed248c (patch)
tree9b11867a682bdc2bf61d168870431d903d22d84a
parent8c367889d986770538d35c06d79c2bc0989823ab (diff)
downloadphpicalendar-da11334d9d325f3be588f1b17969ba5c44ed248c.tar.gz
phpicalendar-da11334d9d325f3be588f1b17969ba5c44ed248c.tar.bz2
phpicalendar-da11334d9d325f3be588f1b17969ba5c44ed248c.zip
Change alt="" to alt=" ", since that renders better in w3m.
Add alt tags to navigation images like back, next week, etc.
-rw-r--r--day.php20
-rw-r--r--functions/error.php4
-rw-r--r--includes/calendar_nav.php78
-rw-r--r--includes/event.php8
-rw-r--r--includes/sidebar.php120
-rw-r--r--includes/todo.php8
-rw-r--r--languages/english.inc.php9
-rw-r--r--month.php33
-rw-r--r--preferences.php26
-rw-r--r--print.php34
-rw-r--r--rss/index.php12
-rw-r--r--search.php34
-rw-r--r--week.php24
-rw-r--r--year.php24
14 files changed, 225 insertions, 209 deletions
diff --git a/day.php b/day.php
index 5ad9b94..b8f5f32 100644
--- a/day.php
+++ b/day.php
@@ -76,19 +76,19 @@ if (is_array($master_array[($getdate)])) {
<td class="navback">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td align="right" width="40%" class="navback"><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$yesterdays_date.'"><img src="styles/'.$style_sheet.'/left_day.gif" alt="" border="0" align="right"></a>'; ?></td>
+ <td align="right" width="40%" class="navback"><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$yesterdays_date.'"><img src="styles/'.$style_sheet.'/left_day.gif" alt="['.$last_day_lang.']" border="0" align="right"></a>'; ?></td>
<td align="center" width="20%" class="navback" nowrap valign="middle"><font class="H20"><?php echo $display_date; ?></font></td>
- <td align="left" width="40%" class="navback"><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$tomorrows_date.'"><img src="styles/'.$style_sheet.'/right_day.gif" alt="" border="0" align="left"></a>'; ?></td>
+ <td align="left" width="40%" class="navback"><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$tomorrows_date.'"><img src="styles/'.$style_sheet.'/right_day.gif" alt="['.$next_day_lang.']" border="0" align="left"></a>'; ?></td>
</tr>
</table>
</td>
<td align="right" width="120" class="navback">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="year.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/year_on.gif" alt="" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt="'.$day_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt="'.$week_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt="'.$month_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="year.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/year_on.gif" alt="'.$year_view_lang.'" border="0"></a></td>'; ?>
</tr>
</table>
</td>
@@ -126,7 +126,7 @@ if (is_array($master_array[($getdate)])) {
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php
- echo '<tr><td colspan="7"><img src="images/spacer.gif" width="70" height="1" alt=""></td></tr>';
+ echo '<tr><td colspan="7"><img src="images/spacer.gif" width="70" height="1" alt=" "></td></tr>';
echo "<tr>";
$thisdate = $start_week_time;
$start_day = strtotime($week_start_day);
@@ -153,10 +153,10 @@ if (is_array($master_array[($getdate)])) {
<td align="center" valign="top" colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td width="60"><img src="images/spacer.gif" width="60" height="1" alt=""></td>
+ <td width="60"><img src="images/spacer.gif" width="60" height="1" alt=" "></td>
<td width="1"></td>
<?php for ($m=0;$m < $nbrGridCols;$m++) {
- echo '<td><img src="images/spacer.gif" width="' . (520 / $nbrGridCols) . '" height="1" alt=""></td>';
+ echo '<td><img src="images/spacer.gif" width="' . (520 / $nbrGridCols) . '" height="1" alt=" "></td>';
} ?>
</tr>
<?php
@@ -295,7 +295,7 @@ if (is_array($master_array[($getdate)])) {
</tr>
</table>
</td>
- <td width="20"><img src="images/spacer.gif" width="20" height="1" alt=""></td>
+ <td width="20"><img src="images/spacer.gif" width="20" height="1" alt=" "></td>
<td width="160" valign="top">
<?php include (BASE.'includes/sidebar.php'); ?>
<?php include (BASE.'includes/footer.inc.php'); ?>
diff --git a/functions/error.php b/functions/error.php
index d0faefd..1f555a2 100644
--- a/functions/error.php
+++ b/functions/error.php
@@ -33,7 +33,7 @@ function error($error_msg='There was an error processing the request.', $file='N
<td align="center" valign="middle">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
<tr>
- <td align="left" valign="top" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td>
+ <td align="left" valign="top" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20" alt=" "></td>
<td align="center" valign="middle" width="98%" class="sideback"><b><?php echo $error_window_lang; ?></b></td>
<td class="sideback" width="1%"></td>
</tr>
@@ -71,4 +71,4 @@ function error($error_msg='There was an error processing the request.', $file='N
<?php
}
-?> \ No newline at end of file
+?>
diff --git a/includes/calendar_nav.php b/includes/calendar_nav.php
index 448f660..501bae8 100644
--- a/includes/calendar_nav.php
+++ b/includes/calendar_nav.php
@@ -14,12 +14,12 @@
<br>
<table border="0" width="737" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="calborder">
<tr>
- <td align="left" valign="top" width="1%" class="sideback"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&amp;getdate=$prev_day\"><img src=\"styles/$style_sheet/left_arrows.gif\" alt=\"right\" border=\"0\" align=\"left\"></a>"; ?></td>
+ <td align="left" valign="top" width="1%" class="sideback"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&amp;getdate=$prev_day\"><img src=\"styles/$style_sheet/left_arrows.gif\" alt=\"[$last_day_lang]\" border=\"0\" align=\"left\"></a>"; ?></td>
<td align="center" class="sideback"><font class="G10B"><b><?php print (localizeDate ($dateFormat_day, strtotime($getdate))); ?></b></font></td>
- <td align="right" valign="top" width="1%" class="sideback"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&amp;getdate=$next_day\"><img src=\"styles/$style_sheet/right_arrows.gif\" alt=\"right\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td align="right" valign="top" width="1%" class="sideback"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&amp;getdate=$next_day\"><img src=\"styles/$style_sheet/right_arrows.gif\" alt=\"[$next_day_lang]\" border=\"0\" align=\"right\"></a>"; ?></td>
</tr>
<tr>
- <td colspan="3"><img src="images/spacer.gif" width="1" height="5"></td>
+ <td colspan="3"><img src="images/spacer.gif" width="1" height="5" alt=" "></td>
</tr>
<tr>
<td width="1%" valign="top" align="right">
@@ -28,7 +28,7 @@
<td valign="middle" align="center">
<table width="160" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td align="left" valign="top" width="1"><img src="images/spacer.gif" width="1" height="20"></td>
+ <td align="left" valign="top" width="1"><img src="images/spacer.gif" width="1" height="20" alt=" "></td>
<td align="center"><font class="G10BOLD"><?php print (localizeDate ($dateFormat_month, strtotime("-1 month", $fake_getdate_time))); ?></font></td>
<td align="right" valign="top" width="1"></td>
</tr>
@@ -36,13 +36,13 @@
<td colspan="3" bgcolor="#FFFFFF" align="center">
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
- <td><img src="images/spacer.gif" width="21" height="3"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
+ <td><img src="images/spacer.gif" width="21" height="3" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
</tr>
<tr>
<?php
@@ -56,7 +56,7 @@
?>
</tr>
<tr height="3">
- <td colspan="7"><img src="images/spacer.gif" width="1" height="3" alt=""></td>
+ <td colspan="7"><img src="images/spacer.gif" width="1" height="3" alt=" "></td>
</tr>
<?php
$minical_time = strtotime("-1 month", $fake_getdate_time);
@@ -95,7 +95,7 @@
</td>
</tr>
<tr>
- <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6"></td>
+ <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6" alt=" "></td>
</tr>
</table>
</td>
@@ -114,42 +114,42 @@
<td colspan="3" bgcolor="#FFFFFF" align="left">
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" width="100%">
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6"><font class="G10BOLD"><?php echo "$jump_lang"; ?></font></td>
</tr>
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="3"></td>
+ <td colspan="7"><img src="images/spacer.gif" width="21" height="3" alt=" "></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6"><?php include('./functions/list_icals.php'); ?></td>
</tr>
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="5"></td>
+ <td colspan="7"><img src="images/spacer.gif" width="21" height="5" alt=" "></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6"><?php include('./functions/list_years.php'); ?></td>
</tr>
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="5"></td>
+ <td colspan="7"><img src="images/spacer.gif" width="21" height="5" alt=" "></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6"><?php include('./functions/list_months.php'); ?></td>
</tr>
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="5"></td>
+ <td colspan="7"><img src="images/spacer.gif" width="21" height="5" alt=" "></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6"><?php include('./functions/list_weeks.php'); ?></td>
</tr>
<?php
if ($display_custom_goto == "yes") {
?>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6" class="G10B">
<form action="day.php" method="GET">
<input type="hidden" name="cal" value="<?php print urlencode($cal); ?>">
@@ -165,14 +165,14 @@
</td>
</tr>
<tr>
- <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6"></td>
+ <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6" alt=" "></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
- <td><img src="images/spacer.gif" width="10" height="1"></td>
+ <td><img src="images/spacer.gif" width="10" height="1" alt=" "></td>
<td width="160" valign="top">
<table cellpadding="0" cellspacing="0" border="0" width="160">
<tr>
@@ -182,14 +182,14 @@
<td colspan="3" bgcolor="#FFFFFF" align="left" valign="top">
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" width="100%">
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="2"></td>
+ <td colspan="7"><img src="images/spacer.gif" width="21" height="2" alt=" "></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6"><font class="G10BOLD"><?php echo "$cal_displayname2"; ?></font></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6" class="G10B">
<?php echo "
<a class=\"psf\" href=\"day.php?cal=$cal&amp;getdate=$today_today\">$goday_lang</a><br>\n
@@ -206,7 +206,7 @@
</td>
</tr>
<tr>
- <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6"></td>
+ <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6" alt=" "></td>
</tr>
</table>
</td>
@@ -222,7 +222,7 @@
<td valign="middle" align="center">
<table width="160" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td align="left" valign="top" width="1"><img src="images/spacer.gif" width="1" height="20"></td>
+ <td align="left" valign="top" width="1"><img src="images/spacer.gif" width="1" height="20" alt=" "></td>
<td align="center"><font class="G10BOLD"><?php print (localizeDate ($dateFormat_month, strtotime("+1 month", $fake_getdate_time))); ?></font></td>
<td align="right" valign="top" width="1"></td>
</tr>
@@ -230,13 +230,13 @@
<td colspan="3" bgcolor="#FFFFFF" align="center">
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
- <td><img src="images/spacer.gif" width="21" height="3" alt=""></td>
- <td><img src="images/spacer.gif" width="21" height="1" alt=""></td>
- <td><img src="images/spacer.gif" width="21" height="1" alt=""></td>
- <td><img src="images/spacer.gif" width="21" height="1" alt=""></td>
- <td><img src="images/spacer.gif" width="21" height="1" alt=""></td>
- <td><img src="images/spacer.gif" width="21" height="1" alt=""></td>
- <td><img src="images/spacer.gif" width="21" height="1" alt=""></td>
+ <td><img src="images/spacer.gif" width="21" height="3" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
</tr>
<tr>
<?php
@@ -250,7 +250,7 @@
?>
</tr>
<tr height="3">
- <td colspan="7"><img src="images/spacer.gif" width="1" height="3" alt=""></td>
+ <td colspan="7"><img src="images/spacer.gif" width="1" height="3" alt=" "></td>
</tr>
<?php
$minical_time = strtotime("+1 month", $fake_getdate_time);
@@ -289,7 +289,7 @@
</td>
</tr>
<tr>
- <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6" alt=""></td>
+ <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6" alt=" "></td>
</tr>
</table>
</td>
diff --git a/includes/event.php b/includes/event.php
index 8a37ed5..d7ac996 100644
--- a/includes/event.php
+++ b/includes/event.php
@@ -53,12 +53,12 @@ $calendar_name2 = str_replace('\\', '', $calendar_name2);
<body bgcolor="#eeeeee"><center>
<table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder">
<tr>
- <td align="left" valign="top" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td>
+ <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 "$calendar_name2 $calendar_lang"; ?></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"></td>
+ <td colspan="3"><img src="images/spacer.gif" width="1" height="6" alt=" "></td>
</tr>
<tr>
<td colspan="3">
@@ -68,13 +68,13 @@ $calendar_name2 = str_replace('\\', '', $calendar_name2);
if ($start == '' && $end == '' && isset($start, $end)) $event_times = ' - <font class="V9">(<i>'.$all_day_lang.'</i>)</font>';
?>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="6" height="1"></td>
+ <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 if ($description) { ?>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="6" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="6" height="1" alt=" "></td>
<td align="left" colspan="2" class="V12">
<?php echo ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]",
'<a target="_new" href="\0">\0</a>', $description); ?></td>
diff --git a/includes/sidebar.php b/includes/sidebar.php
index 948bce5..a2e7cf4 100644
--- a/includes/sidebar.php
+++ b/includes/sidebar.php
@@ -15,22 +15,22 @@
<td valign="middle" align="center">
<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
<tr>
- <td align="left" valign="top" width="24" class="sideback"><?php echo "<a class=\"psf\" href=\"day.php?cal=$cal&amp;getdate=$yesterdays_date\"><img src=\"styles/$style_sheet/left_arrows.gif\" alt=\"right\" width=\"16\" height=\"20\" border=\"0\" align=\"left\"></a>"; ?></td>
+ <td align="left" valign="top" width="24" class="sideback"><?php echo "<a class=\"psf\" href=\"day.php?cal=$cal&amp;getdate=$yesterdays_date\"><img src=\"styles/$style_sheet/left_arrows.gif\" alt=\"[$prev_lang]\" width=\"16\" height=\"20\" border=\"0\" align=\"left\"></a>"; ?></td>
<td align="center" width="112" class="sideback"><font class="G10BOLD"><?php echo "$thisday2"; ?></font></td>
- <td align="right" valign="top" width="24" class="sideback"><?php echo "<a class=\"psf\" href=\"day.php?cal=$cal&amp;getdate=$tomorrows_date\"><img src=\"styles/$style_sheet/right_arrows.gif\" alt=\"right\" width=\"16\" height=\"20\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td align="right" valign="top" width="24" class="sideback"><?php echo "<a class=\"psf\" href=\"day.php?cal=$cal&amp;getdate=$tomorrows_date\"><img src=\"styles/$style_sheet/right_arrows.gif\" alt=\"[$next_lang]\" width=\"16\" height=\"20\" border=\"0\" align=\"right\"></a>"; ?></td>
</tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF" align="left">
<table border="0" cellspacing="0" cellpadding="1" bgcolor="#FFFFFF" width="100%">
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="2"></td>
+ <td colspan="7"><img src="images/spacer.gif" width="21" height="2" alt=" "></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6"><font class="G10BOLD"><?php echo "$cal_displayname2"; ?></font></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6" class="G10B">
<?php echo "
<a class=\"psf\" href=\"day.php?cal=$cal&amp;getdate=$today_today\">$goday_lang</a><br>\n
@@ -47,7 +47,7 @@
</td>
</tr>
<tr>
- <td colspan="3"><img src="images/spacer.gif" width="1" height="6"></td>
+ <td colspan="3"><img src="images/spacer.gif" width="1" height="6" alt=" "></td>
</tr>
</table>
</td>
@@ -59,7 +59,7 @@
<td valign="middle" align="center">
<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
<tr>
- <td align="left" valign="top" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td>
+ <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 "$jump_lang"; ?></font></td>
<td align="right" valign="top" width="1%" class="sideback"></td>
</tr>
@@ -67,38 +67,38 @@
<td colspan="3" bgcolor="#FFFFFF" align="left">
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" width="100%">
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="6"></td>
+ <td colspan="7"><img src="images/spacer.gif" width="21" height="6" alt=" "></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6"><?php include('./functions/list_icals.php'); ?></td>
</tr>
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="5"></td>
+ <td colspan="7"><img src="images/spacer.gif" width="21" height="5" alt=" "></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6"><?php include('./functions/list_years.php'); ?></td>
</tr>
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="5"></td>
+ <td colspan="7"><img src="images/spacer.gif" width="21" height="5" alt=" "></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6"><?php include('./functions/list_months.php'); ?></td>
</tr>
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="5"></td>
+ <td colspan="7"><img src="images/spacer.gif" width="21" height="5" alt=" "></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6"><?php include('./functions/list_weeks.php'); ?></td>
</tr>
<?php
if ($display_custom_goto == "yes") {
?>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6" class="G10B">
<form action="day.php" method="GET">
<input type="hidden" name="cal" value="<?php print urlencode($cal); ?>">
@@ -111,10 +111,10 @@
}
if ($show_search == 'yes') { ?>
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="3"></td>
+ <td colspan="7"><img src="images/spacer.gif" width="21" height="3" alt=" "></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
<td colspan="6" valign="middle" align="left"><?php echo "$search_box"; ?></td>
</tr>
<?php } ?>
@@ -122,7 +122,7 @@
</td>
</tr>
<tr>
- <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6"></td>
+ <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6" alt=" "></td>
</tr>
</table>
</td>
@@ -135,7 +135,7 @@
<td valign="middle" align="center">
<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
<tr>
- <td align="left" valign="top" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td>
+ <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 "$tomorrows_lang"; ?></font></td>
<td align="right" valign="top" width="1%" class="sideback"></td>
</tr>
@@ -143,12 +143,12 @@
<td colspan="3" bgcolor="#FFFFFF" align="center">
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" width="100%">
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="6"></td>
+ <td colspan="7"><img src="images/spacer.gif" width="21" height="6" alt=" "></td>
</tr>
<?php
echo "<tr>\n";
- echo "<td width=\"1%\"><img src=\"images/spacer.gif\" width=\"4\" height=\"1\"></td>";
+ echo "<td width=\"1%\"><img src=\"images/spacer.gif\" width=\"4\" height=\"1\" alt=\" \"></td>";
echo "<td colspan=\"6\" class=\"G10B\" align=\"left\">\n";
foreach ($master_array[("$tomorrows_date")] as $event_times) {
foreach ($event_times as $val) {
@@ -183,7 +183,7 @@
</td>
</tr>
<tr>
- <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6"></td>
+ <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6" alt=" "></td>
</tr>
</table>
</td>
@@ -198,7 +198,7 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
<td valign="middle" align="center">
<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
<tr>
- <td align="left" valign="top" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td>
+ <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 "$todo_lang"; ?></font></td>
<td align="right" valign="top" width="1%" class="sideback"></td>
</tr>
@@ -206,12 +206,12 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
<td colspan="3" bgcolor="#FFFFFF" align="center">
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" width="100%">
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="6"></td>
+ <td colspan="7"><img src="images/spacer.gif" width="21" height="6" alt=" "></td>
</tr>
<?php
echo "<tr>\n";
- echo "<td width=\"1%\"><img src=\"images/spacer.gif\" width=\"4\" height=\"1\"></td>";
+ echo "<td width=\"1%\"><img src=\"images/spacer.gif\" width=\"4\" height=\"1\" alt=\" \"></td>";
echo "<td colspan=\"6\" class=\"G10B\" align=\"left\">\n";
foreach ($master_array['-2'] as $vtodo_times) {
foreach ($vtodo_times as $val) {
@@ -241,12 +241,12 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
if ($status == 'COMPLETED' || (isset($val['completed_date']) && isset($val['completed_time']))) {
if ($show_completed == 'yes') {
$vtodo_text = "<S>$vtodo_text</S>";
- echo "<a class=\"psf\" href=\"javascript:openTodoInfo('$vtodo_array')\"><font class=\"G10B\"><img src=\"images/completed.gif\" alt=\"\" width=\"13\" height=\"11\" border=\"0\" align=\"middle\"> $vtodo_text</font></a><br>\n";
+ echo "<a class=\"psf\" href=\"javascript:openTodoInfo('$vtodo_array')\"><font class=\"G10B\"><img src=\"images/completed.gif\" alt=\" \" width=\"13\" height=\"11\" border=\"0\" align=\"middle\"> $vtodo_text</font></a><br>\n";
}
} elseif (isset($val['priority']) && ($val['priority'] != 0) && ($val['priority'] <= 5)) {
- echo "<a class=\"psf\" href=\"javascript:openTodoInfo('$vtodo_array')\"><font class=\"G10B\"><img src=\"images/important.gif\" alt=\"\" width=\"13\" height=\"11\" border=\"0\" align=\"middle\"> $vtodo_text</font></a><br>\n";
+ echo "<a class=\"psf\" href=\"javascript:openTodoInfo('$vtodo_array')\"><font class=\"G10B\"><img src=\"images/important.gif\" alt=\" \" width=\"13\" height=\"11\" border=\"0\" align=\"middle\"> $vtodo_text</font></a><br>\n";
} else {
- echo "<a class=\"psf\" href=\"javascript:openTodoInfo('$vtodo_array')\"><font class=\"G10B\"><img src=\"images/not_completed.gif\" alt=\"\" width=\"13\" height=\"11\" border=\"0\" align=\"middle\"> $vtodo_text</font></a><br>\n";
+ echo "<a class=\"psf\" href=\"javascript:openTodoInfo('$vtodo_array')\"><font class=\"G10B\"><img src=\"images/not_completed.gif\" alt=\" \" width=\"13\" height=\"11\" border=\"0\" align=\"middle\"> $vtodo_text</font></a><br>\n";
}
}
}
@@ -258,7 +258,7 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
</td>
</tr>
<tr>
- <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6"></td>
+ <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6" alt=" "></td>
</tr>
</table>
</td>
@@ -274,7 +274,7 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
<tr>
- <td align="left" valign="top" width="1" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td>
+ <td align="left" valign="top" width="1" class="sideback"><img src="images/spacer.gif" width="1" height="20" alt=" "></td>
<td align="center" class="sideback"><font class="G10BOLD"><?php print (localizeDate ($dateFormat_month, strtotime("-1 month", $fake_getdate_time))); ?></font></td>
<td align="right" valign="top" width="1" class="sideback"></td>
</tr>
@@ -282,13 +282,13 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
<td colspan="3" bgcolor="#FFFFFF" align="center">
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
- <td><img src="images/spacer.gif" width="21" height="3"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
+ <td><img src="images/spacer.gif" width="21" height="3" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
</tr>
<tr>
<?php
@@ -302,7 +302,7 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
?>
</tr>
<tr height="3">
- <td colspan="7"><img src="images/spacer.gif" width="1" height="3" alt=""></td>
+ <td colspan="7"><img src="images/spacer.gif" width="1" height="3" alt=" "></td>
</tr>
<?php
$minical_time = strtotime("-1 month", $fake_getdate_time);
@@ -342,7 +342,7 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
</td>
</tr>
<tr>
- <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6"></td>
+ <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6" alt=" "></td>
</tr>
</table>
</td>
@@ -354,7 +354,7 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
<td valign="middle" align="center">
<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
<tr>
- <td align="left" valign="top" width="1" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td>
+ <td align="left" valign="top" width="1" class="sideback"><img src="images/spacer.gif" width="1" height="20" alt=" "></td>
<td align="center" class="sideback"><font class="G10BOLD"><?php print (localizeDate ($dateFormat_month, strtotime($getdate))); ?></font></td>
<td align="right" valign="top" width="1" class="sideback"></td>
</tr>
@@ -362,13 +362,13 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
<td colspan="3" bgcolor="#FFFFFF" align="center">
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
- <td><img src="images/spacer.gif" width="21" height="3"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
+ <td><img src="images/spacer.gif" width="21" height="3" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
</tr>
<tr>
<?php
@@ -382,7 +382,7 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
?>
</tr>
<tr height="3">
- <td colspan="7"><img src="images/spacer.gif" width="1" height="3" alt=""></td>
+ <td colspan="7"><img src="images/spacer.gif" width="1" height="3" alt=" "></td>
</tr>
<?php
$minical_time = $fake_getdate_time;
@@ -422,7 +422,7 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
</td>
</tr>
<tr>
- <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6"></td>
+ <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6" alt=" "></td>
</tr>
</table>
</td>
@@ -434,7 +434,7 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
<td valign="middle" align="center">
<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
<tr>
- <td align="left" valign="top" width="1" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td>
+ <td align="left" valign="top" width="1" class="sideback"><img src="images/spacer.gif" width="1" height="20" alt=" "></td>
<td align="center" class="sideback"><font class="G10BOLD"><?php print (localizeDate ($dateFormat_month, strtotime("+1 month", strtotime($getdate)))); ?></font></td>
<td align="right" valign="top" width="1" class="sideback"></td>
</tr>
@@ -442,13 +442,13 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
<td colspan="3" bgcolor="#FFFFFF" align="center">
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
- <td><img src="images/spacer.gif" width="21" height="3"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
- <td><img src="images/spacer.gif" width="21" height="1"></td>
+ <td><img src="images/spacer.gif" width="21" height="3" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
+ <td><img src="images/spacer.gif" width="21" height="1" alt=" "></td>
</tr>
<tr>
<?php
@@ -462,7 +462,7 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
?>
</tr>
<tr height="3">
- <td colspan="7"><img src="images/spacer.gif" width="1" height="3" alt=""></td>
+ <td colspan="7"><img src="images/spacer.gif" width="1" height="3" alt=" "></td>
</tr>
<?php
$minical_time = strtotime("+1 month", $fake_getdate_time);
@@ -502,7 +502,7 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
</td>
</tr>
<tr>
- <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6"></td>
+ <td colspan="3" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="148" height="6" alt=" "></td>
</tr>
</table>
</td>
diff --git a/includes/todo.php b/includes/todo.php
index 82d8779..88fa065 100644
--- a/includes/todo.php
+++ b/includes/todo.php
@@ -79,24 +79,24 @@ if (isset($vtodo_array['priority']) && ($vtodo_array['priority'] !== '')) {
<body bgcolor="#eeeeee"><center>
<table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder">
<tr>
- <td align="left" valign="top" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td>
+ <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 "$calendar_name $calendar_lang"; ?></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"></td>
+ <td colspan="3"><img src="images/spacer.gif" width="1" height="6" alt=" "></td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td width="1%"><img src="images/spacer.gif" width="6" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="6" height="1" alt=" "></td>
<td align="left" colspan="2" class="V12"><?php echo ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]",'<a target="_new" href="\0">\0</a>',$vtodo_text).'<br /><br />'; ?></td>
</tr>
<?php if ($description) { ?>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="6" height="1"></td>
+ <td width="1%"><img src="images/spacer.gif" width="6" height="1" alt=" "></td>
<td align="left" colspan="2" class="V12">
<?php echo ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]", '<a target="_new" href="\0">\0</a>', $description); ?></td>
</tr>
diff --git a/languages/english.inc.php b/languages/english.inc.php
index fd45306..6756ef2 100644
--- a/languages/english.inc.php
+++ b/languages/english.inc.php
@@ -90,6 +90,15 @@ $status_lang = 'Status:';
$todo_lang = 'To do items';
$unfinished_lang = 'Unfinished';
+// - 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'
diff --git a/month.php b/month.php
index dfff82e..34c238e 100644
--- a/month.php
+++ b/month.php
@@ -71,19 +71,19 @@ $num_of_events = 0;
<td class="navback">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td align="right" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&amp;getdate=$prev_month\"><img src=\"styles/$style_sheet/left_day.gif\" alt=\"\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td align="right" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&amp;getdate=$prev_month\"><img src=\"styles/$style_sheet/left_day.gif\" alt=\"[$last_month_lang]\" border=\"0\" align=\"right\"></a>"; ?></td>
<td align="center" width="20%" class="navback" nowrap valign="middle"><font class="H20"><?php echo $display_month; ?></font></td>
- <td align="left" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&amp;getdate=$next_month\"><img src=\"styles/$style_sheet/right_day.gif\" alt=\"\" border=\"0\" align=\"left\"></a>"; ?></td>
+ <td align="left" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&amp;getdate=$next_month\"><img src=\"styles/$style_sheet/right_day.gif\" alt=\"[$next_month_lang]\" border=\"0\" align=\"left\"></a>"; ?></td>
</tr>
</table>
</td>
<td align="right" width="120" class="navback">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="year.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/year_on.gif" alt="" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt="'.$day_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt="'.$week_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt="'.$month_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="year.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/year_on.gif" alt="'.$year_view_lang.'" border="0"></a></td>'; ?>
</tr>
</table>
</td>
@@ -95,7 +95,7 @@ $num_of_events = 0;
<td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td colspan="7" width="735"><img src="images/spacer.gif" width="735" height="1" alt=""></td>
+ <td colspan="7" width="735"><img src="images/spacer.gif" width="735" height="1" alt=" "></td>
</tr>
<tr>
<?php
@@ -110,13 +110,13 @@ $num_of_events = 0;
?>
</tr>
<tr>
- <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=""></td>
- <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=""></td>
- <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=""></td>
- <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=""></td>
- <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=""></td>
- <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=""></td>
- <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=""></td>
+ <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=" "></td>
+ <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=" "></td>
+ <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=" "></td>
+ <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=" "></td>
+ <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=" "></td>
+ <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=" "></td>
+ <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=" "></td>
</tr>
</table>
</td>
@@ -226,9 +226,10 @@ $num_of_events = 0;
<td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td align="left" valign="top" width="160" class="sideback"><?php echo "<img src=\"images/spacer.gif\" alt=\"right\" width=\"16\" height=\"20\" border=\"0\" align=\"left\">"; ?></td>
+ <td align="left" valign="top" width="160" class="sideback"><?php echo "<img src=\"images/spacer.gif\" alt=\" \" width=\"16\" height=\"20\" border=\"0\" align=\"left\">"; ?></td>
<td align="center" class="sideback" width="417" nowrap><font class="G10BOLD"><?php echo "$this_months_lang"; ?></font></td>
- <td align="right" valign="top" width="160" class="sideback"><?php echo "<img src=\"images/spacer.gif\" alt=\"right\" width=\"16\" height=\"20\" border=\"0\" align=\"right\">"; ?></td>
+ <td align="right" valign="top" width="160" class="sideback"><?php echo "<img src=\"images/spacer.gif\" alt=\" \" width=\"16\" height=\"20\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td align="right" valign="top" width="160" class="sideback"><?php echo "<img src=\"images/spacer.gif\" alt=\" \" width=\"16\" height=\"20\" border=\"0\" align=\"right\">"; ?></td>
</tr>
<tr>
<td colspan="3" height="1"></td>
diff --git a/preferences.php b/preferences.php
index 6382a00..5fe3643 100644
--- a/preferences.php
+++ b/preferences.php
@@ -53,7 +53,7 @@ include(BASE.'functions/ical_parser.php');
<td align="center" valign="middle">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td align="left" width="120" class="navback"><?php echo '<a href="'.$back_page.'"><img src="'.BASE.'/styles/'.$style_sheet.'/back.gif" alt="" border="0" align="left"></a>'; ?></td>
+ <td align="left" width="120" class="navback"><?php echo '<a href="'.$back_page.'"><img src="'.BASE.'/styles/'.$style_sheet.'/back.gif" alt="'.$back_lang.'" border="0" align="left"></a>'; ?></td>
<td class="navback">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
@@ -64,10 +64,10 @@ include(BASE.'functions/ical_parser.php');
<td align="right" width="120" class="navback">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'/styles/'.$style_sheet.'/day_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'/styles/'.$style_sheet.'/week_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'/styles/'.$style_sheet.'/month_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="year.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'/styles/'.$style_sheet.'/year_on.gif" alt="" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'/styles/'.$style_sheet.'/day_on.gif" alt="'.$day_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'/styles/'.$style_sheet.'/week_on.gif" alt="'.$week_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'/styles/'.$style_sheet.'/month_on.gif" alt="'.$month_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="year.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'/styles/'.$style_sheet.'/year_on.gif" alt="'.$year_view_lang.'" border="0"></a></td>'; ?>
</tr>
</table>
</td>
@@ -76,7 +76,7 @@ include(BASE.'functions/ical_parser.php');
</td>
</tr>
<tr>
- <td class="dayborder"><img src="images/spacer.gif" width="1" height="5"></td>
+ <td class="dayborder"><img src="images/spacer.gif" width="1" height="5" alt=" "></td>
</tr>
<tr>
<td>
@@ -96,7 +96,7 @@ include(BASE.'functions/ical_parser.php');
<table border="0" width="620" cellspacing="2" cellpadding="2" align="center">
<tr>
<td align="left" valign="top" width="300" nowrap><?php echo "$select_lang_lang"; ?></td>
- <td align="left" valign="top" width="20"><img src="images/spacer.gif" alt="" width="20" height="1" border="0"></td>
+ <td align="left" valign="top" width="20"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td>
<td align="left" valign="top" width="300">
<?php
@@ -122,7 +122,7 @@ include(BASE.'functions/ical_parser.php');
</tr>
<tr>
<td align="left" valign="top" width="300" nowrap><?php echo "$select_cal_lang"; ?></td>
- <td align="left" valign="top"><img src="images/spacer.gif" alt="" width="20" height="1" border="0"></td>
+ <td align="left" valign="top"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td>
<td align="left" valign="top">
<?php
@@ -164,7 +164,7 @@ include(BASE.'functions/ical_parser.php');
</tr>
<tr>
<td align="left" valign="top" width="300" nowrap><?php echo "$select_view_lang"; ?></td>
- <td align="left" valign="top"><img src="images/spacer.gif" alt="" width="20" height="1" border="0"></td>
+ <td align="left" valign="top"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td>
<td align="left" valign="top">
<?php
@@ -181,7 +181,7 @@ include(BASE.'functions/ical_parser.php');
</tr>
<tr>
<td align="left" valign="top" width="300" nowrap><?php echo "$select_time_lang"; ?></td>
- <td align="left" valign="top"><img src="images/spacer.gif" alt="" width="20" height="1" border="0"></td>
+ <td align="left" valign="top"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td>
<td align="left" valign="top">
<?php
@@ -199,7 +199,7 @@ include(BASE.'functions/ical_parser.php');
</tr>
<tr>
<td align="left" valign="top" width="300" nowrap><?php echo "$select_day_lang"; ?></td>
- <td align="left" valign="top"><img src="images/spacer.gif" alt="" width="20" height="1" border="0"></td>
+ <td align="left" valign="top"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td>
<td align="left" valign="top">
<?php
@@ -221,7 +221,7 @@ include(BASE.'functions/ical_parser.php');
</tr>
<tr>
<td align="left" valign="top" width="300" nowrap><?php echo "$select_style_lang"; ?></td>
- <td align="left" valign="top"><img src="images/spacer.gif" alt="" width="20" height="1" border="0"></td>
+ <td align="left" valign="top"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td>
<td align="left" valign="top">
<?php
@@ -248,7 +248,7 @@ include(BASE.'functions/ical_parser.php');
</tr>
<tr>
<td align="left" valign="top" nowrap>&nbsp;</td>
- <td align="left" valign="top"><img src="images/spacer.gif" alt="" width="20" height="1" border="0"></td>
+ <td align="left" valign="top"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td>
<td align="left" valign="top"><button type="submit" name="set" value="true"><?php echo "$set_prefs_lang"; ?></button></td>
</tr>
</table>
diff --git a/print.php b/print.php
index a557bee..4b7b611 100644
--- a/print.php
+++ b/print.php
@@ -21,6 +21,8 @@ if ($printview == 'day') {
$next = date("Ymd", strtotime("+1 day", $unix_time));
$prev = date("Ymd", strtotime("-1 day", $unix_time));
$zero_events = $no_events_day_lang;
+ $print_next_nav = $next_day_lang;
+ $print_prev_nav = $last_day_lang;
} elseif ($printview == 'week') {
$start_week = localizeDate($dateFormat_week, $start_week_time);
$end_week = localizeDate($dateFormat_week, $end_week_time);
@@ -30,11 +32,15 @@ if ($printview == 'day') {
$next = date("Ymd", strtotime("+1 week", $unix_time));
$prev = date("Ymd", strtotime("-1 week", $unix_time));
$zero_events = $no_events_week_lang;
+ $print_next_nav = $next_week_lang;
+ $print_prev_nav = $last_week_lang;
} elseif ($printview == 'month') {
$print_title = localizeDate ($dateFormat_month, strtotime($getdate));
$next = date("Ymd", strtotime("+1 month", $unix_time));
$prev = date("Ymd", strtotime("-1 month", $unix_time));
$zero_events = $no_events_month_lang;
+ $print_next_nav = $next_month_lang;
+ $print_prev_nav = $last_month_lang;
}
?>
@@ -54,22 +60,22 @@ if ($printview == 'day') {
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td align="left" width="90" class="navback"><?php echo '<a href="'.$printview.'.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/back.gif" alt="" border="0" align="left"></a>'; ?></td>
+ <td align="left" width="90" class="navback"><?php echo '<a href="'.$printview.'.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/back.gif" alt="['.$back_lang.']" border="0" align="left"></a>'; ?></td>
<td class="navback">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td align="right" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"print.php?cal=$cal&amp;getdate=$prev&amp;printview=$printview\"><img src=\"styles/$style_sheet/left_day.gif\" alt=\"\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td align="right" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"print.php?cal=$cal&amp;getdate=$prev&amp;printview=$printview\"><img src=\"styles/$style_sheet/left_day.gif\" alt=\"[$print_prev_nav]\" border=\"0\" align=\"right\"></a>"; ?></td>
<td align="center" width="20%" class="navback" nowrap valign="middle"><font class="H20"><?php echo $print_title; ?></font></td>
- <td align="left" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"print.php?cal=$cal&amp;getdate=$next&amp;printview=$printview\"><img src=\"styles/$style_sheet/right_day.gif\" alt=\"\" border=\"0\" align=\"left\"></a>"; ?></td>
+ <td align="left" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"print.php?cal=$cal&amp;getdate=$next&amp;printview=$printview\"><img src=\"styles/$style_sheet/right_day.gif\" alt=\"[$print_next_nav]\" border=\"0\" align=\"left\"></a>"; ?></td>
</tr>
</table>
</td>
<td align="right" width="90" class="navback">
<table width="90" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td><?php echo '<a class="psf" href="print.php?cal='.$cal.'&amp;getdate='.$getdate.'&amp;printview=day"><img src="styles/'.$style_sheet.'/day_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="print.php?cal='.$cal.'&amp;getdate='.$getdate.'&amp;printview=week"><img src="styles/'.$style_sheet.'/week_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="print.php?cal='.$cal.'&amp;getdate='.$getdate.'&amp;printview=month"><img src="styles/'.$style_sheet.'/month_on.gif" alt="" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="print.php?cal='.$cal.'&amp;getdate='.$getdate.'&amp;printview=day"><img src="styles/'.$style_sheet.'/day_on.gif" alt="'.$day_lang.' View" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="print.php?cal='.$cal.'&amp;getdate='.$getdate.'&amp;printview=week"><img src="styles/'.$style_sheet.'/week_on.gif" alt="'.$week_lang.' View" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="print.php?cal='.$cal.'&amp;getdate='.$getdate.'&amp;printview=month"><img src="styles/'.$style_sheet.'/month_on.gif" alt="'.$month_lang.' View" border="0"></a></td>'; ?>
</tr>
</table>
</td>
@@ -78,7 +84,7 @@ if ($printview == 'day') {
</td>
</tr>
<tr>
- <td colspan="3" class="dayborder"><img src="images/spacer.gif" width="1" height="5"></td>
+ <td colspan="3" class="dayborder"><img src="images/spacer.gif" width="1" height="5" alt=" "></td>
</tr>
<tr>
<td colspan="3">
@@ -99,9 +105,9 @@ if ($printview == 'day') {
$events_week++;
$dayofmonth = strtotime ($key);
$dayofmonth = localizeDate ($dateFormat_day, $dayofmonth);
- echo "<tr><td width=\"10\"><img src=\"images/spacer.gif\" width=\"10\" height=\"1\"></td>\n";
+ 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>$dayofmonth</b></font></td></tr>";
- echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"5\"></td></tr>\n";
+ echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"5\" alt=\" \"></td></tr>\n";
// Pull out each day
foreach ($val as $new_val) {
@@ -122,8 +128,8 @@ if ($printview == 'day') {
$event_end = '';
}
echo "<tr>\n";
- echo "<td width=\"10\"><img src=\"images/spacer.gif\" width=\"10\" height=\"1\"></td>\n";
- echo "<td width=\"10\"><img src=\"images/spacer.gif\" width=\"10\" height=\"1\"></td>\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";
@@ -143,7 +149,7 @@ if ($printview == 'day') {
echo "</table>\n";
echo "</td>\n";
echo "</tr>\n";
- echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"10\"></td></tr>\n";
+ echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"10\" alt=\" \"></td></tr>\n";
}
}
}
@@ -151,9 +157,9 @@ if ($printview == 'day') {
}
if ($events_week < 1) {
- echo "<tr><td width=\"10\"><img src=\"images/spacer.gif\" width=\"10\" height=\"1\"></td>\n";
+ 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\"><br><center><b>$zero_events</b></center></font><br></td></tr>";
- echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"5\"></td></tr>\n";
+ echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"5\" alt=\" \"></td></tr>\n";
}
?>
diff --git a/rss/index.php b/rss/index.php
index 3c0d6ac..760f382 100644
--- a/rss/index.php
+++ b/rss/index.php
@@ -30,7 +30,7 @@ if (isset($HTTP_SERVER_VARS['HTTP_REFERER']) && $HTTP_SERVER_VARS['HTTP_REFERER'
<td align="center" valign="middle">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td align="left" width="120" class="navback"><?php echo '<a href="'.$back_page.'"><img src="'.BASE.'styles/'.$style_sheet.'/back.gif" alt="" border="0" align="left"></a>'; ?></td>
+ <td align="left" width="120" class="navback"><?php echo '<a href="'.$back_page.'"><img src="'.BASE.'styles/'.$style_sheet.'/back.gif" alt=" " border="0" align="left"></a>'; ?></td>
<td class="navback">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
@@ -41,10 +41,10 @@ if (isset($HTTP_SERVER_VARS['HTTP_REFERER']) && $HTTP_SERVER_VARS['HTTP_REFERER'
<td align="right" width="120" class="navback">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td><?php echo '<a class="psf" href="'.BASE.'day.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/day_on.gif" alt="" border="0"></td>'; ?>
- <td><?php echo '<a class="psf" href="'.BASE.'week.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/week_on.gif" alt="" border="0"></td>'; ?>
- <td><?php echo '<a class="psf" href="'.BASE.'month.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/month_on.gif" alt="" border="0"></td>'; ?>
- <td><?php echo '<a class="psf" href="'.BASE.'year.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/year_on.gif" alt="" border="0"></td>'; ?>
+ <td><?php echo '<a class="psf" href="'.BASE.'day.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/day_on.gif" alt=" " border="0"></td>'; ?>
+ <td><?php echo '<a class="psf" href="'.BASE.'week.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/week_on.gif" alt=" " border="0"></td>'; ?>
+ <td><?php echo '<a class="psf" href="'.BASE.'month.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/month_on.gif" alt=" " border="0"></td>'; ?>
+ <td><?php echo '<a class="psf" href="'.BASE.'year.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/year_on.gif" alt=" " border="0"></td>'; ?>
</tr>
</table>
</td>
@@ -53,7 +53,7 @@ if (isset($HTTP_SERVER_VARS['HTTP_REFERER']) && $HTTP_SERVER_VARS['HTTP_REFERER'
</td>
</tr>
<tr>
- <td class="dayborder"><img src="images/spacer.gif" width="1" height="5"></td>
+ <td class="dayborder"><img src="images/spacer.gif" width="1" height="5" alt=" "></td>
</tr>
<?php if ($enable_rss == "yes") { ?>
<tr>
diff --git a/search.php b/search.php
index 6672eb0..95d6762 100644
--- a/search.php
+++ b/search.php
@@ -104,7 +104,7 @@ $search_took = number_format(($search_ended-$search_started),3);
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td align="left" width="120" class="navback"><?php echo '<a href="'.$back_page.'"><img src="styles/'.$style_sheet.'/back.gif" alt="" border="0" align="left"></a>'; ?></td>
+ <td align="left" width="120" class="navback"><?php echo '<a href="'.$back_page.'"><img src="styles/'.$style_sheet.'/back.gif" alt="['.$back_lang.']" border="0" align="left"></a>'; ?></td>
<td class="navback">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
@@ -115,10 +115,10 @@ $search_took = number_format(($search_ended-$search_started),3);
<td align="right" width="120" class="navback">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="year.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/year_on.gif" alt="" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt="'.$day_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt="'.$week_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt="'.$month_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="year.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/year_on.gif" alt="'.$year_view_lang.'" border="0"></a></td>'; ?>
</tr>
</table>
</td>
@@ -127,7 +127,7 @@ $search_took = number_format(($search_ended-$search_started),3);
</td>
</tr>
<tr>
- <td colspan="3" class="dayborder"><img src="images/spacer.gif" width="1" height="5"></td>
+ <td colspan="3" class="dayborder"><img src="images/spacer.gif" width="1" height="5" alt=" "></td>
</tr>
<tr>
<td colspan="3">
@@ -150,9 +150,9 @@ $search_took = number_format(($search_ended-$search_started),3);
$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\"></td>\n";
+ 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&amp;getdate=$key\">$dayofmonth</a></b></font></td></tr>";
- echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"5\"></td></tr>\n";
+ 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"]));
@@ -168,8 +168,8 @@ $search_took = number_format(($search_ended-$search_started),3);
$event_end = '';
}
echo "<tr>\n";
- echo "<td width=\"10\"><img src=\"images/spacer.gif\" width=\"10\" height=\"1\"></td>\n";
- echo "<td width=\"10\"><img src=\"images/spacer.gif\" width=\"10\" height=\"1\"></td>\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";
@@ -196,16 +196,16 @@ $search_took = number_format(($search_ended-$search_started),3);
echo "</table>\n";
echo "</td>\n";
echo "</tr>\n";
- echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"10\"></td></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\"></td>\n";
+ 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&amp;getdate=$key\">$dayofmonth</a></font></td></tr>";
- echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"5\"></td></tr>\n";
+ 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"]));
@@ -221,8 +221,8 @@ $search_took = number_format(($search_ended-$search_started),3);
$event_end = '';
}
echo "<tr>\n";
- echo "<td width=\"10\"><img src=\"images/spacer.gif\" width=\"10\" height=\"1\"></td>\n";
- echo "<td width=\"10\"><img src=\"images/spacer.gif\" width=\"10\" height=\"1\"></td>\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";
@@ -249,7 +249,7 @@ $search_took = number_format(($search_ended-$search_started),3);
echo "</table>\n";
echo "</td>\n";
echo "</tr>\n";
- echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"10\"></td></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";
@@ -487,4 +487,4 @@ function getmicrotime() {
list($usec, $sec) = explode(' ',microtime());
return ((float)$usec + (float)$sec);
}
-?> \ No newline at end of file
+?>
diff --git a/week.php b/week.php
index d795696..43a6add 100644
--- a/week.php
+++ b/week.php
@@ -76,19 +76,19 @@ for ($i=0;$i<7;$i++) {
<td class="navback">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td align="right" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"week.php?cal=$cal&amp;getdate=$prev_week\"><img src=\"styles/$style_sheet/left_day.gif\" alt=\"\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td align="right" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"week.php?cal=$cal&amp;getdate=$prev_week\"><img src=\"styles/$style_sheet/left_day.gif\" alt=\"[$last_week_lang]\" border=\"0\" align=\"right\"></a>"; ?></td>
<td align="center" width="20%" class="navback" nowrap valign="middle"><font class="H20"><?php echo $display_date; ?></font></td>
- <td align="left" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"week.php?cal=$cal&amp;getdate=$next_week\"><img src=\"styles/$style_sheet/right_day.gif\" alt=\"\" border=\"0\" align=\"left\"></a>"; ?></td>
+ <td align="left" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"week.php?cal=$cal&amp;getdate=$next_week\"><img src=\"styles/$style_sheet/right_day.gif\" alt=\"[$next_week_lang]\" border=\"0\" align=\"left\"></a>"; ?></td>
</tr>
</table>
</td>
<td align="right" width="120" class="navback">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="year.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/year_on.gif" alt="" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt="'.$day_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt="'.$week_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt="'.$month_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="year.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/year_on.gif" alt="'.$year_view_lang.'" border="0"></a></td>'; ?>
</tr>
</table>
</td>
@@ -103,7 +103,7 @@ for ($i=0;$i<7;$i++) {
<td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td width="60"><img src="images/spacer.gif" width="60" height="1" alt=""></td>
+ <td width="60"><img src="images/spacer.gif" width="60" height="1" alt=" "></td>
<td width="1"></td>
<?php
$thisdate = $start_week_time;
@@ -112,7 +112,7 @@ for ($i=0;$i<7;$i++) {
$thisday = date("Ymd", $thisdate);
$colWidth = round(70 / $nbrGridCols[$thisday]);
for ($j=0;$j < $nbrGridCols[$thisday];$j++) {
- echo "<td width=\"" . $colWidth . "\"><img src=\"images/spacer.gif\" width=\"" . $colWidth . "\" height=\"1\" alt=\"\"></td>\n";
+ echo "<td width=\"" . $colWidth . "\"><img src=\"images/spacer.gif\" width=\"" . $colWidth . "\" height=\"1\" alt=\" \"></td>\n";
}
$thisdate = ($thisdate + (25 * 60 * 60));
$i++;
@@ -125,7 +125,7 @@ for ($i=0;$i<7;$i++) {
echo "<tr>";
$thisdate = $start_week_time;
$i = 0;
- echo "<td class=\"dateback\" width=\"60\"><img src=\"images/spacer.gif\" width=\"1\" height=\"12\" alt=\"\"></td>";
+ echo "<td class=\"dateback\" width=\"60\"><img src=\"images/spacer.gif\" width=\"1\" height=\"12\" alt=\" \"></td>";
echo "<td class=\"dateback\" width=\"1\"></td>";
do {
$thisday = date("Ymd", $thisdate);
@@ -139,7 +139,7 @@ for ($i=0;$i<7;$i++) {
echo "</tr>";
?>
<tr>
- <td width="60"><img src="images/spacer.gif" width="60" height="1" alt=""></td>
+ <td width="60"><img src="images/spacer.gif" width="60" height="1" alt=" "></td>
<td width="1"></td>
<?php
$thisdate = $start_week_time;
@@ -148,7 +148,7 @@ for ($i=0;$i<7;$i++) {
$thisday = date("Ymd", $thisdate);
$colWidth = round(70 / $nbrGridCols[$thisday]);
for ($j=0;$j < $nbrGridCols[$thisday];$j++) {
- echo "<td width=\"" . $colWidth . "\"><img src=\"images/spacer.gif\" width=\"" . $colWidth . "\" height=\"1\" alt=\"\"></td>\n";
+ echo "<td width=\"" . $colWidth . "\"><img src=\"images/spacer.gif\" width=\"" . $colWidth . "\" height=\"1\" alt=\" \"></td>\n";
}
$thisdate = ($thisdate + (25 * 60 * 60));
$i++;
@@ -353,7 +353,7 @@ for ($i=0;$i<7;$i++) {
</tr>
</table>
</td>
- <td width="20"><img src="images/spacer.gif" width="20" height="1" alt=""></td>
+ <td width="20"><img src="images/spacer.gif" width="20" height="1" alt=" "></td>
<td width="160" valign="top">
<?php include (BASE.'includes/sidebar.php'); ?>
<?php include (BASE.'includes/footer.inc.php'); ?>
diff --git a/year.php b/year.php
index 2f94624..1bb54a0 100644
--- a/year.php
+++ b/year.php
@@ -43,19 +43,19 @@ $thisday2 = localizeDate($dateFormat_week_list, $unix_time);
<td class="navback">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td align="right" width="45%" class="navback"><?php echo "<a class=\"psf\" href=\"year.php?cal=$cal&amp;getdate=$prev_year\"><img src=\"styles/$style_sheet/left_day.gif\" alt=\"\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td align="right" width="45%" class="navback"><?php echo "<a class=\"psf\" href=\"year.php?cal=$cal&amp;getdate=$prev_year\"><img src=\"styles/$style_sheet/left_day.gif\" alt=\"[$last_year_lang]\" border=\"0\" align=\"right\"></a>"; ?></td>
<td align="center" width="10%" class="navback" nowrap valign="middle"><font class="H20"><?php echo $this_year2; ?></font></td>
- <td align="left" width="45%" class="navback"><?php echo "<a class=\"psf\" href=\"year.php?cal=$cal&amp;getdate=$next_year\"><img src=\"styles/$style_sheet/right_day.gif\" alt=\"\" border=\"0\" align=\"left\"></a>"; ?></td>
+ <td align="left" width="45%" class="navback"><?php echo "<a class=\"psf\" href=\"year.php?cal=$cal&amp;getdate=$next_year\"><img src=\"styles/$style_sheet/right_day.gif\" alt=\"[$next_year_lang]\" border=\"0\" align=\"left\"></a>"; ?></td>
</tr>
</table>
</td>
<td align="right" width="120" class="navback">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt="" border="0"></a></td>'; ?>
- <td><?php echo '<a class="psf" href="year.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/year_on.gif" alt="" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt="'.$day_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt="'.$week_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt="'.$month_view_lang.'" border="0"></a></td>'; ?>
+ <td><?php echo '<a class="psf" href="year.php?cal='.$cal.'&amp;getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/year_on.gif" alt="'.$year_view_lang.'" border="0"></a></td>'; ?>
</tr>
</table>
</td>
@@ -79,7 +79,7 @@ $thisday2 = localizeDate($dateFormat_week_list, $unix_time);
<td colspan="7">
<table border="0" width="210" cellspacing="0" cellpadding="0">
<tr>
- <td width="1" class="sideback"><img src="images/spacer.gif" width="1" height="20" alt=""></td>
+ <td width="1" class="sideback"><img src="images/spacer.gif" width="1" height="20" alt=" "></td>
<?php
$monthlink = date("Ym", $startYear);
$monthlink = $monthlink . $this_day;
@@ -122,11 +122,11 @@ $thisday2 = localizeDate($dateFormat_week_list, $unix_time);
if (isset($master_array[("$daylink")]) && ($check_month == $minical_month)) {
foreach ($master_array[("$daylink")] as $event_times) {
foreach ($event_times as $val) {
- if (!isset($val["event_start"])) $image1 = '<img src="styles/'. $style_sheet . '/allday_dot.gif" alt="" width="11" height="10" border="0">';
- if (isset($val["event_start"])) $image2 = '<img src="styles/'. $style_sheet . '/event_dot.gif" alt="" width="11" height="10" border="0">';
+ if (!isset($val["event_start"])) $image1 = '<img src="styles/'. $style_sheet . '/allday_dot.gif" alt=" " width="11" height="10" border="0">';
+ if (isset($val["event_start"])) $image2 = '<img src="styles/'. $style_sheet . '/event_dot.gif" alt=" " width="11" height="10" border="0">';
}
}
- if (isset($master_array[("$daylink")][-1])) $image2 = '<img src="styles/silver/allday_dot.gif" alt="" border="0">';
+ if (isset($master_array[("$daylink")][-1])) $image2 = '<img src="styles/silver/allday_dot.gif" alt=" " border="0">';
echo '<td width="30" height="30" align="right" valign="top" class="monthreg" onMouseOver=this.style.backgroundColor="#DDDDDD" onMouseOut=this.style.backgroundColor="#FFFFFF" onclick="window.location.href=\'day.php?cal=' . $cal . '&amp;getdate=' . $daylink . '\'">' . "\n";
echo '<table width="100%" border="0" cellspacing="0" cellpadding="1">' . "\n";
echo '<tr>' . "\n";
@@ -164,13 +164,13 @@ $thisday2 = localizeDate($dateFormat_week_list, $unix_time);
</table>
</td>
<?php
- if ($m < 2) echo '<td width="20"><img src="images/spacer.gif" width="20" height="1" alt=""></td>';
+ if ($m < 2) echo '<td width="20"><img src="images/spacer.gif" width="20" height="1" alt=" "></td>';
$m++;
$n++;
if (($m == 3) && ($n < 12)) {
$m = 0;
echo '</tr><tr>';
- echo '<td colspan="5"><img src="images/spacer.gif" width="1" height="20" alt=""></td>';
+ echo '<td colspan="5"><img src="images/spacer.gif" width="1" height="20" alt=" "></td>';
echo '</tr><tr>';
}
} while (($m < 3) && ($n < 12));

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