From 20c668e9def5ae16ff2384ea332fd5548e178f76 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Tue, 16 Sep 2003 05:38:33 +0000 Subject: Finally fixed the jumpto's to not have space around them. Also cleaned up the HTML footprint to be slimmer. --- config.inc.php | 4 +-- day.php | 7 ++-- functions/list_icals.php | 20 +++++------ functions/list_months.php | 4 +-- functions/list_weeks.php | 4 +-- functions/list_years.php | 10 +++--- includes/calendar_nav.php | 52 ++++++++-------------------- includes/sidebar.php | 88 ++++++++++++++++------------------------------- 8 files changed, 68 insertions(+), 121 deletions(-) diff --git a/config.inc.php b/config.inc.php index a3e9409..f4f4ddf 100644 --- a/config.inc.php +++ b/config.inc.php @@ -1,6 +1,6 @@ "> "; } ?> @@ -313,8 +312,8 @@ if (isset($master_array[($getdate)])) { -  - +  + diff --git a/functions/list_icals.php b/functions/list_icals.php index 91b6b7c..904b74a 100644 --- a/functions/list_icals.php +++ b/functions/list_icals.php @@ -6,9 +6,7 @@ if ($display_ical_list == "yes") { $query="&getdate=$getdate"; } else { $query=""; - } - print "
\n - print "\n
"; + print ""; } + + ?> diff --git a/functions/list_months.php b/functions/list_months.php index baaccb4..a6bfb74 100644 --- a/functions/list_months.php +++ b/functions/list_months.php @@ -1,5 +1,5 @@ \n\n"; $month_time = strtotime("$this_year-01-01"); $getdate_month = date("m", strtotime($getdate)); @@ -18,5 +18,5 @@ for ($i=0; $i<12; $i++) { } // finish \n"; +print ""; ?> \ No newline at end of file diff --git a/functions/list_weeks.php b/functions/list_weeks.php index 6f5410b..4de03d8 100644 --- a/functions/list_weeks.php +++ b/functions/list_weeks.php @@ -11,7 +11,7 @@ $check_week = strtotime($getdate); $start_week_time = strtotime(dateOfWeek(date("Ymd", strtotime("$this_year-01-01")), $week_start_day)); $end_week_time = $start_week_time + (6 * 25 * 60 * 60); -print "
\n\n"; // build the
"; +print ""; ?> \ No newline at end of file diff --git a/functions/list_years.php b/functions/list_years.php index 07e43f8..f5e823e 100644 --- a/functions/list_years.php +++ b/functions/list_years.php @@ -4,13 +4,13 @@ $year_time = strtotime("$getdate"); $getdate_year = date("Y", strtotime($getdate)); $num_years2 = $num_years; //echo "$num_years2"; -print "
\n"; // build the \n"; + print ""; $num_years2--; } $year_time = strtotime("$this_year-01-01"); @@ -19,13 +19,13 @@ for ($i=0; $i < ($num_years +1); $i++) { $year_year = date ("Y", $year_time); $yeardate = date("Ymd", $year_time); if ($year_year == $getdate_year) { - print "\n"; + print ""; } else { - print "\n"; + print ""; } $year_time = strtotime ("+1 year", $year_time); } // finish \n
"; +print ""; ?> \ No newline at end of file diff --git a/includes/calendar_nav.php b/includes/calendar_nav.php index 870808a..d5fbf56 100644 --- a/includes/calendar_nav.php +++ b/includes/calendar_nav.php @@ -98,44 +98,20 @@ -
- - - - - - - - - - - - - - - - - - - -
- -
 -
- - - -
-
+
+ '.$jump_lang.'
'; + echo '
'; + echo "
diff --git a/includes/sidebar.php b/includes/sidebar.php index eb5c966..8051434 100644 --- a/includes/sidebar.php +++ b/includes/sidebar.php @@ -13,7 +13,7 @@ $cal_displayname2 = $cal_displayname2 . "..."; } - $search_box = ''; + $search_box = '
'; ?> @@ -55,72 +55,46 @@
- - - - - +
+ + - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- -
 -
- - - -
-
+
+
'; + echo "
'; + echo ''; + echo ''; + echo '
'; + } + + ?>

0) { ?> - - + - -
+ @@ -178,13 +152,11 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
- - + - -
+ -- cgit v1.2.3