diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-11-25 23:57:26 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-11-25 23:57:26 +0000 |
commit | 65e13529dbfb308ff709cd5023177e6a4fa77965 (patch) | |
tree | b0b63e921bf75a7f92e8946619bfd61bf5a37b3b | |
parent | c576f9f7a5f7d11f53b69e7ddbdcd86a7b6e0721 (diff) | |
download | phpicalendar-65e13529dbfb308ff709cd5023177e6a4fa77965.tar.gz phpicalendar-65e13529dbfb308ff709cd5023177e6a4fa77965.tar.bz2 phpicalendar-65e13529dbfb308ff709cd5023177e6a4fa77965.zip |
Fixed cookie style preference.
-rw-r--r-- | preferences.php | 6 | ||||
-rw-r--r-- | rss/index.php | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/preferences.php b/preferences.php index d27a617..5b4e20d 100644 --- a/preferences.php +++ b/preferences.php @@ -232,11 +232,11 @@ include(BASE.'functions/ical_parser.php'); while ($file = readdir($dir_handle)) { if (($file != ".") && ($file != "..") && ($file != "CVS")) { if (!is_file($file)) { - $file = ucfirst($file); + $file_disp = ucfirst($file); if ($file == "$cookie_style") { - print "<option value=\"$file\" selected>$file</option>\n"; + print "<option value=\"$file\" selected>$file_disp</option>\n"; } else { - print "<option value=\"$file\">$file</option>\n"; + print "<option value=\"$file\">$file_disp</option>\n"; } } } diff --git a/rss/index.php b/rss/index.php index 3f3ae81..a62889d 100644 --- a/rss/index.php +++ b/rss/index.php @@ -30,7 +30,7 @@ if (isset($HTTP_SERVER_VARS['HTTP_REFERER']) && $HTTP_SERVER_VARS['HTTP_REFERER' <td align="center" valign="middle"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> - <td align="left" width="120" class="navback"><?php echo '<a href="'.$back_page.'"><img src="'.BASE.'/styles/'.$style_sheet.'/back.gif" alt="" border="0" align="left"></a>'; ?></td> + <td align="left" width="120" class="navback"><?php echo '<a href="'.$back_page.'"><img src="'.BASE.'styles/'.$style_sheet.'/back.gif" alt="" border="0" align="left"></a>'; ?></td> <td class="navback"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> @@ -41,10 +41,10 @@ if (isset($HTTP_SERVER_VARS['HTTP_REFERER']) && $HTTP_SERVER_VARS['HTTP_REFERER' <td align="right" width="120" class="navback"> <table width="120" border="0" cellpadding="0" cellspacing="0"> <tr> - <td><?php echo '<a class="psf" href="'.BASE.'day.php?cal='.$cal.'&getdate='.$getdate.'"><img src="'.BASE.'/styles/'.$style_sheet.'/day_on.gif" alt="" border="0"></td>'; ?> - <td><?php echo '<a class="psf" href="'.BASE.'week.php?cal='.$cal.'&getdate='.$getdate.'"><img src="'.BASE.'/styles/'.$style_sheet.'/week_on.gif" alt="" border="0"></td>'; ?> - <td><?php echo '<a class="psf" href="'.BASE.'month.php?cal='.$cal.'&getdate='.$getdate.'"><img src="'.BASE.'/styles/'.$style_sheet.'/month_on.gif" alt="" border="0"></td>'; ?> - <td><?php echo '<a class="psf" href="'.BASE.'year.php?cal='.$cal.'&getdate='.$getdate.'"><img src="'.BASE.'/styles/'.$style_sheet.'/year_on.gif" alt="" border="0"></td>'; ?> + <td><?php echo '<a class="psf" href="'.BASE.'day.php?cal='.$cal.'&getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/day_on.gif" alt="" border="0"></td>'; ?> + <td><?php echo '<a class="psf" href="'.BASE.'week.php?cal='.$cal.'&getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/week_on.gif" alt="" border="0"></td>'; ?> + <td><?php echo '<a class="psf" href="'.BASE.'month.php?cal='.$cal.'&getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/month_on.gif" alt="" border="0"></td>'; ?> + <td><?php echo '<a class="psf" href="'.BASE.'year.php?cal='.$cal.'&getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/year_on.gif" alt="" border="0"></td>'; ?> </tr> </table> </td> |