From: kink Date: Sat, 11 Jan 2003 12:49:22 +0000 (+0000) Subject: Fixes by Thomas CASTELLE X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c02aafdc11d20ea7729be479d2510324f192f036;p=squirrelmail.git Fixes by Thomas CASTELLE git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4410 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/calendar/event_edit.php b/plugins/calendar/event_edit.php index c959140d..e96abba9 100644 --- a/plugins/calendar/event_edit.php +++ b/plugins/calendar/event_edit.php @@ -140,14 +140,14 @@ function show_event_form() { html_tag( 'td', _("Length:"), 'right', $color[4] ) . "\n" . html_tag( 'td', '', 'left', $color[4] ) . " \n". " \n". html_tag( 'tr' ) . html_tag( 'td', _("Priority:"), 'right', $color[4] ) . "\n" . html_tag( 'td', '', 'left', $color[4] ) . " \n". " \n". html_tag( 'tr' ) . diff --git a/plugins/calendar/functions.php b/plugins/calendar/functions.php index cb67b6d2..6b646832 100644 --- a/plugins/calendar/functions.php +++ b/plugins/calendar/functions.php @@ -51,10 +51,10 @@ function select_option_length($selected) { ); while( $bar = each($eventlength)) { - if($selected==$bar[key]){ - echo " \n"; + if($selected==$bar['key']){ + echo " \n"; } else { - echo " \n"; + echo " \n"; } } } @@ -76,10 +76,10 @@ function select_option_minute($selected) { ); while ( $bar = each($eventminute)) { - if ($selected==$bar[key]){ - echo " \n"; + if ($selected==$bar['key']){ + echo " \n"; } else { - echo " \n"; + echo " \n"; } } } @@ -103,10 +103,10 @@ function select_option_priority($selected) { ); while( $bar = each($eventpriority)) { - if($selected==$bar[key]){ - echo " \n"; + if($selected==$bar['key']){ + echo " \n"; } else { - echo " \n"; + echo " \n"; } } }