From da11334d9d325f3be588f1b17969ba5c44ed248c Mon Sep 17 00:00:00 2001 From: fenner Date: Sat, 30 Nov 2002 21:05:38 +0000 Subject: Change alt="" to alt=" ", since that renders better in w3m. Add alt tags to navigation images like back, next week, etc. --- print.php | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) (limited to 'print.php') 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') { - + @@ -78,7 +84,7 @@ if ($printview == 'day') { - + \n"; + echo "\n"; echo ""; - echo "\n"; + echo "\n"; // Pull out each day foreach ($val as $new_val) { @@ -122,8 +128,8 @@ if ($printview == 'day') { $event_end = ''; } echo "\n"; - echo "\n"; - echo "\n"; + echo "\n"; + echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; } } } @@ -151,9 +157,9 @@ if ($printview == 'day') { } if ($events_week < 1) { - echo "\n"; + echo "\n"; echo ""; - echo "\n"; + echo "\n"; } ?> -- cgit v1.2.3
@@ -99,9 +105,9 @@ if ($printview == 'day') { $events_week++; $dayofmonth = strtotime ($key); $dayofmonth = localizeDate ($dateFormat_day, $dayofmonth); - echo "
\"$dayofmonth
\"
\"\"\n"; echo "\n"; echo "\n"; @@ -143,7 +149,7 @@ if ($printview == 'day') { echo "
\n"; echo "
\"
\"
$zero_events

\"