Fixed some string issues.
authorindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 7 Sep 2002 18:40:49 +0000 (18:40 +0000)
committerindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 7 Sep 2002 18:40:49 +0000 (18:40 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3607 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/fortune/setup.php

index 4d99eb2aa9bd0e92b26d030572a130f05ac56e58..a2bedfbbe62cea95ac1791506565f425323208d9 100644 (file)
@@ -31,13 +31,13 @@ function fortune() {
     }
 
     $fortune_location = '/usr/games/fortune';
     }
 
     $fortune_location = '/usr/games/fortune';
-    $exist = file_exists('$fortune_location');
+    $exist = file_exists($fortune_location);
     echo "<center><table cellpadding=0 cellspacing=0 border=0 bgcolor=$color[10]><tr><td><table width=100% cellpadding=2 cellspacing=1 border=0 bgcolor=\"$color[5]\"><tr><td align=center>";
     echo '<TABLE><TR><TD>';
     if (!$exist) {
         echo "$fortune_location not found.";
     } else {
     echo "<center><table cellpadding=0 cellspacing=0 border=0 bgcolor=$color[10]><tr><td><table width=100% cellpadding=2 cellspacing=1 border=0 bgcolor=\"$color[5]\"><tr><td align=center>";
     echo '<TABLE><TR><TD>';
     if (!$exist) {
         echo "$fortune_location not found.";
     } else {
-        echo '<CENTER><FONT=3><EM>Today's Fortune</EM><BR></FONT></CENTER><pre>';
+        echo "<CENTER><FONT=3><EM>Today's Fortune</EM><BR></FONT></CENTER><pre>";
         system($fortune_location);
     } 
   
         system($fortune_location);
     } 
   
@@ -53,7 +53,7 @@ function fortune_load() {
 function fortune_options() {
   global $fortune_visible;
 
 function fortune_options() {
   global $fortune_visible;
 
-  echo '<tr><td align=right nowrap>Fortunes:</td>\n';
+  echo "<tr><td align=right nowrap>Fortunes:</td>\n";
   echo '<td><input name="fortune_fortune_visible" type=CHECKBOX';
   if ($fortune_visible)
     echo ' CHECKED';
   echo '<td><input name="fortune_fortune_visible" type=CHECKBOX';
   if ($fortune_visible)
     echo ' CHECKED';