response message actually prints out now
authorxzilla <xzilla>
Wed, 23 Oct 2002 22:15:55 +0000 (22:15 +0000)
committerxzilla <xzilla>
Wed, 23 Oct 2002 22:15:55 +0000 (22:15 +0000)
public_html/sequences.php

index e1479b010d6d8c21c79eed54d426ca0a9864316a..f7a9e52c4fa62f61fd95cfa87115dd495ffcb3b3 100644 (file)
@@ -2,7 +2,7 @@
 /**
  *  FILENAME:   sequence.php
  *
- *  $Id: sequences.php,v 1.9 2002/10/15 20:46:17 xzilla Exp $
+ *  $Id: sequences.php,v 1.10 2002/10/23 22:15:55 xzilla Exp $
  */
 
 include_once( '../conf/config.inc.php' );
@@ -17,15 +17,16 @@ if( !isset( $msg) )
 $PHP_SELF = $_SERVER['PHP_SELF'];
 
 // {{{ doDefault()
-function doDefault()
+function doDefault($msg='')
 {
     global $data, $localData, $misc, $database, $sequences; 
     global $PHP_SELF;
     global $strNoSequences, $strSequences, $strOwner, $strActions;
 
     echo '<h2>', htmlspecialchars( $_REQUEST['database']), ": Sequences</h2>\n";
-
-    $sequences = &$localData->getSequences();
+       $misc->printMsg($msg);
+  
+       $sequences = &$localData->getSequences();
 
     if( $sequences->recordCount() > 0 )
     {
@@ -105,7 +106,7 @@ function doDefault()
        function doDrop($confirm)
        {
                global $localData, $database;
-               global $PHP_SELF, $strSequences, $strDropped, $strDrop, $strFailed;
+               global $PHP_SELF, $strSequences, $strSequence, $strDropped, $strDrop, $strFailed;
        
                if ($confirm) { 
                        echo "<h2>", htmlspecialchars($_REQUEST['database']), ": $strSequences : ", htmlspecialchars($_REQUEST['sequence']), ": Drop</h2>\n";