diff options
author | fenner <fenner> | 2002-11-30 21:05:38 +0000 |
---|---|---|
committer | fenner <fenner> | 2002-11-30 21:05:38 +0000 |
commit | da11334d9d325f3be588f1b17969ba5c44ed248c (patch) | |
tree | 9b11867a682bdc2bf61d168870431d903d22d84a /week.php | |
parent | 8c367889d986770538d35c06d79c2bc0989823ab (diff) | |
download | phpicalendar-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.
Diffstat (limited to 'week.php')
-rw-r--r-- | week.php | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -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&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&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&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&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.'&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.'&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.'&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.'&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.'&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.'&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.'&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.'&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'); ?> |