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 /includes | |
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 'includes')
-rw-r--r-- | includes/calendar_nav.php | 78 | ||||
-rw-r--r-- | includes/event.php | 8 | ||||
-rw-r--r-- | includes/sidebar.php | 120 | ||||
-rw-r--r-- | includes/todo.php | 8 |
4 files changed, 107 insertions, 107 deletions
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&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&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&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&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&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&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&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&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&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&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>
|