Oops. Little bug in name block.
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 29 Oct 2001 14:22:45 +0000 (14:22 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 29 Oct 2001 14:22:45 +0000 (14:22 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1646 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/options.php
src/options_display.php
src/options_folder.php

index 02e63f4..da0e7b6 100644 (file)
@@ -87,9 +87,9 @@
 
     }
 
-    function OptionSubmit() {
+    function OptionSubmit( $name ) {
 
-        echo '<tr><td>&nbsp;</td><td><input type="submit" value="' . _("Submit") . '" name="submit_folder">' .
+        echo '<tr><td>&nbsp;</td><td><input type="submit" value="' . _("Submit") . '" name="$name">' .
              '</td></tr>';
 
     }
index b258a07..a59e46e 100644 (file)
@@ -94,7 +94,7 @@
 
    echo '<tr><td colspan=2><hr noshade></td></tr>';
    do_hook('options_display_inside');
-   OptionSubmit();
+   OptionSubmit( 'submit_display' );
 ?>
 
       </table>
index e780d38..d630f8a 100644 (file)
                  
    echo '<tr><td colspan=2><hr noshade></td></tr>';
    do_hook("options_folders_inside");
-   OptionSubmit();
+   OptionSubmit( 'submit_folder' );
 ?>         
 
       </table>