diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-01-30 05:19:21 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-01-30 05:19:21 +0000 |
commit | 93650f0d9811512ded7c21cd7a0a67b3cc14b732 (patch) | |
tree | 703ad787d1d44c75581023c043c33fffc0f3ff23 /functions/list_months.php | |
parent | 7dd9656474919d73208e1894a6553a0d2ae24af9 (diff) | |
download | phpicalendar-93650f0d9811512ded7c21cd7a0a67b3cc14b732.tar.gz phpicalendar-93650f0d9811512ded7c21cd7a0a67b3cc14b732.tar.bz2 phpicalendar-93650f0d9811512ded7c21cd7a0a67b3cc14b732.zip |
Consolidated lists into functions in one file.
Diffstat (limited to 'functions/list_months.php')
-rw-r--r-- | functions/list_months.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/functions/list_months.php b/functions/list_months.php deleted file mode 100644 index a6bfb74..0000000 --- a/functions/list_months.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php -print "<select name=\"action\" class=\"query_style\" onChange=\"window.location=(this.options[this.selectedIndex].value);\">\n"; -$month_time = strtotime("$this_year-01-01"); -$getdate_month = date("m", strtotime($getdate)); - -// echo "$this_day, $this_year"; -// build the <option> tags -for ($i=0; $i<12; $i++) { - $monthdate = date ("Ymd", $month_time); - $month_month = date("m", $month_time); - $select_month = localizeDate($dateFormat_month, $month_time); - if ($month_month == $getdate_month) { - print "<option value=\"month.php?cal=$cal&getdate=$monthdate\" selected>$select_month</option>\n"; - } else { - print "<option value=\"month.php?cal=$cal&getdate=$monthdate\">$select_month</option>\n"; - } - $month_time = strtotime ("+1 month", $month_time); -} - -// finish <select> -print "</select>"; -?>
\ No newline at end of file |