X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fcalendar%2Ffunctions.php;h=e11bb049e241b05b7e0de53a7f1f54b5cd777d91;hb=9837b0a5afee61309027869b117a406defc2f437;hp=e9986a44b5c03463f388dbf2ace0e3a4f24ef5cc;hpb=2c85de8f66702a488ea0c371f2576963c593d64d;p=squirrelmail.git diff --git a/plugins/calendar/functions.php b/plugins/calendar/functions.php index e9986a44..e11bb049 100644 --- a/plugins/calendar/functions.php +++ b/plugins/calendar/functions.php @@ -1,11 +1,14 @@ - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Originally contrubuted by Michal Szczotka * - * miscelenous functions. + * miscelenous functions. * * $Id$ */ @@ -15,8 +18,9 @@ function calendar_header() { //Add Second layer ofCalendar links to upper menu global $color,$year,$day,$month; - echo "". - "'; + echo ''; } @@ -109,7 +113,7 @@ function select_option_priority($selected) { function select_option_year($selected) { - for ($i=1900;$i<2100;$i++){ + for ($i=1902;$i<2038;$i++){ if ($i==$selected){ echo " \n"; } else { @@ -143,4 +147,4 @@ function select_option_day($selected) { } } -?> \ No newline at end of file +?>
"; + echo html_tag( 'table', '', '', $color[0], 'border="0" width="100%" cellspacing="0" cellpadding="2"' ) . + html_tag( 'tr' ) . + html_tag( 'td', '', 'left', '', 'width="100%"' ); displayInternalLink("plugins/calendar/calendar.php?year=$year&month=$month",_("Month View"),"right"); echo "  \n"; @@ -24,7 +28,7 @@ function calendar_header() { echo "  \n"; // displayInternalLink("plugins/calendar/event_create.php?year=$year&month=$month&day=$day",_("Add Event"),"right"); // echo "  \n"; - echo '